/* Medic2Me — landing. Mismo sistema de diseño que la web: fondo blanco, texto negro, turquesa #40E0D0. */
:root {
  --accent: #40E0D0; --accent-strong: #2BCDBD; --accent-soft: #E6FAF7; --deep: #138A98;
  --ink: #0B0B0C; --muted: #6E6E73; --surface: #F5F5F7; --line: #E8E8ED;
  --r: 22px; --shadow: 0 1px 2px rgb(0 0 0 / .03), 0 12px 32px -14px rgb(0 0 0 / .12);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 3px; border-radius: 8px; }
section[id] { scroll-margin-top: 80px; }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; padding: 12px 20px; font: 600 15px/1 Inter, sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: var(--surface); color: var(--ink); }
.btn-ghost:hover { background: var(--line); }
.btn.sm { padding: 9px 15px; font-size: 14px; border-radius: 12px; }
.btn.lg { padding: 16px 26px; font-size: 16px; border-radius: 16px; }

/* ── Navegación ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand img { height: 48px; width: auto; }
.links { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; }
.links a { text-decoration: none; color: var(--muted); transition: color .15s; }
.links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--surface); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ── Tipografía de secciones ── */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--deep); margin-bottom: 14px; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 700; }
h1 em { font-style: normal; background: linear-gradient(transparent 62%, rgb(64 224 208 / .55) 62%); padding: 0 .06em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.015em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); margin-top: 18px; line-height: 1.5; }
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec-alt { background: var(--surface); }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head .lead { margin-top: 14px; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 88px); background: radial-gradient(900px 480px at 85% -10%, rgb(64 224 208 / .28), transparent 70%), radial-gradient(600px 400px at -5% 60%, rgb(64 224 208 / .12), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy .lead { max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.center-row { justify-content: center; }
.ticks { display: grid; gap: 8px; margin-top: 28px; font-size: 15px; color: var(--muted); }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }
.hero-art { position: relative; min-height: 440px; }

/* ── Maquetas (solo CSS) ── */
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; font-size: 13.5px; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.seg { display: inline-flex; background: var(--surface); border-radius: 10px; padding: 3px; font-size: 12px; font-style: normal; }
.seg i { font-style: normal; padding: 4px 10px; border-radius: 8px; color: var(--muted); }
.seg i.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
.mock-agenda { width: min(100%, 410px); }
.slot { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.slot time { color: var(--muted); font-size: 12px; }
.ev { display: flex; align-items: center; gap: 7px; border-radius: 10px; padding: 9px 11px; font-weight: 600; font-size: 13px; }
.ev .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1.5px rgb(0 0 0 / .08); }
.ev-confirmed { background: #40E0D0; }
.ev-scheduled { background: #D9F9F6; box-shadow: inset 3px 0 #40E0D0; }
.ev-attended { background: #BFEBC8; }
.ev-noshow { background: #FFB3B3; color: #450A0A; }
.ev-cancel { background: #FFCFCF; color: #7F1D1D; text-decoration: line-through; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.mock-done { position: absolute; right: -4px; bottom: -8px; width: 250px; text-align: center; }
.done-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin: 0 auto 8px; }
.mock-done b { font-size: 15px; }
.pill-row { display: flex; gap: 6px; margin: 10px 0 8px; }
.pill { flex: 1; background: var(--surface); border-radius: 10px; padding: 8px 6px; font-weight: 600; font-size: 12px; }
.pill-acc { background: var(--accent); flex: 2.2; }
.note { background: var(--accent-soft); border-radius: 10px; padding: 8px 10px; font-size: 11.5px; text-align: left; margin-top: 6px; }
.note-g { background: var(--surface); }

/* ── Cinta de especialidades ── */
.strip { border-block: 1px solid var(--line); background: #fff; }
.strip-in { display: flex; align-items: center; gap: 22px; padding: 18px 0; }
.strip-in > span { font-size: 14px; color: var(--muted); font-weight: 500; flex: none; }
.strip-in ul { display: flex; flex-wrap: wrap; gap: 8px; }
.strip-in li { font-size: 13.5px; font-weight: 500; background: var(--surface); padding: 6px 14px; border-radius: 999px; }

/* ── Tarjetas ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.sec-alt .card { background: #fff; }
.card:hover { transform: translateY(-3px); }
.card p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.ic { width: 46px; height: 46px; border-radius: 14px; background: rgb(64 224 208 / .3); display: grid; place-items: center; margin-bottom: 18px; }
.ic svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── Bloques en dos columnas ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev .split-art { order: -1; }
.steps { margin-top: 26px; display: grid; gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; font-size: 16px; color: var(--muted); }
.steps li b { color: var(--ink); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.bul { margin-top: 24px; display: grid; gap: 14px; }
.bul li { position: relative; padding-left: 30px; color: var(--muted); font-size: 16px; }
.bul li b { color: var(--ink); }
.bul li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.split-art { display: grid; place-items: center; }

.mock-consult { width: min(100%, 380px); padding: 22px; }
.mock-title { font-weight: 700; font-size: 17px; margin-bottom: 14px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; font-size: 15px; margin-bottom: 14px; }
.switch { width: 52px; height: 30px; border-radius: 999px; background: var(--accent); position: relative; display: block; }
.switch b { position: absolute; right: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); }
.wheels { display: flex; gap: 10px; background: var(--surface); border-radius: 16px; padding: 8px 10px; }
.wheel { flex: 1; text-align: center; display: grid; gap: 2px; padding: 6px 0; }
.wheel span { color: #9a9aa0; font-size: 13px; line-height: 22px; }
.wheel b { background: rgb(64 224 208 / .25); border-radius: 10px; padding: 7px 0; font-size: 18px; }
.date-row { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 14px; padding: 12px 14px; margin-top: 12px; font-size: 15px; }
.date-row em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chips span { background: var(--surface); border-radius: 999px; padding: 6px 13px; font-size: 13px; }
.chips span.on { background: var(--accent); font-weight: 600; }
.hint { margin-top: 10px; color: var(--muted); font-size: 12.5px; }

.mock-doc { width: min(100%, 400px); padding: 24px; }
.doc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; font-size: 12.5px; letter-spacing: .02em; margin-bottom: 16px; }
.logo-ph { border: 1.5px dashed var(--accent-strong); color: var(--deep); border-radius: 10px; padding: 8px 12px; font-size: 11.5px; font-weight: 600; flex: none; }
.ln { height: 8px; background: var(--surface); border-radius: 4px; margin-top: 9px; }
.w90 { width: 90%; } .w75 { width: 75%; } .w85 { width: 85%; }
.field { display: flex; align-items: flex-end; gap: 8px; margin-top: 14px; font-size: 13.5px; }
.field span { flex: none; color: var(--muted); }
.field b { flex: 1; border-bottom: 1px solid #94949c; padding: 0 3px 1px; }
.sign { margin-top: 18px; }
.sign svg { display: block; }
.sign-cap { border-top: 1px solid #5a5a62; padding-top: 5px; font-size: 11.5px; color: var(--muted); max-width: 250px; }
.chips2 { display: flex; gap: 8px; margin-top: 16px; font-size: 12px; }
.chips2 span { background: var(--surface); padding: 6px 12px; border-radius: 999px; font-weight: 500; }
.chips2 .ok { background: #DCFCE7; color: #14532D; font-weight: 600; }

/* ── Configurable ── */
.grid-cfg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.cfg { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; display: grid; gap: 4px; }
.cfg b { font-size: 16px; }
.cfg span { color: var(--muted); font-size: 14.5px; }

/* ── En camino ── */
.road { margin-top: 24px; display: grid; gap: 12px; font-size: 15.5px; }
.road li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); }
.tag { flex: none; font-size: 11.5px; font-weight: 600; background: var(--accent); color: var(--ink); border-radius: 999px; padding: 3px 10px; margin-top: 2px; }
.phone { width: 270px; background: #fff; border: 10px solid #0B0B0C; border-radius: 42px; padding: 14px 14px 18px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .35); }
.phone-top { width: 90px; height: 22px; background: #0B0B0C; border-radius: 0 0 14px 14px; margin: -14px auto 12px; }
.phone-h { font-size: 24px; font-weight: 700; letter-spacing: -.03em; margin: 6px 4px 10px; }
.p-card { background: var(--accent); border-radius: 14px; padding: 11px 13px; margin-bottom: 8px; font-size: 14px; }
.p-card b { margin-right: 6px; } .p-card small { display: block; font-size: 11.5px; opacity: .75; margin-top: 2px; }
.p-card.alt { background: #D9F9F6; box-shadow: inset 3px 0 #40E0D0; }
.p-card.ok { background: #BFEBC8; }
.p-nav { display: flex; justify-content: space-around; margin-top: 52px; padding-top: 12px; border-top: 1px solid var(--line); }
.p-nav i { width: 34px; height: 8px; border-radius: 4px; background: var(--line); }
.p-nav i.on { background: var(--accent); }

/* ── Planes ── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 20px 48px -20px rgb(64 224 208 / .55); }
.badge { position: absolute; top: -13px; left: 26px; background: var(--accent); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.plan-for { color: var(--muted); font-size: 15px; }
.price { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin: 14px 0 6px; }
.plan ul { display: grid; gap: 10px; margin: 8px 0 24px; font-size: 15px; flex: 1; }
.plan li { position: relative; padding-left: 26px; color: var(--muted); }
.plan li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }
.plan .btn { width: 100%; }

/* ── Preguntas ── */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 18px; border: 1px solid var(--line); padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--deep); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding: 0 0 20px; font-size: 15.5px; }
.faq a { color: var(--deep); font-weight: 600; }

/* ── CTA final ── */
.final { padding: clamp(40px, 6vw, 72px) 0; }
.final-in { background: var(--ink); color: #fff; border-radius: 32px; padding: clamp(40px, 7vw, 80px) 24px; text-align: center; background-image: radial-gradient(600px 300px at 50% 0, rgb(64 224 208 / .35), transparent 70%); }
.final-in h2 { max-width: 760px; margin: 0 auto; }
.final-in p { color: #c7c7cc; margin-top: 16px; font-size: 1.1rem; }
.final-in .btn-ghost { background: rgb(255 255 255 / .12); color: #fff; }
.final-in .btn-ghost:hover { background: rgb(255 255 255 / .2); }

/* ── Pie ── */
.foot { border-top: 1px solid var(--line); padding: 44px 0 28px; font-size: 14.5px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.foot-in p { color: var(--muted); margin-top: 10px; max-width: 320px; }
.foot-in b { display: block; margin-bottom: 10px; }
.foot-in a { display: block; text-decoration: none; color: var(--muted); padding: 3px 0; }
.foot-in a:hover { color: var(--ink); }
.foot-end { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* ── Aparición suave ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .card:hover { transform: none; } }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-in, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .split-art { order: 0; }
  .hero-art { min-height: 0; display: grid; gap: 16px; justify-items: center; }
  .mock-done { position: static; width: min(100%, 410px); }
  .cards, .plans, .grid-cfg { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .strip-in { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 760px) {
  .links { position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 20px 16px; display: none; }
  .links.open { display: flex; }
  .links a { padding: 12px 0; font-size: 16px; color: var(--ink); }
  .burger { display: block; }
  .hide-sm { display: none; }
  .cards, .grid-cfg, .foot-in { grid-template-columns: 1fr; }
  .cta-row .btn.lg { flex: 1 1 100%; }
  .foot-in { gap: 24px; }
}

/* ── WhatsApp ── */
.btn-wa { background: #25D366; color: var(--ink); }
.btn-wa:hover { background: #1fbe5a; }
.wa-ic { width: 20px; height: 20px; fill: currentColor; flex: none; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 0; height: 58px; min-width: 58px; padding: 0 16px; border-radius: 999px; background: #25D366; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: 0 10px 28px -6px rgb(0 0 0 / .35), 0 2px 6px rgb(0 0 0 / .12); transition: transform .15s, background .15s; }
.wa-float:hover { background: #1fbe5a; transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .25s, opacity .2s, margin .25s; }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 140px; opacity: 1; margin-left: 10px; }
@media (max-width: 760px) { .wa-float { right: 14px; bottom: 14px; height: 54px; min-width: 54px; padding: 0 13px; } .wa-float span { display: none; } }
@media print { .wa-float { display: none; } }
