/* ============================================================
   Odontología Elizabeth Baquero — Rediseño total del index
   Sistema de diseño autocontenido (DentEP Studio · teal + Fraunces)
   No depende de las hojas antiguas. Toda la info se conserva.
   ============================================================ */

/* ---------------- Tokens ---------------- */
:root {
  --teal: #017D7F;
  --teal-deep: #017D7F;
  --teal-bright: #017D7F;
  --ink: #434343;
  --ink-soft: #434343;
  --mist: #f7f6f6;
  --mist-2: #f7f6f6;
  --paper: #ffffff;
  --text: #434343;
  --muted: #434343;
  --line: rgba(1, 125, 127, 0.16);
  --wa: #25d366;

  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --sh-sm: 0 4px 14px rgba(1, 125, 127, 0.08);
  --sh-md: 0 14px 34px rgba(1, 125, 127, 0.14);
  --sh-lg: 0 28px 60px rgba(1, 125, 127, 0.20);

  --r: 18px;
  --r-lg: 28px;
  --maxw: 1200px;
  --nav-h: 74px;
}

/* ---------------- Reset base ---------------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.1; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

/* Encabezado de sección */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.sec-head h2 { font-weight: 600; font-size: clamp(30px, 4.2vw, 48px); }
.sec-head h2 .accent { color: var(--teal); font-style: italic; }
.sec-head p { color: var(--muted); margin-top: 16px; font-size: 18px; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  will-change: transform;
}
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 12px 26px rgba(1, 125, 127, 0.35); }
.btn--primary:hover { background: var(--teal-deep); transform: translateY(-3px); box-shadow: 0 18px 34px rgba(1, 125, 127, 0.45); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 12px 26px rgba(37, 211, 102, 0.35); }
.btn--wa:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(37, 211, 102, 0.45); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-3px); }

