/* Consulta landing (/): clinical, calm, credible. White and cool greys, deep navy, teal-blue accent.
   Builds on /css/consulta.css tokens; everything here is scoped to the landing. */
:root { --navy: #0f2a3d; --navy2: #163a52; --mint: #e7f4f6; --wrap: 1140px; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.landing { background: #fff; color: var(--ink); overflow-x: hidden; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.landing h1, .landing h2, .landing h3 { color: var(--navy); }
.landing section { padding: 76px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: 18px; color: var(--ink2); line-height: 1.6; }
.sec-h { max-width: 720px; margin-bottom: 40px; }
.sec-h h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 12px; }
.sec-h.center { margin-inline: auto; text-align: center; }
.ico { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: #ffffffe6; backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 21px var(--display); color: var(--navy); text-decoration: none; letter-spacing: -.01em; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; gap: 4px; margin-inline-start: 18px; }
.nav a { color: var(--ink2); text-decoration: none; font: 500 14.5px var(--font); padding: 8px 10px; border-radius: 8px; }
.nav a:hover { color: var(--navy); background: var(--surface2); }
.top .spacer { flex: 1; }
.lang { display: inline-flex; border: 1px solid var(--line2); border-radius: 999px; padding: 2px; }
.lang button { border: 0; background: none; font: 600 12.5px var(--font); color: var(--ink3); padding: 5px 10px; border-radius: 999px; cursor: pointer; min-height: 30px; }
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.login { color: var(--navy); font: 600 14.5px var(--font); text-decoration: none; padding: 8px 6px; }
.login:hover { color: var(--accent); }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 560px) { .top .cta-top { display: none; } .top .wrap { gap: 10px; } .logo { font-size: 19px; } }

