/* ============================================================
   DOCTOR TRÁNSITO — Sistema de diseño
   Marca real: NEGRO + AMARILLO/DORADO + BLANCO
   Moderno, mobile-first, alto rendimiento, GEO/SEO-ready
   ============================================================ */

:root {
  --black: #0e0f12;
  --ink-900: #15171c;
  --ink-800: #1c1f26;
  --ink-700: #272b34;
  --yellow: #ffc400;
  --yellow-deep: #f2b705;
  --yellow-soft: #fff3cc;
  --whatsapp: #25d366;
  --text: #1a1d23;
  --muted: #5e6573;
  --muted-d: #9aa3b2;   /* sobre fondo oscuro */
  --line: #e7e9ef;
  --line-d: rgba(255,255,255,.12);
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 40px rgba(14,15,18,.10);
  --shadow-lg: 0 28px 70px rgba(14,15,18,.22);
  --glow: 0 0 0 4px rgba(255,196,0,.18);
  --max: 1180px;
  --font: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Plus Jakarta Sans", var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.13; letter-spacing: -0.02em; color: var(--black); }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); }
h3 { font-size: 1.2rem; }
.hl { color: var(--yellow-deep); }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 800; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--yellow); color: #1a1400; box-shadow: 0 10px 28px rgba(255,196,0,.4); }
.btn--primary:hover { background: var(--yellow-deep); transform: translateY(-2px); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,.4); }
.btn--whatsapp:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(37,211,102,.5); }
.btn--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn--outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: var(--ink-800); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 34px; font-size: 1.08rem; }

/* ---------- LOGO ---------- */
.brand { display: inline-flex; align-items: center; }
.brand__img { height: 42px; width: auto; display: block; }
.footer .brand__img { height: 46px; }

