/* ================================
   0) RESET + VARIABLES + UTILS
==================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

:root {
  /* colores */
  --c-text: #0f172a;
  --c-muted: #64748b;
  --c-primary: #202F65;
  --c-primary-2: #0094FF;
  --c-accent: #06b6d4;
  --c-green: #74AA4D;
  --c-brand: #1e3a8a;
  --c-bg: #EEF6FD;
  --c-bg-hero: #f8fafc;
  --c-card: #fff;
  --c-border: #e5e7eb;
  --c-shadow: 0 8px 24px rgba(0, 0, 0, .08);

  /* tipografía y ritmo */
  --ff: 'Poppins', 'Arial', sans-serif;
  --lh: 1.6;
  --pad-x: clamp(16px, 4vw, 80px);

  /* tamaños responsivos */
  --fs-hero: clamp(2.2rem, 3.8vw, 3.2rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.2rem);
  --fs-body: clamp(0.9rem, 1.125vw, 1.125rem)
    /* logo */
    --logo-big: 110px;
  /* altura del logo colgante */
  --logo-small: 40px;
  /* logo en sticky */
  --logo-slot: 145px;
  /* espacio reservado a la izquierda para que el menú no se meta bajo el logo */
}

html {
  scroll-behavior: smooth
}


.logo-pricing-style-none {
  display: none !important;
}

body {
  font-family: var(--ff);
  line-height: var(--lh);
  color: var(--c-text);
  background: #fff
}

.lang-menu a,
.lang-menu a:visited,
.lang-menu a:hover,
.lang-menu a:active {
  text-decoration: none;
  color: #3a485c !important;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

/* ================================
   1) NAVBAR con logo absoluto (como tu mock)
==================================*/
.navbar-hero {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--c-bg);
  backdrop-filter: saturate(120%) blur(6px);
  transition: all .3s ease;
  /* el padding vertical define la altura del bar */
  padding: 20px 0;
}


.logo-kids-style {
  height: 100px !important;
  margin-top: 25px;

}


.nav-shell {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  /* Reservamos el hueco del logo a la izquierda para que el menú no se monte encima */
  padding: 0 var(--pad-x);
  padding-left: calc(var(--pad-x) + var(--logo-slot));
  position: relative;
  font-size: 17px;
}

/* LOGO ABSOLUTO que cuelga del navbar */
.brand {
  position: absolute;
  left: var(--pad-x);
  top: 70%;
  /* cuelga del borde inferior del navbar */
  transform: translateY(-52%);
  height: var(--logo-big);
  width: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 20;
}

.brand img {
  width: auto;
  height: 100%;
  transition: all .2s ease-in-out
}

.logo-default {
  opacity: 1;
  visibility: visible;
  position: relative;
  height: 100%;
  width: auto;
}

.logo-scrolling {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  height: var(--logo-small);
  width: auto;
}

.brand-text {
  display: none;
  flex-direction: column;
  line-height: 1
}

.brand-name {
  font-weight: 700;
  color: var(--c-brand)
}

.brand-sub {
  font-size: 12px;
  color: #6b7280
}

/* MENÚ CENTRADO + ACCIONES DERECHA */
.nav-center {
  list-style: none;
  display: flex;
  justify-content: end;
  gap: 34px;
  padding: 0;
  margin: 0;
}

.recommendations-subtitle {
  width: 55%;
  margin: 0 auto;
}

.nav-center a {
  text-decoration: none;
  color: #334155;
  font-weight: 500
}

.nav-center a:hover {
  color: var(--c-primary)
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.dropdown-toggle i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  margin-top: 8px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: #F3F6FB;
  color: var(--c-primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end
}

/* Idioma */
.lang-select {
  position: relative
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F3F6FB;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 600;
  color: var(--c-text);
}

.lang-btn img {
  width: 24px;
  height: 24px;
  border-radius: 50%
}

.lang-btn i {
  font-size: 12px;
  color: var(--c-muted)
}

.lang-menu {
  position: absolute;
  top: 110%;
  right: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  list-style: none;
  padding: 6px;
  margin: 6px 0 0 0;
  display: none;
  color: #000;
  z-index: 1001;
}

.lang-menu li {
  display: block;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  color: #000;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 2px;
}

.lang-menu li:hover a {
  background: #F3F6FB;
  color: #000 !important;
}

.lang-menu li:hover {
  background: #F3F6FB;
  color: #000;
}

.lang-menu img {
  width: 18px;
  height: 18px;
  border-radius: 50%
}

/* CTA / teléfono */
.phone-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: #F3F6FB;
  border-radius: 10px;
  padding: 8px 14px;
  color: var(--c-text);
  font-weight: 600;
}

.phone-chip img {
  width: 20px;
  height: 20px
}

.cta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0px;
  text-decoration: none;
  font-size: 16px;
  background: #202F65;
  color: #fff;
  border-radius: 12px;
  padding: 11.5px 18px;
  box-shadow: 0 4px 12px rgba(30, 58, 138, .25);
  white-space: nowrap;
  min-width: fit-content;
}

.cta-chip:hover {
  background: var(--c-primary-2)
}

/* Estado sticky: intercambia logos y sombra - SOLO para página home */
.navbar-hero.is-home.stuck {
  box-shadow: var(--c-shadow)
}

.navbar-hero.is-home.stuck .logo-default {
  opacity: 0 !important;
  visibility: hidden !important;
}

.navbar-hero.is-home.stuck .logo-scrolling {
  opacity: 1 !important;
  visibility: visible !important;
  height: calc(var(--logo-small) + 6px);
  top: 50%;
  transform: translateY(-60%);
}

/* Logo fijo para páginas que no sean home */
.navbar-hero.not-home .brand {
  height: 42px;
}

/* Logo estático para páginas no-home */
.navbar-hero.not-home .logo-static {
  height: 42px;
  width: 130px;
  object-fit: contain;
  opacity: 1;
  visibility: visible;
  position: static;
  inset: unset;
}

/* Asegurar que los logos dinámicos funcionen correctamente en página home */
.navbar-hero.is-home .logo-default {
  opacity: 1 !important;
  visibility: visible !important;
  position: absolute;
  top: 70%;
  left: 0;
  height: 179px;
  width: 140px;
  transform: translateY(-20%);
}

.navbar-hero.is-home .logo-scrolling {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  height: var(--logo-small);
  width: auto;
}

/* ================================
   2) HERO (texto izq + imagen der)
   ESTRATEGIA DE LAYOUT:
   
   📱 MOBILE FIRST: Una columna (texto arriba, imagen abajo)
   💻 DESKTOP: Dos columnas (texto izquierda, imagen derecha)
   
   ESTRUCTURA:
   - .hero-section: Contenedor principal con padding
   - .hero-content: Grid container con áreas definidas
   - .hero-text: Área "text" 
   - .hero-image: Área "image"
   
   BREAKPOINTS:
   - Mobile (0-767px): grid-template-areas: "text" "image"
   - Desktop (768px+): grid-template-areas: "text image"
==================================*/
.hero-section {
  background: var(--c-bg);
  /* min-height: 80vh; */
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0 var(--pad-x);
  overflow: visible;
  /* Permite que los elementos flotantes se vean */
}

.hero-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "text"
    "image";
  align-items: stretch;
  gap: clamp(24px, 4vw, 60px);
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 1400px;
  width: 100%;
}

.hero-text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 130px;
}

.hero-subtitle {
  letter-spacing: .5px;
  font-weight: 500;
  font-size: var(--fs-body);
  color: #202f65;
}

.team-subtitle {
  letter-spacing: .5px;
  font-weight: 500;
  font-size: var(--fs-body);
  color: #ffffff;
}

.hero-text h1 {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0px 0 10px;
}

.hero-text .highlight-green {
  color: var(--c-green)
}

/* Global highlight verde (usar en títulos y spans) */
.highlight-green {
  color: var(--c-green);
}

/* Ocultar div-mobile en desktop por defecto */
.div-mobile {
  display: none !important;
}

.hero-text .highlight-blue {
  color: var(--c-primary)
}

.hero-text p {
  font-size: var(--fs-body);
  color: var(--c-primary)
}

.hero-image {
  grid-area: image;
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow: visible;
  /* Permite que el overlay se vea fuera del contenedor */
}

.doctor-image {
  /* make the image block fill the right grid column completely */
  width: 100%;
  height: 100%;
  /* remove aspect-ratio / max-height so it can expand to the grid cell */
  border-radius: 24px;
  position: relative;
  overflow: visible;
  /* Cambiado para permitir que el overlay se vea */
  /* mobile default: recortar en móvil */
  box-shadow: none;
}

.background-image {
  width: 100%;
  height: 100%;
  /* show the full image without cropping */
  object-fit: contain;
  object-position: top;
  display: block
}

.doctor-image::before {
  /* overlay mark removed so the image is visible without tinted SVG */
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
}

