/* CDFintech website, new design (draft 2026-11-07). Own code, no framework. Dark by default like the app; follows the
   device and remembers the visitor's switch. Brand teal = the app's primary (hsl 174 75% 52%). */
/* Lato, latin, served from this site (2026-11-12: Google Fonts' stylesheet blocked the first paint) */
@font-face { font-family: 'Lato'; src: url('/assets/fonts/lato-400-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('/assets/fonts/lato-700-latin.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('/assets/fonts/lato-900-latin.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
:root {
  --bg: #06090a; --bg-2: #0b1012; --surface: #10171a; --surface-2: #151e22; --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --text: #eef4f4; --muted: #9aaaae; --soft: #c9d4d6;
  --brand: #29e0ce; --brand-2: #15b8a8; --brand-ink: #032420; --brand-text: #29e0ce; --brand-tint: rgba(41,224,206,.12);
  --amber: #fbbf24; --danger: #f87171;
  --shadow: 0 30px 80px -20px rgba(0,0,0,.65), 0 0 0 1px var(--line);
  --radius: 18px; --max: 1200px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5f8f8; --bg-2: #eef3f3; --surface: #ffffff; --surface-2: #f4f8f8; --line: rgba(6,24,28,.09); --line-2: rgba(6,24,28,.16);
    --text: #0a1416; --muted: #52646a; --soft: #2c3b3f; --brand-text: #077a70; --brand-tint: rgba(21,184,168,.12); --amber: #b45309;
    --shadow: 0 30px 70px -25px rgba(6,24,28,.35), 0 0 0 1px var(--line); color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f5f8f8; --bg-2: #eef3f3; --surface: #ffffff; --surface-2: #f4f8f8; --line: rgba(6,24,28,.09); --line-2: rgba(6,24,28,.16);
  --text: #0a1416; --muted: #52646a; --soft: #2c3b3f; --brand-text: #077a70; --brand-tint: rgba(21,184,168,.12); --amber: #b45309;
  --shadow: 0 30px 70px -25px rgba(6,24,28,.35), 0 0 0 1px var(--line); color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 Lato, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---------- logo (two files: light text on dark, dark text on light) ---------- */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 34px; width: auto; }
.logo .on-light { display: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .logo .on-dark { display: none; } :root:not([data-theme="dark"]) .logo .on-light { display: block; } }
:root[data-theme="light"] .logo .on-dark { display: none; }
:root[data-theme="light"] .logo .on-light { display: block; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .2s ease, border-color .15s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 10px 30px -10px rgba(41,224,206,.7); }
.btn-primary:hover { transform: translateY(-1px); background: #4ff0df; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-text); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav { display: flex; gap: 26px; margin-left: 8px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--text); }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand-text); }
.icon-btn svg { width: 18px; height: 18px; }
.theme .sun { display: none; }
:root[data-theme="light"] .theme .sun { display: block; } :root[data-theme="light"] .theme .moon { display: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .theme .sun { display: block; } :root:not([data-theme]) .theme .moon { display: none; } }
.login { color: var(--soft); font-weight: 700; font-size: 15px; text-decoration: none; padding: 0 6px; }
.login:hover { color: var(--brand-text); }
.menu-btn { display: none; }
.mobile-nav { display: none; }
@media (max-width: 980px) {
  .nav, .top-end .login, .top-end .btn { display: none; }
  .menu-btn { display: inline-grid; }
  .top .wrap { height: 64px; gap: 12px; }
  .mobile-nav { position: fixed; inset: 64px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; display: none; flex-direction: column; gap: 4px; z-index: 49; }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: 12px 4px; text-decoration: none; font-weight: 700; color: var(--soft); border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 12px; border-bottom: 0; color: var(--brand-ink); }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 84px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 820px; background: radial-gradient(600px 380px at 75% 30%, rgba(41,224,206,.20), transparent 70%), radial-gradient(500px 300px at 10% 10%, rgba(96,165,250,.10), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%); opacity: .55; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--soft); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.hero h1 { font-size: clamp(2.35rem, 4.6vw, 3.9rem); font-weight: 900; margin: 20px 0 20px; }
.grad { background: linear-gradient(100deg, var(--brand) 10%, #7af7ea 55%, #60a5fa 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .grad { background-image: linear-gradient(100deg, #0b8f84 10%, #12b3a3 55%, #2563eb 100%); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .grad { background-image: linear-gradient(100deg, #0b8f84 10%, #12b3a3 55%, #2563eb 100%); } }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.fine span { display: inline-flex; align-items: center; gap: 6px; }
.fine svg { width: 16px; height: 16px; color: var(--brand-text); }

/* hero video (2026-11-12): teal ribbons on black. Dark mode: "screen" drops the black, so only the ribbons show over the page.
   Light mode: inverted + hue turned back to teal, brightened (no gray haze), then "multiply" drops the white. Hidden until it plays, kept off the text column on computers (starts at 48% of the width; the text ends by 47%). Phones: see below. */
/* Visible from the first paint with its poster (the first frame, a small JPEG): the poster is what the page-speed measure
   (LCP) counts, and the video then plays over it in the same place (Diego 2026-11-12: autoplay without hurting Core Web Vitals). */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: var(--hv-op);
  --hv-op: .55; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent 48%, #000 68%, #000 88%, transparent), linear-gradient(180deg, #000 72%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 48%, #000 68%, #000 88%, transparent), linear-gradient(180deg, #000 72%, transparent); mask-composite: intersect; }
:root[data-theme="light"] .hero-video { filter: invert(1) hue-rotate(180deg) brightness(1.35) saturate(2.2); mix-blend-mode: multiply; --hv-op: .4; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .hero-video { filter: invert(1) hue-rotate(180deg) brightness(1.35) saturate(2.2); mix-blend-mode: multiply; --hv-op: .4; } }
@media (max-width: 980px) {
  /* phones (2026-11-12, Diego: "Busca una solución para implementarlo en el celular"): the whole hero, in three strengths —
     strong behind the title (--hv-a1), soft behind the paragraph, buttons and small print (--hv-a2), full behind the laptop
     and phone. site.js measures where the title and the text end (--hv-h1, --hv-text) for each phone width. Strengths
     chosen by measuring every half second of the video: big text at least 3:1, small text at least 4.5:1 (WCAG AA).
     The pause button sits under the laptop. */
  .hero-video { --hv-a1: .5; --hv-a2: .35;
    --hv-mask: linear-gradient(180deg, rgba(0,0,0,var(--hv-a1)) 0, rgba(0,0,0,var(--hv-a1)) calc(var(--hv-h1, 0px) - 28px), rgba(0,0,0,var(--hv-a2)) calc(var(--hv-h1, 0px) + 8px),
      rgba(0,0,0,var(--hv-a2)) var(--hv-text, 66%), #000 calc(var(--hv-text, 66%) + 40px), #000 calc(100% - 24px), transparent);
    -webkit-mask-image: var(--hv-mask); mask-image: var(--hv-mask); }
  :root[data-theme="light"] .hero-video { --hv-a1: .2; --hv-a2: .2; }
}
@media (max-width: 980px) and (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .hero-video { --hv-a1: .2; --hv-a2: .2; }
}

/* devices drawn in CSS around real screenshots */
.devices { position: relative; padding-bottom: 40px; }
.laptop { position: relative; border-radius: 16px; background: #0b0f11; padding: 10px 10px 12px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.08); }
.laptop .bar { display: flex; gap: 6px; padding: 2px 6px 9px; }
.laptop .bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3236; }
.laptop img { border-radius: 8px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone { position: absolute; right: -14px; bottom: 0; width: 31%; min-width: 140px; border-radius: 30px; background: #050708; padding: 8px; box-shadow: 0 30px 60px -15px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); }
.phone img { border-radius: 23px; width: 100%; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; }
.float-chip { position: absolute; left: -22px; top: 18%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line-2); box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; }
.float-chip b { display: block; font-size: 18px; color: var(--text); }
.float-chip small { color: var(--muted); }
.float-chip .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-text); }
.float-chip .ico svg { width: 20px; height: 20px; }
@media (max-width: 980px) {
  .hero { padding: 48px 0 24px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .devices { margin: 0 6px; }
  .phone { right: -6px; }
  .float-chip { left: -4px; top: auto; bottom: 22px; }
}
@media (max-width: 480px) { .float-chip { display: none; } .phone { width: 36%; } .cta-row .btn { width: 100%; } }

/* ---------- facts strip ---------- */
.facts { border-block: 1px solid var(--line); background: var(--bg-2); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 26px 18px; display: flex; align-items: center; gap: 14px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact svg { width: 26px; height: 26px; color: var(--brand-text); flex: none; }
.fact b { display: block; font-size: 16px; }
.fact span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 420px) { .fact { padding: 18px 10px; gap: 10px; } }

/* ---------- sections ---------- */
section { scroll-margin-top: 80px; }
.sec { padding: 104px 0; }
.sec-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.head .kicker { color: var(--brand-text); font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 900; margin: 12px 0 14px; }
.head p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 640px) { .sec { padding: 72px 0; } .head { margin-bottom: 40px; } }

/* before / after */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.col { border-radius: var(--radius); padding: 30px; background: var(--surface); border: 1px solid var(--line); }
.col h3 { font-size: 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.col li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--soft); }
.col li svg { width: 22px; height: 22px; margin-top: 2px; }
.col.old li svg { color: var(--danger); }
.col.new { border-color: color-mix(in srgb, var(--brand) 45%, transparent); background: linear-gradient(180deg, var(--brand-tint), transparent 70%), var(--surface); }
.col.new li svg { color: var(--brand-text); }
.tag { font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tag.red { background: rgba(248,113,113,.12); color: var(--danger); }
.tag.teal { background: var(--brand-tint); color: var(--brand-text); }
@media (max-width: 760px) { .compare { grid-template-columns: minmax(0, 1fr); } .col { padding: 24px; } }

/* features */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { border-radius: var(--radius); padding: 26px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.card:hover { border-color: color-mix(in srgb, var(--brand) 40%, transparent); transform: translateY(-2px); }
.card .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-text); margin-bottom: 18px; }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1040px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid4 { grid-template-columns: minmax(0, 1fr); } }

/* spotlights */
.spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.spot + .spot { margin-top: 110px; }
.spot { scroll-margin-top: 96px; }
.spot.flip .spot-text { order: 2; }
.spot h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900; margin: 12px 0 16px; }
.spot .kicker { color: var(--brand-text); font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.spot p.lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 22px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--soft); }
.checks svg { width: 22px; height: 22px; color: var(--brand-text); margin-top: 2px; }
.shot { border-radius: 16px; padding: 10px; background: #0b0f11; border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow); }
.shot img { border-radius: 9px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
@media (max-width: 900px) { .spot { grid-template-columns: minmax(0, 1fr); gap: 32px; } .spot.flip .spot-text { order: 0; } .spot + .spot { margin-top: 72px; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; border-radius: var(--radius); padding: 30px 26px 28px; background: var(--surface); border: 1px solid var(--line); }
.step .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; color: var(--brand-ink); background: var(--brand); margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.plan { position: relative; border-radius: 22px; padding: 34px 30px 30px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.best { border: 1.5px solid var(--brand); background: linear-gradient(180deg, var(--brand-tint), transparent 55%), var(--surface); box-shadow: 0 30px 70px -35px rgba(41,224,206,.55); }
.plan .ribbon { position: absolute; top: -13px; left: 30px; background: var(--brand); color: var(--brand-ink); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h3, .plan h2 { font-size: 20px; }
.plan .promo { margin-top: 6px; display: inline-block; color: var(--amber); font-weight: 700; font-size: 14px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 4px; flex-wrap: wrap; }
.price .now { font-size: 54px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.price .now .cur { font-size: 22px; font-weight: 800; letter-spacing: 0; margin-right: 2px; vertical-align: 22px; }
.price .per { color: var(--muted); font-weight: 700; }
.price s { color: var(--muted); font-size: 20px; font-weight: 700; }
.plan .note { color: var(--muted); font-size: 14px; min-height: 22px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 11px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--soft); font-size: 15.5px; }
.plan li svg { width: 20px; height: 20px; color: var(--brand-text); margin-top: 2px; }
.plan .btn { margin-top: auto; width: 100%; }
.price-fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }
@media (max-width: 760px) { .prices { grid-template-columns: minmax(0, 1fr); } }

/* privacy + languages */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panel { border-radius: var(--radius); padding: 32px; background: var(--surface); border: 1px solid var(--line); }
.panel h3 { font-size: 22px; margin: 16px 0 10px; }
.panel p { color: var(--muted); }
.panel .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-text); }
.panel .ico svg { width: 26px; height: 26px; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.langs span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 700; color: var(--soft); }
@media (max-width: 760px) { .duo { grid-template-columns: minmax(0, 1fr); } .panel { padding: 24px; } }

/* customer reviews (Facebook) */
.sec-tight { padding-bottom: 0; }
.rev-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); font-weight: 700; text-decoration: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.rev-badge svg { width: 18px; height: 18px; color: var(--brand-text); }
.rev-badge:hover { border-color: var(--brand-text); }
.quote { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { margin: 0; font-size: 1.15rem; line-height: 1.6; color: var(--text); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: 1; font-weight: 900; color: var(--brand-text); height: 28px; }
.quote figcaption { margin-top: auto; display: grid; gap: 2px; }
.quote figcaption b { font-size: 16px; }
.quote figcaption span { color: var(--muted); font-size: 14px; }
.rev-more { text-align: center; margin-top: 24px; }
.rev-more a { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-text); font-weight: 700; text-decoration: none; min-height: 44px; }
.rev-more svg { width: 18px; height: 18px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--brand-text); border-bottom: 2px solid var(--brand-text); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 22px; color: var(--muted); }
.faq a { color: var(--brand-text); }

/* final cta */
.final { padding: 0 0 104px; }
.final .box { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 40px; text-align: center; background: radial-gradient(700px 300px at 50% 0%, rgba(41,224,206,.28), transparent 70%), var(--surface); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); }
.final h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 900; max-width: 760px; margin: 0 auto 14px; }
.final p { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.final .cta-row { justify-content: center; margin-top: 0; }
@media (max-width: 640px) { .final { padding-bottom: 72px; } .final .box { padding: 44px 20px; border-radius: 22px; } }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 28px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot p { color: var(--muted); margin-top: 14px; max-width: 26em; }
.foot h2 { margin: 0 0 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.foot a { color: var(--muted); text-decoration: none; display: inline-block; padding: 6px 0; min-height: 32px; }
.foot a:hover { color: var(--brand-text); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--soft); }
.social svg { width: 18px; height: 18px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot .brand { grid-column: 1 / -1; } }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn, .card { transition: none; } }