/* ---------- TOPBAR ---------- */
.topbar { background: #000; color: var(--muted-d); font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 20px; flex-wrap: wrap; }
.topbar__item--accent { color: var(--yellow); font-weight: 700; }
.topbar a:hover { color: #fff; }

/* ---------- NAV (oscura) ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(14,15,18,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-d); transition: box-shadow .25s; }
.nav.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; height: 76px; }
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__links a:not(.btn) { font-weight: 700; font-size: .95rem; color: #e9ecf2; transition: color .15s; }
.nav__links a:not(.btn):hover { color: var(--yellow); }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--yellow) !important; font-family: var(--display); font-weight: 800; font-size: 1.05rem; }
.nav__phone svg { width: 18px; height: 18px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 26px; height: 3px; background: var(--yellow); border-radius: 3px; transition: .25s; }

/* ---------- HERO (oscuro, polígonos) ---------- */
.hero { position: relative; background: var(--black); color: #fff; padding: clamp(40px, 6vw, 80px) 0 clamp(50px, 7vw, 90px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; opacity: .5; background-image:
    radial-gradient(circle at 12% 20%, rgba(255,196,0,.10), transparent 35%),
    radial-gradient(circle at 88% 80%, rgba(255,196,0,.07), transparent 40%);
  pointer-events: none; }
.hero__poly { position: absolute; inset: 0; opacity: .35;
  background:
    linear-gradient(135deg, transparent 49%, rgba(255,255,255,.04) 50%, transparent 51%) 0 0/60px 60px,
    linear-gradient(45deg, transparent 49%, rgba(255,255,255,.03) 50%, transparent 51%) 0 0/80px 80px;
  pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; background: var(--yellow); color: #1a1400; font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem,2.4vw,1.5rem); padding: 6px 16px; border-radius: 8px; transform: skewX(-6deg); margin-bottom: 18px; }
.kicker span { transform: skewX(6deg); }
.hero__title { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 16px; color: #fff; }
.hero__title .hl { color: var(--yellow); }
.hero__sub { font-size: clamp(1rem, 2vw, 1.16rem); color: var(--muted-d); max-width: 540px; margin-bottom: 22px; }
.hero__sub strong { color: #fff; }

.hero__phone { display: inline-flex; align-items: center; gap: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line-d); padding: 12px 20px; border-radius: 16px; margin-bottom: 22px; }
.hero__phone-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; background: var(--whatsapp); border-radius: 50%; color: #fff; }
.hero__phone-ico svg { width: 26px; height: 26px; }
.hero__phone-txt small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.hero__phone-num { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.1rem); color: #fff; letter-spacing: .01em; }

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__trust { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; font-size: .92rem; color: var(--muted-d); }
.hero__trust strong { color: var(--yellow); }

.hero__media { position: relative; display: flex; justify-content: center; }
.hero__photo { position: relative; width: 100%; max-width: 420px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(160deg, var(--ink-700), var(--black)); }
.hero__photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -90px 80px -40px rgba(14,15,18,.9); pointer-events: none; }
.hero__photo img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 5/6; filter: contrast(1.05) saturate(1.05); }
.hero__ring { position: absolute; inset: -2px; border-radius: 26px; padding: 2px; background: linear-gradient(160deg, var(--yellow), transparent 55%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hero__photo-badge { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; background: rgba(14,15,18,.82); backdrop-filter: blur(6px); border: 1px solid var(--line-d); padding: 12px 16px; border-radius: 14px; }
.hero__photo-badge strong { display: block; color: var(--yellow); font-family: var(--display); }
.hero__photo-badge span { font-size: .82rem; color: var(--muted-d); }

/* ---------- STATS ---------- */
.stats { background: var(--yellow); color: #1a1400; }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 30px 20px; text-align: center; }
.stat__num { display: block; font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: var(--black); }
.stat__label { font-size: .9rem; font-weight: 600; color: #4a3c00; }

/* ---------- SECCIONES ---------- */
.section { padding: clamp(54px, 8vw, 96px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--black); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section__head p { color: var(--muted-d); }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 50px; }
.eyebrow { display: inline-block; color: var(--yellow-deep); font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.section--dark .eyebrow { color: var(--yellow); }
.section__head p { color: var(--muted); margin-top: 12px; }

/* ---------- CARDS ---------- */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.cards--3 { grid-template-columns: repeat(3,1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--yellow); }
.card__icon { font-size: 1.7rem; width: 58px; height: 58px; display: grid; place-items: center; background: var(--yellow-soft); border-radius: 14px; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.card__link { display: inline-block; margin-top: 14px; font-weight: 800; color: var(--yellow-deep); font-size: .9rem; }
.card__link:hover { text-decoration: underline; }

/* ---------- STEPS ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); position: relative; }
.section--dark .step { background: var(--ink-800); border: 1px solid var(--line-d); }
.section--dark .step p { color: var(--muted-d); }
.step__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: #1a1400; font-family: var(--display); font-weight: 800; font-size: 1.25rem; margin-bottom: 14px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; }
.proceso__cta { text-align: center; margin-top: 44px; }

/* ---------- CHECKER / QUIZ INTERACTIVO ---------- */
.checker { background: linear-gradient(165deg, var(--ink-900), var(--black)); border: 1px solid var(--line-d); border-radius: var(--radius); padding: clamp(26px, 4vw, 46px); max-width: 760px; margin: 0 auto; box-shadow: var(--shadow-lg); }
.checker__bar { height: 6px; background: var(--ink-700); border-radius: 999px; overflow: hidden; margin-bottom: 26px; }
.checker__bar i { display: block; height: 100%; width: 0; background: var(--yellow); border-radius: 999px; transition: width .4s ease; }
.checker__step { display: none; }
.checker__step.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.checker__q { font-family: var(--display); font-weight: 800; font-size: clamp(1.2rem,2.6vw,1.6rem); color: #fff; margin-bottom: 6px; }
.checker__hint { color: var(--muted-d); margin-bottom: 22px; font-size: .95rem; }
.checker__opts { display: grid; gap: 12px; }
.checker__opt { text-align: left; background: var(--ink-800); border: 1.5px solid var(--line-d); color: #fff; padding: 16px 20px; border-radius: 14px; cursor: pointer; font-weight: 700; font-family: var(--font); font-size: 1rem; transition: .15s; }
.checker__opt:hover { border-color: var(--yellow); background: var(--ink-700); transform: translateX(4px); }
.checker__result { text-align: center; }
.checker__result-ico { font-size: 3rem; margin-bottom: 10px; }
.checker__result h3 { color: var(--yellow); font-size: 1.6rem; margin-bottom: 10px; }
.checker__result p { color: var(--muted-d); margin-bottom: 22px; }
.checker__back { background: none; border: none; color: var(--muted-d); cursor: pointer; margin-top: 16px; font-size: .85rem; text-decoration: underline; }

/* ---------- DOCTOR ---------- */
.doctor__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.doctor__media { position: relative; }
.doctor__media img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 13/15; object-fit: cover; filter: contrast(1.04) saturate(1.04); background: linear-gradient(135deg, var(--ink-700), var(--black)); }
.doctor__exp { position: absolute; right: -10px; bottom: 24px; background: var(--yellow); color: #1a1400; font-family: var(--display); font-weight: 800; font-size: 1.5rem; padding: 16px 22px; border-radius: 16px; box-shadow: var(--shadow); line-height: 1; text-align: center; }
.doctor__exp small { display: block; font-size: .72rem; font-weight: 700; margin-top: 4px; }
.doctor__lead { font-size: 1.12rem; color: var(--text); margin: 16px 0; font-weight: 600; }
.doctor__content p { color: var(--muted); margin-bottom: 14px; }
.doctor__points { list-style: none; margin: 18px 0 26px; }
.doctor__points li { padding: 6px 0; color: var(--text); font-weight: 700; }

/* ---------- QUOTES ---------- */
.quote { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 4px solid var(--yellow); }
.quote__stars { color: var(--yellow-deep); margin-bottom: 12px; letter-spacing: 2px; }
.quote p { font-style: italic; color: var(--text); margin-bottom: 14px; }
.quote footer { font-weight: 800; color: var(--black); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: var(--yellow); }
.faq__item summary { cursor: pointer; padding: 18px 22px; font-family: var(--display); font-weight: 800; color: var(--black); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.6rem; color: var(--yellow-deep); transition: transform .2s; line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 22px 20px; color: var(--muted); }

/* ---------- BREADCRUMB / ARTÍCULOS ---------- */
.crumbs { font-size: .85rem; color: var(--muted-d); padding: 16px 0; }
.crumbs a:hover { color: var(--yellow); }
.page-hero { background: var(--black); color: #fff; padding: 30px 0 50px; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem,4.5vw,3rem); max-width: 760px; }
.page-hero .lead { color: var(--muted-d); max-width: 680px; margin-top: 14px; font-size: 1.1rem; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 38px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose p { color: var(--text); margin-bottom: 16px; }
.prose ul { margin: 0 0 18px 22px; color: var(--text); }
.prose li { margin-bottom: 8px; }
.prose .callout { background: var(--yellow-soft); border-left: 4px solid var(--yellow); padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 24px 0; }
.prose .callout strong { color: var(--black); }
.prose dl { margin: 0 0 18px; }
.prose dt { font-family: var(--display); font-weight: 800; color: var(--black); margin-top: 20px; font-size: 1.05rem; }
.prose dt::before { content: "▸ "; color: var(--yellow-deep); }
.prose dd { margin: 4px 0 0 18px; color: var(--text); }

/* ---------- CTA BANNER ---------- */
.ctaband { background: var(--yellow); color: #1a1400; border-radius: var(--radius); padding: clamp(28px,4vw,44px); text-align: center; }
.ctaband h2 { color: var(--black); margin-bottom: 10px; }
.ctaband p { color: #4a3c00; font-weight: 600; margin-bottom: 22px; }

/* ---------- CONTACTO ---------- */
.contacto { background: linear-gradient(165deg, #0e0f12 0%, #1c1f26 100%); color: #fff; }
.contacto h2 { color: #fff; }
.contacto .eyebrow { color: var(--yellow); }
.contacto__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contacto__info p { color: var(--muted-d); margin: 14px 0 24px; }
.contacto__list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.contacto__list li { display: flex; align-items: center; gap: 12px; color: #e4ebf5; }
.contacto__list a:hover { color: var(--yellow); }
.contacto__social { display: flex; gap: 14px; }
.contacto__social a { border: 1px solid var(--line-d); padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; transition: .15s; }
.contacto__social a:hover { background: rgba(255,255,255,.08); border-color: var(--yellow); color: var(--yellow); }
.contacto__form { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); }
.contacto__form h3 { margin-bottom: 18px; color: var(--black); }
.contacto__form label { display: block; font-weight: 700; font-size: .88rem; color: var(--text); margin-bottom: 14px; }
.contacto__form input, .contacto__form textarea { width: 100%; margin-top: 6px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font); font-size: .95rem; transition: border-color .15s, box-shadow .15s; color: var(--text); }
.contacto__form input:focus, .contacto__form textarea:focus { outline: none; border-color: var(--yellow); box-shadow: var(--glow); }
.contacto__note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- FOOTER ---------- */
.footer { background: #000; color: var(--muted-d); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding: 54px 20px; }
.footer__brand p { font-size: .92rem; max-width: 320px; margin-top: 14px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.footer__col a:hover { color: var(--yellow); }
.footer__bottom { border-top: 1px solid var(--line-d); font-size: .82rem; }
.footer__bottom .container { padding-top: 18px; padding-bottom: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- FAB + BARRA MÓVIL ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.5); transition: transform .2s; animation: pulse 2.4s infinite; }
.fab:hover { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.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); } }

.mobilebar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: var(--black); border-top: 1px solid var(--line-d); padding: 8px; gap: 8px; }
.mobilebar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 12px; font-family: var(--display); font-weight: 800; font-size: .95rem; }
.mobilebar .m-call { background: var(--yellow); color: #1a1400; }
.mobilebar .m-wa { background: var(--whatsapp); color: #fff; }

/* ---------- CREDENCIALES ---------- */
.creds { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.creds__inner { display: flex; align-items: center; justify-content: center; gap: 14px 34px; flex-wrap: wrap; padding: 22px 20px; }
.creds__label { font-family: var(--display); font-weight: 800; color: var(--black); font-size: .9rem; }
.creds__list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.creds__list li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.creds__list li span { font-size: 1.05rem; }

/* ---------- SOA ---------- */
.soa__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.soa__content p { color: var(--muted-d); margin-bottom: 14px; }
.soa__content .btn { margin-top: 8px; }
.soa__link { display: inline-block; margin-left: 18px; color: var(--yellow); font-weight: 700; font-size: .95rem; }
.soa__link:hover { text-decoration: underline; }
.soa__card { background: rgba(255,255,255,.04); border: 1px solid var(--line-d); border-left: 4px solid var(--yellow); border-radius: var(--radius); padding: 28px 30px; }
.soa__card h3 { color: #fff; margin-bottom: 16px; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: #e4ebf5; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--yellow); font-weight: 800; }
.ticks strong { color: #fff; }

/* ---------- VIDEO PRESENTACIÓN ---------- */
.videopres__wrap { position: relative; max-width: 380px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line-d); background: #000; }
.videopres__video { display: block; width: 100%; height: auto; background: #000; }
.videopres__unmute { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 3; background: var(--yellow); color: #1a1400; border: none; border-radius: 999px; padding: 14px 26px; font-family: var(--display); font-weight: 800; font-size: 1rem; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.45); animation: pulse 2s infinite; }
.videopres__unmute[hidden] { display: none; }
.videopres__transcript { max-width: 560px; margin: 20px auto 0; text-align: center; color: var(--muted-d); font-style: italic; font-size: .98rem; }

/* ---------- ALERT CARD ---------- */
.alert-card { display: flex; align-items: stretch; gap: 22px; background: var(--yellow-soft); border: 2px solid var(--yellow); border-radius: var(--radius); padding: 18px; max-width: 760px; margin: 0 auto; transition: transform .2s, box-shadow .2s; }
.alert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.alert-card__img { width: 110px; height: 196px; object-fit: cover; border-radius: 12px; flex: none; }
.alert-card__body { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.alert-card__tag { font-family: var(--display); font-weight: 800; font-size: .78rem; color: var(--yellow-deep); text-transform: uppercase; letter-spacing: .06em; }
.alert-card__body h3 { font-size: 1.15rem; margin: 2px 0; }
.alert-card__body p { color: var(--muted); font-size: .95rem; }
.alert-card__cta { font-family: var(--display); font-weight: 800; color: var(--black); font-size: .92rem; margin-top: 4px; }

/* ---------- VENTANA DE BIENVENIDA ---------- */
.welcome { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 18px; }
.welcome[hidden] { display: none; }
.welcome__backdrop { position: absolute; inset: 0; background: rgba(8,10,14,.85); backdrop-filter: blur(4px); }
.welcome__box { position: relative; z-index: 2; width: 100%; max-width: 340px; max-height: 94vh; overflow-y: auto; background: var(--black); border: 1px solid var(--line-d); border-radius: 20px; box-shadow: var(--shadow-lg); animation: welcomeIn .35s ease; }
@keyframes welcomeIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.welcome__close { position: absolute; top: 8px; right: 10px; z-index: 6; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(0,0,0,.55); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.welcome__close:hover { background: rgba(0,0,0,.8); }
.welcome__videowrap { position: relative; background: #000; border-radius: 20px 20px 0 0; overflow: hidden; }
.welcome__video { display: block; width: 100%; height: auto; }
.welcome__unmute { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 4; background: var(--yellow); color: #1a1400; border: none; border-radius: 999px; padding: 12px 22px; font-family: var(--display); font-weight: 800; font-size: .95rem; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.45); animation: pulse 2s infinite; white-space: nowrap; }
.welcome__unmute[hidden] { display: none; }
.welcome__foot { padding: 16px; text-align: center; }
.welcome__title { font-family: var(--display); font-weight: 800; color: #fff; font-size: 1rem; margin-bottom: 12px; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { order: 1; }
  .hero__media { order: 2; margin-top: 28px; }
  .hero__photo { max-width: 300px; }
  .hero__sub, .hero__cta, .hero__trust, .hero__phone, .kicker { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__trust { justify-content: center; }
  .doctor__inner { grid-template-columns: 1fr; }
  .doctor__media { max-width: 420px; margin: 0 auto; }
  .soa__inner { grid-template-columns: 1fr; gap: 28px; }
  .creds__inner { flex-direction: column; gap: 14px; text-align: center; }
  .creds__list { justify-content: center; }
  .cards, .cards--3 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .contacto__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav__links { position: fixed; inset: 76px 0 auto 0; background: var(--black); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; border-bottom: 1px solid var(--line-d); box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s ease; }
  .nav__links.open { transform: translateY(0); }
  .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line-d); }
  .nav__cta, .nav__phone { margin-top: 12px; text-align: center; justify-content: center; }
  .nav__toggle { display: flex; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 720px) {
  .stats__grid { grid-template-columns: repeat(2,1fr); gap: 26px; }
  .topbar__item:first-child { display: none; }
  .brand__img { height: 34px; }
  .fab { bottom: 78px; }
  .mobilebar { display: flex; }
  body { padding-bottom: 66px; }
}

@media (max-width: 520px) {
  .cards, .cards--3, .steps { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .hero__trust { flex-direction: column; gap: 8px; }
  .footer__inner { grid-template-columns: 1fr; }
  .alert-card { flex-direction: column; }
  .alert-card__img { width: 100%; height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab { animation: none; }
  html { scroll-behavior: auto; }
}