/* Overlay superior izquierdo */
.overlay-top-left {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.overlay-exam-text {
  background: rgba(6, 182, 212, 0.9);
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.overlay-quote-text {
  color: #64748b;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: center;
}

/* Tarjeta flotante sobre la imagen */
.overlay-card {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  border: 1px solid var(--c-border);
  box-shadow: 0 20px 50px rgba(2, 6, 23, .15);
  z-index: 15;
  left: 10%;
  transform: translate(-50%, -20%);
  width: 280px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


/* Ajuste del icono dentro del botón para que no sobresalga */
.overlay-btn img {
  width: 50px;
  height: 50px;
  display: block;
}

.overlay-text {
  color: var(--c-primary);
  font-weight: 500;
  line-height: 1.25;
  font-size: clamp(18px, 2.2vw, 26px);
  padding-top: 15px;
}

.review-card {
  position: static;
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
  max-width: min(92vw, 380px);
  z-index: 4;
  margin-top: 14px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px
}

.profile-pics {
  display: flex
}

.profile-pic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-accent);
  margin-left: -5px;
  border: 2px solid #fff
}

.review-text {
  color: #666;
  font-size: .9rem;
  margin-bottom: 12px
}

.stars {
  color: #fbbf24;
  font-size: 1.2rem
}

.rating {
  display: flex;
  align-items: center;
  gap: 10px
}

.rating-number {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 600;
  color: #0a2676
}

.google-reviews {
  background: #e3f2fd;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.google-logo {
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative
}

.google-logo::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent
}

.google-logo img {
  width: 26px;
  height: 26px
}

.rating-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1
}

.rating-display {
  display: flex;
  align-items: center;
  gap: 8px
}

.google-reviews-btn {
  background: #4285f4;
  color: #fff;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer
}

.google-reviews-btn:hover {
  background: #3367d6
}

.lab-features {
  display: flex;
  align-items: center;
  gap: 18px 24px;
  margin-top: clamp(18px, 4vw, 28px);
  padding-top: 7%;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #00667D;
  font-size: .80rem;
  font-weight: 500;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-brand);
  font-size: 1.1rem
}

.feature-divider {
  width: 2px;
  height: 35px;
  background: var(--c-primary);
}

/* ================================
   3) SERVICIOS / CAROUSEL
==================================*/
.services-wrap {
  width: 93%;
  margin: 0 auto;
  text-align: center;
  background: var(--c-bg);
  border-radius: 12px;
}

.services-subtitle {
  font-size: 16px;
  color: #3b4a5a;
  opacity: .9
}

.services-title {
  margin: 10px 0 22px;
  font-size: clamp(1.25rem, 2.25vw, 2.25rem);
  font-weight: 700;
  letter-spacing: .4px;
  color: #202f65;
  text-transform: uppercase
}


.team-title {
  margin: 10px 0 22px;
  font-size: clamp(1.25rem, 2.25vw, 2.25rem);
  font-weight: 700;
  letter-spacing: .4px;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 50px;
}

.team-title-business {
  margin: 10px 0 22px;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: .4px;
  color: var(--c-primary);
  text-transform: uppercase;
  line-height: 50px;
}


.services-title span {
  color: #4CAF50
}

.team-title span {
  color: #4CAF50
}

.team-title-business span {
  color: #4CAF50
}

.services-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(0px, 0vw, 80px);
}

.services-carousel {
  width: 100%;
  overflow: hidden;
  position: relative
}

.svc-arrow {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  background: #b0b6c2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
}

.svc-arrow--left {
  left: 6px
}

.svc-arrow--right {
  right: 6px
}

.svc-arrow:hover {
  background: #f8fafc;
  border-color: #cbd5e1
}

.svc-arrow:disabled {
  opacity: .4;
  pointer-events: none
}

.svc-track.swiper-wrapper {
  display: flex !important;
  gap: 0 !important;
  /* padding: 8px 20px */
}

.swiper-slide {
  width: min(325px, 70vw) !important;
  flex-shrink: 0;
}

.svc-card {
  background: #fff;
  border: 1px solid #e6eef8;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.svc-card__icon {
  height: 52px;
  width: 52px;
  margin-bottom: 24px
}

.svc-card__icon_recommendations {
  width: 52px;
  height: 52px;
  margin: 40px auto;
}

.svc-card__icon img {
  height: 100%;
  width: 100%
}

.svc-card__title {
  margin: 0 0 6px;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: #1b2b4b;
  font-weight: 600
}

.svc-card__desc {
  margin-top: auto;
  color: #5d6b7a;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.svc-card__desc_recommendations {
  color: #5d6b7a;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
      height: 100px;
}


.svc-card__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* gap: 10px; */
  margin-top: 18px
}

.svc-link {
  font-weight: 500;
  color: #607089;
  text-decoration: none
}

.svc-link__arrow {
  margin-left: 0;
  width: 24px;
  height: 24px;
  position: relative;
  top: 6px;
}

.svc-whapp__icon {
  width: 27px;
  height: 27px;
}

.svc-whapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  border-radius: 8px;
  border: 2px solid #25D366;
  color: #25D366;
  text-decoration: none;
  font-weight: 500;
  background: #fff
}

.svc-whapp:hover {
  background: #cefddf
}

.services-cta {
  margin-top: 32px;
  text-align: center;
}

.team-cta {
  margin-top: 32px;
  text-align: center;
}


.svc-primary {
  display: inline-flex;
  align-items: center;
  gap: 0px;
  padding: 9px 18px;
  background: #202f65;
  color: #fff;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 500;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(30, 58, 138, .25);
}

.svc-primary:hover {
  background: var(--c-primary-2)
}

/* ================================
   NUEVA ESTRUCTURA DE GRILLA DE SERVICIOS
==================================*/
.services-grid-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.services-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.services-center {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.svc-card--center {
  max-width: 300px;
  width: 100%;
}

.services-title-footer {
  font-size: 27px;
  color: #202F65;
}


.services-title-page {
  /* margin: 10px 0 22px; */
  font-size: clamp(1.25rem, 2.25vw, 2.25rem);
  font-weight: 700;
  letter-spacing: .4px;
  color: #202f65;
  text-transform: uppercase;
}

.services-title-page span {
  color: #4CAF50;
}


/* ================================
   BANNER SERVICES SECTION
==================================*/
.banner-services-section {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 18px 0px 18px 0px;
}

.banner-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.banner-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 1200px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  animation: fadeInUp 1s ease-out;
}


.banner-content-others {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 1200px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  animation: fadeInUp 1s ease-out;
}


.banner-icon {
  margin-bottom: 25px;
  margin-top: 15px;
}

.logo-services {
  position: relative;
  display: flex;
  width: 80px;
  height: 80px;
  align-items: center;
  justify-content: center;
}

/* Estilos dinámicos para el logo */
.logo-services-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Cuando no hay texto, centrar solo el logo */
.banner-content.only-logo {
  justify-content: center;
}

.banner-content.only-logo .banner-icon {
  margin-bottom: 0;
}

.banner-text {
  margin-top: 10px;
}

.banner-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 52px;
  line-height: 1.1;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-title-line {
  display: block;
  /* margin-bottom: 5px; */
}

/* Efecto de overlay sutil */
.banner-services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}






.team-primary {
  display: inline-flex;
  align-items: center;
  gap: 0px;
  padding: 11.5px 18px;
  background: #007aff;

  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(30, 58, 138, .25);
}

.team-primary:hover {
  background: #0360c4;
}




/* ================================
   4) ABOUT / FOOTER
==================================*/
.about-section {
  padding: 54px var(--pad-x);
  background: #fff;
  /* permitimos overflow visible en caso la tarjeta flotante sobresalga */
  overflow: visible;
  background-color: #EEF6FD;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center
}


.about-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px
}


.about-image {
  min-height: 220px;
  background: linear-gradient(135deg, var(--c-accent), #0891b2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.about-text {
  padding: 10px 0
}

.about-text h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--c-brand);
  margin-bottom: 16px
}

.about-text p {
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: var(--fs-body)
}

.footer {
  background: linear-gradient(135deg, var(--c-brand), var(--c-accent));
  color: #fff;
  padding: 50px var(--pad-x) 28px;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px
}


.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px
}

.footer-logo img {
  height: 42px;
  width: auto
}

.footer-logo h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 700
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #fff
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  line-height: 1.6;
  margin-bottom: 8px;
  display: block
}

.footer-section a:hover {
  color: #fff
}

.footer-bottom {
  text-align: center;
  /* padding-top: 22px; */
  border-top: 1px solid rgba(255, 255, 255, .2)
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--c-brand);
  color: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
}

.scroll-top:hover {
  background: #1e40af
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  background: #20b358;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  color: #ffffff;
  text-decoration: none;
}

.whatsapp-float i {
  margin: 0;
}

/* Animación de pulso para el botón de WhatsApp */
@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }

  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}


/* ================================
   MODAL DE SERVICIOS
==================================*/
.service-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.service-modal-content {
  background-color: #ffffff;
  margin: 5% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-modal-header {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
  color: white;
  padding: 25px 30px;
  border-radius: 20px 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-modal-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.service-modal-close {
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.service-modal-close:hover {
  color: #ff6b6b;
}

.service-modal-body {
  padding: 30px;
}

.service-modal-icon {
  text-align: center;
  margin-bottom: 25px;
}

.service-modal-icon-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.service-modal-info h3 {
  color: var(--c-primary);
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 10px 0;
  border-bottom: 2px solid var(--c-primary);
  padding-bottom: 5px;
}

.service-modal-info p {
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 15px;
}

.service-modal-details {
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  margin: 15px 0;
}

.service-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.service-modal-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
  justify-content: center;
  min-width: 200px;
}

.service-modal-whatsapp:hover {
  background: #20b358;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
  color: white;
  text-decoration: none;
}

.service-modal-pricing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-primary);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
  justify-content: center;
  min-width: 200px;
}

