/* =========================================================
   Dra. Gabriela Rodríguez — Landing page
   Marca: Roboto 900 en títulos, Inter en texto,
   Plus Jakarta Sans en interfaz. Dorado, teal y slate.
   ========================================================= */
:root {
  --gold-light: #E6C9A2;
  --gold: #C9956A;
  --gold-deep: #9A6A43;      /* dorado con contraste para texto */
  --teal: #5BB4CB;
  --teal-band: #3E7D8F;      /* teal de las bandas del sitio */
  --teal-deep: #2F7F94;
  --slate: #2C4A5A;
  --ink: #1E2B33;
  --heading: #3C3C3C;        /* gris de los títulos del sitio */
  --black: #0A0A0A;
  --text: #3C3C3C;
  --muted: #5C6670;
  --cream: #F8F5F1;
  --off: #F8F8F8;
  --white: #FFFFFF;
  --line: #E7E2DC;
  --wa: #25D366;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(30, 43, 51, .08);
  --header-h: 76px;
  --font-display: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* overflow-x solo en html y body */
html, body {
  overflow-x: hidden;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: -.01em;
  color: var(--text);
  background: var(--off);
  padding-top: var(--header-h);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--heading);
  letter-spacing: -.03em;
  text-wrap: balance;
}

a { color: var(--gold-deep); }
a:hover { color: var(--slate); }
img { max-width: 100%; }

/* ---------- Utilidades ---------- */
.text-gold { color: var(--gold); }
.gradient-text {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-light-soft { color: rgba(255,255,255,.78); }
.text-white-soft { color: rgba(255,255,255,.88); }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .75rem;
}
.eyebrow--light { color: var(--gold-light); }

/* Píldora estilo hero eyebrow */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.72);
  border: 1.5px solid rgba(91,180,203,.35);
  border-radius: 999px;
  padding: 4px 16px 4px 4px;
  backdrop-filter: blur(6px);
  color: inherit;
  font-size: .85rem;
}
.eyebrow-pill__badge {
  background: var(--teal);
  color: #fff;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 12px;
}
.eyebrow-pill__text {
  color: var(--navy);
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: none;
  white-space: nowrap;
}

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--tight-top { padding-top: 48px; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); }
.section--teal { background: linear-gradient(135deg, var(--teal-deep) 0%, var(--slate) 100%); }

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  margin-bottom: 1.1rem;
}
.section-title--xl { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.08; }
.section-lead { font-size: 1.125rem; color: var(--muted); }

/* ---------- Botones ---------- */
.btn-brand,
.btn-outline-brand,
.btn-whatsapp {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.btn-brand { background: var(--gold); color: var(--white); }
.btn-brand:hover { background: var(--gold-deep); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,149,106,.35); }

