:root {
    --brand: #007BFF;       /* Azul Claro Principal */
    --brand-dark: #0056B3;  /* Azul Oscuro para Hover/Énfasis */
    --text: #333333;        /* Gris Oscuro para Texto (mejor legibilidad que el negro puro) */
    --bg: #ffffff;          /* Blanco para Fondo */
    --border: #EBEBEB;      /* Gris Muy Claro para Bordes y Separadores */
}

* { box-sizing: border-box; }

/* Smooth scrolling for in-page anchors */
html {
    scroll-behavior: smooth;
    /* Reserve space equal to sticky header height so anchors aren't hidden */
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: #0056B3;
    background: var(--bg);
    overflow-x: hidden;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.site-header.hidden {
    transform: translateY(-100%);
}

.nav-bar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    gap: 16px;
}
.site-header .brand img {
  width: 350px;   /* ajusta el tamaño que quieras */
  height: auto;
  max-width: none; /* evita que otra regla limite el ancho */
}


.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #0056B3;
}

.brand img {
    height: 400px;
    width: auto;
    display: block;
}

.brand-name {
    font-weight: 900;
    letter-spacing: 0.2px;
    font-size: 1.1rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    color: var(--text);
    font-weight: 600;
}

.nav-link:hover {
    background: #f5f2f2; /* Un blanco muy sutil para el hover */
    border-color: #ffffff;
}

.nav-link.active {
    background: #0056B3;
    color: white;
    border-color: #06315f;
}

.nav-link.active:hover {
    background: var(--brand-dark); /* Azul oscuro en hover para enlaces activos */
    border-color: var(--brand-dark);
}


/* Slide/fade in for key elements on first paint */
.nav-bar,
.banner-content > *,
.banner2-content > *,
.banner3-content > *,
.banner4-content > *,
.services-title,
.services-subtitle {
    opacity: 0;
    transform: translateY(12px);
}

html.page-loaded .nav-bar,
html.page-loaded .banner-content > *,
html.page-loaded .banner2-content > *,
html.page-loaded .banner3-content > *,
html.page-loaded .banner4-content > *,
html.page-loaded .services-title,
html.page-loaded .services-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1100ms ease, transform 1100ms ease; /* Increased by 500ms */
}

/* Stagger for banner content */
.banner-content > *:nth-child(1),
.banner2-content > *:nth-child(1),
.banner3-content > *:nth-child(1),
.banner4-content > *:nth-child(1) {
    transition-delay: 80ms;
}
.banner-content > *:nth-child(2),
.banner2-content > *:nth-child(2),
.banner3-content > *:nth-child(2),
.banner4-content > *:nth-child(2) {
    transition-delay: 180ms;
}
.banner-content > *:nth-child(3),
.banner2-content > *:nth-child(3),
.banner3-content > *:nth-child(3),
.banner4-content > *:nth-child(3) {
    transition-delay: 260ms;
}
.services-title { transition-delay: 120ms; }
.services-subtitle { transition-delay: 220ms; }

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .nav-bar,
    .banner-content > *,
    .banner2-content > *,
    .banner3-content > *,
    .banner4-content > *,
    .services-title,
    .services-subtitle {
      opacity: 1;
      transform: none;
      transition: none;
    }
}

/* Scroll-reveal utilities */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 700ms ease, transform 700ms ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
}

/* Ensure the services section aligns nicely below the sticky header when navigated via #services */
#services {
    scroll-margin-top: 80px;
}

/* Generic rule so any in-page anchor target aligns below the sticky header */
:target {
    scroll-margin-top: 80px;
}

/* Menú Hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--brand); /* Azul claro */
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.btn-primary {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}

.btn-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

/* --- Interactive & Hover Effects --- */
.service-card,
.review-card,
.specialist-card,
.contact-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.review-card:hover,
.specialist-card:hover,
.contact-btn:hover {
    transform: translateY(-6px);
    /* Se usa un color de sombra azul para la coherencia */
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.15); 
}

/* Banner4 - Ajustado para la paleta azul/blanco  es servicios*/
.banner4 {
    /* Agrega un degradado azul semi-transparente sobre la imagen para mejorar el contraste del texto */
    background: 
                url('imagenes/pexels-olly-771184.jpg');
              font-family: 'Sequel', system-ui, -apple-system, "Segoe UI", 
                 Roboto, Helvetica, Arial, "Apple Color Emoji", 
                 "Segoe UI Emoji", sans-serif !important;
                 letter-spacing: 4px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white; 
    padding: 80px 0 0 0; 
    text-align: left;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 75vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.banner4 {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 300px; 
}


/* Código CSS para la clase 'ubicaciones' y los efectos (el mismo que antes) */
.ubicaciones {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: flex-start; 
    gap: 30px; 
    padding: 80px 20px; 
    background-color: var(--bg); /* Aseguramos que use el fondo blanco */
}

/* 2. CONTENEDOR DEL MAPA */
.ubicaciones-mapa-contenedor {
  flex: 1; 
  min-width: 300px; 
  max-width: 600px; 
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); 
  overflow: hidden; 
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.ubicaciones-mapa-contenedor:hover {
  transform: translateY(-5px); 
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12); 
}

/* ... y el resto del CSS de .ubicaciones-info-contenedor, .titulo-interactivo, etc. */

.titulo-interactivo {
  font-family: 'Azonix', Impact, sans-serif;
  font-size: clamp(2rem, 6vw, 7rem); /* Responsivo */
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);

  /* CENTRADO REAL */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  width: 100%;
  margin: 0 auto;

  transition: color .3s ease, transform .3s ease, text-shadow .3s ease;
  cursor: pointer;
  padding: 0;
}

/* Hover */
.titulo-interactivo:hover {
  color: #fff;
  transform: scale(1.1);
  text-shadow: 0 0 10px rgba(0,123,255,0.9);
}

/* Fondo del banner */
.banner4::before {
  content:'';
  position:absolute;
  top:0;left:0;right:0;bottom:0;
  
  z-index:1;
}

.banner4-content {
  position:relative;
  z-index:2;

  /* Para centrar su contenido */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 100%;
  padding: 60px 20px; /* centrado + padding sin romper el diseño */
  box-sizing: border-box;
}

  
 /* Título H1: AUMENTO DE TAMAÑO */
.banner4 h1 {
  font-family: 'Sequel', system-ui, -apple-system, "Segoe UI", 
                 Roboto, Helvetica, Arial, "Apple Color Emoji", 
                 "Segoe UI Emoji", sans-serif !important;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner4 p {
  font-size: 1.3rem;
  margin: 0;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 600px;
}

/* --- Responsive para banner4 --- */
@media (max-width: 992px) {
  .banner4 h1 {
    /* Ajuste para tablets grandes */
    font-size: 5rem;
  }
}

@media (max-width: 768px) {
  /* Mantenemos la estructura de la media query */
  .banner4 {
    height: 80vh;
    min-height: 400px;
    justify-content: center;
    text-align: center;
  }
  
  .banner4 h1 {
    /* 🔑 AJUSTE PARA MÓVILES: Reducido para que quepa */
    font-size: 3.5rem;
  }

  .banner4 p {
    margin: 0 auto;
  }
}

 
  /* Banner3 - Base y Altura Consistente (CONSOLIDADO) */
.banner3 {
   background: linear-gradient(135deg, #007bff00 0%, #0057b300 100%);
    
    /* 🔑 CORRECCIÓN CLAVE: Usamos un nombre de archivo seguro. 
       Asegúrate de que este archivo exista en tu carpeta 'imagenes/'. */
    background-image: url('imagenes/pexels-mario-cuadros-1166886-12595770.jpg'); 
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 0 0 0; 
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    
    /* ALTURA DE ESCRITORIO CONSISTENTE */
    height: 75vh; 
    min-height: 500px; 
    
    /* Centrado y Efectos */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-position 0.5s ease-out, transform 0.3s ease;
    cursor: pointer;
}

/* Hover Effect del Bloque */
.banner3:hover {
    background-position: top center;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(243, 243, 243, 0);
}

/* Overlay (Capa oscura para contraste) */
.banner3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Degradado oscuro/azul para asegurar el contraste del texto grande */
    background: linear-gradient(135deg, rgba(89, 91, 92, 0) 0%, rgba(29, 71, 116, 0) 100%); 
    z-index: 1;
}

/* Contenido (Centrado y limitación de ancho) */
/* Contenido (Centrado y limitación de ancho) */
.banner3-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Título H1 (Efectos de Brillo, Animación y TAMAÑO GRANDE) */
.banner3-content h1 {
  font-family: 'Sequel', system-ui, -apple-system, "Segoe UI", 
                 Roboto, Helvetica, Arial, "Apple Color Emoji", 
                 "Segoe UI Emoji", sans-serif !important;
   letter-spacing: 4px;
    font-size: 7rem; 
    font-weight: 700;
    color: white;
    margin-bottom: 30px; 
   
    letter-spacing: 9px;
    
    /* Brillo Base (Idéntico al Hero Banner) */
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.205), 0 0 20px rgba(0, 123, 255, 0.103), 2px 2px 4px rgba(0, 0, 0, 0.5);
    
    /* Transición y Animación (Idéntico al Hero Banner) */
    transition: transform 0.4s ease-out, text-shadow 0.4s ease-out; 
    animation: fadeInSlideUp 1.2s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.banner3-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Título H1 (Efectos, Animación y Estilo Unificado — SIN MAYÚSCULAS FORZADAS) */
.banner3-content h1 {
    font-family: 'Azonix', Impact, sans-serif;
    font-size: 7rem;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;

    /* Espaciado entre letras */
    letter-spacing: 9px;

    /* Brillo */
    text-shadow: 
        0 0 10px rgba(53, 70, 88, 0.336),
        0 0 20px rgba(0, 123, 255, 0.178),
        2px 2px 4px rgba(0, 0, 0, 0.5);

    /* Animación */
    transition: transform 0.4s ease-out, text-shadow 0.4s ease-out;
    animation: fadeInSlideUp 1.2s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* Hover del título */
.banner3-content h1:hover {
    transform: scale(1.05);
    cursor: pointer;
    text-shadow: 
        0 0 15px white,
        0 0 30px rgb(133, 156, 180),
        0 0 50px rgba(103, 121, 141, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.6);
}


/* Responsive para el tamaño (debes asegurar que estos media queries también se apliquen) */
@media (max-width: 992px) {
    .banner3-content h1 {
        font-size: 3.5rem; 
    }
}
@media (max-width: 600px) {
    .banner3-content h1 {
        font-size: 2.8rem;
    }
}

.banner2 {
    /* Fondo con overlay azul/oscuro (ajusta la URL de la imagen) */
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.75) 0%, rgba(0, 86, 179, 0.75) 100%), 
                url('imagenes/fondo-sobre-nosotros.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    color: white; 
    padding: 80px 0 0 0; 
    text-align: center; /* CLAVE 1: Centra texto y elementos inline */
    
    /* PROPIEDADES CLAVE PARA CENTRADO ABSOLUTO */
    display: flex;
    align-items: center; /* Centrado Vertical */
    justify-content: center; /* Centrado Horizontal */
    
    /* Propiedades de Layout */
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 75vh;
    min-height: 500px;
}

/* Contenedor de Contenido: Asegura que se centre y tenga z-index */
.banner2-content {
    position: relative;
    z-index: 2; /* Siempre sobre el fondo */
    
    max-width: 800px; 
    margin: 0 auto; /* CLAVE 2: Centra el bloque .banner2-content */
    padding: 0 20px; /* Padding de seguridad */
}


/* --- Responsive: Asegura que el título se ajuste --- */

@media (max-width: 768px) {
    .banner2 {
        height: 60vh;
        min-height: 350px;
    }

    .banner2-content {
        /* Mantenemos el centrado, solo ajustamos el padding */
        padding: 0 15px; 
    }
    
    /* Nota: Si el h1 usa la clase .titulo-interactivo, 
       esta clase ya contiene sus propios ajustes responsive de font-size. */
}
 .banner {
    /* El degradado original que tenías se aplicaba directamente como fondo.
       Ahora, usaremos un truco con '::before' para superponer una capa oscura. */
    background-image: url('imagenes/fodnovisas.jpg'); /* La imagen de fondo se mantiene */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: rgb(255, 255, 255); /* Aseguramos que el texto sea blanco para contrastar con la capa oscura */
    padding: 140px 20px 60px 20px; /* Padding superior aumentado para el header */
    text-align: center;
    position: relative; /* Necesario para que el pseudo-elemento ::before se posicione correctamente */
    overflow: hidden;
    height: 100vh; /* Altura completa de la pantalla */
    min-height: 500px; /* Altura mínima */
    display: flex;
    align-items: center; /* Centra verticalmente */
    justify-content: center; /* Centra horizontalmente */
}

/* Pseudo-elemento para crear la capa oscura sobre la imagen de fondo */
.banner::before {
    content: ""; /* Es necesario para que el pseudo-elemento se muestre */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Aquí definimos el degradado oscuro. Puedes ajustar los valores RGBA para cambiar la oscuridad.
       rgba(0, 0, 0, 0.5) significa negro con 50% de opacidad. */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1; /* Asegura que la capa oscura esté sobre la imagen de fondo pero debajo del contenido del banner */
}

/* El contenido del banner (texto, botones, etc.) debe tener un z-index mayor para estar por encima del overlay */
.banner > * {
    position: relative;
    z-index: 2; /* Asegura que el contenido del banner esté por encima del overlay */
}


/* Utility classes for different banner styles (se mantienen igual, pero ahora se aplican sobre el overlay base) */
.banner.no-overlay::before {
    display: none; /* Si tienes una imagen de fondo que no necesita oscurecerse */
}

.banner.light-overlay::before {
    /* Si quieres un overlay más claro que el predeterminado */
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.3) 0%, rgba(0, 86, 179, 0.3) 100%); /* Usando los colores de tu paleta azul */
}