/* ---------------- Barra superior ---------------- */
.topbar {
  background: var(--ink);
  color: #f7f6f6;
  font-family: var(--body);
  font-size: 14px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #ffffff; font-weight: 600; }
.topbar a:hover { color: #fff; }
.topbar__pay { color: #f7f6f6; }
.topbar__pay b { color: #fff; font-weight: 700; }
@media (max-width: 720px) { .topbar__pay { display: none; } .topbar .wrap { justify-content: center; } }

/* ---------------- Header / Nav ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--teal);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav.scrolled { background: var(--teal-deep); box-shadow: 0 6px 24px rgba(1, 125, 127, 0.25); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo img { height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-family: var(--body); font-weight: 600; font-size: 15px; color: #ffffff; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: #fff; transition: width 0.25s ease; }
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav__links a.urg { color: #ffffff; font-weight: 700; }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__cta .btn { padding: 11px 22px; font-size: 14.5px; }
.nav .btn--primary { background: #fff; color: var(--teal-deep); box-shadow: 0 8px 18px rgba(1, 125, 127, 0.25); }
.nav .btn--primary:hover { background: var(--teal-bright); color: #fff; }
.nav .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.nav .btn--ghost:hover { background: #fff; color: var(--teal-deep); border-color: #fff; }
.nav__toggle { display: none; background: none; border: 0; font-size: 26px; color: #fff; }

@media (max-width: 980px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: block; }
}
/* Menú móvil */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(82vw, 340px);
  background: #fff;
  z-index: 200;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -20px 0 50px rgba(1, 125, 127, 0.18);
  padding: 26px 26px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__close { align-self: flex-end; background: none; border: 0; font-size: 26px; color: var(--ink); margin-bottom: 10px; }
.mobile-menu a { font-family: var(--body); font-weight: 600; font-size: 18px; color: var(--ink); padding: 13px 8px; border-bottom: 1px solid var(--mist); }
.mobile-menu a.urg { color: #017d7f; }
.mobile-menu .btn { margin-top: 18px; justify-content: center; }
.scrim { position: fixed; inset: 0; background: rgba(1, 125, 127, 0.45); z-index: 150; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
.scrim.show { opacity: 1; visibility: visible; }

/* ---------------- Hero ---------------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% -10%, var(--mist) 0%, var(--paper) 55%); padding: clamp(40px, 7vw, 84px) 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: 40px; background: radial-gradient(circle, rgba(1, 125, 127, 0.16), transparent 68%); border-radius: 50%; z-index: 0; }
.hero .wrap { position: relative; z-index: 1; text-align: center; }
.hero__banner { max-width: 1080px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid var(--line); }
.hero__banner img { width: 100%; height: auto; display: block; }

/* Hero enriquecido: fondo, etiqueta, tarjetas flotantes, confianza */
.hero { padding-bottom: clamp(66px, 9vw, 116px); }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(64px); z-index: 0; opacity: 0.6; pointer-events: none; }
.hero__blob--1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(1, 125, 127, 0.38), transparent 70%); top: -130px; left: -110px; }
.hero__blob--2 { width: 540px; height: 540px; background: radial-gradient(circle, rgba(1, 125, 127, 0.28), transparent 70%); bottom: -200px; right: -130px; }
.hero__grid { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(rgba(1, 125, 127, 0.11) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 38%, #000 28%, transparent 74%); mask-image: radial-gradient(ellipse 70% 62% at 50% 38%, #000 28%, transparent 74%); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--body); font-weight: 700; font-size: 13.5px; letter-spacing: 0.03em; color: var(--teal-deep); background: rgba(1, 125, 127, 0.14); border: 1px solid rgba(1, 125, 127, 0.24); padding: 9px 20px; border-radius: 999px; margin-bottom: 32px; }
.hero__eyebrow i { color: #017d7f; }
.hero__stage { position: relative; max-width: 1100px; margin: 0 auto; }
.hero__banner { position: relative; z-index: 2; box-shadow: 0 30px 72px rgba(1, 125, 127, 0.22); }
.hero__banner::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); box-shadow: inset 0 0 0 6px rgba(1, 125, 127, 0.10); pointer-events: none; }
.hero__chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; text-align: left; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: var(--sh-md); border-radius: 16px; padding: 12px 16px; animation: floatChip 4.6s ease-in-out infinite; animation-delay: var(--f, 0s); }
.hero__chip i { color: var(--teal); font-size: 22px; }
.hero__chip b { display: block; font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 17px; line-height: 1.05; }
.hero__chip span { font-family: var(--body); font-size: 12px; color: var(--muted); }
.hero__chip--tl { top: 24px; left: -34px; }
.hero__chip--tr { top: -26px; right: 26px; }
.hero__chip--br { bottom: 28px; right: -34px; }
.hero__stars { color: #017d7f; font-size: 15px; letter-spacing: 2px; line-height: 1; }
@keyframes floatChip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 30px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-weight: 600; font-size: 14.5px; color: var(--muted); }
.hero__trust i { color: var(--teal); }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--teal); background: #fff; box-shadow: var(--sh-md); animation: bob 1.9s ease-in-out infinite; }
.hero__scroll:hover { color: #fff; background: var(--teal); }
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
@media (max-width: 820px) {
  .hero__chip { display: none; }
  .hero__scroll { display: none; }
  .hero__eyebrow { font-size: 12.5px; padding: 8px 16px; }
}

.hero__title { font-weight: 600; font-size: clamp(38px, 5.6vw, 68px); letter-spacing: -0.02em; }
.hero__title em { font-style: italic; color: var(--teal); }
.hero__lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); margin-top: 22px; max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; justify-content: center; }
.hero__stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero__stats .num { font-family: var(--display); font-weight: 600; font-size: 34px; color: var(--ink); line-height: 1; }
.hero__stats .lbl { font-family: var(--body); font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* Slider del hero */
.hero__media { position: relative; }
.slider { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4 / 5; background: var(--mist); }
.slider__track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide__cta { position: absolute; left: 22px; bottom: 22px; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; gap: 8px; justify-content: center; z-index: 3; }
.slider__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.6); transition: transform 0.25s ease, background 0.25s ease; }
.slider__dots button.active { background: var(--teal-bright); transform: scale(1.35); }
.slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(1, 125, 127, 0.34); color: #fff; font-size: 18px; display: grid; place-items: center; backdrop-filter: blur(3px); transition: background 0.25s ease; }
.slider__arrow:hover { background: var(--teal); }
.slider__arrow.prev { left: 14px; }
.slider__arrow.next { right: 14px; }
.hero__badge { position: absolute; left: -18px; bottom: 34px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--sh-md); display: flex; align-items: center; gap: 12px; z-index: 4; }
.hero__badge i { color: var(--teal); font-size: 22px; }
.hero__badge b { font-family: var(--display); color: var(--ink); display: block; font-size: 16px; }
.hero__badge span { font-size: 12.5px; color: var(--muted); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero__stats { justify-content: space-between; }
}