.service-modal-pricing:hover {
  background: var(--c-primary-2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(32, 47, 101, 0.4);
  color: white;
  text-decoration: none;
}

.google-reviews-icon {
  height: 60px;
  width: auto;
}

/* ================================
   RESPONSIVE DESIGN - MEDIA QUERIES
==================================*/

/* ================================
   MOBILE FIRST APPROACH
   Breakpoints estándar:
   - 320px: Móviles muy pequeños
   - 480px: Móviles pequeños  
   - 768px: Móviles grandes / Tablets
   - 1024px: Laptops / Tablets grandes
   - 1200px: Desktops
   - 1440px: Desktops grandes
==================================*/

/* ================================
   MOBILE MENU HAMBURGUESA
==================================*/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--c-primary);
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
  position: relative;
}

.mobile-menu {
  display: none;
}

.mobile-menu-toggle:hover {
  color: var(--c-secondary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 285px;
  background: #ffffff;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  transition: left 0.5s ease;
  z-index: 1001;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 30px 20px 70px 20px;
  box-sizing: border-box;
}

.mobile-menu.show {
  left: 0;
}

.mobile-menu .nav-center {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: auto;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.mobile-menu .nav-center li {
  width: auto;
  text-align: center;
}

.mobile-menu .nav-center a {
  display: block;
  padding: 10px 14px;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: #202f65;
  font-weight: 600;
  font-size: 1.2em;
  text-align: center;
  min-width: 220px;
  border: 2px solid #202f65;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
  position: relative;
  overflow: hidden;
}

.mobile-menu .nav-center a:hover {
  background: '#EEF6FD';
    transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.mobile-menu .nav-center a::after {
  content: '→';
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.mobile-menu .nav-center a:hover::after {
  transform: translateX(5px);
}

.mobile-menu .nav-right {
  display: flex !important;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
  padding-top: 25px;
  padding-bottom: 30px;
  border-top: 2px solid rgba(30, 64, 175, 0.2);
  align-items: center;
  width: 100%;
  visibility: visible !important;
  opacity: 1 !important;
}

.mobile-menu .nav-right a {
  /* display: block !important; */
  visibility: visible !important;
  opacity: 1 !important;
}

/* Estilos específicos para el menú de idiomas en mobile */
.mobile-menu .nav-right .lang-select {
  position: relative;
  width: auto;
  display: inline-block;
}

.mobile-menu .nav-right .lang-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  min-width: 120px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  padding: 4px;
  margin: 4px 0 0 0;
  z-index: 1002;
}

.mobile-menu .nav-right .lang-menu li {
  display: block;
  padding: 0;
  margin-bottom: 2px;
}

.mobile-menu .nav-right .lang-menu a {
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 0;
  color: #3a485c !important;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  transition: all 0.2s ease;
}

.mobile-menu .nav-right .lang-menu li:hover a {
  background: #F3F6FB;
  color: #3a485c !important;
}

/* ================================
   MOBILE SMALL (320px - 479px)
==================================*/
@media (max-width: 479px) {

  .recommendations-subtitle {
    width: 90% !important;
  }

  h2.team-title-business {
    font-size: 32px;
    line-height: 40px;
  }

  .clinsa-company-title {
    font-size: 32px !important;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .faqcta {
    display: flex !important;
    align-items: center;
    gap: 0px;
    margin-top: 20px;
    margin: 0 auto !important;
  }

  h2.testimonials-title {
    font-size: 32px;
  }

  h2.suc-title {
    font-size: 32px;
    line-height: 37px;
  }

  /* NAVBAR */
  .navbar-hero.is-home {
    padding: 8px 0;
  }

  .nav-shell {
    font-size: 11px;
    padding-left: calc(var(--pad-x) + 60px);
    gap: 8px;
    justify-content: space-between;
  }

  /* Mostrar botón hamburguesa */
  .mobile-menu-toggle {
    display: block;
    order: 3;
    text-align: end;
  }

  /* Mostrar menú móvil */
  .mobile-menu {
    display: flex;
  }

  /* Ocultar navegación normal */
  .nav-center {
    display: none;
  }

  .nav-right {
    display: none;
  }

  /* HERO SECTION - Ocultar elementos en mobile small */
  .google-reviews-icon {
    display: none;
  }

  .hero-character {
    display: none;
  }

  /* Centrar el botón Reservar Cita en mobile small */
  .hero-text>div:first-of-type {
    justify-content: center;
    display: none !important;
  }

  .nav-center a {
    font-size: 11px;
  }

  .cta-chip {
    font-size: 10px;
    padding: 6px 8px;
    white-space: nowrap;
    min-width: fit-content;
  }

  .cta-chip-outline {
    font-size: 10px;
    padding: 5px 8px;
    white-space: nowrap;
    min-width: fit-content;
  }

  .phone-chip {
    font-size: 10px;
    padding: 3px 5px;
  }

  .lang-btn {
    font-size: 10px;
    padding: 3px 5px;
  }

  .lang-btn img {
    width: 16px;
    height: 16px;
  }

  .navbar-hero.is-home .logo-default {
    height: 80px;
    width: 60px;
  }

  :root {
    --logo-slot: 60px;
  }

  .nav-right {
    gap: 6px;
    flex-wrap: wrap;
  }

  .dropdown-menu {
    min-width: 120px;
  }

  .dropdown-menu a {
    padding: 5px 10px;
    font-size: 11px;
  }

  .lang-menu {
    min-width: 100px;
  }

  .lang-menu li {
    padding: 5px 6px;
  }

  .lang-menu img {
    width: 14px;
    height: 14px;
  }

  /* HERO SECTION */
  .hero-section {
    padding: 0 var(--pad-x);
  }

  .hero-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "image";
    gap: 20px;
  }

  .hero-text {
    padding-top: 80px;
  }

  .hero-text h1 {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  /* OVERLAY RESPONSIVE */
  .overlay-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    max-width: 85%;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .overlay-top-left {
    top: 15px;
    left: 15px;
  }

  .overlay-exam-text {
    padding: 8px 12px;
    font-size: 12px;
  }

  .overlay-quote-text {
    font-size: 11px;
  }

  /* SERVICES */
  .services-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .svc-card {
    min-height: 280px;
    padding: 24px 20px;
  }

  /* TESTIMONIALS */
  .testimonial-card {
    padding: 24px 20px;
    min-height: 380px;
  }

  .testimonial-text {
    font-size: 16px;
  }

  /* FOOTER - Mobile Small */
  .footer {
    padding: 40px 0 20px !important;
  }

  .footer-shell {
    max-width: 100% !important;
    padding: 0 10px !important;
  }

  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
    padding-bottom: 20px !important;
  }

  .footer-col {
    width: 100% !important;
    text-align: center !important;
  }

  .footer-col--brand {
    order: 1 !important;
  }

  .footer-col--info {
    order: 2 !important;
  }

  .footer-col--links {
    order: 3 !important;
  }

  .footer-col--social {
    order: 4 !important;
  }

  .footer-logo-wrap {
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto !important;
  }

  .footer-logo {
    width: 100px !important;
    height: auto !important;
  }

  .footer-title {
    font-size: 18px !important;
    margin-bottom: 12px !important;
  }

  .footer-list {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .footer-list--locations {
    padding-left: 0 !important;
    text-align: left !important;
  }

  .footer-list--locations li {
    margin-left: 0 !important;
    margin-bottom: 8px !important;
  }

  .footer-nav {
    gap: 8px !important;
  }

  .footer-nav a {
    font-size: 14px !important;
  }

  .social-row {
    justify-content: center !important;
    gap: 15px !important;
  }

  .social-btn {
    width: 45px !important;
    height: 45px !important;
  }

  .footer-bottom-row {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
    font-size: 12px !important;
  }

  /* Mostrar div-mobile solo en móviles */
  .div-mobile {
    display: block !important;
    margin-top: 20px;
  }

  /* Footer links responsivos */
  .footer-list--contact a {
    font-size: 13px !important;
    word-break: break-all !important;
  }

  .footer-phone {
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  /* Social buttons responsivos */
  .social-btn i {
    font-size: 18px !important;
  }

  /* Footer separador */
  .footer-sep {
    margin: 20px 0 15px 0 !important;
  }

  /* FOOTER - Mobile Medium */
  .footer {
    padding: 45px 0 25px !important;
  }

  .footer-shell {
    max-width: 95% !important;
    padding: 0 15px !important;
  }

  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    padding-bottom: 25px !important;
  }

  .footer-col {
    width: 100% !important;
    text-align: center !important;
  }

  .footer-col--brand {
    order: 1 !important;
  }

  .footer-col--info {
    order: 2 !important;
  }

  .footer-col--links {
    order: 3 !important;
  }

  .footer-col--social {
    order: 4 !important;
  }

  .footer-logo-wrap {
    width: 130px !important;
    height: 130px !important;
    margin: 0 auto !important;
  }

  .footer-logo {
    width: 110px !important;
    height: auto !important;
  }

  .footer-title {
    font-size: 19px !important;
    margin-bottom: 14px !important;
  }

  .footer-list {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  .footer-nav a {
    font-size: 15px !important;
  }

  .social-btn {
    width: 48px !important;
    height: 48px !important;
  }

  .footer-bottom-row {
    font-size: 13px !important;
  }

  /* Mostrar div-mobile en móvil mediano */
  .div-mobile {
    display: block !important;
    margin-top: 20px;
  }

  /* SERVICES CAROUSEL */
  .swiper-slide {
    width: 320px !important;
  }

  /* BANNER SERVICES */
  .banner-services-section {
    height: 200px;
  }

  .banner-title {
    font-size: 28px;
  }

  .logo-services-img {
    width: 70px;
    height: 70px;
  }

  img.logo-services-img.logo-kids-img {
    width: 230px;
    height: 200px;
  }

  .banner-content {
    padding: 0 15px;
  }

  /* WHATSAPP FLOAT */
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 24px;
    bottom: 70px;
    right: 15px;
  }

  /* MODAL */
  .service-modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .service-modal-header {
    padding: 20px;
  }

  .service-modal-title {
    font-size: 20px;
  }

  .service-modal-body {
    padding: 20px;
  }

  .service-modal-actions {
    flex-direction: column;
  }

  .service-modal-whatsapp,
  .service-modal-pricing {
    min-width: 100%;
  }

  /* FAQ */
  .faq-wrap {
    display: flex !important;
    flex-direction: column;
    gap: 30px;
    max-width: 100%;
    margin: 0;
    padding: 0 10px;
  }

  .faq-left {
    order: 1;
    text-align: center;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
  }

  .faq-right {
    order: 2;
    width: 100%;
  }

  .faq-title {
    font-size: 28px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
  }

  .faq-left img {
    width: 180px;
    height: auto;
    margin: 0 auto 20px;
    max-width: 100%;
  }

  .faq-left .cta-chip {
    font-size: 14px;
    padding: 10px 16px;
    white-space: nowrap;
    max-width: 100%;
    margin: 0 auto !important;
  }

  .faq-q {
    font-size: 16px;
    padding: 20px 15px;
    line-height: 1.4;
  }

  .faq-a {
    padding: 0 15px 15px 15px;
    font-size: 14px;
    line-height: 1.5;
  }

  .faq-left .cta-chip img {
    width: 20px;
    height: 20px;
  }

  /* FAQ List - Mobile */
  .faq-list {
    width: 100%;
  }

  .faq-item {
    margin-bottom: 10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .faq-q {
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
  }

  .faq-q:hover {
    background: #f8f9fa;
  }

  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .faq-a.open {
    max-height: 500px;
  }

  /* SUCURSALES */
  .suc-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .suc-content {
    padding: 22px;
  }

  .suc-map {
    height: 280px;
  }

  /* TESTIMONIALS */
  .testimonials-swiper .swiper-slide {
    width: auto;
  }

  .testimonial-card {
    padding: 36px;
    max-width: 460px;
  }

  .testimonial-stars-img {
    width: 95px;
  }

  /* TEAM GRID */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .team-image__box {
    padding: 0;
  }

  .team-image__box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  /* KIDS GRID */
  .kids-grid {
    grid-template-columns: 1fr !important;
    gap: 1px;
    align-items: center;
  }

  .kids-image__box {
    min-height: 100%;
  }

  .kids-video__box {
    min-height: 220px !important;
  }

  /* ABOUT COLUMNS */
  .about-columns {
    grid-template-columns: 1fr !important;
  }

  .about-banner {
    display: none !important;
    min-height: 360px;
    border-radius: 18px;
    width: calc(100% + 2 * var(--pad-x));
    margin-left: calc(-1 * var(--pad-x));
  }
}

/* ================================
   MOBILE MEDIUM (480px - 767px)
==================================*/
@media (min-width: 480px) and (max-width: 767px) {

  /* NAVBAR */
  .navbar-hero.is-home {
    padding: 10px 0;
  }



  .nav-shell {
    font-size: 12px;
    padding-left: calc(var(--pad-x) + 70px);
    gap: 10px;
    justify-content: space-between;
  }

  /* Mostrar botón hamburguesa */
  .mobile-menu-toggle {
    display: block;
    order: 3;
    text-align: end;
  }

  /* Mostrar menú móvil */
  .mobile-menu {
    display: flex;
  }

  /* Ocultar navegación normal */
  .nav-center {
    display: none;
  }

  .nav-right {
    display: none;
  }

  /* LOGO - Mostrar logo-scrolling en mobile medium sin transición */
  .navbar-hero.is-home .logo-default {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: none !important;
  }

  .navbar-hero.is-home .logo-scrolling {
    opacity: 1 !important;
    visibility: visible !important;
    height: calc(var(--logo-small) + 6px);
    top: 50%;
    transform: translateY(-50%);
    transition: none !important;
  }

  /* HERO SECTION - Ocultar elementos en mobile medium */
  .google-reviews-icon {
    display: none;
  }

  .hero-character {
    display: none;
  }

  /* Centrar el botón Reservar Cita en mobile medium */
  .hero-text>div:first-of-type {
    justify-content: center;
  }

  /* DOCTOR IMAGE - Más pequeña y centrada en mobile medium */
  .hero-image .doctor-image {
    width: 95%;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-image .doctor-image .background-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: contain;
  }

  .nav-center a {
    font-size: 12px;
    font-weight: 500;
  }

  .cta-chip {
    font-size: 11px;
    padding: 7px 10px;
    white-space: nowrap;
    min-width: fit-content;
  }

  .cta-chip-outline {
    font-size: 11px;
    padding: 6px 10px;
    white-space: nowrap;
    min-width: fit-content;
  }

  .phone-chip {
    font-size: 11px;
    padding: 4px 6px;
  }

  .lang-btn {
    font-size: 11px;
    padding: 4px 6px;
  }

  .lang-btn img {
    width: 18px;
    height: 18px;
  }

  .navbar-hero.is-home .logo-default {
    height: 90px;
    width: 70px;
  }

  :root {
    --logo-slot: 70px;
  }

  .nav-right {
    gap: 8px;
    flex-wrap: wrap;
  }

  .dropdown-menu {
    min-width: 140px;
    right: 0;
    left: auto;
    margin-top: 6px;
  }

  .dropdown-menu a {
    padding: 6px 12px;
    font-size: 12px;
  }

  .lang-menu {
    min-width: 120px;
    right: 0;
  }

  .lang-menu li {
    padding: 6px 8px;
  }

  .lang-menu img {
    width: 16px;
    height: 16px;
  }

  /* SERVICES */
  .services-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .svc-card {
    min-height: 300px;
    padding: 28px 24px;
  }

  /* SERVICES CAROUSEL */
  .swiper-slide {
    width: 340px !important;
  }

  /* BANNER SERVICES */
  .banner-services-section {
    height: 250px;
  }

  .banner-title {
    font-size: 40px;
  }

  .logo-services-img {
    width: 60px;
    height: 60px;
  }

  /* HERO SECTION */
  .hero-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "image";
    gap: 24px;
  }

  .hero-text {
    padding-top: 90px;
  }

  /* OVERLAY RESPONSIVE */
  .overlay-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    max-width: 88%;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .overlay-top-left {
    top: 18px;
    left: 18px;
  }

  .overlay-exam-text {
    padding: 10px 14px;
    font-size: 14px;
  }

  .overlay-quote-text {
    font-size: 12px;
  }

  /* TEAM GRID */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .team-image__box {
    padding: 0;
  }

  .team-image__box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  /* FAQ - Mobile Medium */
  .faq-wrap {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 100%;
    margin: 0;
    padding: 0 15px;
  }

  .faq-left {
    order: 1;
    text-align: center;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
  }

  .faq-right {
    order: 2;
    width: 100%;
  }

  .faq-title {
    font-size: 30px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
  }

  .faq-left img {
    width: 200px;
    height: auto;
    margin: 0 auto 20px;
    max-width: 100%;
  }

  .faq-left .cta-chip {
    font-size: 15px;
    padding: 11px 18px;
    white-space: nowrap;
    max-width: 100%;
  }

  .faq-q {
    font-size: 16px;
    padding: 21px 16px;
    line-height: 1.4;
  }

  .faq-a {
    padding: 0 16px 17px 16px;
    font-size: 15px;
    line-height: 1.5;
  }
}

/* ================================
   TABLET (768px - 1023px)
==================================*/
@media (min-width: 768px) and (max-width: 1023px) {

  /* NAVBAR */
  .navbar-hero.is-home {
    padding: 12px 0;
  }

  .nav-shell {
    font-size: 13px;
    padding-left: calc(var(--pad-x) + 80px);
    gap: 12px;
    justify-content: space-between;
  }

  /* Mostrar botón hamburguesa */
  .mobile-menu-toggle {
    display: block;
    order: 3;
    text-align: end;
  }

  /* Mostrar menú móvil */
  .mobile-menu {
    display: flex;
  }

  /* Ocultar navegación normal */
  .nav-center {
    display: none;
  }

  .nav-right {
    display: none;
  }

  /* LOGO - Mostrar logo-scrolling en tablet sin transición */
  .navbar-hero.is-home .logo-default {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: none !important;
  }

  .navbar-hero.is-home .logo-scrolling {
    opacity: 1 !important;
    visibility: visible !important;
    height: calc(var(--logo-small) + 6px);
    top: 50%;
    transform: translateY(-50%);
    transition: none !important;
  }

  /* HERO SECTION - Ocultar elementos en tablet */
  .google-reviews-icon {
    display: none;
  }

  .hero-character {
    display: none;
  }

  /* Centrar el botón Reservar Cita en tablet */
  .hero-text>div:first-of-type {
    justify-content: center;
  }

  /* DOCTOR IMAGE - Más pequeña y centrada en tablet */
  .hero-image .doctor-image {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-image .doctor-image .background-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    object-fit: contain;
  }

  .nav-center a {
    font-size: 13px;
    font-weight: 500;
  }

  .cta-chip {
    font-size: 12px;
    padding: 8px 12px;
    white-space: nowrap;
    min-width: fit-content;
  }

  .cta-chip-outline {
    font-size: 12px;
    padding: 6px 12px;
    white-space: nowrap;
    min-width: fit-content;
  }

  .phone-chip {
    font-size: 12px;
    padding: 5px 8px;
  }

  .lang-btn {
    font-size: 12px;
    padding: 5px 7px;
  }

  .lang-btn img {
    width: 20px;
    height: 20px;
  }

  .navbar-hero.is-home .logo-default {
    height: 110px;
    width: 85px;
  }

  :root {
    --logo-slot: 80px;
  }

  .nav-right {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .dropdown-menu {
    min-width: 160px;
    right: 0;
    left: auto;
  }

  .dropdown-menu a {
    padding: 8px 14px;
    font-size: 13px;
  }

  /* HERO SECTION */
  .hero-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "image";
    text-align: center;
    gap: 32px;
  }

  .hero-text {
    padding-top: 30px;
  }

  .overlay-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .review-card {
    position: static;
    transform: none;
    max-width: 100%;
    margin-top: 16px;
  }

  /* OVERLAY RESPONSIVE */
  .overlay-top-left {
    top: 20px;
    left: 20px;
  }

  .overlay-exam-text {
    padding: 12px 16px;
    font-size: 15px;
  }

  .overlay-quote-text {
    font-size: 13px;
  }

  /* SERVICES */
  .services-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* TESTIMONIALS */
  .testimonial-card {
    padding: 32px 24px;
    min-height: 420px;
    max-width: 400px;
  }

  .testimonial-text {
    font-size: 18px;
  }

  /* FOOTER - Tablet */
  .footer {
    padding: 50px 0 30px !important;
  }

  .footer-shell {
    max-width: 90% !important;
    padding: 0 20px !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 35px !important;
    padding-bottom: 30px !important;
  }

  .footer-col--brand {
    order: -1 !important;
    grid-column: 1 / -1 !important;
    text-align: center !important;
  }

  .footer-col--info {
    order: 1 !important;
  }

  .footer-col--links {
    order: 2 !important;
  }

  .footer-col--social {
    order: 3 !important;
    grid-column: 1 / -1 !important;
    text-align: center !important;
  }

  .footer-logo-wrap {
    width: 140px !important;
    height: 140px !important;
    margin: 0 auto !important;
  }

  .footer-logo {
    width: 120px !important;
    height: auto !important;
  }

  .footer-title {
    font-size: 20px !important;
    margin-bottom: 16px !important;
  }

  .footer-list {
    font-size: 16px !important;
    line-height: 1.8 !important;
  }

  .footer-nav a {
    font-size: 16px !important;
  }

  .social-row {
    justify-content: center !important;
    gap: 20px !important;
  }

  .social-btn {
    width: 50px !important;
    height: 50px !important;
  }

  .footer-bottom-row {
    font-size: 14px !important;
  }

  /* Mostrar div-mobile en tablet */
  .div-mobile {
    display: block !important;
    margin-top: 20px;
  }

  /* SERVICES CAROUSEL */
  .swiper-slide {
    width: 360px !important;
  }

  /* ABOUT IMAGES */
  .about-images {
    grid-template-columns: 1fr 1fr;
  }

  /* FOOTER CONTENT */
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }

  /* SUCURSALES */
  .suc-grid {
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
  }

  .suc-content {
    padding: 26px 28px;
  }

  .suc-map {
    height: 320px;
  }

  /* TEAM GRID */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .team-image__box {
    padding: 0;
  }

  .team-image__box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  /* KIDS GRID */
  .kids-grid {
    grid-template-columns: 520px 1fr;
    gap: 1px;
    align-items: center;
  }

  .kids-image__box {
    min-height: 100%;
  }

  .kids-video__box {
    min-height: 420px;
  }

  /* FAQ - Tablet */
  .faq-wrap {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
  }

  .faq-left {
    order: 1;
    text-align: center;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
  }

  .faq-right {
    order: 2;
    width: 100%;
  }

  .faq-title {
    font-size: 32px;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
  }

  .faq-left img {
    width: 220px;
    height: auto;
    margin: 0 auto 20px;
    max-width: 100%;
  }

  .faq-q {
    font-size: 17px;
    padding: 22px 16px;
    line-height: 1.4;
  }

  .faq-a {
    padding: 0 16px 18px 16px;
    font-size: 15px;
    line-height: 1.5;
  }
}

/* ================================
   LAPTOP (1024px - 1199px)
==================================*/
@media (min-width: 1024px) and (max-width: 1199px) {
  .lab-features {
    padding-top: 0%;
  }

  .services-grid-container {
    padding: 0px;
  }


  .google-reviews-icon {
    height: 50px;
    width: auto;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 7px;
    justify-self: end;
  }

  .navbar-hero.is-home.stuck .logo-scrolling {
    opacity: 1 !important;
    visibility: visible !important;
    height: calc(var(--logo-small) + -8px);
    top: 50%;
    transform: translateY(-50%);
  }

  /* NAVBAR */
  .navbar-hero.is-home {
    padding: 16px 0;
  }

  .nav-shell {
    font-size: 14px;
    padding-left: calc(var(--pad-x) + 120px);
    gap: 12px;
  }

  .nav-center {
    gap: 12px;
  }

  .nav-center a {
    font-size: 15px;
  }

  .cta-chip,
  .navbar-hero .cta-chip {
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
    min-width: fit-content;
  }


  .cta-chip-outline,
  .navbar-hero .cta-chip-outline {
    font-size: 12px;
    padding: 4px 10px;
    white-space: nowrap;
    min-width: fit-content;
  }

  .phone-chip {
    font-size: 11px;
    padding: 0px 0px;
  }

  .lang-btn {
    font-size: 11px;
    padding: 5px 8px;
  }

  .navbar-hero.is-home .logo-default {
    height: 120px;
    width: 100px;
  }

  :root {
    --logo-slot: 120px;
  }



  .overlay-text {
    color: var(--c-primary);
    font-weight: 500;
    line-height: 1.25;
    font-size: 14px;
    padding-top: 15px;
  }

  /* SERVICES */
  .services-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  /* TESTIMONIALS */
  .testimonial-card {
    padding: 36px;
    min-height: 460px;
    max-width: 460px;
  }

  .testimonial-text {
    font-size: 20px;
  }

  /* HERO SECTION */
  .hero-content {
    grid-template-columns: 1.1fr 1fr;
    grid-template-areas: "text image";
    align-items: stretch;
    text-align: left;
    gap: clamp(32px, 5vw, 72px);
  }

  .hero-text {
    grid-area: text;
    order: 1;
    padding-top: 95px;
  }

  .hero-image {
    grid-area: image;
    order: 2;
    justify-content: flex-end;
  }

  /* OVERLAY CARDS */
  .overlay-card {
    position: absolute;
    left: calc(-1 * clamp(35px, 2vw, 140px));
    right: auto;
    top: auto;
    bottom: clamp(20px, 15vw, 50px);
    transform: none;
    width: clamp(176px, 10vw, 200px);
    z-index: 15;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .review-card {
    position: absolute;
    right: clamp(12px, 4vw, 60px);
    top: 55%;
    transform: translateY(-50%);
  }
}

/* ================================
   DESKTOP (1200px - 1439px)
==================================*/
@media (min-width: 1200px) and (max-width: 1439px) {

  /* NAVBAR */
  .nav-center {
    gap: 32px;
  }

  /* HERO SECTION */
  .hero-content {
    max-width: 90%;
    margin: 10px auto;
  }

  .doctor-image {
    width: 100%;
    height: 100%;
    box-shadow: none;
    overflow: visible;
  }

  .hero-image {
    overflow: visible;
  }

  .hero-section {
    overflow: visible;
  }

  /* SERVICES */
  .services-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  /* TESTIMONIALS */
  .testimonial-card {
    min-height: 520px;
    max-width: 520px;
    padding: 25px;
  }

  /* ROOT VARIABLES */
  :root {
    --fs-hero: clamp(2.3rem, 3.5vw, 3.3rem);
  }
}

/* ================================
   DESKTOP LARGE (1440px+)
==================================*/
@media (min-width: 1440px) {

  .services-grid-container {
    padding: 0px;
  }

  /* ROOT VARIABLES */
  :root {
    --pad-x: 90px;
  }

  /* NAVBAR */
  .logo-default {
    height: 95px;
  }

  :root {
    --logo-slot: 150px;
  }

  .nav-shell {
    font-size: 16px;
  }

  .hero-text p {
    max-width: 60ch;
  }

  /* HERO SECTION */
  .hero-content {
    gap: 72px;
  }

  .overlay-card {
    right: auto;
    bottom: clamp(16px, 4vw, 40px);
  }

  .doctor-image {
    width: 100%;
    height: 100%;
    box-shadow: none;
  }

  /* SERVICES */
  .services-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  /* TESTIMONIALS */
  .testimonial-card {
    max-width: 520px;
  }

  /* HERO SECTION */
  .hero-content {
    grid-template-columns: 1.1fr 1fr;
    grid-template-areas: "text image";
    gap: 72px;
  }

  .hero-text {
    grid-area: text;
  }

  .hero-image {
    grid-area: image;
  }

  .doctor-image {
    width: 100%;
    height: 100%;
    box-shadow: none;
  }
}


@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
}


/* ================================
   ABOUT / BANNER (sección añadida)
==================================*/
.about-content {
  display: grid;
  gap: 28px;
  /* padding: 48px var(--pad-x); */
}

.about-columns {
  display: grid;
  /* grid-template-columns: 1fr; */
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.about-col {
  background: transparent;
}

.about-col__title {
  font-size: 1.25rem;
  color: var(--c-primary);
  margin-bottom: 8px;
  padding-top: 35px;
  font-weight: 700;
  border-top: solid;
}

/* ================================
   TEAM SECTION
   - layout: mobile 1 column, desktop 2 columns (text left, image right)
===================================*/
.team-content {
  width: 100%;
  background: #020B44;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.team-text h4 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 400;
  color: #ffffff;
}

.team-features {
  list-style: none;
  padding: 0;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.team-feature__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--c-primary);
  /* placeholder background, replaceable */
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-feature__content p {
  margin: 0;
  color: var(--c-muted);
  max-width: 56ch;
}


.team-feature__content_business h4 {
  margin: 0 0 8px 0;
  color: var(--c-primary);
  font-weight: 600;
}

.team-feature__content_business p {
  margin: 0;
  color: var(--c-primary);
  max-width: 56ch;
}

.team-feature__icon img,
.team-feature__icon-img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  display: block;
}

.team-image__box {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.team-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.team-video-description {
  text-align: center;
  padding-top: 15px;
}

.team-video-description p {
  margin: 0;
  color: var(--c-muted);
  font-size: 24px;
  font-weight: 500;
  color: var(--c-primary);
  line-height: 1.5;
  margin: 0 auto;
}

/* Accesibilidad */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0
}

@media (min-width:900px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
    /* texto izquierda, imagen derecha */
    gap: 40px;
    align-items: center;
  }

  .team-image__box {
    padding: 0;
  }

  /* Make sure the inner img fits fully without cropping */
  .team-image__box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
}

/* Also ensure mobile images don't overflow their padded container */
.team-image__box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}


/* ================================
   KIDS SECTION
===================================*/
.kids-content {
  width: 100%;
}

.kids-header .kids-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0;
}