.banner.dark-overlay::before {
    /* Puedes usar este para un overlay aún más oscuro si el predeterminado no es suficiente */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

/* Clases para diferentes alturas del banner (se mantienen iguales) */
.banner.height-small {
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner.height-medium {
    height: 70vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner.height-large {
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner.height-custom {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner.height-auto {
    height: auto;
    min-height: 400px;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

  .banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
  }

  .banner-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .banner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .banner p {
    font-size: 1.2rem;
    margin: 0 0 24px 0;
    opacity: 0.95;
    line-height: 1.6;
  }

  .banner-cta {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn-banner {
    background: #0056B3;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }

  .btn-banner:hover {
    background: #007BFF;
    border-color:#0056B3(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }

  .btn-banner.primary {
    background: white;
    color: var(--brand-dark);
    border-color: white;
  }

  .btn-banner.primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
  }

@media (max-width: 768px) {
    /* Prevenir scroll horizontal en móviles */
    html, body {
      overflow-x: hidden !important;
      width: 100%;
      position: relative;
    }

    .hamburger {
      display: flex;
    }

    .nav-actions {
      position: fixed;
      top: 0;
      right: 0;
      width: 100%;
      height: 100vh;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(10px);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 30px;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      z-index: 1000;
    }

    .nav-actions.active {
      transform: translateX(0);
    }

    .nav-link {
      font-size: 1.5rem;
      padding: 15px 30px;
      border-radius: 10px;
      width: 220px;
      text-align: center;
    }

    .brand-name { display: none; }
  }

  @media (max-width: 640px) {
    .nav-link { 
      font-size: 1.3rem;
      padding: 12px 25px;
      width: 200px;
    }
    
    .banner {
      padding: 40px 20px;
      height: 80vh; /* Altura reducida en móviles */
      min-height: 400px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .banner.height-small {
      height: 60vh;
      min-height: 250px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .banner.height-medium {
      height: 70vh;
      min-height: 300px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .banner.height-large {
      height: 80vh;
      min-height: 400px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .banner.height-custom {
      height: 500px; /* Altura reducida en móviles */
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .banner h1 {
      font-size: 2rem;
    }
    
    .banner p {
      font-size: 1.1rem;
    }
    
    .banner-cta {
      flex-direction: column;
      align-items: center;
    }
    
    /* Centrado perfecto para banners en dispositivos pequeños */
    .banner2-content,
    .banner3-content,
    .banner4-content {
      padding-left: 15px !important;
      padding-right: 15px !important;
      max-width: calc(100% - 30px) !important;
      margin-left: auto !important;
      margin-right: auto !important;
      text-align: center !important;
    }
    
    .banner2 h1,
    .banner3 h1,
    .banner4 h1 {
      font-size: 2.5rem !important;
      text-align: center !important;
      font-family: 'Verdana', Geneva, sans-serif; /* APLICACIÓN DE LA TIPOGRAFÍA VERDANA */

    }
  }

  /* Sección de Servicios */
  .services-section {
    background: rgb(255, 255, 255);
    padding: 80px 20px;
    color: var(--brand);
  }

  .services-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }

  .services-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #0056B3;
    letter-spacing: 1px;
  }

  .services-subtitle {
    font-size: 1.2rem;
    color: #0056B3;
    margin: 0 0 60px 0;
    opacity: 0.8;
  }

  /* Carrusel */
  .carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 0 40px;
    padding: 20px 0;
  }

  .carousel-wrapper {
    overflow: hidden; /* ¡ESTA ES LA REGLA CLAVE QUE FALTABA! */
    border-radius: 20px;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    /* El ancho se calculará dinámicamente con JS para alojar todos los slides */
    will-change: transform;
  }

  .service-card {
    flex-shrink: 0;
    box-sizing: border-box;
    /* El padding se ha movido a los elementos internos .service-image y .service-info */
  }

  .service-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 250px;
    margin: 0 25px 20px 25px; /* Se añade margen para simular el padding horizontal */
  }

  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  .service-card:hover .service-image img {
    transform: scale(1.05);
  }

  .service-info {
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin: 0 25px 30px 25px; /* Se añade margen para simular el padding */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
  }

  .service-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0056B3;
    margin: 0 0 12px 0;
    line-height: 1.3;
    min-height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .service-info p {
    font-size: 0.9rem;
    color: var(--brand);
    opacity: 0.8;
    line-height: 1.4;
    margin: 0 0 20px 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .service-btn {
    background: var(--brand);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
  }

  .service-btn:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(113, 178, 200, 0.3);
  }

  /* Controles del carrusel */
  .carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
  }

  .carousel-btn {
    background: var(--brand);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-btn:hover:not(:disabled) {
    background: var(--brand-dark);
    transform: scale(1.1);
  }

  .carousel-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
  }

  /* Responsive para servicios */
  @media (max-width: 1024px) {
    .carousel-container {
      margin: 0 30px;
    }
  }

  @media (max-width: 992px) {
    /* Asegura 1 tarjeta por vista en anchos como 446px */
    .service-card {
      flex: 0 0 100% !important;
      max-width: 100%;
    }
  }

  @media (max-width: 768px) {
    .services-section {
      padding: 60px 20px;
    }

    .services-title {
      font-size: 2rem;
    }

    .services-subtitle {
      font-size: 1.1rem;
      margin-bottom: 40px;
    }

    .carousel-container {
      margin: 0 20px;
      padding: 15px 0;
    }

    .service-card {
      /* En móvil, cada tarjeta debe ocupar el 100% del ancho disponible */
      flex: 0 0 100%;
      width: 100%;
      padding: 20px 15px;
    }

    .service-image {
      height: 200px;
    }

    .service-info {
      height: 240px;
      padding: 20px;
    }

    .service-info h3 {
      font-size: 1.1rem;
      min-height: 3.5rem;
    }

    .service-info p {
      font-size: 0.85rem;
      margin-bottom: 15px;
      -webkit-line-clamp: 4;
      line-clamp: 4;
    }

    .carousel-controls {
      margin-top: 30px;
    }

    .carousel-btn {
      width: 45px;
      height: 45px;
      font-size: 1.3rem;
    }
  }

  /* Sección de Reseñas */
  .reviews-section {
    background: #0056B3;
    padding: 80px 20px;
    color: white;
  }

  .reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }

  .reviews-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: white;
    letter-spacing: 1px;
  }

  .reviews-subtitle {
    font-size: 1.2rem;
    color: white;
    margin: 0 0 60px 0;
    opacity: 0.9;
  }

  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
  }

  .review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 280px; /* Altura fija para todas las tarjetas */
  }

  .review-image {
    position: relative;
    z-index: 2;
    margin-bottom: -30px;
  }

  .review-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
  }

  .review-image img:hover {
    transform: scale(1.05);
  }

  .review-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .review-content p {
    color: var(--brand);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    font-style: italic;
    flex-grow: 1;
    display: flex;
    align-items: center;
  }

  .review-author h4 {
    color: var(--brand);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
  }

  .review-author span {
    color: var(--brand);
    font-size: 0.9rem;
    opacity: 0.7;
  }

  /* Responsive para reseñas */
  @media (max-width: 768px) {
    .reviews-section {
      padding: 60px 20px;
    }

    .reviews-title {
      font-size: 2rem;
    }

    .reviews-subtitle {
      font-size: 1.1rem;
      margin-bottom: 40px;
    }

    .reviews-grid {
      grid-template-columns: 1fr;
      gap: 30px;
    }

    .review-card {
      height: 250px; /* Altura ajustada para móviles */
    }

    .review-content {
      padding: 25px;
      max-width: 100%;
    }

    .review-image img {
      width: 100px;
      height: 100px;
    }

    .review-content p {
      font-size: 0.95rem;
    }
  }

  /* Footer */
  .footer {
    background: #0056B3;
    padding: 60px 20px 40px 20px;
    color: #0056B3;
  }

  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-align: center;
  }

  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  .footer-links li {
    margin-bottom: 12px;
  }

  .footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s ease;
    display: block;
    padding: 5px 0;
  }

  .footer-links a:hover {
    color: #3113d8;
  }

  .footer-logo {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(113, 178, 200, 0.2);
  }

  .footer-logo img {
    max-width: 200px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
  }

  .footer-logo img:hover {
    opacity: 1;
  }

  /* Responsive para footer */
  @media (max-width: 768px) {
    .footer {
      padding: 40px 20px 30px 20px;
    }

    .footer-content {
      grid-template-columns: 1fr;
      gap: 30px;
      margin-bottom: 30px;
    }

    .footer-section h3 {
      font-size: 1.2rem;
      margin-bottom: 15px;
    }

    .footer-links a {
      font-size: 0.95rem;
    }

    .footer-logo {
      padding-top: 15px;
    }

      .footer-logo img {
      max-width: 150px;
    }
  }

  /* Botón flotante */
  .floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999 !important;
    transition: all 0.3s ease;
    pointer-events: auto;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .floating-btn-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .floating-btn-link img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

  .floating-btn-link:hover {
    transform: scale(1.1);
  }

  .floating-btn-link:hover img {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }

  .floating-btn-link:active {
    transform: scale(0.95);
  }

  /* Animación de pulso opcional */
  .floating-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(113, 178, 200, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
    z-index: -1;
  }

  @keyframes pulse {
    0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
    }
    100% {
      transform: translate(-50%, -50%) scale(1.4);
      opacity: 0;
    }
  }

  /* Responsive para botón flotante */
  @media (max-width: 768px) {
    .floating-button {
      bottom: 20px;
      right: 20px;
      z-index: 9999 !important;
      position: fixed !important;
      visibility: visible !important;
      opacity: 1 !important;
      pointer-events: auto !important;
    }

    .floating-btn-link img {
      width: 50px;
      height: 50px;
    }
  }

  /* Sección ¿Quiénes somos? */
  .about-section {
    background: #f8f9fa;
    padding: 80px 0;
  }

  .about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .about-image {
    order: 1;
  }

  .about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .about-text {
    order: 2;
    padding: 40px;
    background: #0056B3;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  }

  .about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand);
    margin: 0 0 30px 0;
    text-align: center;
    color: white;
  }

  .about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-align: justify;
  }

  .about-text p:last-child {
    margin-bottom: 0;
  }

  /* Sección Nuestra Experiencia */
  .experience-section {
    background: #f8f9fa;
    padding: 80px 0;
  }

  .experience-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .experience-text {
    order: 1;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  }

  .experience-image {
    order: 2;
  }

  .experience-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .experience-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand);
    margin: 0 0 30px 0;
    text-align: center;
  }

  .experience-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 20px 0;
    text-align: justify;
  }

  .experience-text p:last-child {
    margin-bottom: 0;
  }

  /* Responsive para las secciones */
  @media (max-width: 768px) {
    .about-section,
    .experience-section {
      padding: 60px 0;
    }

    .about-container,
    .experience-container {
      padding: 0 15px;
    }

    .about-content,
    .experience-content {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .about-image,
    .experience-image {
      order: 1;
    }

    .about-text,
    .experience-text {
      order: 2;
      padding: 30px 20px;
    }

    .about-text h2,
    .experience-text h2 {
      font-size: 2rem;
      margin-bottom: 20px;
    }

    .about-text p,
    .experience-text p {
      font-size: 1rem;
      text-align: left;
    }

    .about-image img,
    .experience-image img {
      height: 300px;
    }
  }

  /* Sección Fundador el dueno */    
  .founder-section {
    background: #14c9d3d0;
    padding: 80px 0;
    position: relative;
  }

  .founder-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .founder-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin: 0 0 60px 0;
    letter-spacing: 2px;
  }

  .founder-content {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .founder-image {
    position: relative;
    z-index: 2;
    margin-right: 40px;
  }

  .founder-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #71B2C8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .founder-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  }

  .founder-info {
    flex: 1;
    padding-left: 20px;
  }

  .founder-info h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0056B3;
    margin: 0 0 25px 0;
    line-height: 1.2;
  }

  .founder-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 20px 0;
    text-align: justify;
  }

  .founder-info p:last-child {
    margin-bottom: 0;
  }

  /* Responsive para fundador */
  @media (max-width: 768px) {
    .founder-section {
      padding: 60px 0;
    }

    .founder-container {
      padding: 0 15px;
    }

    .founder-title {
      font-size: 2.5rem;
      margin-bottom: 40px;
    }

    .founder-content {
      flex-direction: column;
      text-align: center;
      padding: 30px 20px;
    }

    .founder-image {
      margin-right: 0;
      margin-bottom: 30px;
    }

    .founder-image img {
      width: 225px;
      height: 225px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .founder-image img:hover {
      transform: scale(1.05);
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    }

    .founder-info {
      padding-left: 0;
    }

    .founder-info h3 {
      font-size: 1.8rem;
      margin-bottom: 20px;
    }

    .founder-info p {
      font-size: 1rem;
      text-align: left;
    }
  }

  /* Sección Especialistas */
  .specialists-section {
    background: #f8f9fa;
    padding: 80px 0;
  }

  .specialists-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
  }

  .specialists-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0056B3;
    margin: 0 0 16px 0;
    letter-spacing: 1px;
  }

  .specialists-subtitle {
    font-size: 1.2rem;
    color: #0056B3;
    margin: 0 0 60px 0;
    opacity: 0.8;
  }

  /* Carrusel de especialistas */
  .specialists-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 0 40px;
    padding: 20px 0;
  }

  .specialists-carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
  }

  .specialists-carousel-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    will-change: transform;
  }

  .specialist-card {
    flex: 0 0 25%; /* Valor por defecto, se sobrescribirá por JS */
    min-width: 0; /* Asegura que el contenido no desborde */
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: flex 0.3s ease-in-out;
  }

  .specialist-image {
    position: relative;
    margin-bottom: 20px;
  }

  .specialist-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
  }

  .specialist-card:hover .specialist-image img {
    transform: scale(1.05);
  }

  .specialist-info {
    background: #71B2C8;
    color: white;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    width: 100%;
    box-shadow: 0 5px 15px rgba(113, 178, 200, 0.3);
    transition: transform 0.3s ease;
    max-width: 250px;
    margin: 0 auto;
    min-height: 80px; /* Altura mínima para uniformidad */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .specialist-card:hover .specialist-info {
    transform: translateY(-5px);
  }

  /* Controles del carrusel de especialistas */
  .specialists-carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
  }

  .specialists-carousel-btn {
    background: var(--brand);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .specialists-carousel-btn:hover:not(:disabled) {
    background: var(--brand-dark);
    transform: scale(1.1);
  }

  .specialists-carousel-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
  }

  /* Responsive para especialistas */
  @media (max-width: 1200px) {
    .specialist-card {
      flex: 0 0 33.333%; /* 3 tarjetas en laptops pequeñas */
    }
  }

  @media (max-width: 992px) {
    .specialist-card {
      flex: 0 0 100%; /* 1 tarjeta en tablets y móviles */
    }
    
    .specialist-info {
      padding: 12px;
      min-height: 70px; /* Altura mínima ajustada para móviles */
    }
    
    .specialist-info h3 {
      font-size: 1.1rem;
    }
  }

  @media (max-width: 768px) {
    .specialists-section {
      padding: 50px 0;
    }

    .specialists-title {
      font-size: 1.8rem;
      margin-bottom: 15px;
    }

    .specialists-subtitle {
      font-size: 1rem;
      margin-bottom: 30px;
    }

    .specialists-carousel-container {
      margin: 0 10px;
      padding: 10px 0;
      overflow: hidden;
    }

    .specialist-card {
      flex: 0 0 100%;
      padding: 10px;
    }

    .specialist-image img {
      max-width: 160px;
    }

    .specialist-info {
      max-width: 220px;
      padding: 12px;
      min-height: 70px;
    }

    .specialist-info h3 {
      font-size: 1.1rem;
      margin-bottom: 5px;
    }

    .specialist-info p {
      font-size: 0.9rem;
    }

    .specialists-carousel-controls {
      margin-top: 25px;
    }

    .specialists-carousel-btn {
      width: 40px;
      height: 40px;
      font-size: 1.2rem;
    }
  }

  /* Sección de Servicios Detallados - Página de Servicios */
  .services-detailed {
    background: #f8f9fa;
    padding: 80px 0;
  }

  .services-detailed-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .service-detail-section {
    margin-bottom: 80px;
    background: #0056B3;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .service-detail-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }

  .service-detail-section:last-child {
    margin-bottom: 0;
  }

  .service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 400px;
  }

  .service-detail-reverse .service-detail-content {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail-reverse .service-detail-text {
    order: 1;
  }

  .service-detail-reverse .service-detail-image {
    order: 2;
  }

  .service-detail-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }

  .service-detail-section:hover .service-detail-image img {
    transform: scale(1.05);
  }

  .service-detail-text {
    padding: 50px 40px;
    background: #0056B3
  }

  .service-detail-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 25px 0;
    line-height: 1.2;
  }

  .service-detail-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    margin: 0 0 25px 0;
    text-align: justify;
  }

  .service-detail-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .service-detail-text li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.6;
  }

  .service-detail-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
  }

  /* Responsive para servicios detallados */
  @media (max-width: 1024px) {
    .services-detailed {
      padding: 60px 0;
    }

    .service-detail-section {
      margin-bottom: 60px;
    }

    .service-detail-content {
      min-height: 350px;
    }

    .service-detail-image {
      height: 350px;
      padding: 20px;
    }

    .service-detail-text {
      padding: 40px 30px;
    }

    .service-detail-text h2 {
      font-size: 2rem;
      margin-bottom: 20px;
    }

    .service-detail-text p {
      font-size: 1rem;
      margin-bottom: 20px;
    }
  }

  @media (max-width: 768px) {
    .services-detailed-container {
      padding: 0 15px;
    }

    .service-detail-section {
      margin-bottom: 50px;
      border-radius: 15px;
    }

    .service-detail-content {
      display: flex !important;
      flex-direction: column !important;
      min-height: auto;
    }

    /* Forzar que todas las imágenes estén arriba en móvil */
    .service-detail-image {
      order: 1 !important;
      height: 320px;
      padding: 20px;
      width: 100% !important;
    }

    .service-detail-text {
      order: 2 !important;
      padding: 30px 25px;
      width: 100% !important;
    }

    /* Anular el orden de las secciones reverse en móvil */
    .service-detail-reverse .service-detail-content {
      display: flex !important;
      flex-direction: column !important;
    }

    .service-detail-reverse .service-detail-image {
      order: 1 !important;
    }

    .service-detail-reverse .service-detail-text {
      order: 2 !important;
    }

    .service-detail-text h2 {
      font-size: 1.8rem;
      margin-bottom: 20px;
      text-align: center;
    }

    .service-detail-text p {
      font-size: 0.95rem;
      margin-bottom: 20px;
      text-align: left;
    }

    .service-detail-text li {
      font-size: 0.9rem;
      margin-bottom: 10px;
    }
  }

  @media (max-width: 480px) {
    .services-detailed {
      padding: 40px 0;
    }

    .service-detail-section {
      margin-bottom: 40px;
    }

    .service-detail-content {
      display: flex !important;
      flex-direction: column !important;
    }

    /* Mantener el orden imagen arriba, texto abajo en móviles pequeños */
    .service-detail-image {
      order: 1 !important;
      height: 280px;
      padding: 15px;
      width: 100% !important;
    }

    .service-detail-text {
      order: 2 !important;
      padding: 25px 20px;
      width: 100% !important;
    }

    /* Anular el orden de las secciones reverse en móviles pequeños */
    .service-detail-reverse .service-detail-content {
      display: flex !important;
      flex-direction: column !important;
    }

    .service-detail-reverse .service-detail-image {
      order: 1 !important;
    }

    .service-detail-reverse .service-detail-text {
      order: 2 !important;
    }

    .service-detail-text h2 {
      font-size: 1.6rem;
    }

    .service-detail-text p {
      font-size: 0.9rem;
    }

    .service-detail-text li {
      font-size: 0.85rem;
    }
  }

  /* Sección de Contacto - Ubicación */
  .contact-location {
    background: #f8f9fa;
    padding: 80px 0;
  }

  .contact-location-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .contact-location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .map-container {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .map-container iframe {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .location-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .location-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0056B3;
    margin: 0 0 30px 0;
    text-align: center;
  }

  .location-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .location-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid var(--brand);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .location-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(113, 178, 200, 0.2);
  }

  .location-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0056B3;
    margin: 0 0 10px 0;
  }

  .location-item p {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
  }

 .contact-schedule {
    padding: 120px 0;
    text-align: center;

    /* 🔥 Fondo con imagen */
    background-image: url("imagenes/pexels-myersmc16-919109.jpg");
    background-size: cover;        /* cubre toda el área */
    background-position: center;   /* centrada */
    background-repeat: no-repeat;

    /* 🔥 Capa oscura opcional (para que el texto destaque) */
 
    background-blend-mode: multiply;  /* mezcla elegante */
}


  .contact-schedule-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .contact-schedule h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-align: center;
  }

  .contact-subtitle {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 0 0 40px 0;
    text-align: center;
    opacity: 0.95;
  }

