:root {
  --ink: #111827;
  --ink-soft: #263244;
  --muted: #5b6472;
  --line: #e2e8f0;
  --paper: #fff;
  --soft: #f4f6f8;
  --accent: #f4b400;
  --accent-hover: #ffd15a;
  --whatsapp: #25d366;
  --max: 1180px;
  --shadow: 0 18px 48px rgba(17, 24, 39, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.025em; }
p { margin-top: 0; }
.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.section { padding: clamp(4rem, 7vw, 6.5rem) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .8rem;
  color: #9a6e00;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { width: 32px; height: 2px; background: var(--accent); content: ""; }
.section h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.35rem); }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.section-dark .section-head p { color: #cbd5e1; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(226, 232, 240, .88);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 30px rgba(17, 24, 39, .06);
  backdrop-filter: blur(12px);
}
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); font-weight: 900; text-decoration: none; line-height: 1.05; }
.brand-mark { display: grid; width: 44px; height: 44px; place-items: center; border-radius: .45rem; background: var(--ink); color: var(--accent); font-size: 1.45rem; }
.brand small { display: block; margin-top: .25rem; color: var(--muted); font-size: .68rem; font-weight: 650; letter-spacing: .04em; }
.nav-toggle { display: none; min-width: 48px; min-height: 48px; border: 1px solid var(--line); border-radius: .5rem; background: #fff; color: var(--ink); font: inherit; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: .15rem; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; padding: .6rem .65rem; color: var(--ink-soft); font-size: .88rem; font-weight: 750; text-decoration: none; }
.nav-links a:hover { color: #856000; }
.nav-links .nav-cta { margin-left: .4rem; padding-inline: 1rem; border-radius: .48rem; background: var(--accent); color: var(--ink); }

.hero { position: relative; min-height: min(760px, calc(100vh - 74px)); display: grid; align-items: center; overflow: hidden; background: #0d1118; color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .38; }
.hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 13, 20, .96) 5%, rgba(9, 13, 20, .78) 55%, rgba(9, 13, 20, .38)); content: ""; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(4rem, 8vw, 7rem); }
.hero h1 { max-width: 900px; margin-bottom: 1.25rem; font-size: clamp(2.5rem, 5vw, 4rem); }
.hero-copy { max-width: 720px; margin-bottom: 1.7rem; color: #e2e8f0; font-size: clamp(1rem, 2vw, 1.22rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.2rem; border: 1px solid transparent; border-radius: .5rem; font-weight: 850; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: var(--accent-hover); }
.button-whatsapp { background: var(--whatsapp); color: #07140b; }
.button-outline { border-color: rgba(255,255,255,.48); background: rgba(255,255,255,.08); color: #fff; }
.button-dark { background: var(--ink); color: #fff; }
.button-light { background: #fff; color: var(--ink); }
.hero-card { padding: 1.45rem; border: 1px solid rgba(255,255,255,.2); border-radius: .8rem; background: rgba(17,24,39,.8); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.hero-card h2 { margin-bottom: .7rem; font-size: 1.45rem; }
.hero-card p { color: #cbd5e1; }
.decision-list { display: grid; gap: .55rem; margin-top: 1rem; }
.decision-list a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: .65rem .8rem; border: 1px solid rgba(255,255,255,.16); border-radius: .45rem; background: rgba(255,255,255,.06); color: #fff; font-weight: 750; text-decoration: none; }
.decision-list a:hover { border-color: var(--accent); }

.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 1.45rem 1rem; border-right: 1px solid var(--line); font-weight: 900; text-align: center; }
.trust-item:last-child { border-right: 0; }
.trust-item span { display: block; margin-top: .2rem; color: var(--muted); font-size: .78rem; font-weight: 650; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.service-card, .guide-card, .article-card, .choice-card, .process-card { border: 1px solid var(--line); border-radius: .75rem; background: #fff; box-shadow: 0 10px 28px rgba(17,24,39,.05); }
.service-card { display: flex; min-height: 100%; flex-direction: column; padding: 1.35rem; }
.service-card h3 { margin-bottom: .55rem; font-size: 1.25rem; }
.service-card p { flex: 1; color: var(--muted); }
.process-card { padding: 1.35rem; }
.process-card strong { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; margin-bottom: 1rem; border-radius: 50%; background: var(--accent); }
.process-card h3 { margin-bottom: .55rem; font-size: 1.2rem; }
.process-card p { margin-bottom: 0; color: var(--muted); }
.text-link { color: #765500; font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.choice-grid, .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.choice-card { padding: clamp(1.4rem, 3vw, 2.2rem); }
.choice-card h3 { font-size: 1.7rem; }
.choice-card ul, .guide-card ul { padding-left: 1.2rem; color: var(--muted); }
.choice-card li, .guide-card li { margin-bottom: .45rem; }

.field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.field-card { overflow: hidden; border-radius: .75rem; background: #fff; box-shadow: var(--shadow); }
.field-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.field-card figcaption { padding: .85rem 1rem; color: var(--ink-soft); font-size: .92rem; font-weight: 750; }

.guide-card { padding: clamp(1.5rem, 3vw, 2.35rem); }
.guide-card h3 { font-size: 1.8rem; }
.guide-card p { color: var(--muted); }
.districts { display: flex; flex-wrap: wrap; gap: .55rem; }
.districts span { padding: .48rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-soft); font-size: .9rem; font-weight: 750; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.article-card { overflow: hidden; }
.article-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-card div { padding: 1.25rem; }
.article-card h3 { margin-bottom: .65rem; font-size: 1.25rem; }
.article-card p { color: var(--muted); }

.cta-band { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; }
.cta-band h2 { margin-bottom: .75rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-band p { color: #cbd5e1; }
.quote-inputs { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.quote-inputs li { padding-left: 1.25rem; position: relative; color: #e2e8f0; }
.quote-inputs li::before { position: absolute; left: 0; color: var(--accent); content: "•"; }

.site-footer { padding: 3.5rem 0 1rem; background: #080d15; color: #cbd5e1; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 2rem; }
.site-footer h2, .site-footer h3 { color: #fff; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: .55rem; }
.site-footer a { text-underline-offset: 3px; }
.copyright { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #263244; font-size: .78rem; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { position: fixed; top: 75px; right: 0; left: 0; display: none; max-height: calc(100vh - 75px); overflow-y: auto; padding: .75rem 1rem 1rem; border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
  .nav-links.is-open { display: grid; }
  .nav-links a { min-height: 48px; padding-inline: .75rem; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin: .5rem 0 0; justify-content: center; border-bottom: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 720px; }
  .service-grid, .field-grid, .article-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 700px) {
  .brand span:last-child { font-size: .84rem; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 4rem; }
  .hero h1 { font-size: clamp(2.3rem, 9.4vw, 2.75rem); }
  .hero-card { padding: 1.15rem; }
  .section { padding-block: 4rem; }
  .service-grid, .field-grid, .article-grid, .process-grid, .choice-grid, .two-col, .cta-band, .footer-grid { grid-template-columns: 1fr; }
  .actions .button { width: 100%; }
  .field-grid { gap: .8rem; }
}

@media (max-width: 360px) {
  .container { width: min(var(--max), calc(100% - 1.25rem)); }
  .brand-mark { width: 40px; height: 40px; }
  .brand small { display: none; }
  .hero h1 { font-size: 2.25rem; }
}
