/* ═══════════════════════════════════════════════════════
   ODONTOLIAN – styles.css
═══════════════════════════════════════════════════════ */

:root {
  --azul-900: #143241;
  --azul-800: #1A4255;
  --azul-700: #22556d;
  --azul-500: #30789a;
  --teal-btn: #06a7a1;
  --morado-dark: #5f4c95;
  --morado-200: #b5adce;
  --cases-bg: #74cecb;
  --white: #ffffff;
  --black: #000000;

  --grad-brand: linear-gradient(90deg, var(--teal-btn), var(--morado-dark));
  --grad-text:  linear-gradient(90deg, #06a7a1 0%, #4f83c0 55%, #5f4c95 100%);
  --btn-blue:   linear-gradient(180deg, var(--teal-btn), #3E6B99);

  --font-inter: "Reddit Sans", "Montserrat", system-ui, sans-serif;
  --h1: clamp(42px, 5.5vw, 65px);
  --h2: clamp(34px, 4vw, 55px);
  --h3: clamp(26px, 3vw, 45px);
  --p: 16px;

  --radius-lg: 30px;
  --radius-md: 20px;
  --container-max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-inter);
  font-size: var(--p);
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__title {
  margin: 0 0 16px;
  font-size: var(--h2);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--azul-900);
}
.section__subtitle {
  margin: 0 auto 48px;
  max-width: 660px;
  text-align: center;
  font-size: var(--p);
  line-height: 1.55;
  color: var(--azul-700);
}
.section { padding: 50px 0; }

/* ── BOTONES ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  min-height: 38px;
  max-height: 54px;
  font-family: var(--font-inter);
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: var(--grad-brand);
  color: var(--white);
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.btn:hover { opacity: .9; transform: translateY(-1px); }
.btn--lg   { padding: 14px 36px; min-height: 54px; font-size: 19px; }
.btn_blue  { background: var(--btn-blue); }
.btn--text {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--black);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  background: none;
  border-radius: 0;
}
.btn--text:hover { color: var(--azul-700); }

/* ═══════════════════════════════════════════════════════
   SITE-TOP: banner + header juntos, siempre sticky
   Clave: position:sticky en el wrapper, no en las partes
═══════════════════════════════════════════════════════ */
.site-top {
  position: sticky;
  top: 0;
  z-index: 100;
  /* sombra sutil debajo */
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* ── BANNER ── */
.top-bar {
  background: linear-gradient(90deg, #cfe9e8 0%, #d6d3e5 100%);
  display: flex;
  align-items: center;
  max-height: 100px;
  min-height: 100px;
  overflow: hidden;
  position: relative;
  transition: max-height .45s ease, min-height .45s ease;
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.top-bar__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 0;
  min-width: 0;
}
.top-bar__promo { margin: 0 0 6px; font-size: 26px; font-weight: 700; color: #2d596d; line-height: 1.15; }
.top-bar__row   { display: flex; align-items: center; gap: 14px; }
.top-bar__icon  { width: 40px; height: auto; flex-shrink: 0; }
.top-bar__text  { display: flex; flex-direction: column; line-height: 1.1; }
.top-bar__eval  { margin: 0 0 3px; font-size: var(--p); color: var(--azul-500); }
.top-bar__promo2 {
  margin: 0; font-size: 16px; font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.top-bar__right { height: 100px; width: 395px; overflow: hidden; flex-shrink: 0; }
.top-bar__right img { height: 100%; width: auto; object-fit: cover; }

/* Mini bar: se alinea con el logo del nav */
.top-bar__mini {
  opacity: 0;
  position: absolute;
  left: max(24px, calc((100% - var(--container-max)) / 2 + 24px));
  right: 24px;
  top: 0;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: opacity .3s ease;
  pointer-events: none;
}
/* Estado colapsado */
.top-bar.collapsed { max-height: 42px; min-height: 42px; }
.top-bar__left, .top-bar__right { transition: opacity .3s ease; }
.top-bar.collapsed .top-bar__left,
.top-bar.collapsed .top-bar__right { opacity: 0; pointer-events: none; }
.top-bar.collapsed .top-bar__mini  { opacity: 1; pointer-events: auto; }

.top-bar__mini-text { font-weight: 600; color: var(--azul-700); font-size: 15px; }
.top-bar__mini-btn {
  border: none; padding: 6px 16px; border-radius: 999px;
  background: var(--grad-brand); color: white;
  font-size: 14px; font-weight: 700; cursor: pointer; flex-shrink: 0;
}

/* ── HEADER ── */
.header {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  /* sin box-shadow propio: lo gestiona .site-top */
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px;
}
.nav__logo-img { height: 72px; width: auto; margin: 8px 0; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { font-size: 17px; font-weight: 500; color: var(--black); transition: color .2s; }
.nav__links a:hover { color: var(--azul-700); }
.nav__cta { margin-left: 8px; }

.menu-btn {
  display: none;
  width: 56px; height: 56px;
  border: none; background: transparent; padding: 0;
  cursor: pointer; flex-shrink: 0;
}
.menu-btn img { width: 100%; height: 100%; object-fit: contain; }

/* ═══════════════════════════════════════════════════════
   MENÚ MÓVIL – overlay de pantalla completa, desliza desde derecha
═══════════════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 300;
  /* empieza fuera de pantalla a la derecha */
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-menu__diente-bg {
  position: absolute;
  width: 280px;
  bottom: 40px; right: -40px;
  opacity: .10;
  pointer-events: none;
  transform: rotate(-15deg);
}

.mobile-menu__inner {
  position: relative; z-index: 1;
  height: 100%;
  background: var(--white);
  display: flex; flex-direction: column;
  padding: 24px 28px 32px;
  overflow-y: auto;
}

.mobile-menu__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.mobile-menu__logo  { height: 52px; width: auto; }
.mobile-menu__close {
  background: none; border: none; font-size: 22px;
  cursor: pointer; color: var(--azul-700); padding: 8px;
}

.mobile-menu__title-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.mobile-menu__dona  { width: 36px; height: 36px; object-fit: contain; }
.mobile-menu__title { margin: 0; font-size: 26px; font-weight: 700; color: var(--azul-900); }

.mobile-menu__links { flex: 1; }
.mobile-menu__links li a {
  display: block; padding: 16px 0;
  font-size: 20px; font-weight: 500; color: var(--black);
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: color .2s;
}
.mobile-menu__links li a:hover { color: var(--azul-700); }

.mobile-menu__social {
  display: flex; gap: 18px; margin-top: 28px; justify-content: center;
}
.mobile-menu__social img { width: 40px; height: 40px; object-fit: contain; }

/* ═══════════════════════════════════════════════════════
   2. HERO
═══════════════════════════════════════════════════════ */
.hero { padding: 20px 0 80px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero__eyebrow { margin: 0 0 14px; font-size: 14px; font-weight: 500; color: #8a8f94; }
.hero__title { margin: 0 0 20px; font-size: var(--h1); font-weight: 800; line-height: 1; color: var(--black); }
.hero__desc  { margin: 0 0 36px; font-size: 17px; line-height: 1.55; color: #222; max-width: 520px; }
.hero__cta   { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero__visual {
  position: relative; min-height: 480px;
  display: flex; align-items: center; justify-content: center;
}

/* Blobs eliminados por decisión de diseño */
.hero__blob { display: none; }

/* dientes_svg: centrado detrás de la foto — z-index 0 para que la foto lo tape */
.hero__diente-bg {
  position: absolute;
  width: 290%;
  max-width: 750px;
  left: 40%;
  top: 50%;
  transform: translate(-40%, -50%);
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}
.hero__photo {
  position: relative; z-index: 1;
  width: 90%; max-width: 540px;
  border-radius: var(--radius-lg); object-fit: cover;
  box-shadow: 0 20px 60px rgba(22,57,75,.15);
}

/* ═══════════════════════════════════════════════════════
   3. CONFIANZA
═══════════════════════════════════════════════════════ */
.confianza { padding: 72px 0 80px; }
.confianza__title { font-size: var(--h2); font-weight: 700; text-align: center; letter-spacing: -.03em; margin: 0 0 56px; color: var(--azul-900); }
.confianza__grid  { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center; }
.confianza__stat  { margin: 0 0 14px; font-size: clamp(52px,5vw,80px); font-weight: 800; letter-spacing: -.05em; line-height: .95; }
.confianza__label { margin: 0; font-size: 22px; font-weight: 700; color: var(--black); line-height: 1.25; }

/* ═══════════════════════════════════════════════════════
   4. ¿POR QUÉ?
═══════════════════════════════════════════════════════ */
.porque { background: var(--morado-dark); padding: 80px 0; }
.porque__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.porque__image { border-radius: var(--radius-lg); overflow: hidden; }
.porque__image img { width: 100%; height: 440px; object-fit: cover; }
.porque__content { color: var(--white); }
.porque__content h2 { margin: 0 0 20px; font-size: var(--h2); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.porque__content > p { margin: 0 0 30px; font-size: 17px; line-height: 1.55; opacity: .95; }
.porque__list { margin: 0 0 36px; display: grid; gap: 14px; }
.porque__list li { display: flex; align-items: center; gap: 14px; font-size: 17px; line-height: 1.45; font-weight: 600; }
.porque__icon { width: 26px; height: 26px; flex-shrink: 0; filter: brightness(0) invert(1); }

/* ═══════════════════════════════════════════════════════
   5. ALIADOS
═══════════════════════════════════════════════════════ */
.aliados { padding: 50px 0; }
.aliados__header { margin-bottom: 44px; }
.aliados__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.aliados__card {
  background: linear-gradient(160deg, #8a9a87 0%, #6a7866 100%);
  border-radius: var(--radius-lg); padding: 32px;
  display: grid; grid-template-columns: 200px 1fr; gap: 28px;
  align-items: center; min-height: 200px;
}
.aliados__logo-box {
  background: rgba(255,255,255,.96); border-radius: var(--radius-md);
  padding: 0; display: flex; align-items: center; justify-content: center; min-height: 140px;
}
.aliados__logo-box img { max-width: 100%; max-height: 160px; object-fit: contain; border-radius: var(--radius-lg); }
.aliados__list { color: var(--white); display: grid; gap: 14px; }
.aliados__list li { display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 1.4; }
.aliados__check { width: 20px; height: 20px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   6. TRATAMIENTOS
═══════════════════════════════════════════════════════ */
.tratamientos { padding: 50px 0; }
.tratamientos__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px 36px; margin-top: 52px; }
.t-card { text-align: center; }
.t-card__img { border-radius: var(--radius-lg); overflow: hidden; height: 240px; background: #dff2f1; margin-bottom: 18px; }
.t-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.t-card:hover .t-card__img img { transform: scale(1.04); }
.t-card h3 { margin: 0 0 10px; font-size: 22px; font-weight: 700; color: var(--azul-500); }
.t-card p  { margin: 0 auto; max-width: 320px; font-size: 15px; line-height: 1.45; color: #222; }
.tratamientos__more {
  display: block; width: fit-content; margin: 36px auto 0;
  font-size: 18px; color: #8a8a86;
  border-bottom: 1.5px solid rgba(138,138,134,.5); padding-bottom: 3px; transition: color .2s;
}
.tratamientos__more:hover { color: var(--azul-500); }

/* ═══════════════════════════════════════════════════════
   7. CASOS REALES
═══════════════════════════════════════════════════════ */
.casos { padding: 50px 0; }
.casos__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 48px; }
.caso-card { background: var(--cases-bg); border-radius: var(--radius-lg); padding: 22px; color: var(--white); text-align: center; }
.caso-card__images {
  position: relative;
  /* altura fija para que la sonrisa siempre se vea */
  height: 220px;
  border-radius: var(--radius-md); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 18px;
}
.caso-card__images img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.caso-card__divider {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 6px; height: 100%; background: rgba(255,255,255,.95); z-index: 2;
}
.caso-card__labels {
  position: absolute; inset: 14px 16px auto 16px;
  display: flex; justify-content: space-between;
  z-index: 3; font-size: 24px; font-weight: 800;
  text-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.caso-card h3 { margin: 0 0 10px; font-size: 22px; font-weight: 700; line-height: 1.15; }
.caso-card p  { margin: 0; font-size: 15px; line-height: 1.4; opacity: .95; }

/* ═══════════════════════════════════════════════════════
   8. TESTIMONIOS
═══════════════════════════════════════════════════════ */
.testimonios-section { padding-top: 50px; }
.testimonios-section__title { margin-bottom: 0; padding-bottom: 36px; }
.testimonios { background: var(--morado-200); padding: 36px 0 48px; }
.testimonios__wrap { display: flex; align-items: center; gap: 16px; }

.testimonios__nav {
  flex-shrink: 0; width: 50px; height: 50px;
  background: none; border: none; padding: 0; cursor: pointer; z-index: 5;
  transition: transform .2s;
}
.testimonios__nav:hover { transform: scale(1.1); }
.testimonios__nav svg { width: 100%; height: 100%; }

.testimonios__slider { flex: 1; overflow: hidden; }
.testimonios__track {
  display: grid;
  /* JS sobreescribe esto según modo */
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}
.testi-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px 32px; text-align: center;
}
.testi-card__avatar {
  width: 130px; height: 130px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 16px; border: 3px solid #e8e4f3;
}
.testi-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-card__stars { margin-bottom: 14px; }
.testi-card__stars img { height: 24px; width: auto; margin: 0 auto; }
.testi-card h3 { margin: 0 0 12px; font-size: 22px; font-weight: 700; color: var(--azul-700); }
.testi-card p  { margin: 0; font-size: 15px; line-height: 1.55; color: #333; }

.testimonios__dots { display: none; justify-content: center; gap: 10px; margin-top: 28px; }
.testi-dot {
  width: 10px; height: 10px; border-radius: 50%; border: none;
  background: rgba(95,76,149,.3); cursor: pointer; padding: 0;
  transition: background .2s, transform .2s;
}
.testi-dot--active { background: var(--morado-dark); transform: scale(1.3); }

/* ═══════════════════════════════════════════════════════
   9. ATENCIÓN
═══════════════════════════════════════════════════════ */
.atencion { padding: 55px 0 0; }
.atencion__title { padding-bottom: 56px; }
.atencion__bg {
  position: relative; padding: 72px 0 90px; background: transparent;
}
.atencion__bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #e8f7f6 0%, #ddf1f0 100%);
  transform: skewY(5deg); transform-origin: top left; z-index: -1;
}
.atencion__bg > .container { position: relative; z-index: 1; }
.atencion__steps { display: flex; flex-direction: column; gap: 80px; }
.atencion__step  { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.atencion__step-header { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.atencion__num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad-brand); color: var(--white);
  font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.atencion__step-header h3 { margin: 0; font-size: clamp(28px,3.5vw,42px); font-weight: 700; letter-spacing: -.03em; color: var(--azul-900); line-height: 1.05; }
.atencion__step-content { display: flex; flex-direction: column; align-items: flex-start; }
.atencion__step-content > p { margin: 0 0 20px; font-size: 16px; line-height: 1.55; color: #333; max-width: 440px; }
.atencion__step-img { border-radius: var(--radius-lg); overflow: hidden; }
.atencion__step-img img { width: 100%; height: 360px; object-fit: cover; }

/* ═══════════════════════════════════════════════════════
   10. FAQ
═══════════════════════════════════════════════════════ */
.faq { padding: 80px 0; }
.faq .section__title { margin-bottom: 48px; }
.faq__list { max-width: 880px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid rgba(22,57,75,.14); }
.faq__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 26px 4px; background: none; border: none; cursor: pointer;
  text-align: left; font-family: var(--font-inter);
  font-size: clamp(18px,2vw,24px); font-weight: 400; color: var(--azul-700); gap: 16px; transition: color .2s;
}
.faq__btn:hover { color: var(--azul-900); }
.faq__btn[aria-expanded="true"] { color: var(--azul-900); font-weight: 600; }
.faq__icon {
  flex-shrink: 0; width: 32px; height: 32px;
  font-size: 28px; font-weight: 300; color: var(--azul-500); line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.faq__answer { padding: 0 8px 24px; }
.faq__answer p { margin: 0; font-size: 16px; line-height: 1.6; color: #333; }

/* ═══════════════════════════════════════════════════════
   11. SEDES
═══════════════════════════════════════════════════════ */
.sedes { background: var(--morado-200); padding: 64px 0 72px; }
.sedes .section__title { margin-bottom: 48px; color: var(--azul-900); }
.sedes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.sede-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.12); }

/* Mapa con iframe */
.sede-card__map-link { display: block; position: relative; cursor: pointer; }
.sede-card__map {
  position: relative;
  height: 260px; overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.sede-card__map iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  pointer-events: auto; /* iframe interactivo */
}
/* Overlay informativo — sin hover de color verde */
.sede-card__map-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 12px 16px;
  color: var(--white); font-size: 13px; font-weight: 700;
  opacity: 0;
  pointer-events: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.sede-card__body { padding: 20px 28px 26px; text-align: center; }
.sede-card__body h3 { margin: 0 0 10px; font-size: 28px; font-weight: 500; line-height: 1.1; }
.sede-card__address { margin: 0 0 6px; font-size: 14px; color: #444; }
.sede-card__phone {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--azul-700);
  cursor: pointer;
}
.sede-card__phone:hover { opacity: .8; }
.sede-card__phone-icon { width: 18px; height: 18px; flex-shrink: 0; }
.sede-card__ref { margin: 0 0 14px; font-size: 13px; color: #666; line-height: 1.4; }
.sede-card__hours-title { margin: 0 0 4px; font-size: 20px; font-weight: 700; color: var(--azul-700); }
.sede-card__hours { margin: 0; font-size: 14px; color: #444; line-height: 1.55; }

/* ═══════════════════════════════════════════════════════
   12. CTA FINAL
═══════════════════════════════════════════════════════ */
.cta-final { padding: 40px 0 60px; }
.cta-final__box {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 320px; display: grid; place-items: center; text-align: center;
}
.cta-final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-final__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(220,244,242,.88) 0%, rgba(255,255,255,.78) 50%, rgba(220,244,242,.84) 100%);
  z-index: 1; opacity: .85;
}
.cta-final__content { position: relative; z-index: 2; width: min(800px, calc(100% - 48px)); padding: 52px 24px; }
.cta-final__content h2 { margin: 0 0 14px; font-size: clamp(28px,3.8vw,50px); font-weight: 700; letter-spacing: -.03em; color: var(--azul-900); line-height: 1.1; }
.cta-final__content p  { margin: 0 auto 28px; max-width: 560px; font-size: 17px; line-height: 1.5; color: #333; }

/* ═══════════════════════════════════════════════════════
   13. FOOTER
═══════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid rgba(22,57,75,.12);
  background: var(--white); color: var(--black); padding: 50px 0 0;
}
.footer__grid {
  display: grid; grid-template-columns: 1.3fr 0.9fr 0.7fr 1.4fr;
  gap: 40px; align-items: start;
  padding-bottom: 48px; border-bottom: 1px solid rgba(0,0,0,.08);
}
.footer__logo { width: 280px; margin-bottom: 14px; }
.footer__brand p { margin: 0 0 6px; font-size: 15px; }
.footer__social { display: flex; gap: 22px; margin-top: 18px; }
.footer__social img { width: 38px; height: 38px; object-fit: contain; transition: opacity .2s; }
.footer__social a:hover img { opacity: .75; }

.footer__info h4,
.footer__links h4 {
  margin: 0 0 12px; font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--azul-800);
}
.footer__info p { margin: 0 0 16px; font-size: 14px; line-height: 1.55; }

.footer__links ul { display: grid; gap: 10px; }
/* Cada link con el dona al lado */
.footer__link-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; transition: color .2s;
}
.footer__link-item:hover { color: var(--azul-700); }
.footer__links-dona { width: 8px; height: 8px; flex-shrink: 0; object-fit: contain; }
.footer__legal { margin: 18px 0 0; font-size: 13px; opacity: .6; }
.footer__legal a { text-decoration: underline; }

.footer__contact { background: var(--morado-dark); border-radius: var(--radius-lg); padding: 36px 28px; }
.footer__contact h3 { margin: 0 0 12px; font-size: clamp(24px,2.5vw,36px); font-weight: 500; line-height: 1.1; color: var(--white); }
.footer__contact p  { margin: 0 0 22px; font-size: 15px; line-height: 1.5; color: var(--white); opacity: .92; }
.footer__bottom { padding: 18px 0; text-align: center; font-size: 13px; opacity: .55; }

/* ═══════════════════════════════════════════════════════
   POLÍTICA DE PRIVACIDAD
═══════════════════════════════════════════════════════ */
.politica { padding: 64px 0 80px; }
.politica__content {
  max-width: 760px; margin: 0 auto;
}
.politica__title {
  font-size: clamp(32px, 4vw, 52px); font-weight: 800;
  color: var(--azul-900); letter-spacing: -.03em;
  margin: 0 0 12px;
}
.politica__date { font-size: 14px; color: #888; margin: 0 0 48px; }
.politica__section { margin-bottom: 40px; }
.politica__section h2 { font-size: 22px; font-weight: 700; color: var(--azul-700); margin: 0 0 12px; }
.politica__section p  { font-size: 16px; line-height: 1.7; color: #333; margin: 0 0 10px; }
.politica__section ul { padding-left: 20px; list-style: disc; margin: 0; }
.politica__section ul li { font-size: 16px; line-height: 1.7; color: #333; margin-bottom: 6px; }

/* ═══════════════════════════════════════════════════════
   PÁGINA TRATAMIENTOS
═══════════════════════════════════════════════════════ */
.tratamientos-page__hero { padding: 50px 0 10px; text-align: center; }
.tratamientos-page__title { margin: 0 0 16px; font-size: var(--h1); font-weight: 800; letter-spacing: -.04em; color: var(--azul-900); line-height: 1.05; }
.tratamientos-page__sub  { margin: 0 auto; max-width: 580px; font-size: 18px; line-height: 1.5; color: var(--azul-700); }
.tratamientos-page__grid-section { padding: 0 0 64px; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE – TABLET ≤ 1024px
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  /* Banner tablet: estilo compacto */
  .top-bar__promo { display: none; }
  .top-bar__eval  { display: none; }
  .top-bar__left  { flex-direction: row; align-items: center; gap: 12px; padding-right: 160px; }
  .top-bar__text::before {
    content: "Cuida la sonrisa de tus hijos este regreso a clases";
    font-weight: 600; margin-bottom: 4px; color: var(--azul-700); font-size: 14px; display: block;
  }
  .top-bar__text { font-size: 14px; color: var(--azul-500); }
  .top-bar__text p { margin: 0; }
  .top-bar__right { position: absolute; right: 0; top: 0; width: 150px; height: 100%; }
  .top-bar__right img { height: 100%; width: auto; object-fit: cover; }

  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .menu-btn   { display: flex; align-items: center; justify-content: center; }

  .hero__inner    { grid-template-columns: 1fr; gap: 36px; }
  .hero__content  { order: 1; }
  .hero__visual   { order: 2; min-height: 360px; }
  .hero__photo    { width: 100%; max-width: 540px; margin: 0 auto; }
  .hero__diente-bg { width: 100%; max-width: 820px; }

  .confianza__grid { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .porque__inner   { grid-template-columns: 1fr; }
  .porque__image img { height: 340px; }
  .aliados__grid   { grid-template-columns: 1fr; }
  .aliados__card   { grid-template-columns: 180px 1fr; }
  .tratamientos__grid { grid-template-columns: repeat(2,1fr); }

  /* Casos: 1 columna para que la imagen se vea bien */
  .casos__grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }

  .testimonios__track { grid-template-columns: repeat(4,100%); gap: 0; }
  .testimonios__dots  { display: flex; }

  .atencion__step { grid-template-columns: 1fr; gap: 28px; }
  .atencion__step--reverse .atencion__step-img     { order: 2; }
  .atencion__step--reverse .atencion__step-content { order: 1; }
  .atencion__step-img img { height: 280px; }

  .sedes__grid { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__contact { grid-column: 1 / -1; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE – ENTRE TABLET Y MÓVIL 452–750px
   Casos: imagen más pequeña para que se vea la sonrisa
═══════════════════════════════════════════════════════ */
@media (max-width: 750px) and (min-width: 452px) {
  .casos__grid { grid-template-columns: 1fr; max-width: 420px; }
  .caso-card__images { height: 180px; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE – MÓVIL ≤ 767px
═══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  :root { --h1: 38px; --h2: 32px; --h3: 24px; }

  .top-bar { min-height: 60px; max-height: 120px; }
  .top-bar__left { padding-right: 110px; }
  .top-bar__right { width: 110px; }

  .nav { height: 72px; }
  .nav__logo-img { height: 56px; }

  .hero { padding: 32px 0 48px; }
  .hero__desc { font-size: 15px; }
  .hero__cta  { gap: 16px; }
  .hero__visual { min-height: 260px; }
  .hero__diente-bg { margin-top:10px;width: 140%; max-width: 750px; }

  .confianza { padding: 48px 0 56px; }
  .confianza__grid { gap: 28px 20px; }
  .confianza__stat  { font-size: 46px; }
  .confianza__label { font-size: 16px; }

  .porque { padding: 48px 0; }
  .porque__inner { gap: 0; }
  .porque__image { border-radius: 30px; }
  .porque__image img { height: 240px; }
  .porque__content { padding: 32px 20px 36px; }

  .aliados__card { grid-template-columns: 1fr; text-align: center; }
  .aliados__logo-box { max-width: 180px; margin: 0 auto; }
  .aliados__list li { justify-content: center; }

  .tratamientos__grid { grid-template-columns: 1fr; }
  .t-card__img { height: 210px; }

  .casos__grid { max-width: 100%; }
  .caso-card__images { height: 200px; }
  .caso-card__labels { font-size: 18px; }

  .testimonios__nav { width: 38px; height: 38px; }

  .atencion { padding: 48px 0 0; }
  .atencion__bg { padding: 48px 0 60px; }
  .atencion__steps { gap: 44px; }
  .atencion__step-img img { height: 240px; }

  .faq { padding: 60px 0; }
  .faq__btn { font-size: 17px; }

  .sedes { padding: 52px 0 60px; }
  .sedes__grid { max-width: 100%; }
  .sede-card__map { height: 220px; }
  .sede-card__map iframe { height: 220px; }
  .sede-card__body { padding: 16px 18px 22px; }
  .sede-card__body h3 { font-size: 22px; }

  .cta-final { padding: 40px 0 50px; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__contact { grid-column: auto; }
  .footer__logo { width: 220px; }
}

/* Banner en pantallas muy grandes */
@media (min-width: 1091px) {
  .top-bar__right { height: 100px; width: 395px; }
}