/* 1. Estilos para el Contenedor de la Cuadrícula */
.contact-schedule .contact-buttons-grid {
    display: flex; /* Habilita el control de filas */
    flex-wrap: wrap; /* Permite que los elementos pasen a la siguiente línea */
    justify-content: center; /* Centra las filas */
    gap: 10px;
    margin: 0 auto; /* Centra el bloque completo .contact-buttons-grid */
    /* CLAVE: Si 3 botones de 250px + 2 gaps de 10px suman 770px, 780px asegura que solo quepan 3. */
    max-width: 780px; 
}

/* 2. Estilos necesarios para cada botón */
.contact-btn {
    width: 250px; /* CLAVE: Define el ancho fijo de cada columna/botón */
    text-align: center; 
}
  .schedule-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0056B3;
    margin: 0 0 30px 0;
    text-align: center;
  }

  .schedule-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
  }

  .schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .schedule-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(113, 178, 200, 0.2);
  }

  .schedule-item.closed {
    background: #f5f5f5;
    color: #999;
  }

  .schedule-item .day {
    font-weight: 600;
    color: var(--brand);
    font-size: 1.1rem;
  }

  .schedule-item.closed .day {
    color: #999;
  }

  .schedule-item .hours {
    font-weight: 500;
    color: #555;
  }

  .schedule-item.closed .hours {
    color: #999;
  }

  .establishment-image {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .establishment-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
  }

  .establishment-image:hover img {
    transform: scale(1.02);
  }

  /* Responsive para secciones de contacto */
  @media (max-width: 1024px) {
    .contact-location,
    .contact-schedule {
      padding: 60px 0;
    }

    .contact-location-content,
    .contact-schedule-content {
      gap: 40px;
    }

    .location-info,
    .schedule-info {
      padding: 30px;
    }

    .establishment-image img {
      height: 350px;
    }
  }

  @media (max-width: 768px) {
    .contact-location-container,
    .contact-schedule-container {
      padding: 0 15px;
    }

    .contact-location-content,
    .contact-schedule-content {
      grid-template-columns: 1fr;
      gap: 30px;
    }

    .location-info,
    .schedule-info {
      padding: 25px;
    }

    .location-info h2,
    .schedule-info h2 {
      font-size: 1.8rem;
      margin-bottom: 25px;
    }

    .map-container {
      padding: 15px;
    }

    .map-container iframe {
      height: 300px;
    }

    .establishment-image {
      padding: 15px;
    }

    .establishment-image img {
      height: 250px;
    }

    .location-details {
      gap: 20px;
    }

    .location-item {
      padding: 15px;
    }

    .schedule-details {
      gap: 12px;
    }

    .schedule-item {
      padding: 12px 15px;
    }
  }

  @media (max-width: 480px) {
    .contact-location,
    .contact-schedule {
      padding: 40px 0;
    }

    .location-info,
    .schedule-info {
      padding: 20px;
    }

    .location-info h2,
    .schedule-info h2 {
      font-size: 1.6rem;
    }

    .map-container iframe {
      height: 250px;
    }

    .establishment-image img {
      height: 200px;
    }

    .location-item h3 {
      font-size: 1.1rem;
    }

    .location-item p {
      font-size: 0.9rem;
    }

    .schedule-item .day {
      font-size: 1rem;
    }

    .schedule-item .hours {
      font-size: 0.9rem;
    }
  }

  /* Sección de Botones de Contacto */
  .contact-buttons {
    background: #f8f9fa;
    padding: 80px 0;
  }

  .contact-buttons-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
  }

  .contact-buttons h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0056B3;
    margin: 0 0 50px 0;
    letter-spacing: 2px;
  }

  .contact-buttons-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
    max-width: 100%;
  }

  .contact-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #71B2C8;
    color: white;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 500px;
    box-shadow: 0 5px 15px rgba(113, 178, 200, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
    justify-content: flex-start;
  }

  /* Estilos especiales para botones dentro de contact-schedule */
  .contact-schedule .contact-btn {
    background: #16297e;
    border: 2px solid white;
    color: white;
    box-shadow: 0 5px 15px rgba(113, 178, 200, 0.3);
    padding: 10px 55px;
    max-width: 300px;
    flex: 0 1 auto;
  }

  .contact-schedule .contact-btn:hover {
    background: var(--brand-dark);
    border-color: white;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(113, 178, 200, 0.4);
  }

  .contact-schedule .contact-btn-text {
    color: white;
  }

  /* Asegurar que los botones se mantengan en línea en pantallas grandes */
  @media (min-width: 1200px) {
    .contact-schedule .contact-buttons-grid {
      max-width: 1300px;
    }
    
    .contact-schedule .contact-btn {
      max-width: 280px;
      padding: 10px 50px;
    }
  }

  .contact-btn:hover {
    background: var(--brand-dark);
    transform: translateY(-3px);
  }

  .contact-btn-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
  }

  .contact-btn-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
  }

  .contact-btn:hover .contact-btn-icon img {
    transform: scale(1.1);
  }

  .contact-btn-content {
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .contact-btn-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 5px 0;
  }

  .contact-btn-subtext {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    margin: 0;
  }

  /* Responsive para botones de contacto */
  @media (max-width: 1024px) {
    .contact-buttons-grid {
      gap: 15px;
    }
    
    .contact-btn {
      padding: 15px 20px;
      max-width: 200px;
    }
    
    .contact-btn-text {
      font-size: 1rem;
    }
  }
  
  @media (max-width: 768px) {
    .contact-buttons {
      padding: 60px 0;
    }

    .contact-buttons-container {
      padding: 0 15px;
    }
    
    .contact-buttons-grid {
      flex-direction: column;
      align-items: center;
    }
    
    .contact-btn {
      max-width: 300px;
      width: 100%;
    }

    .contact-buttons h2 {
      font-size: 2rem;
      margin-bottom: 40px;
    }

    .contact-btn {
      padding: 18px 30px;
      gap: 15px;
    }

    .contact-btn-icon {
      width: 45px;
      height: 45px;
    }

    .contact-btn-icon img {
      width: 28px;
      height: 28px;
    }

    .contact-btn-text {
      font-size: 1.1rem;
    }

    .contact-btn-subtext {
      font-size: 0.85rem;
    }
  }

  @media (max-width: 480px) {
    .contact-buttons {
      padding: 40px 0;
    }

    .contact-buttons h2 {
      font-size: 1.8rem;
      margin-bottom: 30px;
    }

    .contact-btn {
      padding: 15px 25px;
      gap: 12px;
    }

    .contact-btn-icon {
      width: 40px;
      height: 40px;
    }

    .contact-btn-icon img {
      width: 25px;
      height: 25px;
    }

    .contact-btn-text {
      font-size: 1rem;
    }

    .contact-btn-subtext {
      font-size: 0.8rem;
    }
  }

  /* Responsive para la nueva sección de contacto */
  @media (max-width: 768px) {
    .contact-schedule {
      padding: 100px 0;
    }

    .contact-schedule h2 {
      font-size: 2rem;
      margin-bottom: 15px;
    }

    .contact-subtitle {
      font-size: 1.1rem;
      margin-bottom: 30px;
    }

    .contact-schedule .contact-buttons-grid {
      flex-direction: column;
      align-items: center;
    }

    .contact-schedule .contact-btn {
      max-width: 320px;
      width: 100%;
      padding: 15px 40px;
      gap: 15px;
    }
  }

  @media (max-width: 480px) {
    .contact-schedule {
      padding: 80px 0;
    }

    .contact-schedule h2 {
      font-size: 1.8rem;
    }

    .contact-subtitle {
      font-size: 1rem;
      margin-bottom: 25px;
    }

    .contact-schedule .contact-btn {
      padding: 12px 35px;
      gap: 12px;
      max-width: 300px;
    }
  }

  /* Clase para bloquear scroll cuando el menú hamburguesa está abierto */
  .no-scroll {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
  }
  

  :root {
    --brand: #0056B3;      /* Azul Claro Principal */
    --brand-dark: #0056B3;  /* Azul Oscuro para Hover/Énfasis */
    --text: #333333;        /* Gris Oscuro para Texto */
    --bg: #ffffff;          /* Blanco para Fondo */
    --border: #EBEBEB;      /* Gris Muy Claro para Bordes */
}


