/* La Clave del Marketing — hoja de estilos principal */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0e1220;
  --ink-2: #171c2e;
  --ink-3: #232a42;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --gold: #f2b632;
  --gold-2: #ffd36b;
  --coral: #ff6b4a;
  --mint: #7be0b4;
  --text: #1a1f2e;
  --muted: #5b6275;
  --line: #e3dccd;
  --line-dark: #2c3350;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(14,18,32,.06), 0 12px 32px -12px rgba(14,18,32,.18);
  --font-display: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 5.2rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1.4 var(--font-body);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.dark .eyebrow { color: #a9b0c8; }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 60ch; }
.dark .lead, .hero .lead, .page-hero .lead { color: #c3c8da; }
.hero .eyebrow, .page-hero .eyebrow { color: #a9b0c8; }
.hl { background: linear-gradient(transparent 62%, rgba(242,182,50,.55) 62%); padding: 0 .08em; }
.dark .hl { background: none; color: var(--gold); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--font-body);
  padding: 16px 24px; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(242,182,50,.8); }
.btn-gold:hover { background: var(--gold-2); color: var(--ink); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-3); color: var(--paper); transform: translateY(-2px); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: inherit; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,18,32,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.brand:hover { color: var(--paper); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; line-height: 1; }
.brand-name small { display: block; font: 500 .66rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }

.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: .95rem; font-weight: 500; color: #d6dae8; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--paper); background: rgba(255,255,255,.08); }
.menu .btn { padding: 12px 20px; margin-left: 8px; color: var(--ink); }
.menu .btn:hover { color: var(--ink); background: var(--gold-2); }

.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  min-width: 300px; list-style: none; margin: 0; padding: 10px;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 16px;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { border-radius: 10px; padding: 10px 12px; }
.sub a span { display: block; font-size: .8rem; color: #8e96b3; font-weight: 400; }

.menu-toggle { display: none; background: none; border: 0; color: var(--paper); padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .menu {
    position: fixed; inset: 74px 0 0 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 16px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease, visibility .22s; visibility: hidden;
  }
  .menu.open { opacity: 1; transform: none; visibility: visible; }
  .menu a { font-size: 1.15rem; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line-dark); }
  .menu a:hover { background: none; }
  .sub { position: static; transform: none; opacity: 1; visibility: visible; background: none; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
  .sub a { font-size: 1rem; }
  .sub a span { display: none; }
  .menu .btn { margin: 24px 0 0; border-bottom: 0; padding: 16px; font-size: 1.05rem; }
}
body.menu-open { overflow: hidden; }

/* ---------- Secciones ---------- */
section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.dark { background: var(--ink); color: var(--paper); }
.cream { background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--paper); padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(242,182,50,.18), transparent 60%),
    radial-gradient(500px 380px at 10% 100%, rgba(255,107,74,.12), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { margin-top: 24px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding: 0; list-style: none; }
.hero-badges li { font-size: .85rem; padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 999px; color: #c3c8da; background: rgba(255,255,255,.02); }

.serp {
  background: var(--paper); color: var(--text); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
  transform: rotate(1.5deg); position: relative;
}
.serp-bar { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: .9rem; color: var(--muted); }
.serp-bar svg { width: 16px; height: 16px; flex: none; }
.serp-res { padding: 16px 4px 4px; border-bottom: 1px dashed var(--line); }
.serp-res:last-child { border-bottom: 0; }
.serp-res .u { font-size: .74rem; color: var(--muted); }
.serp-res .t { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: #1a3cc4; line-height: 1.25; margin: 2px 0 4px; }
.serp-res .d { font-size: .82rem; color: var(--muted); line-height: 1.45; }
.serp-res.top { background: linear-gradient(90deg, rgba(242,182,50,.16), transparent); margin: 8px -12px 0; padding: 14px 16px; border-radius: 14px; border-bottom: 0; }
.serp-pos { position: absolute; right: -14px; top: 64px; background: var(--gold); color: var(--ink); font: 800 1.6rem/1 var(--font-display); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; transform: rotate(-8deg); box-shadow: 0 10px 24px -8px rgba(242,182,50,.8); }
.serp-pos small { display: block; font: 600 .55rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.serp-ai { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: #eef1ff; font-size: .82rem; color: #2c3350; line-height: 1.5; }
.serp-ai b svg { width: 14px; height: 14px; }
.serp-ai b { display: flex; align-items: center; gap: 6px; color: #3546c4; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .serp { transform: none; max-width: 520px; }
  .serp-pos { right: 10px; top: -22px; }
}


/* ---------- Maqueta de web + chat IA (hero) ---------- */
.mock { position: relative; padding: 0 0 60px 0; }
.mock-bar { display: flex; align-items: center; gap: 6px; background: #e9e3d6; border-radius: 18px 18px 0 0; padding: 12px 16px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfc6b4; }
.mock-bar i:first-child { background: var(--coral); }
.mock-bar i:nth-child(2) { background: var(--gold); }
.mock-bar i:nth-child(3) { background: var(--mint); }
.mock-bar span { margin-left: 10px; flex: 1; background: var(--paper); border-radius: 999px; padding: 5px 14px; font-size: .78rem; color: var(--muted); }
.mock-body { background: var(--paper); border-radius: 0 0 18px 18px; padding: 18px 20px 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.mock-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.mock-nav b { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); margin-right: auto; }
.mock-nav span { width: 46px; height: 8px; border-radius: 4px; background: #e3dccd; }
.mock-hero { background: var(--ink); border-radius: 14px; padding: 24px 22px; margin-bottom: 14px; }
.mock-hero div { height: 12px; border-radius: 6px; background: rgba(255,255,255,.85); margin-bottom: 10px; }
.mock-hero .l1 { width: 78%; height: 16px; }
.mock-hero .l2 { width: 56%; height: 16px; background: var(--gold); }
.mock-hero .l3 { width: 66%; height: 8px; background: rgba(255,255,255,.35); margin-top: 14px; }
.mock-hero .cta { width: 96px; height: 26px; border-radius: 999px; background: var(--gold); margin: 16px 0 0; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards div { height: 58px; border-radius: 12px; background: var(--cream); }
.mock-score { position: absolute; left: -18px; top: 58px; width: 76px; height: 76px; border-radius: 50%; background: var(--paper); border: 5px solid var(--mint); display: grid; place-items: center; text-align: center; font: 800 1.4rem/1 var(--font-display); color: #11653c; box-shadow: 0 12px 28px -10px rgba(0,0,0,.5); transform: rotate(-6deg); }
.mock-score small { display: block; font: 600 .5rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chat { position: absolute; right: -16px; bottom: 0; width: min(300px, 82%); background: var(--paper); color: var(--text); border-radius: 18px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(14,18,32,.06); font-size: .82rem; line-height: 1.45; }
.chat-head { display: flex; align-items: center; gap: 8px; font: 700 .85rem/1 var(--font-display); padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.chat-head svg { width: 18px; height: 18px; color: var(--ink); background: var(--gold); border-radius: 6px; padding: 2px; }
.chat-head em { margin-left: auto; font: 500 .7rem/1 var(--font-body); color: #11653c; font-style: normal; display: inline-flex; align-items: center; gap: 5px; }
.chat-head em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2bb673; }
.chat p { margin: 0 0 8px; padding: 9px 12px; border-radius: 14px; max-width: 88%; }
.chat p:last-child { margin-bottom: 0; }
.chat .bot { background: var(--cream); border-bottom-left-radius: 4px; }
.chat .me { background: var(--ink); color: var(--paper); margin-left: auto; border-bottom-right-radius: 4px; }
@media (max-width: 900px) {
  .mock { max-width: 520px; }
  .mock-score { left: auto; right: 8px; top: -26px; }
  .chat { right: 0; }
}

/* ---------- Page hero (interiores) ---------- */
.page-hero { background: var(--ink); color: var(--paper); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 360px at 90% 0%, rgba(242,182,50,.16), transparent 60%); }
.page-hero h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); max-width: 18ch; }
.page-hero .lead { margin-top: 20px; }

.crumbs { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: #8e96b3; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: #c3c8da; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---------- Marquee ---------- */
.ticker { background: var(--gold); color: var(--ink); padding: 18px 0; overflow: hidden; border-block: 1px solid rgba(14,18,32,.15); }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: tick 40s linear infinite; }
.ticker span { font: 700 1.25rem/1 var(--font-display); letter-spacing: -0.01em; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.ticker span::after { content: ""; width: 10px; height: 10px; background: var(--ink); border-radius: 50%; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Tarjetas de servicios ---------- */
.services { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.svc {
  grid-column: span 4; position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; text-decoration: none; color: var(--text);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.svc.feature { grid-column: span 6; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.svc.feature + .svc.feature { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.svc.feature + .svc.feature:hover { color: var(--ink); }
.svc.feature + .svc.feature p { color: #3a3320; }
.svc.feature + .svc.feature .svc-ico { background: var(--ink); color: var(--gold); }
.svc.feature + .svc.feature .svc-tags li { border-color: rgba(14,18,32,.25); color: #3a3320; }
.svc.feature + .svc.feature .svc-arrow { border-color: rgba(14,18,32,.25); }
.svc.feature + .svc.feature:hover .svc-arrow { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.svc.feature:hover { color: var(--paper); }
.svc.feature p { color: #c3c8da; }
.svc.feature .svc-tags li { border-color: var(--line-dark); color: #c3c8da; }
.svc-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); margin-bottom: 22px; }
.svc.feature .svc-ico { background: var(--gold); }
.svc-ico svg { width: 26px; height: 26px; }
.svc h3 { margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: .98rem; margin-bottom: 18px; }
.svc-tags { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tags li { font-size: .76rem; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.svc-arrow { position: absolute; top: 28px; right: 28px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s, transform .2s; }
.svc.feature .svc-arrow { border-color: var(--line-dark); }
.svc:hover .svc-arrow { background: var(--gold); border-color: var(--gold); transform: rotate(-45deg); color: var(--ink); }
.svc-arrow svg { width: 18px; height: 18px; }
@media (max-width: 980px) { .svc, .svc.feature { grid-column: span 6; } }
@media (max-width: 640px) { .svc, .svc.feature { grid-column: span 12; } }

/* ---------- Split / pilares ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split.middle { align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 110px; }
@media (max-width: 900px) { .sticky { position: static; } }

.pillars { display: grid; gap: 14px; counter-reset: p; }
.pillar { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px 26px 22px 80px; position: relative; counter-increment: p; }
.pillar::before { content: counter(p, decimal-leading-zero); position: absolute; left: 24px; top: 24px; font: 700 1.3rem/1 var(--font-display); color: var(--gold); }
.pillar h3 { font-size: 1.2rem; margin-bottom: 6px; }
.pillar p { color: #b6bcd0; margin: 0; font-size: .96rem; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.step { border-top: 2px solid var(--ink); padding-top: 22px; counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); font: 800 1.1rem/1 var(--font-display); margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Listas de entregables ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1220' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.checks.two { grid-template-columns: 1fr 1fr; gap: 14px 28px; }
@media (max-width: 640px) { .checks.two { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.cream .card { border-color: transparent; }
.dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.dark .card p { color: #b6bcd0; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card .num { font: 800 2.6rem/1 var(--font-display); color: var(--gold); margin-bottom: 14px; letter-spacing: -0.03em; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards, .cards.two { grid-template-columns: 1fr; } }

/* ---------- Comparativa ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare > div { border-radius: var(--radius-lg); padding: 32px; }
.compare .bad { background: var(--paper); border: 1px solid var(--line); }
.compare .good { background: var(--ink); color: var(--paper); }
.compare h3 { font-size: 1.3rem; }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare li { padding-left: 30px; position: relative; font-size: .98rem; }
.compare .bad li { color: var(--muted); }
.compare .bad li::before { content: "×"; position: absolute; left: 0; top: -2px; font: 700 1.3rem/1 var(--font-body); color: var(--coral); }
.compare .good li { color: #d6dae8; }
.compare .good li::before { content: "→"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 1.08rem/1.35 var(--font-display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font: 500 1.3rem/1 var(--font-body); transition: transform .2s, background .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--gold); }
.faq details > div { padding: 0 0 22px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA ---------- */
.cta-box {
  background: var(--gold); color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
  position: relative; overflow: hidden; isolation: isolate;
}
.cta-box::after { content: ""; position: absolute; z-index: -1; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(14,18,32,.07); }
.cta-box h2 { margin-bottom: 12px; }
.cta-box p { margin: 0; font-size: 1.1rem; max-width: 52ch; }
@media (max-width: 760px) { .cta-box { grid-template-columns: 1fr; } }

/* ---------- Prosa (artículos y legales) ---------- */
.prose { font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 4px solid var(--gold); background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.1rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-display); background: var(--cream); }
.prose a { color: #1a3cc4; }
.toc { background: var(--cream); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 2em; }
.toc strong { font-family: var(--font-display); display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { color: var(--text); }
.meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .9rem; color: #a9b0c8; margin-top: 18px; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.post .tag { align-self: flex-start; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--cream); padding: 6px 10px; border-radius: 999px; margin-bottom: 18px; }
.post h3 { font-size: 1.3rem; }
.post p { color: var(--muted); font-size: .96rem; }
.post .more { margin-top: auto; font-weight: 600; font-size: .92rem; }
.posts.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts, .posts.two { grid-template-columns: 1fr; } }

/* ---------- Formulario ---------- */
.form { color: var(--text); display: grid; gap: 16px; background: var(--paper); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; font-weight: 400; width: 100%;
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(242,182,50,.35); }
.form textarea { min-height: 140px; resize: vertical; }
.form .chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.form .chips legend { font-size: .9rem; font-weight: 600; margin-bottom: 8px; }
.form .chips label { display: inline-flex; font-weight: 500; cursor: pointer; }
.form .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form .chips span { padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9rem; transition: all .15s; }
.form .chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.form .chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form .legal { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .85rem; color: var(--muted); grid-template-columns: none; }
.form .legal input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.hp { position: absolute !important; left: -9999px !important; }
.notice { padding: 16px 20px; border-radius: 12px; font-weight: 500; }
.notice.ok { background: #e3f7ec; color: #11653c; }
.notice.err { background: #fde8e3; color: #9b2a12; }

.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--ink-3); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 20px; height: 20px; color: var(--gold); }
.contact-list small { display: block; color: #8e96b3; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-list a { color: var(--paper); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--gold); }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: #b6bcd0; padding: 80px 0 32px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.foot-grid h2 { font: 600 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: #d6dae8; }
.foot-grid a:hover { color: var(--gold); }
.foot-grid p { max-width: 36ch; margin-top: 18px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: .85rem; }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; padding: 0; margin: 0; }
.foot-bottom a { color: #b6bcd0; text-decoration: none; }
.foot-bottom a:hover { color: var(--gold); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Revelado al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.big-quote { font: 600 clamp(1.6rem, 3.4vw, 2.6rem)/1.2 var(--font-display); letter-spacing: -0.02em; max-width: 26ch; }
.big-quote em { font-style: normal; color: var(--gold); }
.err-code { font: 800 clamp(6rem, 20vw, 14rem)/1 var(--font-display); color: var(--gold); letter-spacing: -0.06em; margin: 0; }
