/* ==========================================================================
   Francisco Melo e Associados — Design System
   Navy / Gold / Paper — premium, sóbrio, dourado moderado
   ========================================================================== */

:root {
  --navy: #0B1E3D;
  --navy-deep: #071527;
  --navy-soft: #16294d;
  --gold: #B8933E;
  --gold-light: #D9BA79;
  --gold-dim: rgba(184, 147, 62, 0.35);
  --paper: #F7F5F0;
  --paper-dim: #EFEBE2;
  --white: #FFFFFF;
  --ink: #1E2430;
  --ink-soft: #565F6E;
  --line: rgba(11, 30, 61, 0.12);
  --line-gold: rgba(184, 147, 62, 0.4);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Eyebrow + hairline signature ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.9s cubic-bezier(.16,1,.3,1);
}
.eyebrow.in-view::before { width: 36px; }
.eyebrow--light { color: var(--gold-light); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--gold-light); }
.topbar__links { display: flex; gap: 20px; }
.topbar__links span { color: var(--gold-light); margin-right: 6px; }

/* ---------- Header ---------- */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand__badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
}
.brand__type {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.brand__tagline {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__list { display: flex; gap: 30px; }
.nav__list a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after { width: 100%; }
.nav__list a[aria-current="page"] { color: var(--navy); font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn--gold:hover { background: var(--gold-light); box-shadow: 0 6px 20px rgba(184,147,62,.35); }
.btn--outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn--outline-light:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--full { width: 100%; justify-content: center; }

.icon { width: 17px; height: 17px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 1px, transparent 1px, transparent 96px);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 76px;
  position: relative;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.hero p.lead {
  color: rgba(255,255,255,0.78);
  font-size: 17.5px;
  margin-top: 20px;
  max-width: 46ch;
  line-height: 1.7;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero__figure {
  position: relative;
}
.hero__figure img {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.hero__figure::after {
  content: "";
  position: absolute;
  top: 20px; left: 20px; right: -20px; bottom: -20px;
  border: 1px solid var(--line-gold);
  z-index: -1;
}
.hero__caption {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}
.hero__caption strong { color: var(--gold-light); font-weight: 600; }

/* ---------- Stats bar ---------- */
.stats {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.stat__num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--navy);
  font-weight: 600;
}
.stat__num .gold { color: var(--gold); }
.stat__label {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 6px;
  line-height: 1.4;
}

/* ---------- Section basics ---------- */
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: rgba(255,255,255,0.85); }
.section--navy h2 { color: var(--white); }
.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
}
.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}
.section--navy .section-head p { color: rgba(255,255,255,0.68); }

/* ---------- Service cards ---------- */
.grid-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--white);
  padding: 30px 28px;
}
.service-card__num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 12px;
}
.service-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-top: 10px;
  line-height: 1.6;
}
.service-card--link {
  display: block;
  transition: background .2s ease;
}
.service-card--link:hover { background: var(--paper); }
.service-card__more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s ease, transform .2s ease;
}
.service-card--link:hover .service-card__more { opacity: 1; transform: translateX(0); }
.service-card--cta {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card--cta h3 { color: var(--white); }
.service-card--cta p { color: rgba(255,255,255,0.65); }
.service-card--cta .service-card__more { color: var(--gold-light); opacity: 1; transform: none; }
.service-card--cta:hover { background: var(--navy-deep); }

/* ---------- Service page detail blocks ---------- */
.answer-box {
  background: var(--paper);
  border-left: 2px solid var(--gold);
  padding: 22px 26px;
  margin: 28px 0 8px;
  font-size: 16.5px;
  color: var(--navy);
  line-height: 1.7;
}
.answer-box strong { color: var(--gold); text-transform: uppercase; font-size: 11.5px; letter-spacing: .1em; display: block; margin-bottom: 8px; font-family: var(--font-body); }
.check-list { list-style: none; padding: 0; margin: 16px 0; }
.check-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 12px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}
.ordered-steps { counter-reset: step; list-style: none; padding: 0; margin: 16px 0; }
.ordered-steps li {
  counter-increment: step;
  padding-left: 42px;
  position: relative;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
}
.ordered-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 26px; height: 26px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}
.warn-box {
  background: #FBF6EC;
  border: 1px solid var(--line-gold);
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 22px 0;
}
.related-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.related-card {
  border: 1px solid var(--line);
  padding: 20px;
  background: var(--white);
  transition: border-color .2s ease;
}
.related-card:hover { border-color: var(--gold); }
.related-card span { font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.related-card h4 { font-size: 15.5px; margin-top: 8px; font-weight: 600; color: var(--navy); }
.service-hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-chip {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--white);
  cursor: pointer;
  transition: all .2s ease;
}
.filter-chip:hover, .filter-chip.is-active { border-color: var(--gold); color: var(--navy); background: var(--paper); }

@media (max-width: 720px) {
  .related-services { grid-template-columns: 1fr; }
}

/* ---------- Profile chips ("para quem é") ---------- */
.grid-profiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.profile-chip {
  border: 1px solid var(--line);
  padding: 24px 20px;
  background: var(--white);
  transition: border-color .2s ease, transform .2s ease;
}
.profile-chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.profile-chip h4 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
}
.profile-chip p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.55;
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.step {
  padding: 0 22px;
  position: relative;
}
.step:not(:first-child) { border-left: 1px solid var(--line-gold); }
.step__index {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.step h4 {
  font-size: 16.5px;
  font-weight: 600;
}
.step p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.6;
}