/* --- Estilos para el Título Principal del Banner (Hero) --- */

.banner-content h1 {
    /* Mantenemos tus estilos originales de color, tamaño y sombra de texto si los tienes */
    /* Agregamos la transición para un efecto suave */
    transition: transform 0.4s ease-out, text-shadow 0.4s ease-out; 
    
    /* Nota: Asumo que tienes una sombra de texto similar o igual al banner3, 
       si no, agrega la sombra base aquí para que el efecto hover funcione bien: */
    text-shadow: 
        0 0 10px rgba(0, 123, 255, 0.8), /* Sombra azul base */
        0 0 20px rgba(0, 0, 0, 0.5); /* Sombra oscura para profundidad */
}

/* Nuevo Efecto Hover para el título principal del Banner */
.banner-content h1:hover {
    /* Efecto de aumento de tamaño sutil */
    transform: scale(1.05); 
    cursor: pointer; /* Cambia el cursor para indicar interactividad */
    
    /* Efecto de brillo aumentado (más intenso) */
    text-shadow: 
        0 0 15px white, /* Pequeño brillo blanco para "destello" */
        0 0 30px rgba(0, 123, 255, 1), /* Brillo azul intenso */
        0 0 50px rgba(0, 123, 255, 0.8), /* Brillo azul difuso */
        2px 2px 4px rgba(0, 0, 0, 0.6); /* Sombra para profundidad */
}