/* hero */
.hero { padding: 56px 0 72px !important; background: radial-gradient(1100px 520px at 85% -10%, #e3f1f5 0%, transparent 60%), linear-gradient(#fff, #f7fafb); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.06; letter-spacing: -.02em; margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 600; }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.landing .btn.big { min-height: 52px; padding: 0 22px; font-size: 16px; border-radius: 10px; }
.landing .btn.primary { box-shadow: 0 6px 18px #0b6e8a33; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; color: var(--ink2); font-size: 14px; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks .ico { width: 18px; height: 18px; color: var(--verified); stroke-width: 2.4; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 44px; } .hero { padding-top: 36px !important; } }
@media (max-width: 480px) { .ctas .btn { width: 100%; } }

/* phone mockup (pure HTML/CSS) */
.stage { position: relative; display: flex; justify-content: center; padding: 10px 0 34px; }
.phone { position: relative; width: 300px; max-width: 100%; border-radius: 42px; background: var(--navy); padding: 11px; box-shadow: 0 40px 80px -20px #0f2a3d55, 0 0 0 1px #0f2a3d22; }
.phone::before { content: ""; position: absolute; top: 19px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 999px; background: var(--navy); z-index: 2; }
.screen { background: var(--bg); border-radius: 32px; overflow: hidden; font-size: 12px; line-height: 1.4; }
.scr-cover { height: 88px; background: linear-gradient(135deg, #0b6e8a, #2b8fac 55%, #7cc3d4); position: relative; }
.scr-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 30%, #ffffff33, transparent 50%); }
.scr-body { padding: 0 14px 16px; margin-top: -30px; position: relative; }
.scr-av { width: 62px; height: 62px; border-radius: 50%; background: #dff0f4; color: var(--accent2); border: 3px solid #fff; display: grid; place-items: center; font: 600 22px var(--display); box-shadow: var(--shadow); }
.scr-name { font: 600 17px var(--display); color: var(--navy); margin-top: 8px; }
.scr-spec { color: var(--ink2); font-size: 12px; }
.scr-ver { display: flex; align-items: center; gap: 5px; color: var(--verified); font-weight: 600; font-size: 11px; margin-top: 6px; }
.scr-ver .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.scr-ver span.sep { color: var(--ink3); font-weight: 400; }
.scr-ver u { color: var(--accent); text-decoration: none; font-weight: 600; }
.scr-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 11px; margin-top: 10px; }
.scr-k { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink3); font-weight: 600; }
.scr-next { font-weight: 600; color: var(--navy); font-size: 13px; margin-top: 2px; }
.scr-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 8px; }
.scr-slots span { text-align: center; border: 1px solid var(--line2); border-radius: 7px; padding: 5px 0; font-weight: 600; color: var(--ink2); font-size: 11px; }
.scr-slots span.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.scr-row { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.scr-row:last-child { border-bottom: 0; }
.scr-row b { color: var(--navy); font-weight: 600; }
.scr-btn { margin-top: 10px; background: var(--accent); color: #fff; text-align: center; border-radius: 10px; padding: 10px; font-weight: 600; font-size: 13px; }
.scr-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.scr-tags span { background: var(--surface3); color: var(--ink2); border-radius: 999px; padding: 2px 8px; font-size: 10.5px; font-weight: 600; }
.bubble { position: absolute; z-index: 3; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -12px #0f2a3d40, 0 0 0 1px var(--line); padding: 11px 13px; font-size: 12.5px; line-height: 1.4; max-width: 230px; }
.bubble .bh { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 11.5px; color: #178a45; margin-bottom: 3px; }
.bubble .bh .ico { width: 16px; height: 16px; }
.bubble.wa { left: 0; bottom: -6px; }
.bubble.note { right: 0; top: 4px; max-width: 200px; }
.bubble.note .bh { color: var(--accent); }

@media (max-width: 420px) { .bubble { display: none; } }

/* trust strip */
.strip { padding: 22px 0 !important; border-block: 1px solid var(--line); background: #fff; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; color: var(--ink2); font-size: 14px; font-weight: 500; }
.strip li { display: inline-flex; align-items: center; gap: 8px; }
.strip .ico { color: var(--accent); width: 20px; height: 20px; }

/* features */
.features { background: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.feat { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; transition: border-color .2s, box-shadow .2s; min-width: 0; }
.feat:hover { border-color: var(--line2); box-shadow: var(--shadow); }
.feat .fi { width: 42px; height: 42px; border-radius: 11px; background: var(--mint); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.feat h3 { font-size: 18px; margin-bottom: 6px; }
.feat p { color: var(--ink2); font-size: 14.5px; margin: 0; }
.feat .note { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink3); }
.feat.wide { grid-column: span 2; background: linear-gradient(135deg, #f3f9fa, #fff); }
@media (max-width: 600px) { .feat.wide { grid-column: auto; } }

/* steps */
.how { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; position: relative; min-width: 0; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 17px var(--display); margin-bottom: 14px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--ink2); margin: 0; font-size: 14.5px; }

/* patients */
.patients .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 860px) { .patients .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink2); font-size: 15px; }
.checks li b { color: var(--navy); display: block; font-weight: 600; }
.checks .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ok-soft); color: var(--verified); display: grid; place-items: center; margin-top: 1px; }
.checks .ck .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.book-mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 22px; max-width: 460px; width: 100%; justify-self: center; }
.book-mock .bm-h { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.book-mock .bm-av { width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: var(--accent2); display: grid; place-items: center; font: 600 17px var(--display); flex: none; }
.book-mock .bm-h b { display: block; color: var(--navy); }
.book-mock .bm-h span { font-size: 13px; color: var(--ink3); }
.bm-svc { display: flex; justify-content: space-between; gap: 10px; border: 1.5px solid var(--accent); background: var(--accent-soft); border-radius: 10px; padding: 11px 13px; font-size: 14px; }
.bm-svc b { color: var(--navy); } .bm-svc span { color: var(--ink2); white-space: nowrap; }
.bm-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 14px 0 10px; }
.bm-days span { border: 1px solid var(--line2); border-radius: 10px; padding: 7px 0; text-align: center; font-size: 12px; color: var(--ink3); line-height: 1.25; }
.bm-days span b { display: block; font-size: 16px; color: var(--navy); }
.bm-days span.on { background: var(--navy); border-color: var(--navy); color: #c9d8e2; } .bm-days span.on b { color: #fff; }
.bm-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bm-slots span { border: 1px solid var(--line2); border-radius: 8px; text-align: center; padding: 8px 0; font-size: 13px; font-weight: 600; color: var(--ink2); }
.bm-slots span.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.bm-consent { display: flex; gap: 9px; font-size: 12.5px; color: var(--ink2); margin-top: 14px; align-items: flex-start; }
.bm-consent i { flex: none; width: 16px; height: 16px; border: 1.5px solid var(--accent); border-radius: 4px; background: var(--accent); display: grid; place-items: center; color: #fff; margin-top: 1px; }
.bm-consent i .ico { width: 11px; height: 11px; stroke-width: 3.2; }

/* comparison */
.compare { background: var(--bg); }
.cmp { width: 100%; max-width: 860px; margin: 0 auto; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font: 600 13px var(--font); text-transform: uppercase; letter-spacing: .05em; color: var(--ink3); background: var(--surface2); }
.cmp thead th.us { color: var(--accent); background: var(--mint); }
.cmp td.us { background: #f6fbfc; font-weight: 600; color: var(--navy); }
.cmp td:first-child { color: var(--ink2); }
.cmp .yes { display: inline-flex; align-items: center; gap: 6px; }
.cmp .yes .ico { width: 18px; height: 18px; color: var(--verified); stroke-width: 2.4; }
.cmp .meh { color: var(--ink3); }
.cmp-note { text-align: center; color: var(--ink3); font-size: 13px; margin-top: 14px; }
@media (max-width: 600px) { .cmp th, .cmp td { padding: 11px 10px; font-size: 13.5px; } .cmp thead th { font-size: 11px; } }

/* privacy */
.privacy { background: var(--navy); color: #c9d8e2; }
.privacy h2, .privacy h3 { color: #fff !important; }
.privacy .eyebrow { color: #7fc6d9; }
.privacy .lead { color: #aac0cf; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pgrid { grid-template-columns: minmax(0, 1fr); } }
.pitem { border: 1px solid #ffffff1f; border-radius: 14px; padding: 20px; background: #ffffff08; min-width: 0; }
.pitem .ico { color: #7fc6d9; margin-bottom: 10px; width: 24px; height: 24px; }
.pitem h3 { font-size: 17px; margin-bottom: 6px; }
.pitem p { font-size: 14px; margin: 0; color: #aac0cf; }
.legal-note { margin-top: 26px; font-size: 13px; color: #8fa6b6; max-width: 860px; }

/* faq */
.faq .wrap { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; font: 600 18px var(--display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px var(--font); color: var(--accent); flex: none; transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink2); margin: -4px 0 20px; padding-inline-end: 30px; }

/* final cta */
.final { padding: 0 0 80px !important; }
.final .box { background: linear-gradient(135deg, #0b6e8a, #08566c); color: #fff; border-radius: 22px; padding: 52px 28px; text-align: center; position: relative; overflow: hidden; }
.final .box::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: #ffffff10; right: -120px; top: -180px; }
.final h2 { color: #fff !important; font-size: clamp(28px, 4.4vw, 40px); margin-bottom: 10px; position: relative; }
.final p { color: #d4ebf1; font-size: 17px; margin-bottom: 26px; position: relative; }
.final .btn { background: #fff; color: var(--accent2); border-color: #fff; position: relative; }
.final .btn:hover { background: #eef7f9; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--ink3); font-size: 14px; background: #fff; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: flex-start; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a, .foot button.linkish { color: var(--ink2); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.foot a:hover, .foot button.linkish:hover { color: var(--accent); }
.foot .fine { flex-basis: 100%; font-size: 12.5px; }

/* privacy notice dialog */
dialog.aviso { border: 0; border-radius: 18px; padding: 0; width: min(720px, calc(100% - 24px)); max-height: calc(100dvh - 40px); box-shadow: var(--shadow-lg); color: var(--ink); }
dialog.aviso::backdrop { background: #0f2a3d80; }
dialog.aviso .dh { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
dialog.aviso .dh h2 { flex: 1; font-size: 20px; }
dialog.aviso .db { padding: 18px 22px 24px; font-size: 14.5px; color: var(--ink2); }
dialog.aviso .db h3 { font-size: 16px; margin: 18px 0 6px; }
dialog.aviso .db ul { padding-inline-start: 20px; margin: 0 0 10px; }
.x { border: 0; background: var(--surface2); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 20px; color: var(--ink2); line-height: 1; }

@media (max-width: 600px) { .landing section { padding: 56px 0; } .wrap { padding: 0 16px; } .lead { font-size: 16.5px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