.kids-grid {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 28px;
  align-items: start;
}

.kids-image__box {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b234a;
  font-weight: 700;
}

.kids-image__box img {
  max-width: 85%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.kids-video__box {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b234a;
  font-weight: 700;
}

/* Miniatura del video: ajustada y centrada */
.kids-video__box img {
  max-width: 92%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 10px;
}

/* Reproductor de video para kids section */
.kids-video-player {
  width: 100%;
  height: 100%;
  max-width: 92%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 20px;
  /* background: #000; */
}

.kids-image-cta {
  text-align: center;
}

.kids-image-cta .svc-primary {
  display: inline-flex;
  align-items: center;
}

/* Icono dentro de CTA para secciones pequeñas */
.svc-cta-icon {
  display: inline-block;
  vertical-align: middle;
}

/* ================================
   TESTIMONIALS SECTION
==================================*/
.testimonials-section {
  background: #020B44;
  color: #fff;
  padding: 56px var(--pad-x);
}

.testimonials-wrap {
  width: 100%;
  max-width: none;
  /* ocupar todo el ancho */
  margin: 0;
  /* full-bleed container */
  text-align: center;
  box-sizing: border-box;
  /* padding: 0 var(--pad-x); */
}

.testimonials-pre {
  font-size: 18px;
  letter-spacing: 2px;
  color: rgb(255 255 255);
  margin-bottom: 10px;
}

.testimonials-title {
  font-size: 44px;
  margin-bottom: 28px;
}

.testimonials-swiper-wrap {
  position: relative;
}

.testimonials-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.testimonial-card {
  background: #2A346D;
  border-radius: 18px;
  padding: 36px 28px;
  text-align: left;
  min-height: 420px;
  /* más alto */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 420px;
  /* mayor ancho de tarjeta */
  margin: 0 auto;
}

.testimonial-stars {
  color: #ffb020;
  margin-bottom: 12px;
}

.testimonial-stars-img {
  width: 120px;
  height: auto;
  display: block;
}

@media (min-width:768px) {
  .testimonial-stars-img {
    width: 95px;
  }
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 18px;
  line-height: 1.5;
  font-size: 20px;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 400;
  font-size: 18px;
}

.testimonial-place {
  font-size: 16px;
  color: rgb(255 255 255 / 85%);
}

/* Pagination */
.testimonials-pagination {
  margin-top: 18px;
}

.testimonials-swiper .swiper-pagination-bullet {
  background: #ffffff !important;
  width: 10px;
  height: 10px;
  opacity: 1;
}

.testimonials-pagination .swiper-pagination-bullet {
  background: #D9D9D9 !important;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: #ffffff;
}


/* Ajustes del wrapper de slides para que ocupen todo el ancho y estén centrados */
.testimonials-swiper {
  padding: 8px 0;
}

.testimonials-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.testimonials-swiper .swiper-wrapper {
  align-items: stretch;
}


.about-col__text {
  color: var(--c-muted);
}

.about-banner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 320px;
  display: block;
  background: linear-gradient(90deg, #fff 0%, #eef6fd 100%);
}

/* Expandimos el banner para que ocupe todo el ancho visual de la sección
   sin romper el layout centrado: compensamos el padding horizontal de la
   sección con un margin negativo y un width mayor. */
.about-banner {
  width: calc(100% + 2 * var(--pad-x));
  margin-left: calc(-1 * var(--pad-x));
  box-sizing: border-box;
}

.about-banner__bg {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 1;
  pointer-events: none;
  /* position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none; */
}

.about-banner__card {
  position: absolute;
  right: clamp(12px, 4vw, 48px);
  bottom: clamp(12px, 4vw, 25px);
  width: clamp(260px, 34vw, 420px);
  background: #fff;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.12);
  z-index: 6;
}

.about-banner__card-title {
  color: var(--c-primary);
  font-size: 2.4rem;
  margin-bottom: 8px;
  line-height: 1;
  font-weight: 500;
}

.about-banner__card-text {
  color: var(--c-muted);
  margin-bottom: 12px;
}

.about-banner__card-btn {
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  padding: 10px 14px;
  margin-top: 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 400;
}


/* ================================
   FAQ SECTION / ACCORDION
===================================*/
.faq-section {
  background: var(--c-bg);
  padding: 56px var(--pad-x);
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 570px) 1fr;
  align-items: start;
  max-width: 95%;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.faq-pre {
  text-transform: uppercase;
  color: var(--c-primary);
  font-weight: 500;
  /* margin-bottom: 8px; */
  font-size: 18px;
}

.faq-title {
  font-size: 36px;
  color: var(--c-primary);
  margin-bottom: 24px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.faq-title-separator {
  font-weight: 600;
}

.faq-brand img {
  max-width: 180px;
  display: block;
  /* margin-top: 12px */
}

/* Logo específico para la sección FAQ: forzar 190x244 y mantener aspect-ratio con object-fit */
.faq-brand__logo {
  width: 190px;
  height: 244px;
  display: block;
  object-fit: contain;
}


.faq-list {
  list-style: none;
  padding: 0;
  margin: 0
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 25px 18px;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 20px;
  color: var(--c-primary);
}

.faq-a {
  padding: 0 18px 20px 18px;
  color: var(--c-muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.faq-a.open {
  max-height: 400px;
}




/* ================================
   SUCURSALES (TABS + PANEL)
   Scope: .sucursales
================================ */
.sucursales {
  background: var(--c-bg);
  padding: 56px var(--pad-x);
}

.suc-wrap {
  max-width: 95%;
  margin: 0 auto;
}

.suc-header {
  margin-bottom: 35px;
}

.suc-pre {
  font-size: 14px;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--c-primary);
}

.suc-title {
  font-size: 48px;
  font-weight: 700;
  color: #202f65;
}

.suc-title__city {
  color: var(--c-green);
}

/* Layout */
.suc-grid {
  display: grid;
  grid-template-columns: clamp(220px, 24%, 320px) 1fr;
  gap: 1.5rem;
}


/* LEFT: tabs */
.suc-left {
  background: transparent;
}

.suc-tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.suc-tab {
  background: #fff;
  border: 1px solid var(--c-border);
  color: var(--c-primary);
  font-weight: 500;
  font-size: 18px;
  padding: 12px 16px;
  border-radius: 25px;
  cursor: pointer;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.suc-tab:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 10px rgba(2, 6, 23, .06);
}

.suc-tab.is-active {
  background: var(--c-green);
  color: #fff;
  border-color: var(--c-green);
}

.suc-tab[aria-selected="true"] {
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

/* RIGHT: card */
.suc-card {
  background: var(--c-card, #fff);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: var(--c-shadow);
}

.suc-content {
  padding: 22px;
}


.suc-loc-title {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--c-primary);
  margin-bottom: 12px;
}

.suc-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid #eef2f7;
}

.suc-row:first-of-type {
  border-top: 0;
}

.suc-row__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.suc-row__body strong {
  display: block;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 4px;
}

.suc-address,
.suc-hours,
.suc-email {
  color: var(--c-muted);
  line-height: 1.55;
}

/* Map placeholder */
.suc-map {
  margin-top: 16px;
  width: 100%;
  height: 280px;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  background: #f8fafc;
}



/* ================================
   FOOTER - logo y marca
==================================*/
.footer-brand {
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
}

.footer-logo-wrap {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  border-radius: 50%;

}

.footer-logo-wrap .footer-logo {
  width: 166px;
  height: auto;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  color: #dbeafe;
  /* azul muy claro */
  font-weight: 700;
  font-size: 20px;
}

.footer-brand-sub {
  color: rgba(230, 238, 248, 0.8);
  font-size: 13px;
  margin-top: 2px;
}




/* ================================
    FOOTER
==================================*/
.footer {
  background: #001543;
  color: #cbd5e1;
  /* gris claro sobre azul */
  padding: 56px 0 30px;
}

.footer-shell {
  max-width: 84%;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 230px 1fr 165px 160px;
  gap: 20px;
  align-items: start;
  padding-bottom: 30px;
}

.footer-logo {
  width: 120px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.32));
}

.footer-logo-wrap {
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  border-radius: 50%;

}

.footer-title {
  color: #e6eef8;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-list {
  list-style: none;
  color: rgba(230, 238, 248, 0.9);
  line-height: 1.9;
}

.footer-list--locations {
  padding-left: 18px;
  color: var(--c-muted);
}

.footer-list--locations li {
  list-style: decimal;
  margin-left: 10px;
}

.footer-list--contact a {
  text-decoration: none;
  color: var(--c-muted);
}

.footer-phone {
  font-weight: 600;
  color: #fff;
  margin-top: 8px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  text-decoration: none;
  color: var(--c-muted);
}

.social-row {
  display: flex;
  align-items: center;
}

.social-btn {
  width: 52px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  background: transparent;
  transition: all .18s ease;
  position: relative;
}

.social-btn:before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.social-btn i {
  z-index: 2
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.45);
  border-color: rgba(255, 255, 255, 0.28);
}