/* --- Banner 2: Sección SOBRE NOSOTROS --- */

.banner2 {
    /* Fondo con degradado azul sobre imagen */
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    background-image: url('imagenes/'); /* Reemplaza con la imagen de tu elección */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 0 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 75vh; /* Mismo tamaño que banner3 */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Efecto hover en todo el banner (opcional, pero consistente con banner3) */
    transition: background-position 0.5s ease-out, transform 0.3s ease;
    cursor: pointer; 
}

/* Hover Effect para el banner completo */
.banner2:hover {
    background-position: top center;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.2);
}

/* Overlay para asegurar el contraste del texto */
.banner2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Usando un degradado azul oscuro y transparente */
    background: linear-gradient(135deg, rgba(49, 110, 175, 0.7) 0%, rgba(0, 86, 179, 0.7) 100%); 
    z-index: 1;
}

/* Contenido (Centrado) */
.banner2-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Título H1: Efecto Brillo y Escala --- */
.banner2-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px; /* Espacio debajo si quieres añadir un párrafo después */
    text-transform: uppercase;
    
    /* Sombra de texto base (para el brillo apagado) */
    text-shadow: 
        0 0 10px rgba(0, 123, 255, 0.8),
        0 0 20px rgba(154, 182, 212, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    
    /* Transición para el efecto hover */
    transition: transform 0.4s ease-out, text-shadow 0.4s ease-out; 
    
    /* Animación de entrada (mantenida de tu código) */
    animation: fadeInSlideUp 1.2s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* Efecto Hover: Brillo y Escala */
.banner2-content h1:hover {
    transform: scale(1.05); 
    cursor: pointer; 
    
    /* Brillo Aumentado */
    text-shadow: 
        0 0 15px white, /* Destello blanco */
        0 0 30px rgb(98, 109, 121), 
        0 0 50px rgba(0, 123, 255, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* --- Responsive para Banner 2 --- */
@media (max-width: 992px) {
    .banner2-content h1 {
        font-size: 2.5rem;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 600px) {
    .banner2 {
        height: 40vh;
        min-height: 250px;
    }
    .banner2-content h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
}

/* --- ESTILO CLAVE: Cuadrícula 2x2 para Botones dentro de contact-schedule --- */
.contact-schedule .contact-buttons-grid {
    /* Usamos Grid para la distribución de columnas */
    display: grid;
    /* Define 2 columnas de igual ancho (1fr) con un ancho máximo estricto */
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 650px; /* Ancho máximo para el contenedor de la cuadrícula */
    margin: 0 auto; /* Centra la cuadrícula */
}

/* Nota: Los estilos de .contact-schedule .contact-btn (color, padding, hover) 
   se mantienen igual y están optimizados para el diseño en grid. */


/* --- Responsive: Ajuste para Tabletas y Móviles --- */

/* Pantallas medianas (Tabletas) */
@media (min-width: 501px) and (max-width: 900px) {
    .contact-schedule .contact-buttons-grid {
        /* Mantiene el diseño 2x2, ajustando el ancho máximo de la cuadrícula */
        grid-template-columns: 1fr 1fr;
        max-width: 550px; 
        gap: 15px;
    }
}

/* Pantallas pequeñas (Móviles: 500px o menos) */
@media (max-width: 500px) {
    .contact-schedule .contact-buttons-grid {
        /* Fuerza la cuadrícula a una sola columna (1x4) */
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 320px; /* Limita el ancho de los botones en vertical */
    }
    
    .contact-schedule .contact-btn {
        width: 100%; /* El botón ocupa todo el ancho disponible */
        max-width: none;
        /* Puedes ajustar el padding aquí si es necesario para el móvil */
    }
}

/* --- Sección de Ubicación y Contacto --- */
.contact-location {
    padding: 80px 20px;
    background-color: var(--bg); /* Fondo blanco */
}

.contact-location-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Contenedor Flexbox para la división 50/50 */
.contact-location-content {
    display: flex;
    gap: 40px; 
    align-items: flex-start; 
}

.map-container {
    flex: 1; /* Ocupa la mitad del espacio */
    min-width: 50%;
}

.map-container iframe {
    /* La sombra la aplicamos al iframe para que se vea bien */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.location-info {
    flex: 1; /* Ocupa la otra mitad */
    padding-top: 20px;
}

.location-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-dark); 
    margin-top: 0;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--brand); /* Línea decorativa */
    padding-bottom: 10px;
}

.location-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand); 
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-item p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.5;
}

/* --- Responsive Design (Pasa a diseño apilado en tabletas) --- */

