
 /* Estilos Generales */
 body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    background-color: #FFFFFF; 

   
  }

  /*----CONTACTO----*/
  
  .about-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    font-family: "Poppins", sans-serif;
    color: #fff;
    background: rgb(22, 115, 208);
  }
  
  .about-hero .about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    z-index: 1;
  }
  
  .about-hero .about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 56, 120, 0.4);
    z-index: 2;
  }
  
  .about-hero .about-text {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
  }
  
  .about-hero .about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .about-hero .about-text p {
    font-size: 1.2rem;
    line-height: 1.6;
}



/* =========== SECCIÓN DE CONTACTO============ */
.contact-section {
    width: 100%;
    padding: 80px 20px;
    background: linear-gradient(to right, #eef2f7, #f8f9fa);
    display: flex;
    justify-content: center;
}

.contact-container {
    width: 100%;
    margin: auto;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}


/* ========COLUMNA IZQUIERDA (INFO)============= */
.contact-info {
    flex: 1;
    min-width: 320px; 
    background: transparent;
    padding: 35px;
    border-radius: 16px;
    /*box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-left: 4px solid #234ca4;*/
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 600;
    color: #234ca4;
}

.info-box {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
    transition: transform .2s ease, box-shadow .2s ease;
    padding: 10px;
    border-radius: 10px;
    line-height: 1.5;
}

.info-box:hover {
    transform: translateX(5px);
    background: #ced9f438;
}

.icon {
    min-width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.green {
    background: #2336a4;
}

.info-box h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.info-box p,
.info-box strong {
    margin-top: 5px;
    color: #666;
}

/* ===== FORMULARIO ======== */
.contact-form {
    flex: 1;
    min-width: 200px;
    background: white;
    padding: 45px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.10);
    animation: fadeIn .6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-form h2 {
    color: #234ca4;
    margin-bottom: 10px;
    font-size: 28px;
}

.contact-form p {
    margin-bottom: 30px;
    color: #555;
}

.contact-form form .row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fafafa;
    transition: border .2s ease, box-shadow .2s ease;
    color: #333 !important;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #234ca4;
    box-shadow: 0 0 6px rgba(35,76,164,.3);
    background: white;
}
* {
  box-sizing: border-box;
}

.contact-form select option:disabled {
  color: #888;
}
.contact-form textarea {
    height: 150px;
    resize: none;
}

.send-btn {
    width: 100%;
    background: linear-gradient(to right, #234ca4, #1b398c);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 19px;
    cursor: pointer;
    transition: transform .2s ease, opacity .3s ease;
    margin-top: 25px;
}

.send-btn:hover {
    opacity: .85;
    transform: translateY(-2px);
}

.mapa {
    width: 100%;
    padding: 30px 10px;
    background: linear-gradient(to right, #eef2f7, #f8f9fa);
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top:0px;

  }

.show-map-btn {
    background-color: #002244;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    width: 30%;
    margin-top:0px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .show-map-btn:hover {
    background-color: #004488;
  }
  
  
/*=====RESPONSIVE -====== */
   @media (max-width: 768px) {

    /* Contenedor principal */
    .contact-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: auto;
      padding: 0 15px ;
      box-sizing: border-box;
    }
  
    /* Lado izquierdo (info)  */
    .contact-info {
      width: 100% ;
      max-width: 500px;
      padding: 0;
      margin: 0 auto ;
      text-align: center ;
    }
  
    
    .info-box {
      display: flex ;
      flex-direction: column ;
      align-items: center ;
      text-align: center ;
  
      background: #f5f5f5;
      padding: 18px 20px ;
  
      width: 100%;
      max-width: 420px ;
      margin: 0 auto 20px ;
  
      border-radius: 12px;
  
      box-sizing: border-box;
    }
  
    .info-box .icon {
      margin-bottom: 12px;
    }
  
   
    .info-box h4,
    .info-box strong,
    .info-box p,
    .info-box a {
      text-align: center ;
      margin: 0 auto ;
      display: block;
      width: 100%;
    }
  


    /* FORMULARIO */
    
  .contact-form {
    width: 100% ;
    max-width: 500px ;
    padding: 25px ;
    margin: 0 auto ;
    text-align: center;
    box-sizing: border-box;
  }
  .contact-form .row {
    flex-direction: column ;
    gap: 15px ;
    padding: 0 ;
    margin: 0 0 20px 0 ;
    width: 100% ;
    max-width: 100% ;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    width: 100% ;
  }
   }
  
  

  @media (min-width: 480px) and (max-width: 991px) {

    .contact-section {
      padding: 40px 20px;
    }
  
    .contact-container {
      flex-direction: column;
      align-items: center;
    }
  
    .contact-form {
      width: 90% ;
      max-width: 600px ;
      padding: 35px ;
      margin: 0 auto ;
    }
  
    .contact-info {
      width: 90% ;
      max-width: 600px ;
      padding: 20px ;
    }
  
    .contact-form .row {
      flex-direction: column ;
      gap: 15px;
    }
  }
  