:root {
  --ink: #1a1a1a;
  --soft: #514b44;
  --paper: #fbf8f3;
  --paper-alt: #f1eadf;
  --card: #fffdf9;
  --gold: #7d6237;
  --gold-light: #f2d49d;
  --terra: #9b5639;
  --muted: #6c645a;
  --lead: #393531;
  --copy: #413c37;
  --copy-strong: #342f2a;
  --copy-link: #4e4841;
  --copy-related: #5d554d;
  --footer: #15130f;
  --whatsapp: #25d366;
  --line: rgba(26, 26, 26, 0.13);
  --nav-surface: rgba(251, 248, 243, 0.94);
  --ink-shadow: rgba(26, 26, 26, 0.14);
  --paper-line: rgba(251, 248, 243, 0.14);
  --paper-copy: rgba(251, 248, 243, 0.84);
  --paper-copy-soft: rgba(251, 248, 243, 0.74);
  --paper-copy-muted: rgba(251, 248, 243, 0.62);
  --whatsapp-shadow: rgba(37, 211, 102, 0.35);
  --display: 'Playfair Display', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 120ms;
  --dur-long: 420ms;
}

/* Hallmark · genre: editorial · macrostructure: long document · theme: ANA crème · enrichment: none · nav: N6 · footer: Ft2 · pre-emit: P5 H5 E4 S5 R5 V5 */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--terra); text-decoration: none; }
a:hover { opacity: .74; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.site-nav { position: sticky; top: 0; z-index: 300; background: var(--nav-surface); border-bottom: 2px solid var(--ink); backdrop-filter: blur(12px); }
.nav-inner { padding-block: 8px; }
.nav-meta { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.nav-meta a { color: var(--terra); white-space: nowrap; }
.brand { display: block; width: fit-content; margin: 7px auto 8px; color: var(--ink); font: 600 1.45rem/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.brand em { color: var(--gold); font-weight: 400; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 26px; padding-top: 8px; border-top: 1px solid var(--line); font-size: .84rem; }
.nav-links a { color: var(--ink); white-space: nowrap; }
.nav-cta { color: var(--terra) !important; font-weight: 700; }

.breadcrumb { padding-top: 28px; color: var(--muted); font-size: .82rem; }
.breadcrumb a { color: var(--muted); white-space: nowrap; }
.hero { padding: 56px 0 76px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 70px; align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 18px; color: var(--gold); font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; min-width: 0; overflow-wrap: anywhere; font-family: var(--display); line-height: 1.17; }
h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(2.45rem, 5vw, 4.25rem); letter-spacing: -.035em; }
h1 em, h2 em { color: var(--gold); font-weight: 400; }
.lead { max-width: 760px; margin: 0 0 30px; color: var(--lead); font-size: clamp(1.06rem, 2vw, 1.24rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; }
.btn { display: inline-flex; justify-content: center; padding: 13px 21px; border: 1px solid var(--ink); border-radius: 5px; font-weight: 600; line-height: 1.35; white-space: nowrap; transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.btn-primary { color: var(--paper); background: var(--ink); }
.btn-secondary { color: var(--ink); }
.btn:hover { opacity: 1; background: var(--terra); border-color: var(--terra); color: var(--paper); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.summary-card { padding: 30px; background: var(--ink); color: var(--paper); border-radius: 12px; box-shadow: 0 20px 50px var(--ink-shadow); }
.summary-card strong { display: block; margin-bottom: 17px; font: 600 1.25rem/1.25 var(--display); }
.summary-card ul { margin: 0; padding: 0; list-style: none; }
.summary-card li { padding: 12px 0 12px 23px; border-top: 1px solid var(--paper-line); position: relative; color: var(--paper-copy); font-size: .92rem; }
.summary-card li::before { position: absolute; left: 0; content: '✓'; color: var(--gold-light); font-weight: 700; }

.content-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 74px; padding: 76px 0 90px; border-top: 1px solid var(--line); }
.article { min-width: 0; }
.article section { margin-bottom: 64px; scroll-margin-top: 100px; }
.article h2 { margin-bottom: 18px; font-size: clamp(1.75rem, 3vw, 2.45rem); letter-spacing: -.02em; }
.article h3 { margin: 30px 0 10px; font-size: 1.27rem; }
.article p { max-width: 72ch; color: var(--copy); }
.article ul, .article ol { max-width: 72ch; padding-left: 22px; color: var(--copy); }
.article li { margin: 9px 0; }
.article .callout { margin: 28px 0; padding: 22px 24px 22px 52px; border: 1px solid var(--line); background: var(--paper-alt); color: var(--copy-strong); position: relative; }
.article .callout::before { position: absolute; top: 26px; left: 24px; width: 9px; height: 9px; content: ''; background: var(--gold); }
.checklist { display: grid; gap: 10px; margin: 25px 0; padding: 0; list-style: none; }
.checklist li { margin: 0; padding: 15px 17px 15px 46px; background: var(--card); border: 1px solid var(--line); border-radius: 7px; position: relative; }
.checklist li::before { position: absolute; left: 17px; content: '□'; color: var(--gold); font-size: 1.25rem; line-height: 1; }
.steps { counter-reset: step; display: grid; gap: 13px; margin-top: 25px; }
.step { counter-increment: step; padding: 20px 20px 20px 62px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; position: relative; }
.step::before { position: absolute; top: 18px; left: 18px; width: 30px; height: 30px; display: grid; place-items: center; content: counter(step); background: var(--ink); color: var(--paper); border-radius: 50%; font-weight: 700; font-size: .82rem; }
.step strong { display: block; margin-bottom: 3px; }
.step p { margin: 0; font-size: .94rem; }

.toc { position: sticky; top: 132px; align-self: start; padding: 23px; background: var(--card); border: 1px solid var(--line); border-radius: 9px; }
.toc strong { display: block; margin-bottom: 12px; font-size: .83rem; letter-spacing: .08em; text-transform: uppercase; }
.toc a { display: block; padding: 8px 0; border-top: 1px solid var(--line); color: var(--copy-link); font-size: .87rem; }
.toc .toc-cta { margin-top: 16px; padding: 11px 13px; color: var(--paper); background: var(--ink); border: 0; text-align: center; border-radius: 5px; white-space: nowrap; }

.related { padding: 76px 0; background: var(--paper-alt); }
.related h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.related-card { display: block; min-height: 170px; padding: 25px; background: var(--card); border: 1px solid var(--line); border-radius: 9px; color: var(--ink); }
.related-card small { color: var(--gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.related-card strong { display: block; margin: 12px 0 7px; font: 600 1.2rem/1.25 var(--display); }
.related-card span { color: var(--copy-related); font-size: .9rem; }

.final-cta { padding: 82px 0; background: var(--ink); color: var(--paper); text-align: center; }
.final-cta h2 { max-width: 780px; margin: 0 auto 15px; font-size: clamp(1.9rem, 4vw, 3rem); }
.final-cta p { max-width: 680px; margin: 0 auto 28px; color: var(--paper-copy-soft); }
.final-cta .btn { border-color: var(--paper); color: var(--ink); background: var(--paper); }
.final-cta .btn:hover { color: white; background: var(--terra); border-color: var(--terra); }

.site-footer { padding: 34px 0; background: var(--footer); color: var(--paper-copy-muted); font-size: .84rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.footer-inner a { color: var(--paper-copy-soft); white-space: nowrap; }

.wa-fab { position: fixed; bottom: 24px; left: 24px; z-index: 400; width: 54px; height: 54px; display: grid; place-items: center; color: var(--paper); background: var(--whatsapp); border-radius: 50%; box-shadow: 0 8px 24px var(--whatsapp-shadow); transition: transform var(--dur-micro) var(--ease-out); }
.wa-fab:hover { opacity: 1; transform: translateY(-2px); }
.wa-fab:active { transform: translateY(0); }
.wa-fab svg { width: 28px; height: 28px; }

.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-meta, .nav-links { display: none; }
  .brand { margin-block: 10px; }
  .hero-grid, .content-wrap { grid-template-columns: 1fr; gap: 36px; }
  .content-wrap { padding-top: 58px; }
  .toc { display: none; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 34px, 1160px); }
  .brand { font-size: 1.25rem; }
  .breadcrumb { padding-top: 20px; }
  .hero { padding: 42px 0 58px; }
  .summary-card { padding: 24px; }
  .actions { display: grid; }
  .btn { width: 100%; }
  .content-wrap { padding-bottom: 60px; }
  .article section { margin-bottom: 48px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 150ms !important; transition-duration: 150ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-nav, .wa-fab, .actions, .toc, .final-cta { display: none !important; }
  body { background: var(--paper); color: var(--ink); }
  .content-wrap { display: block; border: 0; padding-top: 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