@media (max-width: 992px) {
    .contact-location-content {
        /* Pasa a diseño apilado: Mapa arriba, Info abajo */
        flex-direction: column;
        gap: 30px;
    }

    .map-container,
    .location-info {
        flex: auto; /* Ocupan el 100% del ancho */
        min-width: 100%;
    }
    
    .location-info h2 {
        text-align: center;
        border-bottom: none; /* Quitamos la línea para que no sea demasiado larga */
    }
    
    .location-details {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .contact-location {
        padding: 40px 15px;
    }
}


/* --- NUEVA CLASE AISLADA: .hero-sobre-nosotros (Reemplaza .banner2) --- */
.hero-sobre-nosotros {
    /* 1. Fondo de Imagen y Overlay */
    /* La imagen de fondo debe ser correcta, si no la ves, la ruta es el problema. */
    background: linear-gradient(135deg, rgba(75, 95, 117, 0) 0%, rgba(49, 81, 116, 0.315) 100%), 
                url('imagenes/pexels-mike-468229-1174136.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    color: white; 
    padding: 80px 0 0 0; 
    text-align: center; 
    
    /* PROPIEDADES CLAVE PARA CENTRADO ABSOLUTO */
    display: flex;
    align-items: center; /* Centrado Vertical */
    justify-content: center; /* Centrado Horizontal */
    
    /* Propiedades de Layout */
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 75vh;
    min-height: 500px;
}

/* El contenido (h1) queda por encima de la capa de color */
.hero-sobre-nosotros .hero-content {
    position: relative;
    z-index: 2; 
    
    max-width: 800px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* --- Estilos base del título de SOBRE NOSOTROS --- */

.hero-sobre-nosotros h1 {
    font-family: 'Sequel', system-ui, -apple-system, "Segoe UI", 
                 Roboto, Helvetica, Arial, "Apple Color Emoji", 
                 "Segoe UI Emoji", sans-serif !important;

    /* 🔑 TAMAÑO AUMENTADO para máximo impacto visual */
    font-size: 6.5rem !important; 
    font-weight: 700; 

    /* Espaciado entre letras */
    letter-spacing: 4px;

    /* Centrado interno */
    margin-top: 0;
    margin-bottom: 20px;

    /* El resto de estilos (brillo/hover) se heredan de .titulo-interactivo */
}


/* --- Responsive para este título --- */

@media (max-width: 992px) {
    .hero-sobre-nosotros h1 {
        font-size: 5rem !important; /* Ajuste para tablets grandes */
    }
}

@media (max-width: 768px) {
    .hero-sobre-nosotros {
        align-items: center; 
        height: 60vh;
        min-height: 350px;
    }
    .hero-sobre-nosotros h1 {
        font-size: 3.5rem !important; /* Ajuste para móviles grandes */
    }
}

@media (max-width: 480px) {
    .hero-sobre-nosotros h1 {
        font-size: 2.8rem !important; /* Ajuste para móviles pequeños */
    }
}
.frase-impacto h2 {
    /* ... (Estilos existentes) ... */
        font-family: 'Azonix', Impact, sans-serif;
    /* PREPARACIÓN PARA EL EFECTO DESLIZANTE */
    position: relative; /* CLAVE: Para posicionar el ::after */
    overflow: hidden; /* CLAVE: Oculta la luz deslizante antes de que empiece */
    
    /* Mantenemos el brillo y las animaciones existentes */
    text-shadow: 
        0 0 10px rgba(0, 123, 255, 0.6),
        0 0 20px rgba(0, 0, 0, 0.8);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: pulse-shadow 4s infinite alternate ease-in-out;
}

/* --- NUEVO EFECTO: Brillo Deslizante (Shine Effect) --- */
/* --- Sección: Frase de Impacto y Brillo (Base) --- */
.frase-impacto {
    /* Fondo de seguridad, el video lo cubrirá */
    background-color: #1a1a1a; 
    padding: 120px 20px;
    text-align: center;
    overflow: hidden;
    position: relative; /* Necesario para posicionar el video */
}

/* Video de Fondo y Overlay (Mantenido) */
.video-background {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden;
}
.video-background video {
    min-width: 100%; min-height: 100%; width: auto; height: auto; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); object-fit: cover;
}
.frase-impacto {
    position: relative;
    overflow: hidden;
}

/* Imagen de fondo */
.frase-impacto::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;

    /* 🔥 Imagen de fondo */
    background-image: url("imagenes/pexels-marije-kouyzer-3828951-34727091.jpg");
    background-size: cover;     /* que cubra todo */
    background-position: center;
    background-repeat: no-repeat;

 

    z-index: 1; /* debajo del texto pero encima del fondo */
}

/* Texto encima de la imagen */
.frase-impacto * {
    position: relative;
    z-index: 3; /* encima de la capa oscura */
}


/* --- Contenido (Frase) y Estilos Base de H2 --- */
.frase-impacto-contenido {
    position: relative; 
    z-index: 3; /* Asegura que el texto esté visible */
    max-width: 1000px;
    margin: 0 auto;
}

.frase-impacto h2 {
    font-size: 3.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: 2px;
    line-height: 1.3;
    cursor: pointer;
    text-transform: uppercase;

    position: relative;
    display: inline-block;
    overflow: hidden;

    text-shadow: 0 0 10px rgba(0, 123, 255, 0.075), 0 0 20px rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    animation:
        pulse-shadow 4s infinite alternate ease-in-out,
        fadeInFromTop 1.2s ease-out forwards;
}


/* 2. Efecto al Pasar el Cursor (Hover) */
.frase-impacto h2:hover {
    color: white;
    transform: scale(1.05); /* Más notable que 1.03 */
    
    /* Brillo más intenso */
    text-shadow: 
        0 0 10px white, /* Destello blanco central */
        0 0 35px var(--brand),
        0 0 60px var(--brand-dark); 
}

/* 3. Creación del Efecto de Barrido de Luz (Shine Effect) */
.frase-impacto h2::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; 
    width: 100%;
    height: 100%;
    /* Degradado de luz (blanco/transparente) */
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    
    /* Aplicamos la animación de barrido */
    animation: sweep-light 3s ease-in-out 1; /* Más rápido y llamativo */
    animation-delay: 0.8s; /* Espera a que el texto baje */
    pointer-events: none;
}

/* --- Keyframes de Animación --- */

/* Keyframes para el Brillo Constante */
@keyframes pulse-shadow {
    0% {
        text-shadow: 0 0 8px rgba(0, 123, 255, 0.7);
    }
    100% {
        text-shadow: 0 0 20px rgba(0, 123, 255, 1), 0 0 30px rgba(0, 123, 255, 0.6);
    }
}



/* Keyframes para la Entrada desde Arriba (Dramático) */
@keyframes fadeInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Responsive Design (Ajustado) --- */
@media (max-width: 992px) {
    .frase-impacto h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 600px) {
    .frase-impacto {
        padding: 80px 15px;
    }
    .frase-impacto h2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
}

/* --- Efectos de Hover para las Columnas de "Acerca de Nosotros" y "Nuestra Experiencia" --- */

/* Estilos base para una transición suave en todas las interacciones */
.about-image, 
.about-text, 
.experience-text, 
.experience-image {
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out; /* Transición para zoom y sombra */
    border-radius: 12px; /* Un poco de borde redondeado para mejor estética con la sombra */
    overflow: hidden; /* Importante para que el zoom de la imagen no se salga */
}

/* Efecto al pasar el mouse sobre la COLUMNA DE IMAGEN en "Acerca de Nosotros" */
.about-image:hover {
    transform: scale(1.03); /* Ligeramente más grande */
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.3); /* Sombra azul más pronunciada */
}

/* Efecto al pasar el mouse sobre la COLUMNA DE TEXTO en "Acerca de Nosotros" */
.about-text:hover {
    transform: translateY(-5px); /* Se eleva un poco */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15); /* Sombra estándar */
}

/* Efecto al pasar el mouse sobre la COLUMNA DE TEXTO en "Nuestra Experiencia" */
.experience-text:hover {
    transform: scale(1.02); /* Un zoom más sutil para el texto */
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.3); /* Sombra azul para resaltar */
}

/* Efecto al pasar el mouse sobre la COLUMNA DE IMAGEN en "Nuestra Experiencia" */
.experience-image:hover {
    transform: translateY(-5px); /* Se eleva un poco */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15); /* Sombra estándar */
}

/* Opcional: Para las IMÁGENES dentro de estas columnas, también puedes añadir un zoom */
.about-image img,
.experience-image img {
    transition: transform 0.4s ease-out;
    width: 100%; /* Asegura que la imagen ocupa el ancho completo del contenedor */
    height: 100%; /* Y la altura */
    object-fit: cover; /* Recorta la imagen para que cubra sin deformarse */
}

/* Cuando el usuario hace hover sobre el CONTENEDOR de la imagen, la imagen dentro hace zoom */
.about-image:hover img,
.experience-image:hover img {
    transform: scale(1.05); /* Zoom más pronunciado para la imagen interna */
}
/* --- Estilos para el Botón Flotante (WhatsApp) - Global --- */
.floating-button {
    /* CLAVE: Fija el botón en la ventana de visualización */
    position: fixed;
    bottom: 25px; /* Separación del borde inferior */
    right: 25px; /* Separación del borde derecho */
    z-index: 9999; /* Asegura que esté por encima de casi todo */
    
    /* Efecto visual */
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.floating-button:hover {
    transform: scale(1.1); /* Efecto de aumento sutil al pasar el cursor */
}

.floating-btn-link {
    display: block;
    width: 60px; 
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.floating-btn-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive: Ajuste en móviles */
@media (max-width: 600px) {
    .floating-button {
        bottom: 15px;
        right: 15px;
    }
    .floating-btn-link {
        width: 50px; 
        height: 50px;
    }
}

/* Estilo existente para el logo en el navbar */
.brand img {
  /* AUMENTAMOS LA ALTURA BASE DEL LOGO */
  height: 200px; /* Aumentado a 55px (o el valor que prefieras) */
  width: auto;
  display: block;
}

/* Opcional: Ajustar la altura del navbar si el logo es muy grande */
.nav-bar {
  /* Puede que necesites ajustar el padding si el logo es muy alto */
  padding: 10px 20px; 
}
/* Estilos para agrandar la imagen de "métodos de pago" en el footer */
.footer-logo img {
  /* Define un ancho máximo para que no se desborde */
  max-width: 500px; /* Puedes ajustar este valor: 200px, 300px, etc. */
  height: auto; /* Mantiene la proporción de la imagen */
  display: block; /* Asegura que 'max-width' funcione bien */
  margin: 0 auto; /* Opcional: Centra la imagen si el contenedor es más grande */
}

/* Puedes ajustar el padding del footer si la imagen es muy grande y necesitas más espacio */
.footer-section {
  padding: 30px 20px; /* Ejemplo: Ajusta el padding si es necesario */
}


.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 90vh; 
    overflow: hidden;
}

/* SLIDES */
.hero-banner-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center; /* ✔ Centrado vertical */
    text-align: center;  /* ✔ Centrado horizontal */
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    
}

.hero-banner-slide.active {
    opacity: 1;
}

/* CAPA OSCURA */
.slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    z-index: 1;
}

/* CONTENIDO DEL SLIDE */
.slide-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    color: white;
}

/* TITULO — GRANDE Y CENTRADO */
.slide-title {
    font-size: 8.5rem;
    font-weight: 800;
    margin-bottom: 200px;
}

.slide-description {
    text-align: center;       /* Centra horizontalmente */
    display: block;           /* Garantiza que se comporte como bloque */
    margin-left: auto;        /* Centra el bloque */
    margin-right: auto;       /* Centra el bloque */
    width: 100%;              /* Asegura que use todo el ancho */
    
    /* Opcional: para que se vea mejor */
    max-width: 800px;
    font-size: 1.5rem;
    line-height: 1.4;
}

/* BOTONES */
.slide-cta a {
    display: inline-block;
    margin: 10px;
    padding: 14px 30px;
    font-size: 1.2rem;
    border-radius: 8px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .slide-title {
        font-size: 2.7rem;
    }
    .slide-description {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    .hero-carousel-wrapper {
        height: 75vh;
    }
    .slide-title {
        font-size: 2rem;
    }
    .slide-description {
        font-size: 1rem;
    }
    .slide-cta a {
        font-size: 1rem;
        padding: 10px 22px;
    }
}


/* CARGA TIPOGRAFÍA SEQUEL */
@font-face {
    font-family: 'Sequel';
    src: url('fonts/Sequel.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.slide-title {
    font-family: 'Sequel', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif !important;
    
    /* Mantenemos el formato original */
    text-transform: none; 
    
    /* Tamaño y Peso */
    font-size: 3.5rem;
    font-weight: normal; 
    margin-bottom: 20px;

    /* Brillo Base */
    text-shadow: 
        0 0 10px rgba(0, 123, 255, 0.397), 
        0 0 20px rgba(0, 123, 255, 0.418);
        
    transition: 
        transform 0.5s ease-out, 
        text-shadow 0.3s ease-out;

    cursor: pointer;
}

/* Hover del título */
.slide-title:hover {
    transform: scale(1.03); 
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.39), 
                 0 0 30px rgba(133, 156, 180, 0.425), 
                 0 0 50px rgba(103, 121, 141, 0.8);
}

.slide-description {
    font-family: 'ManifoldCF', monospace, sans-serif; 
    font-size: 1.8rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- Nuevas Clases Aisladas para los Botones del Carrusel --- */

/* --- Botones Aislados del Carrusel (botoneshome / botoneshome2) --- */
.botoneshome {
    /* Estilos Base para el botón secundario (Azul) */
    background: #0056B3; 
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3); 
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 1s ease;
    backdrop-filter: blur(10px); 
}

.botoneshome:hover {
    background: #007BFF;
    border-color: rgba(255, 255, 255, 0.5); 
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
}

.botoneshome2 {
    /* Estilo para el botón primario (Blanco) */
    background: #FFFFFF;
    color: #0056B3; /* Azul Oscuro */
    border-color: #FFFFFF;
    
    /* Hereda las propiedades de padding, radio, etc. */
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 1s ease;
    backdrop-filter: blur(10px);
}

.botoneshome2:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    backdrop-filter: blur(5px);
}


