/* finda.mx — sitio de marca. Mismos tokens que app.finda.mx
   (navy #1B3661, Playfair Display + Inter). */
:root {
  --navy: #1B3661;
  --navy-dark: #122647;
  --navy-light: #EAF0F6;
  --pale-sky: #BFDAE4;
  --lilac: #BAACC3;
  --ash: #CADCD8;
  --smoke: #F5F5F5;
  --white: #FFFFFF;
  --ink: #132238;
  --body: #3F4E63;
  --muted: #637089;
  --line: #E4E9F0;
  --green: #1B7A4B;
  --green-bg: #E8F3EC;
  --maxw: 1200px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(19, 34, 56, .10);
  --shadow-sm: 0 6px 20px rgba(19, 34, 56, .08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--ink); line-height: 1.1; font-weight: 600; }
.italic { font-style: italic; color: var(--navy); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* ── Botones ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: .18s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-md { padding: 13px 24px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); background: var(--navy-light); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }

/* ── Nav ──────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Playfair Display', serif; font-size: 22px; color: var(--ink); }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: var(--pale-sky); display: grid; place-items: center; font-style: italic; font-weight: 700; font-size: 18px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--body); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; place-items: center; color: var(--ink); }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 24px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .mm-cta { display: flex; gap: 10px; padding: 16px 24px; }
.mobile-menu .mm-cta .btn { flex: 1; }

/* ── Secciones base ───────────────────────────────────────── */
section.block { padding: 88px 0; }
.alt { background: var(--smoke); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); }
.sec-head p { margin-top: 14px; font-size: 18px; color: var(--body); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { background: linear-gradient(180deg, #F7FAFD 0%, #fff 100%); padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--navy-light); color: var(--navy); font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; margin-bottom: 24px; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); margin-bottom: 24px; }
.hero .lead { font-size: 19px; max-width: 34ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.trust span { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.trust svg { width: 18px; height: 18px; color: var(--navy); flex: none; }

/* Vista previa de la app (ilustración hecha con HTML) */
.preview { position: relative; min-height: 460px; }
.pv-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.pv-profile { top: 0; left: 0; right: 56px; overflow: hidden; }
.pv-cover { height: 72px; background: linear-gradient(120deg, var(--navy) 0%, #2B4F82 60%, var(--pale-sky) 140%); }
.pv-body { padding: 0 22px 22px; }
.pv-avatar { width: 76px; height: 76px; border-radius: 50%; border: 4px solid #fff; margin-top: -38px; background: linear-gradient(135deg, #2B4F82, var(--navy)); color: #fff; display: grid; place-items: center; font-family: 'Playfair Display', serif; font-size: 26px; position: relative; }
.pv-avatar i { position: absolute; right: 0; bottom: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--green); border: 3px solid #fff; display: grid; place-items: center; }
.pv-avatar i svg { width: 12px; height: 12px; color: #fff; }
.pv-name { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--ink); margin-top: 10px; }
.pv-sub { font-size: 13px; color: var(--muted); }
.pv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--navy-light); color: var(--navy); border: 1px solid #DCE6F2; font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 8px; }
.chip-green { background: var(--green-bg); color: var(--green); border-color: transparent; font-weight: 600; }
.pv-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; }
.pv-slots span { text-align: center; font-size: 12px; font-weight: 600; padding: 7px 0; border-radius: 8px; background: #EAF5EE; color: #1B5E3A; }
.pv-slots span.on { background: var(--green); color: #fff; }
.pv-book { right: 0; bottom: 8px; width: 270px; padding: 18px; }
.pv-book .t { font-size: 12px; color: var(--muted); }
.pv-book .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--navy); background: rgba(234,240,246,.6); border-radius: 12px; padding: 10px 12px; margin-top: 8px; }
.pv-book .row b { font-size: 13px; color: var(--ink); }
.pv-book .row small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--navy); text-transform: uppercase; }
.pv-book .price { font-weight: 700; font-size: 13px; color: var(--ink); }
.pv-book .go { margin-top: 12px; width: 100%; background: var(--navy); color: #fff; border-radius: 999px; text-align: center; font-size: 13px; font-weight: 600; padding: 10px; }
.pv-ok { left: 18px; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.pv-ok .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--green-bg); color: var(--green); display: grid; place-items: center; }
.pv-ok .ic svg { width: 18px; height: 18px; }
.pv-ok b { display: block; font-size: 13px; color: var(--ink); }
.pv-ok span { font-size: 12px; color: var(--muted); }

/* ── Especialidades ───────────────────────────────────────── */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spec { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .18s; }
.spec:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--pale-sky); }
.spec .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--navy); margin-bottom: 18px; }
.spec .ic svg { width: 26px; height: 26px; }
.ic-n { background: #E8F3EC; } .ic-p { background: #EFEAF2; } .ic-e { background: var(--navy-light); }
.spec h3 { font-size: 24px; margin-bottom: 8px; }
.spec p { font-size: 15px; margin-bottom: 16px; }
.spec .go { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-weight: 600; font-size: 15px; transition: gap .18s; }
.spec .go svg { width: 16px; height: 16px; }
.spec:hover .go { gap: 11px; }

/* ── Pasos ────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps.four { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stp .k { font-family: 'Playfair Display', serif; font-style: italic; font-size: 15px; color: var(--navy); font-weight: 600; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.stp .k::before { content: ""; width: 30px; height: 2px; background: var(--navy); }
.stp h3 { font-size: 23px; margin-bottom: 8px; }
.stp p { font-size: 15px; }

/* ── Features ─────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features.two { grid-template-columns: repeat(2, 1fr); }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.alt .feat { background: #fff; }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--navy-light); color: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }
.feat .ic svg { width: 22px; height: 22px; }
.feat h3 { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.feat p { font-size: 15px; }

/* ── Banda profesionales ──────────────────────────────────── */
.pro-band { background: var(--navy); border-radius: 28px; padding: 56px; color: #fff; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.pro-band::after { content: "F"; position: absolute; right: 30px; bottom: -40px; font-family: 'Playfair Display', serif; font-size: 260px; font-weight: 700; color: rgba(255,255,255,.05); line-height: 1; pointer-events: none; }
.pro-band .eyebrow { color: var(--pale-sky); }
.pro-band h2 { color: #fff; font-size: clamp(28px, 3.5vw, 40px); }
.pro-band h2 em { color: var(--pale-sky); }
.pro-band p { color: #CAD6E6; margin-top: 12px; font-size: 17px; max-width: 48ch; }
.pro-band .right { position: relative; z-index: 2; text-align: right; }
.pro-band .sub { font-size: 13px; color: #9FB2CC; margin-top: 12px; }
.checks { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #E3EAF4; }
.checks svg { width: 18px; height: 18px; color: var(--pale-sky); flex: none; margin-top: 2px; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; color: var(--muted); flex: none; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; font-size: 15px; }

/* ── CTA final ────────────────────────────────────────────── */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.cta-final p { font-size: 18px; margin-bottom: 28px; }
.cta-final .hero-actions { justify-content: center; margin-bottom: 0; }

/* ── Footer ───────────────────────────────────────────────── */
footer { background: var(--navy-dark); color: #B9C6DA; padding: 64px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
footer .logo { color: #fff; }
footer .tagline { font-size: 14px; margin-top: 14px; max-width: 34ch; color: #9FB2CC; }
footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; letter-spacing: .02em; }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; font-size: 14px; }
footer li a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #8498B5; }

/* ── Página profesionales ─────────────────────────────────── */
.pro-hero { background: var(--navy); color: #fff; padding: 80px 0 88px; position: relative; overflow: hidden; }
.pro-hero::after { content: "F"; position: absolute; right: 4%; bottom: -80px; font-family: 'Playfair Display', serif; font-size: 360px; font-weight: 700; color: rgba(255,255,255,.04); line-height: 1; pointer-events: none; }
.pro-hero .container { position: relative; z-index: 1; }
.pro-hero .badge { background: rgba(191,218,228,.15); color: var(--pale-sky); }
.pro-hero .badge .dot { background: var(--pale-sky); }
.pro-hero h1 { color: #fff; font-size: clamp(38px, 5vw, 60px); max-width: 16ch; margin-bottom: 22px; }
.pro-hero h1 em { color: var(--pale-sky); }
.pro-hero .lead { color: #CAD6E6; font-size: 19px; max-width: 52ch; margin-bottom: 32px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.flow li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.flow li::before { counter-increment: s; content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.flow h3 { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.flow p { font-size: 14px; }
.note { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* ── 404 ──────────────────────────────────────────────────── */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.notfound h1 { font-size: 48px; margin-bottom: 12px; }
.notfound p { margin-bottom: 24px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links, .nav-cta .hide-sm { display: none; }
  .menu-btn { display: grid; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero .lead { max-width: none; }
  .preview { max-width: 520px; width: 100%; margin: 0 auto; }
  .cards3, .steps, .features { grid-template-columns: 1fr; }
  .steps.four, .flow, .features.two { grid-template-columns: 1fr 1fr; }
  .pro-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .pro-band .right { text-align: left; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  section.block { padding: 64px 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .steps.four, .flow, .features.two { grid-template-columns: 1fr; }
  .preview { min-height: 430px; }
  .pv-profile { right: 0; }
  .pv-book { width: 240px; }
  .pv-ok { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