.footer-bottom {
  margin-top: 34px;
}

.footer-sep {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 0 0 18px 0;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  color: rgba(230, 238, 248, 0.8);
  font-size: .95rem;
  align-items: center;
}


/* ================================
    PRICING ROW SECTION
==================================*/
.princing-row {
  position: relative;
  width: 80%;
  height: 475px;
  margin: 50px auto;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.pricing-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  padding: 0;
}

.pricing-visual {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 671px;
  height: 375px;
  background-image: url('../img/assets_web/pricing/banner_pricing.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-text-box {
  background: #ffffff;
  border-radius: 15px;
  padding: 35px 30px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.18);
  position: absolute;
  right: 190px;
  top: 57%;
  transform: translateY(-50%);
  z-index: 3;
  width: 409px;
  height: 336px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-text {
  color: var(--c-primary);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  margin: 0;
  text-align: center;
}

.pricing-cta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #25D366;
  color: #ffffff;
  padding: 7px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 400;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 8px rgba(23, 23, 23, 0.29), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  align-self: flex-start;
  margin: 0 auto;
}

.pricing-cta:hover {
  background: #20b358;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.5), 0 2px 6px rgba(0, 0, 0, 0.15);
}

.pricing-cta img {
  width: 35px;
  height: 35px;
}

