/* ═══════════════════════════════════════════════════════════════════════════
   content.css — Sistema de diseño de las páginas de contenido de AgentCEO
   (Noticias · Blog · Recursos). Hereda la identidad champagne de index.html.
   Cargado por las páginas que genera scripts/build-content.mjs.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #08080b;
  --bg-2: #0c0c11;
  --bg-3: #101017;
  --ink: #f4f1ea;
  --muted: #9d9a92;
  --muted-2: #8d8a82; /* subido de #74716b → cumple WCAG AA en texto pequeño */
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --accent: #e3c592;
  --accent-ink: #f0dcb4;
  --accent-soft: rgba(227, 197, 146, 0.13);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Autocompletado de Chrome/Safari: quitar el fondo blanco/amarillo y mantener el
   input oscuro con texto claro (el box-shadow inset "tapa" el fondo del autofill). */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--ink) !important;
  -webkit-box-shadow: 0 0 0 1000px #131318 inset !important;
  box-shadow: 0 0 0 1000px #131318 inset !important;
  caret-color: var(--ink);
  transition: background-color 600000s 0s, color 600000s 0s;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
.serif { font-family: var(--serif); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px 1px var(--accent);
}

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font-size: 14px; font-weight: 650; letter-spacing: 0.01em; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #14110c; box-shadow: 0 18px 50px rgba(244, 241, 234, 0.14); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 60px rgba(244, 241, 234, 0.22); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 13px; }

/* ── Nav (sólido, para páginas internas) ── */
.page-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(8, 8, 11, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.page-nav nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; height: 74px;
  padding: 0 clamp(20px, 5vw, 48px);
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand img.a { height: 28px; width: auto; }
.brand img.b { height: 18px; width: auto; }
.brand .dot { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--accent); line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.link { font-size: 13.5px; color: var(--muted); font-weight: 500; transition: color .18s ease; }
.nav-links a.link:hover { color: var(--ink); }
.nav-links a.link.is-active { color: var(--ink); }
.nav-links a.link.is-active::after {
  content: ""; display: block; height: 2px; margin-top: 5px; border-radius: 2px;
  background: var(--accent); box-shadow: 0 0 10px 1px var(--accent);
}
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Skip-link accesible (visible solo al enfocar con teclado) */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent); color: #14110c; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 650; font-size: 14px; }
.skip-link:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Botón hamburguesa (solo móvil; ver @media 900px) */
.nav-toggle { display: none; }
.nav-toggle span { display: block; height: 2px; width: 20px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* ── Encabezado de sección ── */
.content-wrap { padding: clamp(52px, 8vw, 96px) 0 clamp(80px, 10vw, 130px); }
.sec-head { max-width: 760px; margin: 0 0 44px; }
.sec-head h1 { font-family: var(--serif); font-size: clamp(38px, 5.4vw, 66px); line-height: 1.0; margin-top: 18px; text-wrap: balance; }
.sec-head p { margin-top: 20px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 60ch; }

/* ── Filtros por categoría ── */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip-f {
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
  background: var(--bg-2); color: var(--muted); font-family: inherit;
  font-size: 13.5px; font-weight: 500; cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.chip-f:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.24); }