.btn-outline-brand { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn-outline-brand:hover { background: var(--slate); color: var(--white); }

.btn-whatsapp { background: var(--wa); color: var(--white); }
.btn-whatsapp:hover { background: #1EB857; color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,.3); }

.btn-brand i, .btn-outline-brand i, .btn-whatsapp i { margin-right: 6px; font-size: 1.125rem; }

.hero-actions { margin-top: 1.75rem; }
.hero-actions a { margin: 0 10px 12px 0; }
.hero-actions .btn-whatsapp { background: var(--gold); box-shadow: 0 10px 24px rgba(201,149,106,.35); }
.hero-actions .btn-whatsapp:hover { background: var(--gold-deep); box-shadow: 0 12px 28px rgba(154,106,67,.4); }

/* ---------- Header (fijo) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  padding: 12px 0;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(30,43,51,.07); border-color: var(--line); }
.logo-img { height: 80px; width: 80px; display: block; margin-top: -4px; margin-bottom: -4px; }
.footer-logo {
  display: block;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--white);
  padding: 6px;
}

.main-nav ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.main-nav li { display: inline-block; margin: 0 8px; }
.main-nav ul { white-space: nowrap; }
.main-nav a {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
}
.main-nav a:hover { color: var(--gold-deep); }

.lang-toggle,
.btn-icon,
.menu-toggle {
  display: inline-block;
  vertical-align: middle;
  height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--slate);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  line-height: 41px;
  text-align: center;
  text-decoration: none;
  margin-left: 6px;
}
.lang-toggle:hover, .btn-icon:hover, .menu-toggle:hover { border-color: var(--gold); color: var(--gold-deep); }
.lang-flags { display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; }
.flag-opt { line-height: 1; opacity: .35; cursor: pointer; transition: opacity .2s; }
.flag-opt.active { opacity: 1; }
.flag-img { display: block; width: 24px; height: 24px; object-fit: cover; border-radius: 50%; }
.flag-sep { color: var(--line); font-size: .85rem; line-height: 1; }
@media (min-width: 1400px) {
  .lang-flags { gap: 2px; padding: 0 6px; }
  .flag-img { width: 20px; height: 20px; }
  .flag-sep { display: none; }
}
.btn-sm-head { padding: 10px 20px; margin-left: 6px; vertical-align: middle; }

.mobile-nav { list-style: none; padding: 12px 0 18px; margin: 0; }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav li:last-child { border: 0; padding-top: 14px; }
.mobile-nav a:not(.btn-whatsapp) {
  display: block;
  padding: 12px 0;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 40px 0 56px;
  background: var(--off);
  clip-path: inset(0); /* recorta las formas animadas sin usar overflow */
}
@media (min-width: 992px) {
  .hero {
    height: calc(100vh - var(--header-h) - 69px);
    display: flex;
    align-items: center;
    padding: 16px 0 20px;
    overflow: hidden;
  }
  .hero > .container { width: 100%; }
  .hero-visual { max-width: 420px; }
  .hero-photo img { max-height: calc(100vh - var(--header-h) - 69px - 36px); width: auto; object-fit: cover; }
}
.hero > .container { position: relative; z-index: 1; }
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 560px; height: 560px;
  top: -180px; right: -140px;
  background: rgba(91,180,203,.32);
  animation: drift 16s ease-in-out infinite alternate;
}
.hero::after {
  width: 480px; height: 480px;
  bottom: -200px; left: -160px;
  background: rgba(230,201,162,.55);
  animation: drift 20s ease-in-out infinite alternate-reverse;
}
.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.04;
  margin-bottom: 1rem;
}
.hero-creds {
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--teal-deep);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.hero-lead { font-size: 1.1875rem; color: var(--muted); max-width: 560px; }

/* Visual del hero: foto con curva teal + insignias flotantes */
.hero-visual { position: relative; max-width: 560px; margin: 0 auto; padding: 0 0 24px; }
.hero-photo {
  position: relative;
  border-radius: 32px 32px 200px 32px;
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
  box-shadow: 0 30px 70px rgba(47,127,148,.28);
  line-height: 0;
  clip-path: inset(0 round 32px 32px 200px 32px);
}
.hero-photo img { width: 100%; display: block; }
.hero-seal {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--white);
  padding: 6px;
  box-shadow: 0 16px 36px rgba(30,43,51,.16);
  animation: floatY 7s ease-in-out .5s infinite;
}
.float-badge {
  position: absolute;
  background: var(--white);
  border-radius: 18px;
  padding: 14px 18px 14px 70px;
  box-shadow: 0 18px 40px rgba(30,43,51,.14);
  min-height: 72px;
  max-width: 250px;
}
.fb-icon {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--white);
  font-size: 1.125rem;
}
.fb-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--heading);
}
.fb-label { display: block; font-size: 1rem; line-height: 1.35; color: var(--muted); }
.fb-1 { right: 12px; top: 38%; animation: floatY 5s ease-in-out infinite; }
.fb-2 { left: 12px; bottom: 0; animation: floatY 6s ease-in-out 1s infinite; }

.check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.check-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: .7rem;
  font-weight: 500;
  color: var(--ink);
}
.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--slate);
  color: var(--white);
  font-size: 1rem;
  line-height: 24px;
  text-align: center;
  transform: scale(.8);
}
.check-list--sm li { font-size: 1rem; }