.pricing-whatsapp-icon {
  position: absolute;
  top: -20px;
  right: 0px;
  width: 260px;
  height: 260px;
  z-index: 4;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
  transform: rotate(2deg);
}

.pricing-whatsapp-icon:hover {
  transform: rotate(2deg) scale(1.1);
}

/* Responsive para pricing-row */
@media (max-width: 1200px) {
  .princing-row {
    width: 100%;
    max-width: 1123px;
    height: 400px;
  }

  .pricing-text-box {
    width: 240px;
    height: 200px;
    padding: 25px 20px;
    right: 30px;
  }

  .pricing-text {
    font-size: 18px;
  }

  .pricing-cta {
    padding: 12px 18px;
    font-size: 14px;
  }

  .pricing-whatsapp-icon {
    width: 200px;
    height: 200px;
    top: -30px;
    right: -30px;
    transform: rotate(-15deg);
  }
}

@media (max-width: 768px) {
  .princing-row {
    height: 350px;
  }

  .pricing-text-box {
    width: 200px;
    height: 180px;
    padding: 20px 15px;
    right: 20px;
  }

  .pricing-text {
    font-size: 16px;
  }

  .pricing-cta {
    padding: 10px 14px;
    font-size: 12px;
  }

  .pricing-whatsapp-icon {
    width: 150px;
    height: 150px;
    top: -20px;
    right: -20px;
    transform: rotate(-15deg);
  }
}

