:root {
  --ink: #142523;
  --muted: #5b6966;
  --paper: #f7f5ef;
  --white: #fff;
  --line: #dbe2de;
  --brand: #164e49;
  --brand-2: #0b766d;
  --accent: #d99a36;
  --soft: #e9f1ed;
  --max: 1180px;
  --shadow: 0 18px 60px rgba(19, 42, 38, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--brand-2); text-underline-offset: .18em; }
a:hover { color: var(--brand); }
h1, h2, h3 { margin: 0 0 .65em; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.55rem, 7vw, 5.6rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3.2rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1.25em; }
ul, ol { padding-left: 1.25rem; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .7rem 1rem;
  color: #fff;
  background: var(--ink);
  border-radius: .5rem;
}
.skip-link:focus { top: 1rem; }
.wrap { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 226, 222, .85);
  background: rgba(247, 245, 239, .94);
  backdrop-filter: blur(16px);
}
.header-row { display: flex; align-items: center; min-height: 74px; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .68rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 5px 9px rgba(18, 63, 59, .18)); }
.brand-wordmark { display: grid; gap: .18rem; line-height: 1; }
.brand-wordmark-main { font-size: 1.02rem; font-weight: 850; letter-spacing: -.025em; }
.brand-wordmark-sub { color: #8b641d; font-size: .61rem; font-weight: 850; letter-spacing: .19em; text-transform: uppercase; }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; cursor: pointer; }
.nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after { position: absolute; left: 50%; width: 20px; height: 2px; border-radius: 999px; background: currentColor; transform: translateX(-50%); transition: transform .18s ease, top .18s ease, background .18s ease; }
.nav-toggle-icon { top: 50%; }
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; }
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 0; transform: translateX(-50%) rotate(-45deg); }
.nav { display: flex; align-items: center; gap: .22rem; margin-left: auto; }
.nav-group { position: relative; }
.nav-group > summary, .nav-direct { display: flex; align-items: center; gap: .42rem; color: #31423f; padding: .56rem .68rem; border-radius: 999px; cursor: pointer; font-size: .89rem; font-weight: 720; line-height: 1.25; list-style: none; text-decoration: none; white-space: nowrap; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: ""; width: .36rem; height: .36rem; margin-top: -.18rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .18s ease; }
.nav-group[open] > summary::after { margin-top: .18rem; transform: rotate(225deg); }
.nav-group > summary:hover, .nav-group[open] > summary, .nav-group[data-current="true"] > summary, .nav-direct:hover, .nav-direct[aria-current="page"] { color: var(--brand); background: var(--soft); }
.nav-submenu { position: absolute; top: calc(100% + .55rem); left: 0; z-index: 30; display: grid; min-width: 225px; padding: .48rem; border: 1px solid var(--line); border-radius: .9rem; background: #fff; box-shadow: 0 18px 45px rgba(19, 42, 38, .16); }
.nav-submenu a { color: #31423f; padding: .66rem .72rem; border-radius: .58rem; font-size: .88rem; font-weight: 680; line-height: 1.35; text-decoration: none; }
.nav-submenu a:hover, .nav-submenu a[aria-current="page"] { color: var(--brand); background: var(--soft); }

.hero { position: relative; min-height: min(760px, calc(100vh - 74px)); color: #fff; display: grid; align-items: end; overflow: hidden; background: #142c2a; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7, 26, 24, .92) 0%, rgba(7, 26, 24, .76) 38%, rgba(7, 26, 24, .14) 72%, rgba(7, 26, 24, .12) 100%), linear-gradient(0deg, rgba(7, 26, 24, .55), transparent 50%); }
.hero-content { position: relative; z-index: 2; width: min(720px, 92%); padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.hero-article .hero-content { width: min(820px, 94%); padding-block: clamp(3.5rem, 7vw, 6rem); }
.hero-article h1 { font-size: clamp(2.45rem, 5.4vw, 4.5rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-size: .82rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--accent); }
.hero p { max-width: 650px; font-size: clamp(1.05rem, 2vw, 1.34rem); color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .72rem 1.15rem; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #132522; background: #f0b653; }
.button-primary:hover { color: #132522; background: #ffc968; }
.button-ghost { color: #fff; border: 1px solid rgba(255,255,255,.45); }
.button-ghost:hover { color: #fff; background: rgba(255,255,255,.1); }

.breadcrumb { padding: 1rem 0; color: var(--muted); font-size: .88rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: #9ba7a4; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-white { background: #fff; }
.section-dark { color: #fff; background: var(--ink); }
.section-dark p, .section-dark .lead { color: #cdd8d5; }
.section-head { max-width: 760px; margin-bottom: 2.4rem; }
.kicker { display: block; margin-bottom: .55rem; color: var(--brand-2); font-size: .79rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.section-dark .kicker { color: #76d1c6; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.topic-card, .info-card, .link-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 8px 30px rgba(20,37,35,.05);
}
.topic-card { min-height: 265px; padding: 1.6rem; display: flex; flex-direction: column; }
.topic-card .number { color: var(--accent); font-size: .78rem; font-weight: 850; letter-spacing: .12em; }
.topic-card h3 { margin-top: 2.3rem; }
.topic-card p { color: var(--muted); font-size: .96rem; }
.topic-card a::after { content: ""; position: absolute; inset: 0; }
.card-link { margin-top: auto; font-weight: 800; text-decoration: none; }
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); transition: .2s ease; }
.info-card { padding: 1.5rem; }
.info-card p:last-child { margin-bottom: 0; }
.info-card strong { display: block; margin-bottom: .45rem; }
.section-dark .info-card {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .055);
  box-shadow: none;
}
.section-dark .info-card strong { color: #fff; }
.section-dark .info-card p { color: #bfcfcb; }
.icon-chip { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1rem; border-radius: .85rem; color: var(--brand); background: var(--soft); font-weight: 900; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 4rem; }
.article { min-width: 0; max-width: 760px; }
.article h2 { margin-top: 2.1em; font-size: clamp(1.7rem, 3.2vw, 2.55rem); }
.article h3 { margin-top: 1.8em; }
.article li { margin-bottom: .55rem; }
.article blockquote { margin: 2rem 0; padding: 1.2rem 1.3rem; border-left: 4px solid var(--accent); color: #31423f; background: #f2eee4; border-radius: 0 .8rem .8rem 0; }
.article table { width: 100%; margin: 1.7rem 0 2.2rem; border-collapse: collapse; font-size: .94rem; }
.article th, .article td { padding: .85rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article th { background: var(--soft); }
.mobile-cell-label { display: none; }
.callout { margin: 2rem 0; padding: 1.35rem 1.5rem; border: 1px solid #cbded9; border-radius: 1rem; background: #edf6f2; }
.callout strong { display: block; margin-bottom: .35rem; }
.content-ad { max-width: 100%; margin: 1.45rem 0 2.3rem; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: transparent; text-align: center; }
.content-ad-heading { margin-top: 1.2rem; }
.sidebar { position: sticky; top: 100px; width: 300px; max-width: 100%; display: grid; gap: 1.15rem; }
.sidebar .toc { position: static; border-radius: 0; }
.sidebar-ad { width: 300px; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: center; }
.toc { position: sticky; top: 100px; padding: 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.72); }
.toc strong { display: block; margin-bottom: .8rem; }
.toc ul { margin: 0; padding: 0; list-style: none; }
.toc li + li { margin-top: .55rem; }
.toc a { color: var(--muted); font-size: .91rem; text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }

.decision { overflow: hidden; border: 1px solid var(--line); border-radius: 1.2rem; background: #fff; }
.decision-row { display: grid; grid-template-columns: 1fr 1.35fr; gap: 1rem; padding: 1.15rem 1.35rem; }
.decision-row + .decision-row { border-top: 1px solid var(--line); }
.decision-row strong { color: var(--brand); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.25rem 2.7rem 1.25rem 0; font-weight: 800; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 1.1rem; color: var(--brand-2); font-size: 1.5rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 2.5rem 1.2rem 0; color: var(--muted); }
.source-list { padding: 1rem 1.2rem; border-radius: .9rem; background: #f1f3f0; font-size: .9rem; }
.source-list li { margin-bottom: .45rem; }
.source-list a { overflow-wrap: anywhere; }

.next-grid .link-card { min-height: 190px; padding: 1.45rem; }
.link-card p { color: var(--muted); font-size: .94rem; }
.link-card a { font-weight: 800; text-decoration: none; }
.link-card a::after { content: ""; position: absolute; inset: 0; }
.band { padding: 2rem; border-radius: 1.4rem; color: #fff; background: linear-gradient(125deg, #174f49, #112f2c); box-shadow: var(--shadow); }
.band p { max-width: 780px; color: #d8e6e2; }

.site-footer { color: #d3ddda; background: #0e211f; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
.footer-brand { color: #fff; font-size: 1.35rem; font-weight: 850; }
.site-footer h2 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: .4rem; }
.site-footer a { color: #d3ddda; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.14); color: #9eb0ac; font-size: .84rem; }

.share-actions { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; display: grid; grid-template-columns: 1fr; gap: .55rem; width: 190px; }
.share-action { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .65rem .8rem; border: 1px solid var(--brand); border-radius: .7rem; font: inherit; font-size: .83rem; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; white-space: nowrap; box-shadow: 0 7px 24px rgba(19, 42, 38, .16); cursor: pointer; }
.share-icon { width: 18px; height: 18px; flex: none; }
.share-whatsapp { color: #fff; background: var(--brand); }
.share-whatsapp:hover { color: #fff; background: #0f3c38; }
.share-copy { color: var(--brand); background: #fff; }
.share-copy:hover { background: var(--soft); }
.share-action:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.share-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; inset: 74px 0 auto; max-height: calc(100dvh - 74px); padding: .9rem 1rem 1.1rem; overflow-y: auto; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav[data-open="true"] { display: grid; grid-template-columns: 1fr; gap: .55rem; }
  .nav-group, .nav-direct { border: 1px solid var(--line); border-radius: .85rem; background: #fff; }
  .nav-group > summary, .nav-direct { position: relative; justify-content: center; padding: .8rem 2.4rem; border-radius: .85rem; text-align: center; }
  .nav-group > summary::after { position: absolute; right: 1.05rem; }
  .nav-submenu { position: static; min-width: 0; margin: 0 .5rem .5rem; padding: .32rem; border: 0; border-radius: .65rem; background: transparent; box-shadow: none; }
  .nav-submenu a { padding: .68rem .72rem; text-align: center; }
  .nav-submenu a:hover, .nav-submenu a[aria-current="page"] { background: transparent; }
  .content-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .sidebar { position: static; width: 100%; order: -1; }
  .sidebar-ad { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .wrap { width: min(calc(100% - 1.25rem), var(--max)); }
  .site-header .wrap { width: min(calc(100% - 2rem), var(--max)); }
  .brand-wordmark-main { font-size: .96rem; }
  .brand-wordmark-sub { font-size: .58rem; }
  .hero { min-height: 680px; }
  .hero-article h1 { hyphens: auto; overflow-wrap: anywhere; }
  .hero::before { background: linear-gradient(90deg, rgba(7,26,24,.9), rgba(7,26,24,.52)), linear-gradient(0deg, rgba(7,26,24,.72), transparent 65%); }
  .hero picture, .hero img { object-position: 62% center; }
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 220px; }
  .decision-row { grid-template-columns: 1fr; }
  .article .card-table { display: block; overflow: visible; border-collapse: separate; }
  .article .card-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .article .card-table tbody { display: grid; gap: .9rem; }
  .article .card-table tr { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
  .article .card-table td { display: block; padding: .8rem 1rem; border: 0; overflow-wrap: anywhere; }
  .article .card-table td + td { border-top: 1px solid var(--line); }
  .article .card-table td:first-child { color: var(--brand); background: var(--soft); font-size: 1.03rem; font-weight: 700; }
  .article .card-table .mobile-cell-label { display: block; margin-bottom: .25rem; color: var(--muted); font-size: .72rem; font-weight: 700; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
  .share-actions { right: 0; bottom: 0; left: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; width: 100%; padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(247, 245, 239, .98); box-shadow: 0 -8px 28px rgba(19, 42, 38, .1); }
  .share-action { min-width: 0; min-height: 44px; gap: .35rem; padding: .55rem .3rem; font-size: .76rem; box-shadow: none; }
  .share-icon { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