/* --- Flechas de Navegación (Controles) --- */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 5;
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 5px 12px;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 50%;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* --- Sección de Visas --- */
.visa-section {
    padding: 60px 20px;
    
    /* CAMBIO CLAVE: Usamos un degradado lineal sobre la imagen para oscurecerla */
    /* El primer rgba es el color y su transparencia (0.6 = 60% opacidad). */
    /* El segundo rgba es el mismo color y transparencia. */
    background-image: linear-gradient(rgba(0, 0, 0, 0.322), rgba(0, 0, 0, 0.37)), 
                      url('imagenes/pexels-olly-721981.jpg'); 
    
    /* 2. PROPIEDADES ADICIONALES RECOMENDADAS (se mantienen) */
    background-size: cover;          /* Asegura que la imagen cubra toda la sección */
    background-position: center center; /* Centra la imagen */
    background-repeat: no-repeat;    /* Evita la repetición */
    
    /* Opcional: Para efecto fijo al hacer scroll */
    /* background-attachment: fixed; */
    
    text-align: center;
}

.visa-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Título Principal y Subtítulo --- */
.visa-section .section-title {
    font-size: 3rem; 
    font-weight: 800;
    margin-bottom: 15px;
    color: rgb(255, 255, 255);
    /* Efecto de sombra para el título, similar al del carrusel pero más sutil */
    text-shadow: 0 0 5px rgba(0, 86, 179, 0.5), 0 0 10px rgba(0, 86, 179, 0.3);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    cursor: default;
}

.visa-section .section-title:hover {
    transform: translateY(-2px); 
    text-shadow: 0 0 8px rgba(0, 123, 255, 0.7), 0 0 15px rgba(0, 123, 255, 0.5);
}

.visa-section .section-subtitle {
    font-size: 2rem;
    color: rgb(255, 255, 255); /* El color blanco ya es bueno */
    margin-bottom: 40px;
    line-height: 1.6;
    
    /* CAMBIO CLAVE: Añadir sombra para que el texto resalte */
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8), /* Sombra principal oscura (negro) */
        0 0 10px rgba(255, 255, 255, 0.3); /* Un toque de brillo (opcional) */
}

/* --- Cuadrícula y Tarjetas --- */
.visa-grid {
    display: grid;
    /* Crea 3 columnas de minmax(300px) y se ajusta automáticamente */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.visa-card {
    background: rgba(255, 255, 255, 0.993);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    /* Aumentamos el tiempo de transición para ver el cambio de color */
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease; 
    border: #0056B3;
}

.visa-card:hover {
    /* 🔑 CLAVE 1: Cambio de fondo y color al hover */
    background: #0056B3;
    transform: translateY(-8px); /* Elevación */
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.4); /* Sombra azul fuerte */
}

/* --- Efecto Zoom y Cambio de Color en el Título/Código --- */

/* Aplicamos transición al título y código para el efecto suave */
.visa-card-title, .visa-code {
    transition: color 0.4s ease, transform 0.4s ease;
    text-align: center;
}

.visa-card:hover .visa-card-title,
.visa-card:hover .visa-code {
    /* 🔑 CLAVE 2: Cambio de color del texto a blanco (o un color claro) */
    color: white !important; 
    /* 🔑 CLAVE 3: Agranda el texto ligeramente */
    transform: scale(1.05); 
}

/* Aseguramos que la descripción también sea visible */
.visa-card:hover .visa-card-description {
    color: white; 
}
/* --- Título y Código (Centrado y Color) --- */
.visa-card-title {
    font-size: 1.5rem;
    color: #0056B3; 
    margin-top: 0;
    margin-bottom: 5px; 
    font-weight: 700;
    text-align: center;
}

.visa-code {
    font-size: 1rem;
    font-weight: 600;
    color: rgb(212, 28, 68); /* 🔑 CLAVE: Nombre de la visa en ROJO */
    margin-left: 0; 
    margin-bottom: 20px; /* Espacio antes de la descripción */
    display: block; /* Asegura que el código vaya en una línea nueva y se centre */
    text-align: center;
}


/* --- Descripción --- */
.visa-card-description {
    font-size: 1rem;
    color:  rgb(0, 0, 0);
    line-height: 1.7;
    text-align: justify; /* 🔑 CORRECCIÓN: Se completó la regla con el valor y el ; */
}

/* --- Media Queries para Responsive --- */
@media (max-width: 768px) {
    .visa-section {
        padding: 40px 15px;
    }
    .visa-section .section-title {
        font-size: 2.5rem;
    }
    .visa-section .section-subtitle {
        font-size: 1rem;
    }
    .visa-grid {
        grid-template-columns: 1fr; /* Una sola columna en móvil */
    }
}

@media (max-width: 480px) {
    .visa-section .section-title {
        font-size: 2rem;
    }
    .visa-card-title {
        font-size: 1.3rem;
    }
    .visa-code {
        font-size: 0.9rem;
    }
    .visa-card-description {
        font-size: 0.9rem;
    }
}

/* --- Sección de Botones de Formulario (Tipos de Formularios) --- */
/* --- Sección de Botones de Formulario (Tipos de Formularios) --- */
.form-cta-section {
    padding: 80px 20px;

    /* Fondo blanco */
    background-color: #000000;

    /* Remover imagen */
    background-image: url('imagenes/formularios.jpg');

    text-align: center;

    color: white;
    font-family: 'Sequel', system-ui, -apple-system, "Segoe UI",
                 Roboto, Helvetica, Arial, "Apple Color Emoji",
                 "Segoe UI Emoji", sans-serif;
}



.form-cta-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Título y Subtítulo --- */
.form-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-dark); /* Azul Oscuro */
    margin-bottom: 10px;
    /* Efecto de título sutil para mantener la línea gráfica */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); 
}

/* --- Título y Subtítulo --- */
.form-section-subtitle {
    font-size: 1.1rem;
    /* CAMBIO CLAVE: Color blanco o gris claro */
    color: #f0f0f0; /* Gris muy claro, ideal sobre fondo oscuro */
    margin-bottom: 40px;
    
    /* MEJORA: Sombra para visibilidad */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* --- Cuadrícula de Botones --- */
.form-buttons-grid {
    display: grid;
    /* 4 columnas en escritorio, adaptable */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1000px; /* Limita el ancho para que se vea bien en el centro */
}

/* --- Estilo y Efectos del Botón Individual --- */
/* --- Estilo y Efectos del Botón Individual --- */
.form-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    background: #ffffff; /* Color normal */
    border: 2px solid #0056B3; 
    color: #0056B3;

    padding: 25px 15px;
    border-radius: 12px;

    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.form-btn:hover {
    background: #0056B3; /* Color al pasar el cursor */
    color: #ffffff;      /* Texto blanco para contrastar */
    transform: translateY(-8px) scale(1.03);
    box-shadow:  #0056B3;

}

/* Icono */
.form-btn:hover .btn-icon {
    color: #ffffff; 
    transform: rotateY(360deg);
}

.btn-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    transition: transform 0.6s ease, color 0.3s ease;
}

/* Imagen dentro del icono */
.btn-icon .icon-img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.btn-text {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- Responsive para Móviles --- */
@media (max-width: 768px) {
    .form-buttons-grid {
        grid-template-columns: 1fr; /* Una sola columna en móvil */
    }
}

/* --- Sección de Botones de Formulario (Tipos de Formularios) --- */
.form-cta-section {           /* es esta
    padding: 80px 20px;
    background-color: #0056B3;/* 🔑 CLAVE: Fondo Azul Oscuro */
    text-align: center;
}

.form-cta-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Título y Subtítulo (Ajustado para fondo oscuro) --- */
.form-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white; /* Texto blanco sobre fondo oscuro */
    margin-bottom: 10px;
    
    /* 🔑 EFECTO CLAVE: Brillo y Sombra para las Letras */
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 15px rgba(0, 123, 255, 0.8);
    transition: all 0.3s ease;
}

/* Efecto de Título al Pasar el Mouse (Zoom y Brillo más notorio) */
.form-section-title:hover {
    transform: scale(1.05); /* Ligeramente más grande */
    text-shadow: 0 0 10px white, 0 0 25px #007BFF; /* Brillo blanco/azul más intenso */
}


.form-section-subtitle {
    font-size: 1.1rem;
    color: #f0f0f0; /* Blanco suave sobre fondo azul */
    margin-bottom: 40px;
}

/* --- Cuadrícula de Botones --- */
.form-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1000px;
}

/* --- Estilo y Efectos del Botón Individual --- */
.form-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    
    background: white; /* Botones blancos para resaltar */
    border: 2px solid white; 
    color: var(--brand-dark); /* Texto azul oscuro */
    
    padding: 25px 15px;
    border-radius: 12px;
    
    /* Efectos de Hover y Transición */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, background-color 0.4s ease;
}

.form-btn:hover {
    background: var(--brand); /* El botón se rellena con el color de marca (Azul Claro) */
    color: white;
    transform: translateY(-8px) scale(1.03); /* Efecto de elevación y zoom notable */
    box-shadow: 0 18px 40px rgba(0, 123, 255, 0.4); /* Sombra azul intensa */
    border-color: var(--brand-dark); 
}

.form-btn:hover .btn-icon {
    transform: rotateY(360deg); /* Opcional: Gira el ícono al hacer hover */
}

/* --- Estilos del Ícono (Ajustado para el nuevo fondo) --- */
.btn-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--brand); /* Color azul de marca */
    transition: transform 0.6s ease, color 0.4s ease;
}

/* El ícono se vuelve blanco al hacer hover */
.form-btn:hover .btn-icon {
    color: white;
    transform: translateY(-5px) rotateY(360deg); 
}

.btn-text {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-dark);
}

