/* Quotea — sitio público. Sin dependencias externas. */
@font-face {
  font-family: "Playball Quotea";
  src: url("/fonts/playball-quotea.woff") format("woff");
  font-display: swap;
}

:root {
  --ink: #13233a;
  --ink-2: #33445a;
  --muted: #5a6879;
  --bg: #f4f6f9;
  --paper: #ffffff;
  --line: #dde4ec;
  --blue: #0a6fe8;
  --blue-soft: #e7f1ff;
  --green: #0f9d6b;
  --brand: linear-gradient(100deg, #0a7aff 0%, #00bfae 55%, #00e07a 100%);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --wrap: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 760; }
h3 { font-size: 1.2rem; font-weight: 680; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Wordmark */
.wordmark { font-family: "Playball Quotea", "Snell Roundhand", cursive; font-weight: 400; letter-spacing: 0; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(244 246 249 / 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand .wordmark { font-size: 2rem; padding: 4px 2px 6px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav > a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; padding: 8px 12px; border-radius: 999px; }
.nav > a:hover { background: rgb(19 35 58 / 0.06); }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgb(19 35 58 / 0.06); }
.langs a { font-size: 0.8rem; font-weight: 650; color: var(--muted); text-decoration: none; padding: 5px 9px; border-radius: 999px; }
.langs a[aria-current="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgb(19 35 58 / 0.12); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 650; text-decoration: none; border-radius: 999px; padding: 12px 22px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px -10px rgb(10 122 255 / 0.7); }
.btn-primary:hover { filter: brightness(1.05); }
.bar .btn { padding: 9px 16px; font-size: 0.92rem; }
@media (max-width: 900px) { .nav { display: none; } .langs { margin-left: auto; } }
@media (max-width: 420px) { .bar .btn { display: none; } }

/* Hero */
.hero { padding: clamp(36px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 790; letter-spacing: -0.035em; }
.hero .lead { margin-top: 22px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-size: 0.98rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { flex: none; color: var(--green); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-width: 176px; padding: 9px 18px 9px 14px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; line-height: 1.15; }
.store svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.store small { display: block; font-size: 0.68rem; opacity: 0.85; }
.store strong { font-size: 1.08rem; font-weight: 600; }
.store.soon { background: transparent; color: var(--ink); border: 1.5px dashed #b5c1ce; cursor: default; }
.stores-note { margin-top: 10px; font-size: 0.85rem; color: var(--muted); }

/* Phone + paper composition */
.stage { position: relative; min-height: 560px; display: flex; justify-content: center; }
.paper { position: absolute; top: 34px; right: -10px; width: 74%; max-width: 420px; background: #fff; border-radius: 6px; box-shadow: 0 30px 60px -30px rgb(19 35 58 / 0.45), 0 2px 6px rgb(19 35 58 / 0.08); transform: rotate(4deg); }
.phone { position: relative; width: 290px; border-radius: 46px; padding: 10px; background: #0d1117; box-shadow: 0 40px 80px -36px rgb(19 35 58 / 0.6); }
.phone img { border-radius: 37px; width: 100%; aspect-ratio: 585 / 1266; object-fit: cover; object-position: top; background: #f2f3f6; }
.phone.sm { width: 236px; border-radius: 38px; padding: 8px; }
.phone.sm img { border-radius: 31px; }
.stage .phone { margin-right: 22%; z-index: 2; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { min-height: 0; padding: 10px 0 20px; }
  .stage .phone { margin-right: 18%; width: 250px; }
  .paper { width: 58%; right: 2%; }
}

/* Audience line */
.audience { border-block: 1px solid var(--line); background: var(--paper); }
.audience p { padding: 20px 0; color: var(--ink-2); font-size: 1rem; text-align: center; }
.audience strong { color: var(--ink); }

/* Sections */
section.block { padding: clamp(64px, 9vw, 120px) 0; }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.head .lead { margin-top: 16px; }

/* Flow (a real sequence) */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.flow li { counter-increment: step; }
.flow .phone { margin: 0 auto 26px; }
.flow h3 { display: flex; align-items: baseline; gap: 10px; }
.flow h3::before { content: counter(step); font-size: 0.85rem; font-weight: 700; color: #fff; background: var(--ink); width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; transform: translateY(-2px); }
.flow p { margin-top: 8px; color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 1080px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* Reports */
.reports { background: var(--ink); color: #e9eef5; }
.reports h2, .reports h3 { color: #fff; }
.reports .lead { color: #c3cedb; }
.reports-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.reports-grid > .phone { position: sticky; top: 96px; }
.reports .phone { background: #000; box-shadow: 0 40px 90px -40px #000; }
.report-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.report-list li { padding-left: 22px; border-left: 2px solid rgb(255 255 255 / 0.16); }
.report-list li:first-child { border-left-color: #2fd6a5; }
.report-list p { margin-top: 6px; color: #c3cedb; }
.report-shots { display: flex; gap: 20px; margin-top: 40px; }
.report-shots .phone { background: #000; }
@media (max-width: 900px) { .reports-grid { grid-template-columns: 1fr; } .reports-grid > .phone { margin-inline: auto; position: static; } }
@media (max-width: 640px) { .report-shots .phone:nth-child(2) { display: none; } .report-shots { justify-content: center; } }

/* Templates switcher */
.tpl-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.tpl-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tpl-tabs button { font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; cursor: pointer; }
.tpl-tabs button:hover { border-color: #b5c1ce; }
.tpl-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sheet { position: relative; background: #fff; border-radius: 4px; box-shadow: 0 1px 0 var(--line), 0 30px 60px -32px rgb(19 35 58 / 0.4); overflow: hidden; aspect-ratio: 910 / 1287; }
.sheet img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s ease; }
.sheet-caption { margin-top: 14px; font-size: 0.9rem; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.checks svg { color: var(--green); margin-top: 4px; }
.checks strong { display: block; font-weight: 650; }
.checks span { color: var(--ink-2); font-size: 0.98rem; }
.tpl-side .phone { margin-top: 40px; }
@media (max-width: 900px) { .tpl-grid { grid-template-columns: 1fr; } .tpl-side .phone { margin-inline: auto; } }

/* More features */
.more { background: var(--paper); border-block: 1px solid var(--line); }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; }
.feature-list div { padding: 26px 26px 26px 0; border-top: 1px solid var(--line); }
.feature-list dt { font-weight: 680; font-size: 1.06rem; display: flex; gap: 10px; align-items: center; }
.feature-list dt svg { color: var(--blue); flex: none; }
.feature-list dd { margin: 8px 0 0; color: var(--ink-2); font-size: 0.97rem; }
.more-shots { display: flex; gap: 24px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
@media (max-width: 900px) { .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-list { grid-template-columns: 1fr; } .feature-list div { padding-right: 0; } .more-shots .phone:nth-child(n+2) { display: none; } }

/* Privacy band */
.privacy-band { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; background: var(--blue-soft); border-radius: var(--radius-l); padding: clamp(28px, 5vw, 56px); }
.privacy-band .icon { width: 64px; height: 64px; border-radius: 18px; background: #fff; display: grid; place-items: center; color: var(--blue); }
.privacy-band p { margin-top: 12px; color: var(--ink-2); max-width: 70ch; }
@media (max-width: 600px) { .privacy-band { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; }
.plan.free { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan.free .muted, .plan.free li { color: #c3cedb; }
.plan h3 { font-size: 1.5rem; font-weight: 760; letter-spacing: -0.02em; }
.plan .tag { color: var(--muted); font-size: 0.98rem; margin-top: -4px; }
.plan.free .tag { color: #c3cedb; }
.price { font-size: 2rem; font-weight: 760; letter-spacing: -0.03em; line-height: 1.1; }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan.free .price small { color: #c3cedb; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; font-size: 0.95rem; color: var(--ink-2); }
.plan li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }
.plan.free li::before { color: #2fd6a5; }
.plans-note { margin-top: 18px; font-size: 0.88rem; color: var(--muted); max-width: 80ch; }
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 650; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }

/* Final CTA */
.final { text-align: center; }
.final .wordmark { font-size: clamp(3.4rem, 9vw, 6.5rem); display: inline-block; padding: 0 10px 12px; }
.final p { margin: 10px auto 0; max-width: 52ch; color: var(--ink-2); }
.final .stores { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); padding: 32px 0 40px; font-size: 0.92rem; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* Language suggestion */
.lang-hint { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 420px; margin-left: auto; background: var(--ink); color: #fff; border-radius: 16px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; box-shadow: 0 20px 40px -20px rgb(0 0 0 / .6); font-size: 0.95rem; }
.lang-hint a { color: #fff; font-weight: 650; }
.lang-hint button { margin-left: auto; background: transparent; border: 0; color: #c3cedb; font: inherit; cursor: pointer; padding: 4px 8px; }
.lang-hint[hidden] { display: none; }

/* Legal pages */
.legal { padding: clamp(40px, 7vw, 80px) 0 100px; }
.legal article { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 780; }
.legal .updated { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.legal .summary { margin: 28px 0 8px; padding: 22px 24px; border-radius: var(--radius-m); background: var(--blue-soft); color: var(--ink-2); }
.legal .summary ul { margin: 10px 0 0; padding-left: 20px; }
.legal h2 { font-size: 1.35rem; font-weight: 700; margin: 40px 0 10px; letter-spacing: -0.015em; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal li + li { margin-top: 4px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 650; color: var(--ink); }
.toc { margin-top: 28px; columns: 2; column-gap: 32px; padding-left: 20px; font-size: 0.95rem; }
@media (max-width: 600px) { .toc { columns: 1; } .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; } .legal thead { display: none; } .legal td { border: 0; padding: 2px 0; } .legal tr { border-bottom: 1px solid var(--line); padding: 10px 0; } }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); }
.notfound p { margin: 12px 0 24px; color: var(--ink-2); }
section[id] { scroll-margin-top: 72px; }

/* VERI*FACTU (solo ES) */
.vf { padding-top: 0; }
.vf-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(28px, 5vw, 56px); }
.vf-seal { width: 168px; height: 168px; border-radius: 50%; border: 3px solid var(--ink); display: grid; place-items: center; align-content: center; gap: 4px; text-align: center; color: var(--ink); }
.vf-seal svg { color: var(--green); }
.vf-seal strong { font-size: 1.15rem; letter-spacing: 0.02em; }
.vf-seal span { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.vf-badge { display: inline-block; font-size: 0.85rem; font-weight: 650; color: var(--green); background: #e5f7ef; border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.vf-text p { margin-top: 12px; color: var(--ink-2); max-width: 68ch; }
.vf .hero-points { margin-top: 20px; }
.vf-note { margin-top: 18px; font-size: 0.86rem; color: var(--muted); max-width: 70ch; }
@media (max-width: 700px) { .vf-grid { grid-template-columns: 1fr; } .vf-seal { width: 120px; height: 120px; } }

/* ------------------------------------------------------------ Enlaces del pie */
.vf-link { margin-top: 18px; }
.foot-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.foot-title { font-weight: 650; color: var(--ink); }
.foot-links nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }

/* ------------------------------------------------------------ Landing pages */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: 0.88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.lp-hero { padding-top: clamp(24px, 4vw, 44px); }
.lp-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
.lp-hero.no-visual .hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.stage.solo .phone { margin-right: 0; }
.lp-notice { margin-top: 22px; padding: 14px 16px; border-radius: var(--radius-s); background: #fff6e5; color: #6b4b00; border: 1px solid #f3dca8; max-width: 60ch; font-size: 0.97rem; }
.lp-reviewed { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }
.prose > * { max-width: 760px; }
.prose h2 { margin-bottom: 16px; }
.prose p { color: var(--ink-2); max-width: 70ch; }
.prose p + p, .prose ul + p, .prose p + ul, .prose div + p { margin-top: 14px; }
.prose ul { padding-left: 22px; color: var(--ink-2); }
.prose li + li { margin-top: 6px; }
.lp-intro { padding-bottom: 0; }
.lp-block + .lp-block { padding-top: 0; }
.lp-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; }
@media (max-width: 760px) { .lp-checks { grid-template-columns: 1fr; } }
.lp-guide dt { display: block; }
.lp-example { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.lp-example .lead { margin: 14px 0 24px; }
.lp-example-visual { display: flex; justify-content: center; }
.lp-sheet { width: 100%; max-width: 440px; }
@media (max-width: 900px) { .lp-example { grid-template-columns: minmax(0, 1fr); } }
.qtable-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); }
.qtable { width: 100%; border-collapse: collapse; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.qtable th, .qtable td { padding: 11px 14px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.qtable th:first-child { text-align: left; white-space: normal; font-weight: 500; color: var(--ink); }
.qtable thead th { font-size: 0.82rem; font-weight: 650; color: var(--muted); background: var(--bg); }
.qtable thead th:first-child { color: var(--muted); font-weight: 650; }
.qtable tfoot th { text-align: right !important; font-weight: 500; color: var(--ink-2); }
.qtable tfoot .grand th, .qtable tfoot .grand td { border-bottom: 0; }
.qtable .grand th, .qtable .grand td { font-weight: 760; color: var(--ink); font-size: 1.05rem; }
@media (max-width: 560px) { .qtable th, .qtable td { padding: 9px 10px; font-size: 0.86rem; } }
.lp-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.lp-steps li { counter-increment: step; }
.lp-steps h3 { display: flex; align-items: baseline; gap: 10px; font-size: 1.05rem; }
.lp-steps h3::before { content: counter(step); font-size: 0.85rem; font-weight: 700; color: #fff; background: var(--ink); width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; transform: translateY(-2px); }
.lp-steps p { margin-top: 8px; color: var(--ink-2); font-size: 0.96rem; }
@media (max-width: 1080px) { .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-cta-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 4px; }
.lp-sources { padding-top: 0; }

/* ------------------------------------------------------------ Página VERI*FACTU */
.vf-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 22px 0 18px; }
.vf-date { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; }
.vf-date h3 { margin-bottom: 10px; }
.vf-date.legal { border-top: 4px solid var(--ink); }
.vf-date.announced { border-top: 4px solid #e2a400; }
.vf-status { margin-top: 12px; font-size: 0.92rem; font-weight: 650; color: #6b4b00; }
@media (max-width: 760px) { .vf-dates { grid-template-columns: 1fr; } }
.vf-state { margin: 8px 0 16px; display: grid; gap: 12px; }
.vf-state div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.vf-state dt { font-weight: 650; }
.vf-state dd { margin: 0; color: var(--ink-2); }
.state { display: inline-block; font-size: 0.8rem; font-weight: 700; border-radius: 999px; padding: 2px 10px; margin-right: 8px; }
.state.done { background: #e5f7ef; color: var(--green); }
.state.progress { background: var(--blue-soft); color: var(--blue); }
.state.pending { background: #fff1d6; color: #7a5600; }
@media (max-width: 600px) { .vf-state div { grid-template-columns: 1fr; gap: 4px; } }
.vf-free { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; }
.vf-free-badge { display: inline-block; font-size: 0.88rem; font-weight: 700; color: var(--green); background: #e5f7ef; border-radius: 999px; padding: 4px 12px; margin-bottom: 12px !important; }
.lp-hero.no-visual .hero-grid { max-width: none; }
.lp-hero.no-visual .hero-grid > div { max-width: 860px; }
.lp h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.lp .lp-block { padding: clamp(36px, 5vw, 56px) 0; }
.lp .lp-intro { padding-top: clamp(48px, 7vw, 88px); }

/* ------------------------------------------------------------ Soluciones: menú de cabecera
   Botón con el mismo aspecto que los enlaces de .nav; panel controlado por .is-open (site.js). */
.nav { align-items: center; }
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: 0.95rem; line-height: inherit; color: var(--ink-2); background: none; border: 0; padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.nav-drop-btn:hover { background: rgb(19 35 58 / 0.06); }
.nav-drop.is-open .nav-drop-btn { color: var(--ink); background: rgb(19 35 58 / 0.06); }
.nd-chev { display: inline-flex; color: var(--muted); transition: transform .2s ease; }
.nav-drop.is-open .nd-chev { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% + 12px); left: 50%; z-index: 60; width: max-content; max-width: min(820px, calc(100vw - 32px));
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden;
  box-shadow: 0 1px 2px rgb(19 35 58 / 0.05), 0 22px 48px -20px rgb(19 35 58 / 0.28);
  opacity: 0; visibility: hidden; transform: translate(calc(-50% + var(--nm-x, 0px)), -6px); transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; }
.nav-drop.is-open .nav-menu { opacity: 1; visibility: visible; transform: translate(calc(-50% + var(--nm-x, 0px)), 0); transition: opacity .16s ease, transform .16s ease, visibility 0s; }
.nm-cols { display: flex; gap: 8px; padding: 18px 14px 12px; }
.nm-col { width: 236px; }
.nm-label { margin: 0 10px 6px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.nav-menu ul { list-style: none; margin: 0; padding: 0; }
.nm-col a { display: block; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.nm-col a strong { display: block; font-size: 0.94rem; font-weight: 650; line-height: 1.35; }
.nm-col a span { display: block; margin-top: 2px; font-size: 0.84rem; line-height: 1.45; color: var(--muted); }
.nm-col a:hover { background: var(--bg); }
.nm-col a:hover strong { color: var(--blue); }
.nm-page { display: none; }
.nm-all { display: flex; align-items: center; gap: 6px; padding: 14px 24px; background: var(--bg); border-top: 1px solid var(--line); font-size: 0.9rem; font-weight: 650; color: var(--ink); text-decoration: none; }
.nm-all span { display: inline-flex; transition: transform .2s ease; }
.nm-all:hover { color: var(--blue); }
.nm-all:hover span { transform: translateX(3px); }
.nav-menu a:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav { display: flex; order: 5; margin-left: 0; }
  .nav > a, .nav-drop-btn { display: none; }
  .nav-drop { position: static; }
  .menu-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-right: -8px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--ink); cursor: pointer; }
  .menu-btn:hover { background: rgb(19 35 58 / 0.06); }
  .mb-lines, .mb-lines::before { display: block; width: 18px; height: 1.75px; border-radius: 2px; background: currentColor; transition: transform .2s ease; }
  .mb-lines { position: relative; transform: translateY(-3.5px); }
  .mb-lines::before { content: ""; position: absolute; left: 0; top: 7px; }
  .nav-drop.is-open .mb-lines { transform: translateY(0) rotate(45deg); }
  .nav-drop.is-open .mb-lines::before { top: 0; transform: rotate(-90deg); }
  .nav-menu { position: fixed; top: 64px; left: 0; right: 0; width: auto; max-width: none; max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain;
    border-radius: 0; border-width: 1px 0; transform: translateY(-6px); }
  .nav-drop.is-open .nav-menu { transform: none; }
  .nm-cols { flex-direction: column; gap: 14px; padding: 18px 8px 8px; }
  .nm-col { width: auto; }
  .nm-page { display: block; padding: 6px 8px 14px; }
  .nm-page ul { display: flex; flex-wrap: wrap; gap: 0 4px; }
  .nm-page a { display: block; padding: 9px 10px; font-size: 0.95rem; color: var(--ink-2); text-decoration: none; border-radius: 10px; }
  .nm-page a:hover { background: var(--bg); }
  .nm-all { padding: 16px 18px; }
  .nm-col a, .nm-page a { min-height: 44px; }
}
/* La cabecera usa backdrop-filter, así que los position:fixed internos se colocan respecto a ella: por eso top:64px y height en dvh. */
@media (max-width: 900px) { .nav-drop.is-open::after { content: ""; position: fixed; top: 64px; left: 0; right: 0; height: 100dvh; background: rgb(19 35 58 / 0.2); z-index: 55; } }

/* ------------------------------------------------------------ Soluciones: colores por tipo */
.sol-quotes { --sol: #0a6fe8; --sol-bg: #e7f1ff; }
.sol-iphone { --sol: #4f46e5; --sol-bg: #eceeff; }
.sol-plumbers { --sol: #0b8fb3; --sol-bg: #e2f5fa; }
.sol-renovation { --sol: #c2620c; --sol-bg: #fff0e0; }
.sol-android { --sol: #0f9d6b; --sol-bg: #e4f6ec; }
.sol-verifactu { --sol: #13233a; --sol-bg: #eef1f5; }

/* ------------------------------------------------------------ Soluciones: sección de portada */
.solutions { background: var(--paper); border-block: 1px solid var(--line); }
.sol-eyebrow { display: inline-block; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.sol-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.sol-card { grid-column: span 2; }
.sol-card.wide { grid-column: span 3; }
.sol-card > a { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--paper); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.sol-card > a:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 26px 50px -26px rgb(19 35 58 / 0.4); }
.sol-card > a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sol-visual { position: relative; height: 210px; background: radial-gradient(120% 90% at 50% 0%, #fff 0%, var(--sol-bg) 70%); display: flex; justify-content: center; align-items: flex-end; overflow: hidden; }
.sol-card.wide .sol-visual { height: 240px; }
.sol-shot { width: 170px; height: 88%; padding: 7px 7px 0; background: #0d1117; border-radius: 30px 30px 0 0; box-shadow: 0 20px 40px -18px rgb(19 35 58 / 0.55); transition: transform .3s ease; }
.sol-card.wide .sol-shot { width: 196px; }
.sol-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px 24px 0 0; display: block; background: #f2f3f6; }
.sol-card > a:hover .sol-shot { transform: translateY(-6px); }
.sol-seal { align-self: center; width: 136px; height: 136px; border-radius: 50%; border: 3px solid var(--ink); background: #fff; display: grid; place-items: center; align-content: center; gap: 6px; }
.sol-seal svg { color: var(--green); }
.sol-seal strong { font-size: 1rem; letter-spacing: 0.02em; }
.sol-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.sol-tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--sol-bg); color: var(--sol); font-size: 0.8rem; font-weight: 700; }
.sol-body h3 { font-size: 1.2rem; margin: 4px 0 0; }
.sol-body p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
.sol-more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--blue); }
.sol-more svg { transition: transform .2s ease; }
.sol-card > a:hover .sol-more svg { transform: translateX(4px); }
@media (max-width: 980px) { .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sol-card, .sol-card.wide { grid-column: span 1; } .sol-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 600px) { .sol-grid { grid-template-columns: 1fr; gap: 16px; } .sol-card:last-child:nth-child(odd) { grid-column: auto; } .sol-visual, .sol-card.wide .sol-visual { height: 180px; } .sol-shot, .sol-card.wide .sol-shot { width: 150px; } }

/* ------------------------------------------------------------ Contenido largo de las landings (.prose) */
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgb(10 111 232 / 0.35); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color .15s ease, text-decoration-color .15s ease; }
.prose a:hover { color: var(--blue); text-decoration-color: currentColor; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 22px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: 0.66em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.lp-sources h2 { margin-bottom: 18px; }
.prose ul.src-list { display: grid; gap: 10px; margin: 0 0 18px; }
.prose ul.src-list > li { padding-left: 0; }
.prose ul.src-list > li::before { content: none; }
.src-list a { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); text-decoration: none; font-weight: 600; }
.src-list a:hover { border-color: #b5c1ce; }
.src-host { font-size: 0.84rem; font-weight: 500; color: var(--muted); }
.lp-related .head { margin-bottom: clamp(28px, 4vw, 44px); }
.lp-related .sol-visual { height: 180px; }
.lp-related .sol-shot { width: 150px; }
@media (max-width: 600px) {
  .lp-related .sol-visual { display: none; }
  .lp-related .sol-grid { gap: 12px; }
  .lp-related .sol-body { padding: 20px; }
}
.qtable .qt-narrow { display: none; }
/* Tabla de ejemplo en móvil: se oculta la columna «Precio» (cantidad e importe bastan) para que quepa sin scroll */
@media (max-width: 560px) {
  .qtable thead th:nth-child(3), .qtable tbody td:nth-of-type(2) { display: none; }
  .qtable .qt-wide { display: none; }
  .qtable .qt-narrow { display: table-row; }
}

/* Enlace contextual (mismo lenguaje que «Ver más» de las tarjetas) */
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--blue); text-decoration: none; }
.text-link span { display: inline-flex; transition: transform .2s ease; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover span { transform: translateX(3px); }