@media (max-width: 480px) {
  .princing-row {
    height: 300px;
  }

  .pricing-whatsapp-icon {
    display: none !important;
  }

  .kids-image__box img {
    max-width: 55%;
    min-height: 140px !important;
  }

  .kids-image__box {
    min-height: 140px;
  }

  .pricing-text-box {
    width: 250px !important;
    height: 220px !important;
    padding: 25px 12px !important;
    left: 50% !important;
    bottom: 20px !important;
    transform: translateX(-50%) !important;
    z-index: 999999999999999999999999999999999999999999999999 !important;
    background: #fff !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;
    border-radius: 12px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    top: auto !important;
    right: auto !important;
  }

  .pricing-text {
    font-size: 18px;
  }

  .pricing-cta {
    margin-top: 20px;
    padding: 10px 12px;
    font-size: 11px;
  }

  .pricing-whatsapp-icon {
    width: 100px;
    height: 100px;
    top: -15px;
    right: -15px;
    transform: rotate(-15deg);
  }
}

/* ================================
   CLINSAKIDS SECTION
==================================*/
.clinsakids-section {
  padding: 50px;
  width: 95%;
  margin: 0 auto;
  /* background: var(--c-bg);
  padding: 50px var(--pad-x); */
}

.clinsakids-content {
  max-width: 100%;
  margin: 0 auto;
}

/* Header */
.clinsakids-header {
  text-align: center;
  margin-bottom: 60px;
}

.clinsakids-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.clinsakids-title-green {
  color: var(--c-green);
}

.clinsakids-description {
  font-size: var(--fs-body);
  color: #202F65;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 500;
}

/* Main Grid */
.clinsakids-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.clinsakids-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--c-shadow);
  border: 1px solid var(--c-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.clinsakids-card-image {
  width: 100%;
  /* padding: 15px; */
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  /* min-height: 250px; */
}

.clinsakids-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px 8px 0px 0px;
}

.clinsakids-card-content {
  padding: 35px 35px 25px 35px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.clinsakids-block-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 10px;
  /* text-transform: uppercase; */
  letter-spacing: 0.3px;
}

.clinsakids-block-text {
  color: var(--c-muted);
  line-height: 1.6;
  font-size: 16px;
  margin: 0;
}

/* CTA Section */
.clinsakids-cta-section {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.clinsakids-cta-container {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.clinsakids-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-primary);
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(32, 47, 101, 0.25);
  transition: all 0.3s ease;
}

.clinsakids-cta-button:hover {
  background: var(--c-primary-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(32, 47, 101, 0.35);
}

.clinsakids-cta-icon {
  position: relative;
}

.clinsakids-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

/* Bottom Section */
.clinsakids-bottom {
  /* background: #fff; */
  border-radius: 20px;
  /* padding: 60px 40px; */
  /* box-shadow: var(--c-shadow); */
  /* border: 1px solid var(--c-border); */
}

.clinsakids-bottom-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.clinsakids-bottom-left {
  text-align: center;
}

.clinsakids-bottom-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.clinsakids-bottom-description {
  font-size: var(--fs-body);
  color: #202f65;
  line-height: 1.6;
  margin-bottom: 30px;
  font-weight: 500;
  width: 85%;
}

.clinsakids-bottom-cta {
  text-align: center;
}

.clinsakids-bottom-right {
  display: flex;
  justify-content: center;
}

.clinsakids-video-container {
  position: relative;
  width: 708px;
  height: 393px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--c-shadow);
  transition: transform 0.3s ease;
}

.clinsakids-video-container:hover {
  transform: translateY(-4px);
}

.clinsakids-video-player {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: none;
  /* background: #000; */
  object-fit: cover;
}

/* Responsive video */
@media (max-width: 768px) {
  .clinsakids-video-container {
    width: 100%;
    max-width: 500px;
    height: 280px;
  }
}

@media (max-width: 480px) {
  .clinsakids-video-container {
    width: 100%;
    max-width: 400px;
    height: 225px;
  }
}

/* Desktop Layout */
@media (min-width: 900px) {
  .clinsakids-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }

  .clinsakids-bottom-content {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .clinsakids-bottom-left {
    text-align: left;
  }

  .clinsakids-bottom-cta {
    text-align: left;
  }
}