.form-btn:hover .btn-text {
    color: white; /* El texto se vuelve blanco al hacer hover */
}

/* --- Responsive para Móviles --- */
@media (max-width: 768px) {
    .form-buttons-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Banner Formularios (Clase única y aislada) --- */

/* --- Banner Formularios (Clase única y aislada) --- */

/* --- Banner Formularios (.banner-formularios) --- */

/* --- Banner Formularios (.banner-formularios) --- */
/* --------------------------------------- */
/* ------------ BANNER PRINCIPAL -------- */
/* --------------------------------------- */

.fondo-unico {
    background-image: url('imagenes/pexels-freestockpro-1004584.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.banner-formularios {
    background: 
        
        url('imagenes/pexels-alex-azabache-11921369-6960385.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    font-family: 'Sequel', system-ui, -apple-system, "Segoe UI", 
                 Roboto, Helvetica, Arial, "Apple Color Emoji", 
                 "Segoe UI Emoji", sans-serif !important;

    height: 75vh;
    min-height: 500px;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.banner-formularios {
    background: 
        linear-gradient(135deg, rgba(250, 250, 250, 0) 0%, rgba(30, 29, 70, 0.164) 100%),
        url('imagenes/pexels-alex-azabache-11921369-6960385.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    font-family: 'Sequel', system-ui, -apple-system, "Segoe UI", 
                 Roboto, Helvetica, Arial, "Apple Color Emoji", 
                 "Segoe UI Emoji", sans-serif !important;

    height: 75vh;
    min-height: 500px;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    position: relative;
    overflow: hidden;
    padding-top: 80px;
}


.banner-formularios-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-formularios h1 {
     font-family: 'Sequel', system-ui, -apple-system, "Segoe UI", 
                 Roboto, Helvetica, Arial, "Apple Color Emoji", 
                 "Segoe UI Emoji", sans-serif !important;
    letter-spacing: 4px;
    font-size: 8rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.1;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-formularios p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
    opacity: 0.95;
}

/* --------------------------------------- */
/* ------------ MEDIA QUERIES ----------- */
/* --------------------------------------- */

/* Tablets y pantallas medianas */
@media (max-width: 992px) {
    .banner-formularios {
        height: 60vh;
        min-height: 350px;
    }
    .banner-formularios h1 {
        font-size: 5rem;
    }
}

/* Móviles grandes */
@media (max-width: 768px) {
    .banner-formularios {
        height: 55vh;
        min-height: 300px;
    }
    .banner-formularios h1 {
        font-size: 3.8rem;
    }
    .banner-formularios p {
        font-size: 1.1rem;
    }
}

/* Móviles pequeños */
@media (max-width: 600px) {
    .banner-formularios {
        height: 50vh;
        min-height: 260px;
        padding-top: 90px;
    }
    .banner-formularios h1 {
        font-size: 2.7rem;
        letter-spacing: 2px;
    }
    .banner-formularios p {
        font-size: 1rem;
        max-width: 90%;
    }
}

/* --------------------------------------- */
/* ------------ LOGO RESPONSIVE ---------- */
/* --------------------------------------- */

.brand img {
    height: 60px;
    width: auto;
    display: block;
}

/* Logo más pequeño en tablet */
@media (max-width: 992px) {
    .brand img {
        height: 50px;
    }
}

/* Logo más pequeño en móvil */
@media (max-width: 600px) {
    .brand img {
        height: 40px;
    }
}

/* --------------------------------------- */
/* -------------- NAVBAR ----------------- */
/* --------------------------------------- */

.nav-bar {
    width: 100%;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Navbar móvil */
@media (max-width: 768px) {
    .nav-actions {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding-bottom: 15px;
    }
}

/* --------------------------------------- */
/* ------------ FOOTER LOGO -------------- */
/* --------------------------------------- */

.footer-logo img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* En móvil */
@media (max-width: 600px) {
    .footer-logo img {
        max-width: 300px;
    }
}

/* --------------------------------------- */
.espacio {
  height: 80px;
}



.language-flags {
  display: flex;
  gap: 10px;
  align-items: center;
}

.flag {
  width: 32px;
  height: 22px;
  cursor: pointer;
  transition: transform .2s ease;
}

.flag:hover {
  transform: scale(1.15);
}

/* Media Query para Dispositivos Móviles (donde el menú debe activarse) */
@media (max-width: 768px) { 
    .nav-actions {
        /* Estilos base: Menú fuera de la vista */
        position: fixed;
        transform: translateX(100%);
        /* ... (Otras propiedades como height: 100vh, background, z-index) ... */
        transition: transform 0.3s ease; 
        display: flex; /* Aseguramos que use flexbox para centrar contenido */
        /* ... */
    }

    .nav-actions.active {
        /* CLAVE: Cuando la clase 'active' se añade, vuelve a la posición 0 */
        transform: translateX(0); 
    }

    .hamburger {
        display: flex; /* Muestra el botón hamburguesa en móvil */
    }

    /* Regla para bloquear el scroll (debe estar en el CSS global) */
    body.no-scroll {
        overflow: hidden;
        position: fixed; 
        width: 100%;
        height: 100%;
    }
}

/* ==========================================
   RESPONSIVE — HERO CARRUSEL
   ========================================== */

/* 📌 Ajustes base para que el texto se adapte mejor */
.hero-banner-slide .slide-title {
    font-size: clamp(2rem, 6vw, 6rem);
    line-height: 1.2;
    font-weight: 600; /* Más gruesa */
}


.hero-banner-slide .slide-description {
    font-size: clamp(1rem, 2.2vw, 1.6rem);
    max-width: 600px;
}

/* Botones responsivos */
.slide-cta a {
    padding: clamp(10px, 2vw, 18px) clamp(18px, 3vw, 28px);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
}

/* ==========================================
   📱 TELÉFONOS PEQUEÑOS — ≤ 480px
   ========================================== */
@media (max-width: 480px) {

    .hero-carousel-wrapper {
        height: auto !important;
        min-height: 520px;
    }

    .hero-banner-slide {
        padding: 40px 20px;
        background-position: center;
    }

    .slide-content {
        text-align: center !important;
        padding: 0 10px;
    }

    .slide-title {
        font-size: 1.8rem !important;
    }

    .slide-description {
        font-size: 1rem !important;
    }

    .slide-cta {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .slide-cta a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Botones prev/next más pequeños */
    .carousel-btn {
        font-size: 18px !important;
        padding: 8px 12px !important;
        top: 50%;
    }
}

/* ==========================================
   📱 TELÉFONOS MEDIANOS — 480px a 768px
   ========================================== */
@media (min-width: 480px) and (max-width: 768px) {

    .hero-carousel-wrapper {
        min-height: 600px;
    }

    .slide-title {
        font-size: 2.2rem !important;
    }

    .slide-description {
        font-size: 1.1rem !important;
    }

    .slide-cta {
        gap: 14px;
    }

    .slide-cta a {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* ==========================================
   💻 TABLETS — 768px a 1024px
   ========================================== */
@media (min-width: 768px) and (max-width: 1024px) {

    .hero-banner-slide {
        padding: 80px 40px;
    }

    .slide-title {
        font-size: 2.8rem !important;
    }

    .slide-description {
        font-size: 1.2rem !important;
    }

    .slide-cta a {
        font-size: 1.1rem;
    }
}

/* ==========================================
   🖥 PC GRANDES — ≥ 1440px
   ========================================== */
@media (min-width: 1440px) {
    .slide-title {
        font-size: 4rem;
    }
    .slide-description {
        font-size: 1.6rem;
    }
}
/* --------------------------------------- */
/* ------------ LOGO RESPONSIVE ---------- */
/* --------------------------------------- */

/* --- LOGO EN PC (más grande) --- */
.nav-bar .brand img {
  width: 290px;   /* antes 200px → AHORA MÁS GRANDE */
  height: auto;
  transition: all 0.3s ease;
}

/* --- EN TABLET (pantallas entre 768 y 1024) --- */
@media (max-width: 1024px) {
  .nav-bar .brand img {
    width: 290x; /* antes 160px → más grande */
  }
}

/* --- EN CELULARES GRANDES (768px) --- */
@media (max-width: 885px) {
  .nav-bar .brand img {
    width: 180px; /* antes 160px → más grande */
  }
}

/* --- EN CELULARES PEQUEÑOS (480px) --- */
@media (max-width: 545px) {
  .nav-bar .brand img {
    width: 200px; /* antes 90px → más grande */
  }
}
.group{border:1px solid #e5e7eb;border-radius:12px;padding:1rem;width:100%;max-width:100%;box-sizing:border-box}.group legend{font-weight:700;color:var(--azul);padding:0 .5rem;font-size:1rem}.form-grid{display:grid;grid-template-columns:1fr;gap:1rem;width:100%}@media(min-width:768px){.form-grid{grid-template-columns:repeat(2,1fr)}}@media(min-width:1024px){.form-grid{grid-template-columns:repeat(3,1fr)}}.form-field{display:flex;flex-direction:column;gap:.375rem;width:100%}.form-field.full{grid-column:1/-1}.form-field label{font-weight:700;color:var(--azul);font-size:1rem;word-wrap:break-word}.form-field input,.form-field select{width:100%;max-width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:.7rem .85rem;font-size:1rem;outline:none;box-sizing:border-box}.form-field input[type=file]{padding:.75rem;font-size:.95rem}.form-field input[type=file]::-webkit-file-upload-button{padding:.55rem 1rem;border-radius:8px;background:#e5e5e5;border:none;cursor:pointer;font-size:.95rem}.form-field input[type=file]:hover::-webkit-file-upload-button{background:#d6d6d6}@media(max-width:600px){.group{padding:.85rem;border-radius:10px}.group legend{font-size:.9rem}.form-field label{font-size:.9rem}.form-field input,.form-field select{font-size:.9rem;padding:.65rem .8rem}.form-field input[type=file]{font-size:.85rem}.form-field input[type=file]::-webkit-file-upload-button{padding:.5rem .8rem;font-size:.85rem}}

/* Cargar tipografía SEQUEL */
@font-face {
    font-family: 'Sequel';
    src: url('fonts/Sequel.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Aplicar solo al título */
.visa-card-title {
    font-family: 'Sequel', sans-serif;
}

h1 {
    font-family: 'Sequel', system-ui, -apple-system, "Segoe UI", 
                 Roboto, Helvetica, Arial, "Apple Color Emoji", 
                 "Segoe UI Emoji", sans-serif !important;
}