.chip-f.on { background: var(--accent); color: #14110c; border-color: var(--accent); font-weight: 650; }

/* ── Tarjeta destacada ── */
.feat-wrap { margin-bottom: 44px; }
.feat {
  display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: 300px;
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feat:hover { transform: translateY(-3px); border-color: rgba(227, 197, 146, 0.34); box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5); }
.feat-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.feat-body h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 42px); line-height: 1.05; margin-top: 16px; text-wrap: balance; }
.feat-body p { margin-top: 16px; color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.65; max-width: 48ch; }
.feat-art {
  position: relative; overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(227, 197, 146, 0.18), transparent 55%),
    linear-gradient(160deg, #10101a, #08080b);
  border-left: 1px solid var(--line-soft);
}
.feat-ghost {
  font-family: var(--serif); font-style: italic; font-size: clamp(140px, 20vw, 240px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(227, 197, 146, 0.40);
}

/* ── Grilla de tarjetas ── */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.ccard {
  display: flex; flex-direction: column; padding: 26px 26px 22px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.ccard:hover { transform: translateY(-3px); border-color: rgba(227, 197, 146, 0.3); box-shadow: 0 24px 56px rgba(0, 0, 0, 0.44); }
.ccard-top { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted-2); }
.ccard-cat { color: var(--accent); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; }
.ccard-top time { font-variant-numeric: tabular-nums; }
.ccard h3 { font-family: var(--serif); font-size: 22px; line-height: 1.14; margin-top: 14px; text-wrap: balance; }
.ccard p { margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.6; flex: 1; }
.ccard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; font-size: 13px; }
.ccard-read { color: var(--ink); font-weight: 600; }
.ccard:hover .ccard-read { color: var(--accent); }
.ccard-src { color: var(--muted-2); font-size: 12px; text-align: right; }
.cempty { color: var(--muted); text-align: center; padding: 40px 0; }

/* ── Artículo ── */
.article-wrap { padding: clamp(40px, 6vw, 72px) 0 clamp(70px, 9vw, 110px); }
.back {
  display: inline-flex; align-items: center; gap: 8px; color: var(--muted);
  font-size: 13.5px; font-weight: 500; transition: color .18s ease; margin-bottom: 30px;
}
.back:hover { color: var(--accent); }
.back-bottom { margin-top: 48px; margin-bottom: 0; }
.art-head { border-bottom: 1px solid var(--line); padding-bottom: 34px; margin-bottom: 38px; }
.art-head .ccard-top { font-size: 13px; }
.dotsep { color: var(--muted-2); }
.art-head h1 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; margin-top: 18px; text-wrap: balance; }
.art-lead { margin-top: 20px; color: #cfccc4; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; }

.art-body { font-size: 17.5px; line-height: 1.78; color: #d8d5cd; }
.art-body > * + * { margin-top: 22px; }
.art-body h2 { font-family: var(--serif); font-size: clamp(23px, 2.6vw, 31px); line-height: 1.12; color: var(--ink); margin-top: 42px; }
.art-body strong { color: var(--ink); font-weight: 650; }
.art-body ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.art-body li { position: relative; padding-left: 26px; color: var(--muted); }
.art-body li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.art-body blockquote {
  margin: 30px 0 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--accent);
  font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink); line-height: 1.5;
}
.art-body blockquote cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--sans); font-size: 14px; color: var(--muted); }

/* ── Fuentes verificadas ── */
.sources {
  margin-top: 44px; padding: 28px 30px; border-radius: 18px;
  background: linear-gradient(165deg, rgba(227, 197, 146, 0.08), rgba(227, 197, 146, 0.015));
  border: 1px solid rgba(227, 197, 146, 0.26);
}
.sources h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.sources ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sources li a { color: var(--ink); font-size: 15px; font-weight: 500; transition: color .16s ease; }
.sources li a:hover { color: var(--accent); }
.sources-note { margin-top: 18px; color: var(--muted-2); font-size: 13px; line-height: 1.6; }
.sources-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* ── Preguntas frecuentes (answer-first · FAQPage) ── */
.faq { margin-top: 52px; padding-top: 44px; border-top: 1px solid var(--line); }
.faq-title { font-family: var(--serif); font-size: clamp(23px, 2.6vw, 31px); line-height: 1.12; color: var(--ink); margin-bottom: 8px; }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-family: var(--sans); font-size: 18px; font-weight: 650; color: var(--ink); line-height: 1.4; }
.faq-a { margin-top: 10px; font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.faq-a strong { color: var(--ink); font-weight: 650; }

/* ── Relacionadas ── */
.related { margin-top: 64px; padding-top: 44px; border-top: 1px solid var(--line); }
.related h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 26px; }