/* ---------- Region / MG block ---------- */
.mg-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.mg-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.mg-list li {
  font-size: 14.5px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

/* ---------- About / Francisco intro ---------- */
.person-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.person-split__img {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(11,30,61,0.18);
}
.person-split blockquote {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.5;
  margin: 22px 0;
  padding-left: 22px;
  border-left: 2px solid var(--gold);
}
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.credential {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px 14px;
}

/* ---------- Differentials ---------- */
.grid-diff {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.diff h4 {
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.diff h4 .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.diff p { font-size: 14.5px; color: var(--ink-soft); margin-top: 10px; line-height: 1.65; }

/* ---------- FAQ accordion ---------- */
.faq-list { border-top: 1px solid var(--line); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--navy);
  font-weight: 500;
}
.faq-item__plus {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: relative;
}
.faq-item__plus::before, .faq-item__plus::after {
  content: "";
  position: absolute;
  background: var(--gold);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.faq-item__plus::before { width: 9px; height: 1.4px; }
.faq-item__plus::after { width: 1.4px; height: 9px; transition: transform .25s ease, opacity .25s ease; }
.faq-item.is-open .faq-item__plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item__a p {
  padding: 0 4px 22px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 70ch;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
}
.cta-band .container {
  padding: 68px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}
.cta-band h2 { color: var(--white); font-size: 28px; font-weight: 500; max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,0.65); margin-top: 10px; font-size: 15px; }
.cta-band__actions { display: flex; gap: 14px; flex-shrink: 0; }

/* ---------- Contact / address block ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-detail { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-detail__icon {
  width: 38px; height: 38px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-detail h4 { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.contact-detail p, .contact-detail a { font-size: 14.5px; color: var(--ink-soft); margin-top: 3px; }
.contact-detail a:hover { color: var(--gold); }
.note-box {
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--paper);
  border-left: 2px solid var(--gold);
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- Form ---------- */
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; line-height: 1.6; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.6); padding-top: 72px; }
.footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand .brand__badge { width: 44px; height: 44px; }
.footer__brand .brand__name { color: var(--white); font-size: 17px; }
.footer p.footer__desc { font-size: 13.5px; line-height: 1.7; max-width: 32ch; color: rgba(255,255,255,0.5); }
.footer h5 {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 18px;
}
.footer ul li { margin-bottom: 11px; font-size: 14px; }
.footer ul li span { color: rgba(255,255,255,0.42); }
.footer ul a:hover { color: var(--gold-light); }
.footer__bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
}
.footer__bottom a { color: rgba(255,255,255,0.4); }
.footer__bottom a:hover { color: var(--gold-light); }
.footer__bottom-links { display: flex; gap: 22px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1F7A5C;
  color: #fff;
  padding: 14px 20px;
  border-radius: 50px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,0.3); }
.wa-float svg { width: 20px; height: 20px; }

/* ---------- Reveal on scroll ----------
   Progressive enhancement: content is fully visible by default so it
   never depends on JavaScript running. The hidden/animated state is
   only switched on once JS confirms it can also reveal it again. */
.reveal { opacity: 1; transform: none; }
html.js-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
html.js-ready .reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Simple pages (legal, 404, thanks) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin-top: 44px; margin-bottom: 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); font-size: 15.5px; line-height: 1.8; }
.prose ul { margin: 14px 0; padding-left: 20px; list-style: disc; }
.prose li { margin-bottom: 8px; }
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(28px,3.4vw,38px); font-weight: 500; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--gold-light); }
.updated-note { font-size: 13px; color: var(--ink-soft); margin-top: -6px; margin-bottom: 40px; }

.state-page {
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--paper);
}
.state-page__code {
  font-family: var(--font-display);
  font-size: 96px;
  color: var(--navy);
  line-height: 1;
  font-weight: 600;
}
.state-page .eyebrow { justify-content: center; }
.state-page h1 { margin-top: 10px; font-size: 26px; }
.state-page p { color: var(--ink-soft); margin-top: 14px; max-width: 44ch; }
.state-page__actions { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__figure { max-width: 380px; margin: 0 auto; }
  .stats .container { grid-template-columns: repeat(2,1fr); row-gap: 28px; }
  .grid-services { grid-template-columns: repeat(2,1fr); }
  .grid-profiles { grid-template-columns: repeat(2,1fr); }
  .grid-diff { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: repeat(2,1fr); row-gap: 36px; }
  .step:nth-child(3) { border-left: none; }
  .mg-block { grid-template-columns: 1fr; gap: 36px; }
  .person-split { grid-template-columns: 1fr; }
  .person-split__img { max-width: 340px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer .container { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .cta-band .container { flex-direction: column; text-align: center; }
}

@media (max-width: 720px) {
  .header .btn--outline { display: none; }
  .nav-toggle { display: block; }
  .nav__list {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px rgba(11,30,61,0.08);
    padding: 6px 24px;
  }
  .nav__list.is-open { display: flex; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list li:last-child { border-bottom: none; }
  .nav__list a { display: block; padding: 14px 0; }
  .brand__name { font-size: 16px; }
  .brand__tagline { display: none; }
  .topbar__links { gap: 12px; }
  .topbar__links a span { display: none; }
  .topbar .container { font-size: 11.5px; flex-wrap: wrap; gap: 4px 14px; row-gap: 2px; }
  .topbar__area { display: none; }
  .grid-services { grid-template-columns: 1fr; }
  .grid-profiles { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: none !important; padding-left: 0; }
  .footer .container { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .section { padding: 60px 0; }
  .hero .container { padding-top: 48px; padding-bottom: 48px; }
}