/* ---------- inner pages ---------- */
.page-head { position: relative; padding: 76px 0 36px; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: -40% -10% auto; height: 600px; background: radial-gradient(560px 300px at 70% 20%, rgba(41,224,206,.16), transparent 70%); pointer-events: none; }
.page-head .wrap { position: relative; max-width: 900px; text-align: center; }
.page-head h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 900; margin: 18px 0 16px; }
.page-head .lede { margin: 0 auto; }
.page-head .cta-row { justify-content: center; }
.page-head.nf { padding: 120px 0 120px; }
.sec-tight { padding: 40px 0 96px; }
@media (max-width: 640px) { .page-head { padding: 48px 0 24px; } .sec-tight { padding: 28px 0 72px; } }

/* guides */
.guide-group + .guide-group { margin-top: 56px; }
.guide-group h2 { font-size: 22px; font-weight: 900; margin-bottom: 18px; padding-left: 14px; border-left: 3px solid var(--brand); }
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.video { margin: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
/* the how-to videos recorded from the app (2026-11-18): played on the page; the phone ones are portrait cards */
.tut { display: block; width: 100%; height: auto; background: #000; }
.videos.tall { grid-template-columns: repeat(auto-fill, minmax(220px, 300px)); }
.video figcaption { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px 18px; font-weight: 700; color: var(--soft); }
.video .num { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 14px; font-weight: 900; background: var(--brand-tint); color: var(--brand-text); }
.guide-switch { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-radius: var(--radius); border: 1px solid var(--line-2); text-decoration: none; background: var(--surface); }
.guide-switch small { display: block; color: var(--muted); font-size: 14px; }
.guide-switch b { font-size: 18px; }
.guide-switch svg { width: 22px; height: 22px; color: var(--brand-text); flex: none; }
.guide-switch:hover { border-color: var(--brand); }
@media (max-width: 760px) { .videos { grid-template-columns: minmax(0, 1fr); } .videos.tall { justify-content: center; } }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
.contact-card { text-decoration: none; display: flex; flex-direction: column; }
.contact-card .link { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--brand-text); font-weight: 700; word-break: break-all; }
.contact-card .link svg { width: 18px; height: 18px; flex: none; }
.contact-help { text-align: center; color: var(--muted); margin-top: 36px; }
.contact-help a { color: var(--brand-text); }
@media (max-width: 820px) { .contact-cards { grid-template-columns: minmax(0, 1fr); } }
/* Contact form (2026-11-12): messages go to the CDFintech inbox + CRM in the CDMarketing portal */
.contact-form { max-width: 980px; margin: 0 auto 28px; padding: 30px; }
.contact-form:hover { transform: none; }
.contact-form h2 { margin: 0 0 20px; font-size: 24px; }
.contact-form .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.contact-form .field { margin-bottom: 16px; }
.contact-form label { display: block; margin-bottom: 7px; font-weight: 700; font-size: 14px; color: var(--soft); }
.contact-form .opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: inherit; font-size: 16px; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.contact-form .btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 700; min-height: 1em; }
.form-status.ok { color: var(--brand-text); }
.form-status.err { color: #f87171; }
:root[data-theme="light"] .form-status.err { color: #b42318; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .form-status.err { color: #b42318; } }
.form-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.form-note a { color: var(--brand-text); }
@media (max-width: 640px) { .contact-form { padding: 22px 18px; } .contact-form .grid2 { grid-template-columns: minmax(0, 1fr); } .contact-form .btn { width: 100%; } }

/* legal text */
.prose { max-width: 760px; margin: 0 auto; color: var(--soft); font-size: 17px; }
.prose h2 { font-size: 22px; font-weight: 900; color: var(--text); margin: 40px 0 12px; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--brand-text); }

/* cookie notice (2026-11-13, like cdmarketing.com.mx): the visit log's ID stays unless the visitor declines */
.ck { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; width: min(520px, calc(100vw - 32px)); display: grid; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); font-size: 15px; line-height: 1.5; }
.ck[hidden] { display: none; }
.ck p { margin: 0; color: var(--muted); }
.ck p a { color: var(--brand-text); font-weight: 700; }
.ck-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.legal .ck-open { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.legal .ck-open:hover { color: var(--brand-text); }
@media (min-width: 700px) { .ck { width: min(760px, calc(100vw - 32px)); grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 14px 12px 18px; } }

/* restaurants page + home paths (2026-11-17) */
.shot.phone-shot { width: 100%; max-width: 300px; margin-inline: auto; border-radius: 32px; }
.shot.phone-shot img { border-radius: 24px; aspect-ratio: 390 / 844; }
.paths-sec .head { margin-bottom: 32px; }
.panel.path { display: block; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.panel.path:hover { border-color: var(--brand); transform: translateY(-2px); }
.more-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; min-height: 44px; color: var(--brand-text); font-weight: 700; text-decoration: none; }
.more-link svg { width: 18px; height: 18px; }

/* review 2026-11-18: answer pages, the video's words, single videos, a single quote */
.answer .updated { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.prose ol.steps-list { margin: 0 0 16px; padding-left: 0; list-style: none; counter-reset: st; display: grid; gap: 12px; }
.prose ol.steps-list li { counter-increment: st; position: relative; padding-left: 44px; min-height: 30px; }
.prose ol.steps-list li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 900; font-size: 15px; background: var(--brand-tint); color: var(--brand-text); }
.table-wrap { overflow-x: auto; margin: 0 0 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
table.ex { width: 100%; border-collapse: collapse; font-size: 15px; }
table.ex th, table.ex td { padding: 12px 14px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
table.ex th[scope="row"], table.ex thead th:first-child { text-align: left; white-space: normal; }
table.ex thead th { color: var(--muted); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
table.ex tfoot th, table.ex tfoot td { border-bottom: 0; font-weight: 900; color: var(--text); }
.ex-after { color: var(--muted); font-size: 15px; }
.cta-line { margin: 24px 0 8px; }
.video-solo { max-width: 760px; margin: 8px auto 0; }
.tall-solo { max-width: 340px; }
.prose .video-solo { margin: 16px 0 8px; }
.transcript { border-top: 1px solid var(--line); }
.transcript summary { cursor: pointer; padding: 14px 18px; min-height: 44px; color: var(--brand-text); font-weight: 700; font-size: 15px; }
.transcript p { padding: 0 18px 18px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.quote-solo { max-width: 760px; margin: 0 auto; }
/* phones (review 2026-11-18): a tighter hero so the app shows in the first screen, under the buttons. Same order and
   boxes as before (site.js measures the title and the text for the video's mask). */
@media (max-width: 640px) {
  .hero { padding-top: 24px; }
  .hero .wrap { gap: 28px; }
  .hero h1 { font-size: 2.05rem; margin: 14px 0 14px; }
  .hero .cta-row { margin-top: 22px; }
  .hero .fine { margin-top: 14px; }
}