.form-label { font-family: var(--font-ui); font-weight: 600; font-size: 1rem; color: var(--ink); margin-bottom: 6px; }
.form-control, .form-select {
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background-color: var(--white);
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,149,106,.18);
}
.form-note { font-size: 1rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- Cifras ---------- */
/* ---------- Ticker ---------- */
.ticker {
  background: var(--gold);
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}
.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(to right,  var(--gold), transparent); }
.ticker::after  { right: 0; background: linear-gradient(to left,   var(--gold), transparent); }
.ticker__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  gap: 0;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  color: #fff;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 0 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ticker__item i { font-size: 1.1rem; opacity: .85; }
.ticker__sep {
  color: rgba(255,255,255,.55);
  font-size: .8rem;
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.stats {
  background: var(--white);
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats > .container {
  padding: 0;
  max-width: 100%;
}
.stats-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 110px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  padding: 28px 32px;
  border-right: 1px solid var(--line);
  background: var(--white);
}
.stat-item:last-child { border-right: none; }
.stat-divider { display: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--teal-deep);
  line-height: 1;
  margin: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.stat-mid {
  color: var(--teal-deep);
  font-size: 1em;
  font-weight: 900;
}
.stat-sup {
  font-size: .6em;
  font-weight: 900;
  color: var(--gold);
  vertical-align: top;
  line-height: 1.1;
  margin-left: 3px;
}
.stat-label {
  font-size: .875rem;
  color: var(--ink);
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
  max-width: 130px;
}
@media (max-width: 767px) {
  .stats-grid { flex-wrap: wrap; }
  .stat-item {
    flex: 0 0 50%;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 20px 16px;
    border-bottom: 1.5px solid var(--line);
  }
  .stat-num { font-size: 2rem; }
  .stat-label { max-width: none; }
  .stat-item:last-child { border-right: none; }
  .stat-item:nth-child(odd) { border-right: 1.5px solid var(--line); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ---------- Testimonios (carrusel continuo) ---------- */
.tes-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.tes-nav { display: flex; gap: 10px; flex-shrink: 0; padding-bottom: 6px; }
.tes-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--teal-deep);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.tes-btn:hover { background: var(--teal); transform: scale(1.07); }
.tes-btn:disabled { background: var(--line); color: var(--muted); cursor: default; transform: none; }
.testimonials-swiper.swiper { overflow: visible; padding: 12px 16px 32px; }
.testimonials-swiper .swiper-slide { width: 380px; max-width: 85vw; height: auto; }
.tes-pagination { text-align: center; margin-top: 20px; }
.tes-pagination .swiper-pagination-bullet {
  width: 8px; height: 8px;
  background: var(--line);
  opacity: 1;
  margin: 0 4px;
  border-radius: 999px;
  transition: width .3s, background .3s;
}
.tes-pagination .swiper-pagination-bullet-active {
  background: var(--teal-deep);
  width: 24px;
}
.testimonials-swiper .swiper-wrapper { align-items: flex-start; }
.testi-card {
  height: auto;
  background: var(--white);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--line);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.testi-card:hover { border-color: var(--teal-deep); box-shadow: 0 10px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.stars { color: var(--gold); margin-bottom: 1rem; }
.stars i { margin-right: 3px; }
.testi-card p { font-size: 1.0625rem; }
.testi-name { font-family: var(--font-display); font-weight: 900; font-size: 1.125rem; letter-spacing: -.02em; color: var(--heading); margin: 1rem 0 0; }
.testi-proc { color: var(--teal-deep); font-size: 1rem; margin: 0; }

/* ---------- Procedimientos ---------- */
.proc-card {
  height: 100%;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
}
.proc-card:hover { transform: translateY(-5px); border-color: var(--teal-deep); box-shadow: 0 10px 32px rgba(0,0,0,.1); }
.proc-card--featured { border: 2px solid var(--gold); }
.proc-card--featured:hover { border-color: var(--gold); }
.proc-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-deep);
  background: rgba(91,180,203,.14);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.proc-name { font-size: 1.6rem; margin-bottom: .25rem; }
.proc-sub { color: var(--muted); font-size: 1rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1.5px solid var(--line); }
.proc-text { color: var(--muted); }
.proc-card .check-list { margin-bottom: 1.75rem; }

/* ---------- Cirugía robótica ---------- */
.robot-media {
  position: relative;
  border-radius: 28px;
  line-height: 0;
  clip-path: inset(0 round 28px);
  box-shadow: var(--shadow);
}
.robot-bg { width: 100%; height: auto; display: block; transform: scale(1.06); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.robot-media.is-zoomed .robot-bg { transform: scale(1); }
.robot-inset {
  position: absolute;
  left: 5%;
  top: 14%;
  width: 34%;
  border-radius: 22px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(6px);
  padding: 0;
  clip-path: inset(0 round 22px);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  will-change: transform;
}
.robot-inset img { width: 100%; display: block; }

.quote-light {
  margin: 0;
  padding: 8px 0 0 28px;
  border-left: 4px solid var(--gold);
}
.quote-light p { font-size: 1.1875rem; font-style: italic; color: var(--text); line-height: 1.65; }
.quote-light footer { font-family: var(--font-ui); font-weight: 700; color: var(--gold-deep); font-size: 1rem; }

/* ---------- Técnica ---------- */
.tech-card {
  height: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 30px 26px;
  color: rgba(255,255,255,.78);
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.tech-card:hover { background: rgba(255,255,255,.08); border-color: rgba(230,201,162,.4); transform: translateY(-4px); }
.tech-card p { margin: 0; }
.tech-icon {
  display: inline-block;
  width: 56px;
  height: 56px;
  line-height: 56px;
  text-align: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink);
  font-size: 1.375rem;
  margin-bottom: 1.25rem;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.tech-card:hover .tech-icon { transform: rotate(-8deg) scale(1.08); }
.tech-name { color: var(--white); font-size: 1.3rem; margin-bottom: .6rem; }

/* ---------- La doctora + video ---------- */
.video-card {
  position: relative;
  border-radius: 28px;
  background: var(--ink);
  box-shadow: 0 30px 70px rgba(30,43,51,.2);
  aspect-ratio: 16 / 9;
  max-width: 100%;
  clip-path: inset(0 round 28px);
}
.video-link, .video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.video-link:hover .video-thumb { transform: scale(1.04); }
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  margin: -43px 0 0 -43px;
  line-height: 86px;
  text-align: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 1.75rem;
  padding-left: 6px;
  box-shadow: 0 0 0 0 rgba(201,149,106,.6);
  animation: playPulse 2.2s ease-out infinite;
  transition: transform .25s ease;
}
.video-link:hover .video-play { transform: scale(1.08); }
.video-len {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(10,10,10,.75);
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 999px;
}

.cred-bar {
  overflow: visible;
  padding: 8px 0 16px;
}
.cred-swiper .swiper-slide { height: auto; }
.cred-item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  gap: 14px;
  height: 100%;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.cred-item:hover { border-color: var(--teal-deep); box-shadow: 0 6px 20px rgba(0,0,0,.08); transform: translateY(-3px); }
.cred-item i {
  font-size: 2.2rem;
  color: var(--teal-deep);
  line-height: 1;
}
.cred-item span {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink);
  line-height: 1.45;
}

/* ---------- Bandas en movimiento (como en el sitio) ---------- */
.marquee { padding: 64px 0 72px; background: var(--off); }
.band {
  width: 120%;
  margin-left: -10%;
  white-space: nowrap;
  padding: 18px 0;
  line-height: 1;
}
.band--teal { background: var(--teal-band); transform: rotate(2deg); }
.band--gold { background: var(--gold); transform: rotate(-1.6deg); margin-top: -6px; }
.band-track { display: inline-block; will-change: transform; }
.band-track span {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  letter-spacing: -.03em;
  color: var(--black);
  margin-right: .8em;
}

/* ---------- Turismo médico ---------- */
.journey { position: relative; margin-top: 3rem; }
.journey-line {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 32px;
  height: 3px;
  background: var(--line);
  border-radius: 3px;
}
.journey-line span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--teal));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 2s cubic-bezier(.2,.7,.2,1);
}
.journey.is-drawn .journey-line span { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-dot {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--gold-deep);
  font-size: 1.375rem;
  box-shadow: 0 10px 26px rgba(201,149,106,.25);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.step:hover .step-dot { background: var(--gold); color: var(--white); transform: translateY(-4px); }
.step-num {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .08em;
  color: var(--teal-deep);
  margin: 1rem 0 .25rem;
}
.step-title { font-size: 1.3rem; margin-bottom: .4rem; }
.step p:last-child { font-size: 1rem; color: var(--muted); margin: 0; }

.incl-box {
  height: 100%;
  background: linear-gradient(145deg, var(--teal-deep) 0%, #0a4a4a 100%);
  border-radius: 24px;
  padding: 36px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.incl-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
.incl-title {
  font-size: 1.375rem;
  margin-bottom: 1rem;
  color: #fff;
}
.incl-box .check-list li { color: rgba(255,255,255,.92); }
.incl-box .check-list li::before { background: rgba(255,255,255,.18); color: #fff; }
.note { font-size: .9375rem; color: rgba(255,255,255,.65); margin: 1.25rem 0 0; line-height: 1.6; }

.feature-card {
  height: 100%;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.feature-card:hover { border-color: var(--teal-deep); box-shadow: 0 8px 28px rgba(0,0,0,.09); transform: translateY(-3px); }
.feature-card .fc-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--teal-deep) 12%, transparent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: background .2s;
}
.feature-card:hover .fc-icon { background: color-mix(in srgb, var(--teal-deep) 20%, transparent); }
.feature-card .fc-icon i { font-size: 1.25rem; color: var(--teal-deep); margin: 0; }
.feature-card i { font-size: 1.5rem; color: var(--teal-deep); margin-bottom: .9rem; transition: transform .35s ease; }
.feature-card h3 { font-size: 1.125rem; margin-bottom: .4rem; }
.feature-card p { margin: 0; font-size: .9375rem; color: var(--muted); line-height: 1.6; }

/* ---------- Resultados ---------- */
.results-swiper { overflow: visible; padding: 12px 16px 28px; }
.results-swiper .swiper-wrapper { transition-timing-function: linear !important; }
.results-swiper .swiper-slide { width: 360px; max-width: 80vw; height: auto; }
.ba-card {
  position: relative;
  margin: 0;
  border-radius: 22px;
  background: var(--white);
  padding: 10px;
  box-shadow: var(--shadow);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.ba-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 26px 56px rgba(30,43,51,.16); }
.ba-card img { border-radius: 16px; width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; display: block; }
.ba-tag {
  position: absolute;
  top: 22px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 999px;
}
.ba-tag--before { left: 22px; background: rgba(255,255,255,.92); color: var(--slate); }
.ba-tag--after { right: 22px; background: var(--gold); color: var(--white); }
.disclaimer { color: var(--muted); font-size: 1rem; margin-top: .5rem; }

.swiper-pagination-bullet { width: 10px; height: 10px; background: var(--gold); opacity: .35; }
.swiper-pagination-bullet-active { opacity: 1; width: 26px; border-radius: 6px; }

/* ---------- Calculadora ---------- */
.bmi-card { background: var(--white); border-radius: 24px; padding: 32px 28px; box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.bmi-result { background: var(--cream); border-radius: 16px; padding: 18px 20px; text-align: center; }
.bmi-label { font-family: var(--font-ui); font-size: 1rem; font-weight: 600; color: var(--muted); margin: 0; }
.bmi-value { font-family: var(--font-display); font-size: 3rem; font-weight: 900; letter-spacing: -.03em; color: var(--gold); line-height: 1.15; margin: 0 0 .25rem; font-variant-numeric: tabular-nums; }
.bmi-msg { font-size: 1rem; color: var(--ink); margin: 0; line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq {
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 8px;
  background: var(--white);
}
.faq .accordion-item {
  border: 1.5px solid var(--line);
  border-radius: 18px !important;
  background: var(--white);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq .accordion-item:last-child { margin-bottom: 0; }
.faq .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: var(--teal-deep);
  box-shadow: 0 6px 24px rgba(0,0,0,.07);
}
.faq .accordion-button {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  background: transparent;
  padding: 22px 60px 22px 26px;
  box-shadow: none !important;
  border-radius: 18px !important;
}
.faq .accordion-button::after {
  background-image: none;
  content: '+';
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  color: var(--teal-deep);
  width: auto;
  height: auto;
  transform: none;
  flex-shrink: 0;
}
.faq .accordion-button:not(.collapsed) {
  color: var(--teal-deep);
  background: transparent;
}
.faq .accordion-button:not(.collapsed)::after {
  content: '−';
  transform: none;
}
.faq .accordion-button:focus { box-shadow: none; outline: none; }
.faq .accordion-body {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* ---------- Contacto ---------- */
#contacto { border-top: 5px solid var(--teal-deep); }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { position: relative; padding-left: 38px; margin-bottom: 1rem; font-weight: 500; color: var(--ink); }
.contact-list i { position: absolute; left: 0; top: 4px; color: var(--gold); font-size: 1.125rem; width: 24px; text-align: center; }
.contact-list a { color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--gold-deep); }

.map-wrap { line-height: 0; }
.map-wrap iframe { width: 100%; height: 480px; border: 0; display: block; }

/* ---------- Video modal ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.video-modal.is-open { opacity: 1; pointer-events: all; }
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(5px);
}
.video-modal__content {
  position: relative;
  z-index: 1;
  width: min(92vw, 960px);
}
.video-modal__close {
  position: absolute;
  top: -48px; right: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45);
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.video-modal__close:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.video-modal__ratio {
  position: relative;
  padding-top: 56.25%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,.55);
}
.video-modal__ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 40px 0 24px; font-size: 1rem; }
.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-title { color: var(--white); font-size: 1.25rem; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links i { width: 20px; margin-right: 4px; }
.socials a {
  display: inline-block;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  margin-right: 8px;
  font-size: 1.125rem;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.footer-hr { border-color: rgba(255,255,255,.14); margin: 40px 0 24px; opacity: 1; }
.footer-disc { color: rgba(255,255,255,.55); }
.tbs-logo { height: 110px; width: 110px; object-fit: contain; vertical-align: middle; opacity: .85; }
.btn-faq-more { display: inline-flex; align-items: center; gap: 8px; background: var(--teal-band); border: none; color: #fff; border-radius: 50px; padding: 14px 36px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: background .2s, transform .15s; box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.btn-faq-more:hover { background: var(--teal-deep); transform: translateY(-2px); }
.tbs-credit { display: inline-block; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1040;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 10px 28px rgba(47,127,148,.45);
  transition: transform .2s ease;
}
.wa-float:hover { color: var(--white); transform: scale(1.07); }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--teal-deep);
  animation: pulseRing 2.4s ease-out infinite;
}

/* ---------- Movimiento ---------- */
@keyframes drift { to { transform: translate(-70px, 50px) scale(1.15); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes pulseRing { from { transform: scale(1); opacity: .65; } to { transform: scale(1.7); opacity: 0; } }
@keyframes playPulse { 0% { box-shadow: 0 0 0 0 rgba(201,149,106,.6); } 100% { box-shadow: 0 0 0 26px rgba(201,149,106,0); } }
@keyframes shine { from { left: -60%; } to { left: 130%; } }

/* Entrada del hero, escalonada */
.anim-up { animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) both; }
.d1 { animation-delay: .05s; }
.d2 { animation-delay: .18s; }
.d3 { animation-delay: .32s; }
.d4 { animation-delay: .45s; }
.d5 { animation-delay: .8s; }
.anim-list li { animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; }
.anim-list li:nth-child(1) { animation-delay: .5s; }
.anim-list li:nth-child(2) { animation-delay: .58s; }
.anim-list li:nth-child(3) { animation-delay: .66s; }
.anim-list li:nth-child(4) { animation-delay: .74s; }

/* Aparición al hacer scroll (la clase js-anim la agrega script.js) */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--rd, 0s);
}
.js-anim .reveal.is-in { opacity: 1; transform: none; }

/* Barra de progreso de lectura */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--teal));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* Subrayado animado del menú */
.main-nav a { position: relative; padding-bottom: 4px; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .3s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

/* Brillo en el botón destacado */
.proc-card--featured .btn-brand { position: relative; isolation: isolate; clip-path: inset(0 round 999px); }
.proc-card--featured .btn-brand::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  animation: shine 3.6s ease-in-out 1.5s infinite;
  z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-anim .reveal { opacity: 1; transform: none; }
  .robot-bg { transform: none; }
  .journey-line span { transform: scaleX(1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .section--tight-top { padding-top: 40px; }
  .hero { padding: 24px 0 40px; }
  .journey-line { display: none; }
  .robot-inset { width: 40%; }
}
@media (max-width: 575.98px) {
  :root { --header-h: 68px; }
  .bmi-card { padding: 28px 20px; }
  .eyebrow-pill { flex-wrap: nowrap; font-size: .72rem; padding: 3px 10px 3px 3px; max-width: 100%; overflow: hidden; }
  .eyebrow-pill__badge { padding: 3px 10px; margin-right: 8px; font-size: .68rem; flex-shrink: 0; }
  .eyebrow-pill__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .hero-actions a { display: block; text-align: center; margin-right: 0; }
  .logo-img { height: 70px; width: 70px; }
  .map-wrap iframe { height: 340px; }
  .hero-seal { width: 88px; height: 88px; }
  .float-badge { max-width: 210px; padding: 12px 14px 12px 64px; }
  .fb-1 { right: 8px; }
  .fb-2 { left: 8px; }
  .video-play { width: 68px; height: 68px; line-height: 68px; margin: -34px 0 0 -34px; font-size: 1.375rem; }
}
@media (max-width: 330px) {
  .eyebrow-pill__badge { font-size: .58rem; padding: 2px 8px; }
  .eyebrow-pill__text { font-size: .60rem; }
  .pill-extra { display: none; }
}
