* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
  }
  
  body {
    background-color: white;
    color: #001f5b;
    line-height: 1.6;
  }
  
  /* Header */
  .header {
    background-color: #001f5b;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .logo {
    font-size: 1.8em;
    font-weight: bold;
  }
  
  .nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .nav a:hover {
    color: #a5c8ff;
  }
  
  .btn-contacto {
    background-color: white;
    color: #001f5b !important;
    padding: 8px 15px;
    border-radius: 5px;
    margin-left: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
  }

  .btn-contacto:hover {
    background-color: #a5c8ff;
    color: #001f5b;
  }

  .seccion {
    padding: 80px 40px;
    text-align: center;
  }

  /* Ícono hamburguesa oculto por defecto */
.menu-toggle {
  display: none;
  font-size: 2em;
  cursor: pointer;
  color: white;
}

/* Solo se muestra en móviles */
@media screen and (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
    align-self: flex-end;
  }

  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .nav.activo {
    display: flex;
  }

  .nav a, .btn-contacto {
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    text-align: left;
  }
}

  
  /* Sección de inicio */
  .inicio {
    background-color: #eaf1ff;
    padding: 100px 40px;
  }
  
  .inicio-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
  }

  .inicio-texto {
    flex: 1;
    text-align: left;
  }

  .inicio-texto h1 {
    font-size: 4em;
    margin-bottom: 20px;
    color: #001f5b;
    font-weight: bold;
  }
  
  .inicio-texto p {
    font-size: 1.2em;
    color: #333;
  }
  
  .inicio-card {
    flex: 1;
    display: flex;
    justify-content: center;
  }
  
  .inicio-card img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  /*Seccion de quienes-somos*/
  .quienes-somos {
    background-color: #ffffff;
    padding: 80px 40px;
  }
  
  .qs-contenido {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .qs-descripcion {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .qs-descripcion h2 {
    font-size: 2.8em;
    color: #001f5b;
    margin-bottom: 20px;
  }
  
  .qs-descripcion p {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 15px;
  }
  
  .qs-valores {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .valor-card {
    background-color: #f2f6ff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
  }
  
  .valor-card:hover {
    transform: translateY(-10px);
  }
  
  .valor-card h3 {
    color: #001f5b;
    font-size: 1.5em;
    margin-bottom: 10px;
  }
  
  .valor-card p {
    color: #555;
    font-size: 1em;
  }
   /*Seccion de servicios*/
   .servicios {
    background-color: #eaf1ff; /* mismo fondo que "inicio" */
    padding: 80px 40px;
  }
  
  .servicios-contenido {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  
  .servicios-contenido h2 {
    font-size: 2.8em;
    color: #001f5b;
    margin-bottom: 20px;
  }
  
  .servicios-contenido p {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 40px;
  }
  
  .servicios-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .servicio-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    max-width: 500px;
    flex: 1 1 260px;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .servicio-card:hover {
    transform: translateY(-8px);
  }
  
  .servicio-card img {
    width: 100%;
    max-width: 500px; /* Tamaño máximo controlado */
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .servicio-card h3 {
    font-size: 2em;
    color: #001f5b;
    margin-bottom: 10px;
  }
  
  .servicio-card p {
    color: #555;
    font-size: 1em;
  }
  
  /*Contacto*/
  .contacto {
    background-color: #eaf1ff;
    padding: 80px 40px;
  }
  
  .contacto-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
  }
  
  .contacto-texto h2 {
    font-size: 2.5em;
    color: #001f5b;
    margin-bottom: 10px;
  }
  
  .contacto-texto p {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 40px;
  }
  
  .formulario-contacto {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .formulario-contacto input,
  .formulario-contacto textarea {
    padding: 15px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 10px;
    resize: none;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .formulario-contacto button {
    background-color: #001f5b;
    color: white;
    border: none;
    padding: 15px;
    font-size: 1em;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .formulario-contacto button:hover {
    background-color: #0037a3;
  }
  
  .mensaje-exito {
    display: none;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    width: fit-content;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.5s ease;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .mensaje-error {
    display: none;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    width: fit-content;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.5s ease;
  }
  
  /*Footer*/
  .footer {
    background-color: #001f5b;
    color: white;
    padding: 30px 20px;
    text-align: center;
  }
  
  .footer-content {
    max-width: 1000px;
    margin: 0 auto;
  }

  .footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
  
  .footer-icon {
    font-size: 1.8em;
    color: white;
    transition: color 0.3s;
  }
  
  .footer-icon:hover {
    color: #a5c8ff;
  }
  
  