/* ── Botones de compartir ── */
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line); }
.share-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); cursor: pointer; transition: color .18s ease, border-color .18s ease, transform .18s ease; }
.share-btn:hover { color: var(--accent); border-color: rgba(227, 197, 146, 0.4); transform: translateY(-2px); }
.share-msg { font-size: 13px; color: var(--accent); margin-left: 6px; }

/* ── Footer (calcado de index.html) ── */
footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 72px 0 40px; margin-top: 20px; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; max-width: 300px; }
.foot-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 18px; }
.foot-col a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 12px; transition: color .16s ease; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  color: var(--muted-2); font-size: 13px;
}
.foot-bottom .legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-bottom .legal-links a { color: var(--muted); transition: color .16s ease; }
.foot-bottom .legal-links a:hover { color: var(--ink); }

/* ── Recursos: gate de correo (lead magnet) ── */
.resource-gate {
  margin-top: 14px; padding: 32px; border-radius: 20px;
  background: linear-gradient(165deg, rgba(227, 197, 146, 0.08), rgba(227, 197, 146, 0.015));
  border: 1px solid rgba(227, 197, 146, 0.28);
}
.rg-what h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.rg-what ul { margin: 16px 0 28px; padding: 0; list-style: none; display: grid; gap: 12px; }
.rg-what li { position: relative; padding-left: 28px; color: #d8d5cd; font-size: 15.5px; line-height: 1.5; }
.rg-what li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: var(--accent); font-weight: 700; }
.rg-form { border-top: 1px solid rgba(227, 197, 146, 0.2); padding-top: 24px; }
.rg-title { font-family: var(--serif); font-size: clamp(19px, 2.2vw, 24px); color: var(--ink); margin-bottom: 16px; }
.rg-row { display: flex; flex-wrap: wrap; gap: 10px; }
.rg-row input[type="email"] {
  flex: 1 1 240px; min-width: 0; height: 54px; padding: 0 20px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); font-family: inherit; font-size: 15px; outline: none; transition: border-color .2s ease;
}
.rg-row input[type="email"]:focus { border-color: var(--accent); }
.rg-row input[type="email"]::placeholder { color: var(--muted-2); }
.rg-row .hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rg-row .btn { flex: 0 0 auto; }
.rg-msg { margin: 12px 2px 0; font-size: 13px; color: var(--muted); }
.rg-msg.rg-err { color: #e6a79c; }
.rg-note { margin-top: 14px; font-size: 12.5px; color: var(--muted-2); line-height: 1.55; }
.rg-actions { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }

/* Impresión / Guardar como PDF: solo el contenido, en claro. */
@media print {
  .page-nav, footer, .back, .rg-actions, .related, .resource-gate { display: none !important; }
  body { background: #fff; color: #14110c; }
  .art-body, .art-body li, .art-lead, .art-head h1, .art-body h2 { color: #14110c; }
  .article-wrap { padding: 0; }
}

/* ── Página de Precios ── */
.sec-head.center { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.precios-h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 40px); text-align: center; margin: 0 0 40px; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1160px; margin: 6px auto 0; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; background: var(--bg-2); display: flex; flex-direction: column; }
.plan.feat { background: linear-gradient(180deg, rgba(227, 197, 146, 0.09), rgba(227, 197, 146, 0.015)); border-color: rgba(227, 197, 146, 0.34); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #14110c; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.plan .pname { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.plan.feat .pname { color: var(--accent); }
.plan .price { font-family: var(--serif); font-size: 40px; margin-top: 14px; line-height: 1; }
.plan .price-note { color: var(--muted-2); font-size: 13px; margin-top: 8px; }
.plan .pdesc { color: var(--muted); margin-top: 14px; font-size: 15px; line-height: 1.55; }
.plan ul { margin: 24px 0 28px; padding: 0; list-style: none; display: grid; gap: 12px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: #d8d5cd; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; flex: none; }
.plan .btn { width: 100%; margin-top: auto; }

.guarantees { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; max-width: 860px; margin: 46px auto 0; padding-top: 34px; border-top: 1px solid var(--line-soft); }
.guar { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.guar svg { color: var(--accent); flex: none; }

.compare-wrap { margin-top: 82px; }
.compare-scroll { overflow-x: auto; max-width: 1000px; margin: 0 auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 660px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.compare thead th { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.compare thead th:not(:first-child), .compare td { text-align: center; }
.compare tbody th { font-weight: 500; color: #d8d5cd; }
.compare .cok { color: var(--accent); }
.compare .cok svg { vertical-align: middle; }
.compare .cno { color: var(--muted-2); }
.compare tbody tr:hover { background: rgba(255, 255, 255, 0.02); }

.faq-wrap { margin-top: 82px; }
.precios-wrap .faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.precios-wrap .faq details { border-bottom: 1px solid var(--line); }
.precios-wrap .faq summary { list-style: none; cursor: pointer; padding: 22px 4px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 17px; font-weight: 500; color: var(--ink); }
.precios-wrap .faq summary::-webkit-details-marker { display: none; }
.precios-wrap .faq summary .ic { flex: none; color: var(--accent); font-size: 22px; transition: transform .2s ease; font-family: var(--serif); }
.precios-wrap .faq details[open] summary .ic { transform: rotate(45deg); }
.precios-wrap .faq .ans { padding: 0 4px 24px; color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 92%; }

.precios-cta { text-align: center; margin-top: 90px; padding-top: 60px; border-top: 1px solid var(--line-soft); }
.precios-cta h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 48px); line-height: 1.05; }
.precios-cta p { margin: 18px auto 0; max-width: 480px; color: var(--muted); font-size: 17px; }
.precios-cta .btn { margin-top: 30px; }
@media (max-width: 1040px) { .plans { grid-template-columns: repeat(2, 1fr); max-width: 620px; } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; max-width: 420px; } }

/* ── Modal de lista de espera ── */
.wl-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.wl-modal[hidden] { display: none; }
.wl-backdrop { position: absolute; inset: 0; background: rgba(4, 4, 6, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.wl-card { position: relative; z-index: 1; width: 100%; max-width: 440px; background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line); border-radius: 22px; padding: 42px 34px 34px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6); animation: wl-pop .25s ease; }
@keyframes wl-pop { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.wl-close { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; transition: background .18s ease; }
.wl-close:hover { background: rgba(255, 255, 255, 0.1); }
.wl-card h2 { font-family: var(--serif); font-size: 30px; margin-top: 14px; }
.wl-modal-sub { color: var(--muted); margin-top: 12px; font-size: 15px; line-height: 1.55; }
.wl-modal-form { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.wl-modal-form input[type="email"] { height: 54px; padding: 0 20px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-family: inherit; font-size: 15px; outline: none; transition: border-color .2s ease; }
.wl-modal-form input[type="email"]:focus { border-color: var(--accent); }
.wl-modal-form input[type="email"]::placeholder { color: var(--muted-2); }
.wl-modal-form .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-modal-form .btn { width: 100%; }
.wl-modal-msg { font-size: 13px; color: var(--muted); text-align: center; }
.wl-modal-msg.wl-err { color: #e6a79c; }
.wl-modal-msg.wl-ok { color: var(--accent); font-family: var(--serif); font-size: 18px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  /* Menú hamburguesa: el nav ya NO queda sin salida en móvil. */
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-left: auto; padding: 0 11px;
    background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-cta { display: none; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 10, 14, 0.98); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a.link { padding: 15px clamp(20px, 5vw, 48px); font-size: 15px; border-top: 1px solid var(--line-soft); }
  .nav-links a.link.is-active { color: var(--accent); }
  .nav-links a.link.is-active::after { display: none; }
  /* Áreas táctiles del footer ≥ 44px (WCAG 2.5.8). */
  .foot-col a { padding: 6px 0; margin-bottom: 6px; }
  .foot-bottom .legal-links a { padding: 6px 0; }
  .feat { grid-template-columns: 1fr; }
  .feat-art { order: -1; min-height: 150px; }
  .feat-ghost { font-size: 120px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cgrid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ccard, .feat, .btn { transition: none; }
}