/* ---------------- Franja de confianza ---------------- */
.trust { background: var(--ink); color: #f7f6f6; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 24px; }
.trust__item { text-align: center; }
.trust__item .num { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); color: #fff; }
.trust__item .num .accent { color: #fff; }
.trust__item .lbl { font-family: var(--body); font-size: 14px; color: #ffffff; margin-top: 6px; }
@media (max-width: 620px) { .trust .wrap { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }

/* ---------------- Secciones genéricas ---------------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--mist { background: var(--mist-2); }

/* ---------------- Casos de éxito ---------------- */
.casos__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.caso { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); background: #fff; border: 1px solid var(--line); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.caso:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.caso img { width: 100%; height: auto; display: block; }
.caso__tag { display: none; }

/* ---------------- Tratamientos ---------------- */
.trat__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.trat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 22px 24px;
  text-align: center;
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.trat-card:hover { transform: translateY(-8px); box-shadow: var(--sh-md); border-color: var(--teal-bright); }
.trat-card__icon { height: 96px; display: grid; place-items: center; margin-bottom: 16px; }
.trat-card__icon img { max-height: 96px; width: auto; transition: transform 0.35s ease; }
.trat-card:hover .trat-card__icon img { transform: scale(1.1); }
.trat-card h3 { font-family: var(--body); font-weight: 800; font-size: 16px; letter-spacing: 0.02em; color: var(--teal-deep); text-transform: uppercase; }
.trat-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--teal); font-family: var(--body); font-weight: 700; font-size: 13.5px; }
.trat-card__more i { transition: transform 0.25s ease; }
.trat-card:hover .trat-card__more i { transform: translateX(4px); }

/* ---------------- Especialidades (flip) ---------------- */
.esp__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.esp-card { perspective: 1200px; cursor: pointer; }
.esp-card__inner { position: relative; width: 100%; aspect-ratio: 3 / 4; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); border-radius: var(--r); }
.esp-card:hover .esp-card__inner, .esp-card:focus-within .esp-card__inner { transform: rotateY(180deg); }
.esp-face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); }
.esp-face--front img { width: 100%; height: 100%; object-fit: cover; }
.esp-face--front .esp-name { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(1, 125, 127, 0.82)); color: #fff; font-family: var(--body); font-weight: 700; font-size: 15px; padding: 40px 16px 16px; }
.esp-face--back {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 26px 22px;
}
.esp-face--back .q { font-family: var(--display); font-style: italic; font-size: 19px; color: #fff; line-height: 1.3; }
.esp-face--back .more { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-weight: 700; font-size: 14px; background: rgba(255, 255, 255, 0.16); padding: 9px 18px; border-radius: 999px; }

/* ---------------- Formas de pago ---------------- */
.pay__list { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.pay__chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 26px;
  font-family: var(--body);
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--sh-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pay__chip i { color: var(--teal); }
.pay__chip:hover { transform: translateY(-4px); border-color: var(--teal-bright); box-shadow: var(--sh-md); }
.pay__lead { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.pay__lead .hl { background: linear-gradient(120deg, rgba(1, 125, 127, 0.22), rgba(1, 125, 127, 0.22)); padding: 2px 6px; border-radius: 6px; color: var(--teal-deep); font-weight: 700; }

/* ---------------- Contacto / formulario ---------------- */
.contact { background: var(--teal); color: #f7f6f6; padding: clamp(60px, 8vw, 100px) 0; }
.contact .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.contact__info h2 { color: #fff; font-weight: 600; font-size: clamp(28px, 3.6vw, 42px); }
.contact__info .eyebrow { color: #fff; }
.contact__info p.sub { color: #f7f6f6; margin-top: 14px; font-size: 17px; max-width: 440px; }
.contact__cards { display: grid; gap: 16px; margin-top: 30px; }
.cinfo { display: flex; gap: 16px; align-items: flex-start; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 16px; padding: 18px 20px; transition: background 0.25s ease, transform 0.25s ease; }
.cinfo:hover { background: rgba(255, 255, 255, 0.09); transform: translateX(4px); }
.cinfo i { color: #fff; font-size: 20px; margin-top: 3px; width: 24px; text-align: center; }
.cinfo b { color: #fff; font-family: var(--body); display: block; font-size: 15.5px; }
.cinfo span { font-size: 14px; color: #f7f6f6; }
.contact__socials { display: flex; gap: 12px; margin-top: 24px; }
.contact__socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 18px; transition: background 0.25s ease, transform 0.25s ease; }
.contact__socials a:hover { background: var(--teal); transform: translateY(-3px); }

.form-card { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--sh-lg); }
.form-card h3 { color: var(--ink); font-weight: 600; font-size: 26px; }
.form-card .eyebrow { color: var(--teal); }
.form-card p.hint { color: var(--muted); font-size: 15px; margin: 8px 0 22px; }
.form-card label { display: block; font-family: var(--body); font-weight: 600; font-size: 14px; color: var(--ink); margin: 14px 0 7px; }
.form-card input, .form-card select {
  width: 100%; font-family: var(--body); font-size: 15px; color: var(--ink);
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--mist-2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-card input:focus, .form-card select:focus { outline: 0; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(1, 125, 127, 0.16); }
.form-card button { width: 100%; margin-top: 24px; justify-content: center; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; gap: 36px; } }

/* ---------------- Ubicaciones ---------------- */
.locs__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 12px; }
.loc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); }
.loc iframe { width: 100%; height: 300px; border: 0; display: block; }
.loc__body { padding: 18px 22px 22px; }
.loc__body h3 { font-family: var(--body); font-weight: 800; font-size: 17px; color: var(--teal-deep); }
.loc__body .note { color: var(--muted); font-size: 14px; margin-top: 6px; }
.locs__hours { text-align: center; color: var(--muted); margin-top: 8px; }
.locs__hours b { color: var(--ink); }
@media (max-width: 760px) { .locs__grid { grid-template-columns: 1fr; } }

/* ---------------- Footer ---------------- */
.footer { background: var(--teal); color: #f7f6f6; padding: 60px 0 26px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand .brand { font-family: var(--display); color: #fff; font-size: 22px; }
.footer__brand p { color: #f7f6f6; margin-top: 12px; font-size: 14.5px; max-width: 320px; }
.footer h4 { color: #fff; font-family: var(--body); font-weight: 800; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { color: #f7f6f6; font-size: 14.5px; }
.footer li { padding: 6px 0; }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 44px; padding-top: 22px; text-align: center; color: #f7f6f6; font-size: 13px; }
.footer__bottom a { color: #fff; }
@media (max-width: 720px) { .footer .wrap { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------------- Botones flotantes ---------------- */
.floaties { position: fixed; right: 20px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.floaty { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 24px; box-shadow: 0 8px 22px rgba(1, 125, 127, 0.28); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.floaty--wa { background: var(--wa); animation: pulse 2.4s infinite; }
.floaty--call { background: var(--teal); }
.floaty:hover { transform: scale(1.1); box-shadow: 0 12px 28px rgba(1, 125, 127, 0.4); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

#toTop { position: fixed; left: 20px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 18px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; }
#toTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#toTop:hover { background: var(--teal); }

/* ---------------- Modal ---------------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
.modal.open { opacity: 1; visibility: visible; }
.modal__scrim { position: absolute; inset: 0; background: rgba(67, 67, 67, 0.6); backdrop-filter: blur(3px); }
.modal__box { position: relative; background: #fff; max-width: 620px; width: 100%; max-height: 84vh; overflow-y: auto; border-radius: var(--r-lg); padding: 40px; box-shadow: var(--sh-lg); transform: translateY(18px) scale(0.98); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.modal.open .modal__box { transform: translateY(0) scale(1); }
.modal__box .kicker { color: var(--teal); font-family: var(--body); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 12.5px; }
.modal__box h2 { font-weight: 600; font-size: 30px; margin: 8px 0 18px; color: var(--ink); }
.modal__box p { color: var(--text); margin-bottom: 14px; }
.modal__box .m-cta { margin-top: 22px; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--mist); color: var(--ink); font-size: 18px; transition: background 0.2s ease, transform 0.2s ease; }
.modal__close:hover { background: var(--teal); color: #fff; transform: rotate(90deg); }

/* ---------------- Animaciones de scroll ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* Entrada del hero al cargar */
.hero__title, .hero__lead, .hero__cta, .hero__stats { opacity: 0; transform: translateY(22px); animation: heroIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.hero__lead { animation-delay: 0.12s; }
.hero__cta { animation-delay: 0.24s; }
.hero__stats { animation-delay: 0.36s; }
.hero__banner { opacity: 0; transform: translateY(22px) scale(0.98); animation: heroIn 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Accesibilidad */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; border-radius: 6px; }
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .nav__cta .btn--primary { display: none; }
  .nav__logo .brand { display: none; }
  .hero__badge { left: 8px; padding: 11px 14px; }
  .hero__stats { gap: 22px; }
  .btn { padding: 13px 24px; font-size: 15px; }
  .modal__box { padding: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title, .hero__lead, .hero__cta, .hero__stats, .hero__banner { opacity: 1; transform: none; }
}