/* Tablet Layout */
@media (min-width: 768px) and (max-width: 899px) {
  .clinsakids-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .clinsakids-card:nth-child(2) {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* Mobile Layout */
@media (max-width: 767px) {
  .clinsakids-section {
    padding: 60px var(--pad-x);
  }

  .clinsakids-header {
    margin-bottom: 40px;
  }

  .clinsakids-grid {
    gap: 30px;
    margin-bottom: 60px;
  }

  .clinsakids-bottom {
    padding: 40px 20px;
  }

  .clinsakids-cta-container {
    flex-direction: column;
    gap: 16px;
  }

  .clinsakids-cta-button {
    padding: 12px 20px;
    font-size: 14px;
  }

  .clinsakids-play-button {
    width: 60px;
    height: 60px;
  }

  .clinsakids-play-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* ================================
   CLINSA COMPANY SECTION
==================================*/
.clinsa-company-section {
  padding: 50px;
  width: 100%;
  margin: 0 auto;
  background: #020B44;
  ;
}

.clinsa-company-content {
  max-width: 100%;
  margin: 0 auto;
}

/* Header */
.clinsa-company-header {
  text-align: center;
  margin-bottom: 60px;
}

.clinsa-company-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.clinsa-company-title-green {
  color: var(--c-green);
}

.clinsa-company-description {
  font-size: var(--fs-body);
  color: #ffffff;
  line-height: 1.6;
  max-width: 90%;
  margin: 0 auto;
  font-weight: 500;
}

/* Main Grid */
.clinsa-company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.clinsa-company-card {
  background: #fff;
  border-radius: 5%;
  box-shadow: var(--c-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.clinsa-company-card-image {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clinsa-company-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px 8px 0px 0px;
}

/* Estilos específicos para la imagen de la tercera card (logo NIOSH) */
.clinsa-company-card-image-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #f8fafc;
}

.clinsa-company-image-logo {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 0;
}

/* Botón "Conocer más" para la tercera card */
.clinsa-company-card-button {
  margin-top: 20px;
}

.clinsa-company-know-more-btn {
  display: inline-block;
  background: var(--c-primary);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(32, 47, 101, 0.2);
}

.clinsa-company-know-more-btn:hover {
  background: var(--c-primary-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(32, 47, 101, 0.3);
}

.clinsa-company-card-content {
  padding: 35px 35px 25px 35px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.clinsa-company-block-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.clinsa-company-block-text {
  color: var(--c-muted);
  line-height: 1.6;
  font-size: 16px;
  margin: 0;
}

/* CTA Section */
.clinsa-company-cta-section {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.clinsa-company-cta-container {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.clinsa-company-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-primary-2);
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 148, 255, 0.25);
  transition: all 0.3s ease;
}

.clinsa-company-cta-button:hover {
  background: #0080e6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 148, 255, 0.35);
}

/* Bottom Section */
.clinsa-company-bottom {
  border-radius: 20px;
}

.clinsa-company-bottom-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.clinsa-company-bottom-left {
  text-align: center;
}

.clinsa-company-bottom-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.clinsa-company-bottom-description {
  font-size: var(--fs-body);
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 30px;
  font-weight: 500;
  width: 85%;
}

.clinsa-company-bottom-cta {
  text-align: center;
}

/* Desktop Layout */
@media (min-width: 900px) {
  .clinsa-company-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }

  .clinsa-company-bottom-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .clinsa-company-bottom-left {
    text-align: center;
  }

  .clinsa-company-bottom-cta {
    text-align: center;
  }
}

/* Tablet Layout */
@media (min-width: 768px) and (max-width: 899px) {
  .clinsa-company-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .clinsa-company-card:nth-child(2) {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* Mobile Layout */
@media (max-width: 767px) {
  .clinsa-company-section {
    padding: 60px var(--pad-x);
  }

  .clinsa-company-header {
    margin-bottom: 40px;
  }

  .clinsa-company-grid {
    gap: 30px;
    margin-bottom: 60px;
  }

  .clinsa-company-bottom {
    padding: 40px 20px;
  }

  .clinsa-company-cta-container {
    flex-direction: column;
    gap: 16px;
  }

  .clinsa-company-cta-button {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* ================================
   WHO WE ARE SECTION
==================================*/
.who-we-are-section {
  background: #f0f5f9;
  padding: 80px 0;
}

.who-we-are-wrap {
  max-width: 90%;
  margin: 0 auto;
  /* padding: 0 var(--pad-x); */
}

.who-we-are-header {
  text-align: center;
  margin: 0 auto 60px;
  width: 90%;
}

.who-we-are-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.who-we-are-description {
  font-size: 18px;
  color: #202f65;
  line-height: 1.6;
  margin: 0 auto;
  font-weight: 500;
}

.who-we-are-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 60px;
}

.feature-card {
  text-align: center;
  padding: 0 20px;
}

.feature-icon-we-are {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.3;
  width: 90%;
  margin: 0 auto 20px;
}

.feature-description {
  font-size: 14px;
  color: #202F65;
  line-height: 2;
  text-align: center;
  font-weight: 500;
}

.who-we-are-cta {
  text-align: center;
}

.who-we-are-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #202F65;
  color: #ffffff;
  padding: 11.5px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
  transition: all 0.3s ease;
}

.who-we-are-button:hover {
  background: rgb(16, 25, 60);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
}

.cta-arrow {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

/* Botón outline verde */
.cta-chip-outline {
  display: inline-flex;
  align-items: center;
  gap: 0px;
  background: transparent;
  color: #87B963;
  border: 2px solid #87B963;
  padding: 8px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(135, 185, 99, 0.25);
  transition: all 0.3s ease;
}

.cta-chip-outline:hover {
  background: #87B963;
  color: #ffffff;
}

.cta-chip-outline .cta-arrow {
  width: 27px;
  height: 27px;
  filter: brightness(0) saturate(100%) invert(67%) sepia(25%) saturate(1200%) hue-rotate(60deg) brightness(95%) contrast(85%);
}

.cta-chip-outline:hover .cta-arrow {
  filter: brightness(0) invert(1);
}

/* Responsive para Who We Are */
@media (max-width: 768px) {
  .who-we-are-section {
    padding: 60px 0;
  }

  .who-we-are-title {
    font-size: 36px;
  }

  .who-we-are-description {
    font-size: 16px;
  }

  .who-we-are-features {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-card {
    padding: 0 10px;
  }

  .feature-title {
    font-size: 20px;
  }

  .feature-description {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .who-we-are-section {
    padding: 40px 0;
  }

  .who-we-are-title {
    font-size: 28px;
  }

  .who-we-are-description {
    font-size: 14px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
  }

  .feature-title {
    font-size: 18px;
  }

  .who-we-are-button {
    padding: 14px 24px;
    font-size: 14px;
  }
}

/* ================================
   LOGIN PAGE DESIGN
==================================*/

/* Contenedor principal de la página de login */
.login-page-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 20px;
}

/* Contenedor del login centrado */
.login-container {
  width: 418px;
  height: 532px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 25px 0px 140px 0px;
}

/* Logo centrado arriba */
.login-logo {
  margin-bottom: 15px;
}

.login-logo img {
  width: 99px;
  height: 98px;
}

/* Tarjeta de login */
.login-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 40px 35px;
  width: 100%;
  box-sizing: border-box;
}

/* Título de bienvenida */
.login-welcome {
  text-align: center;
  margin-bottom: 15px;
}

.login-welcome h2 {
  font-size: 27px;
  font-weight: 600;
  color: var(--c-primary);
  margin: 0 0 8px 0;
}

.login-welcome p {
  font-size: 16px;
  color: #919399;
  margin: 0;
}

/* Campos de formulario */
.login-form-group {
  /* margin-bottom: 25px; */
}

.login-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-top: 25px;
  color: var(--c-primary);
  margin-bottom: 8px;
}

/* Campos de entrada */
.login-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #74AA4D;
  background: transparent;
  font-size: 16px;
  color: var(--c-primary);
  outline: none;
  transition: border-color 0.3s ease;
}

.login-input:focus {
  border-bottom-color: #5a8a3a;
}

/* Opciones (checkbox y enlace) */
.login-options {
  display: block;
  margin-bottom: 20px;
  width: 100%;
}

.login-checkbox-group {
  display: block;
  margin-bottom: 15px;
}

.login-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--c-primary);
  border: 2px solid var(--c-primary);
  background: white;
  cursor: pointer;
  vertical-align: middle;
  margin-right: 8px;
}

.login-checkbox-label {
  font-size: 16px;
  color: var(--c-primary);
  cursor: pointer;
  font-weight: 600;
  user-select: none;
  vertical-align: middle;
}

.login-forgot {
  color: var(--c-green);
  text-decoration: none;
  font-size: 16px;
  display: block;
  transition: color 0.3s ease;
  font-weight: 600;
  text-align: right;
}

.login-forgot:hover {
  color: var(--c-primary);
  text-decoration: underline;
}


/* Botón de login */
.login-submit {
  width: 100%;
  height: 37px;
  background: #74AA4D;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(116, 170, 77, 0.3);
}

.login-submit:hover {
  background: #5a8a3a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(116, 170, 77, 0.4);
}

/* Responsive para login */
@media (max-width: 768px) {

  .login-checkbox-label,
  .login-forgot {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .login-checkbox-group {
    gap: 6px;
  }

  .login-checkbox {
    width: 16px;
    height: 16px;
  }

  .login-checkbox-label,
  .login-forgot {
    font-size: 13px;
  }
}