/* =========================================================================
   Legal HQ — main stylesheet
   Palette taken from the logo: gold on black.
   ========================================================================= */

:root {
  --gold-50:  #FCF6E4;
  --gold-100: #F6E9BE;
  --gold-300: #EFD68C;
  --gold-400: #E4C566;
  --gold-500: #D4A62A;   /* primary */
  --gold-600: #B8860B;
  --gold-700: #8F6708;

  --gold-grad: linear-gradient(135deg, #F3DE9A 0%, #D4A62A 45%, #B8860B 100%);

  --ink:      #0B0B0C;
  --ink-800:  #17181B;
  --ink-700:  #24262B;
  --body:     #43474E;
  --muted:    #6B7079;
  --line:     #E5E6EA;
  --soft:     #F7F7F8;
  --white:    #FFFFFF;

  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 11, 12, .06);
  --shadow:    0 10px 30px rgba(11, 11, 12, .08);
  --shadow-lg: 0 24px 60px rgba(11, 11, 12, .16);

  --wrap: 1180px;
  --gap:  28px;
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.22rem; }
p  { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 26px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold { background: var(--gold-grad); color: var(--ink); box-shadow: 0 8px 22px rgba(184, 134, 11, .32); }
.btn--gold:hover { box-shadow: 0 12px 28px rgba(184, 134, 11, .42); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; box-shadow: 0 12px 28px rgba(0, 0, 0, .28); }

.btn--outline { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn--outline-dark { border-color: rgba(11, 11, 12, .35); color: var(--ink); }
.btn--outline-dark:hover { background: rgba(11, 11, 12, .07); border-color: var(--ink); }

.btn--block { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 1.04rem; }

/* --- top bar -------------------------------------------------------------- */
.topbar { position: relative; z-index: 91; background: var(--ink); color: rgba(255, 255, 255, .72); font-size: .86rem; }
.topbar__inner {
  display: flex; flex-wrap: wrap; gap: 6px 24px;
  align-items: center; justify-content: space-between; min-height: 42px;
}
.topbar__note { margin: 0; display: flex; align-items: center; gap: .5em; }
.topbar__note .ico { color: var(--gold-500); }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a { display: inline-flex; align-items: center; gap: .5em; transition: color .2s; }
.topbar__links a:hover { color: var(--gold-400); }
.topbar__links .ico { color: var(--gold-500); }

/* --- header / nav --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(11, 11, 12, .1); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }

.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list > li > a {
  display: inline-flex; align-items: center; gap: .35em;
  padding: 10px 14px; border-radius: 10px;
  font-weight: 600; color: var(--ink-700);
  transition: color .2s, background .2s;
}
.nav__list > li > a:hover { color: var(--gold-700); background: var(--gold-50); }
.nav__list > li > a.is-active { color: var(--gold-700); background: var(--gold-50); }
.ico--chev { width: .7em; height: .7em; transition: transform .2s; }

.has-sub { position: relative; }
.subnav {
  position: absolute; left: 0; top: calc(100% + 10px); min-width: 235px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub:hover .ico--chev { transform: rotate(180deg); }
.subnav a {
  display: block; padding: 11px 14px; border-radius: 9px;
  font-weight: 600; font-size: .95rem; color: var(--ink-700);
  transition: background .18s, color .18s, padding-left .18s;
}
.subnav a:hover { background: var(--gold-50); color: var(--gold-700); padding-left: 18px; }

.burger { display: none; width: 46px; height: 42px; background: none; border: 0; cursor: pointer; padding: 10px 8px; }
.burger span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger span + span { margin-top: 6px; }
.burger.is-open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* --- hero ----------------------------------------------------------------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,8,9,.94) 0%, rgba(8,8,9,.82) 42%, rgba(8,8,9,.35) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 92px 0 100px; max-width: 730px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 .gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.14rem; color: rgba(255, 255, 255, .84); max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 7px 16px 7px 12px; margin-bottom: 20px;
  border: 1px solid rgba(212, 166, 42, .45); border-radius: 999px;
  background: rgba(212, 166, 42, .12);
  color: var(--gold-400); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
}
.eyebrow--light { border-color: rgba(212, 166, 42, .4); background: var(--gold-50); color: var(--gold-700); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }

.hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0 0; }
.hero__points li { display: flex; align-items: center; gap: .5em; font-size: .95rem; color: rgba(255, 255, 255, .88); }
.hero__points .ico { width: .85em; height: .85em; color: var(--gold-500); }

/* page banner (inner pages) */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,8,9,.93), rgba(8,8,9,.66));
}
.page-hero__inner { position: relative; z-index: 2; padding: 72px 0 76px; max-width: 760px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255, 255, 255, .82); font-size: 1.08rem; margin-bottom: 0; max-width: 60ch; }
.crumbs { display: flex; gap: .5em; font-size: .87rem; color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold-400); }
.crumbs span { color: var(--gold-500); }

/* --- sections ------------------------------------------------------------- */
.section { padding: 86px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding: 60px 0; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.06rem; margin-bottom: 0; }
.section-head--center p { margin-inline: auto; }

/* --- trust bar ------------------------------------------------------------ */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); margin-top: -46px; position: relative; z-index: 5;
}
.trust__item { background: #fff; padding: 26px 22px; text-align: center; }
.trust__item .ico { width: 26px; height: 26px; color: var(--gold-600); }
.trust__item strong { display: block; margin-top: 8px; color: var(--ink); font-size: 1.02rem; }
.trust__item span { font-size: .87rem; color: var(--muted); }

/* --- service cards -------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(212, 166, 42, .5); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__badge {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gold-grad); color: var(--ink); box-shadow: var(--shadow-sm);
}
.card__badge .ico { width: 24px; height: 24px; }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .45em; }
.card__body p { font-size: .97rem; }
.card__link {
  margin-top: auto; padding-top: 6px;
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; color: var(--gold-700); font-size: .95rem;
}
.card__link .ico { transform: rotate(-90deg); transition: transform .2s; width: .8em; height: .8em; }
.card__link:hover .ico { transform: rotate(-90deg) translateY(-5px); }

/* --- feature grid --------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 14px; background: var(--gold-50); color: var(--gold-700);
  border: 1px solid rgba(212, 166, 42, .3);
}
.feature__icon .ico { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; }
.feature p { font-size: .96rem; margin-bottom: 0; }
.section--dark .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .feature p { color: rgba(255, 255, 255, .72); }
.section--dark .feature__icon { background: rgba(212, 166, 42, .14); color: var(--gold-400); border-color: rgba(212, 166, 42, .3); }

/* --- split (image + text) ------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.split__media::before {
  content: ''; position: absolute; inset: auto -18px -18px auto;
  width: 62%; height: 62%; border-radius: var(--radius-lg);
  background: var(--gold-grad); opacity: .16; z-index: -1;
}
.split__body h2 { margin-bottom: .5em; }

.ticks { margin: 22px 0 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: .99rem; }
.ticks .ico {
  width: 22px; height: 22px; padding: 5px; margin-top: 3px; border-radius: 50%;
  background: var(--gold-50); color: var(--gold-700); stroke-width: 3.5;
}
.section--dark .ticks li { color: rgba(255, 255, 255, .8); }
.section--dark .ticks .ico { background: rgba(212, 166, 42, .16); color: var(--gold-400); }

/* --- stats ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); text-align: center; }
.stat__num {
  font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 800; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat p { margin: 10px 0 0; font-size: .95rem; }

/* --- process steps -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin-bottom: 18px;
  border-radius: 16px; background: var(--ink); color: var(--gold-400);
  font-weight: 800; font-size: 1.15rem;
}
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 40px; left: 66px; right: -16px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold-400) 0 7px, transparent 7px 14px);
}
.step h3 { font-size: 1.08rem; margin-bottom: .4em; }
.step p { font-size: .95rem; margin-bottom: 0; }
.section--dark .step p { color: rgba(255, 255, 255, .72); }
.section--dark .step__num { background: var(--gold-grad); color: var(--ink); }

/* --- testimonials --------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.quote {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 32px 30px;
}
.quote__mark { position: absolute; top: 24px; right: 28px; width: 42px; height: 42px; color: var(--gold-100); }
.quote__stars { display: flex; gap: 3px; color: var(--gold-500); margin-bottom: 14px; }
.quote__stars .ico { width: 17px; height: 17px; }
.quote p { font-size: 1.02rem; color: var(--ink-700); }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); color: var(--ink); font-weight: 800;
}
.quote__who strong { display: block; color: var(--ink); font-size: .98rem; }
.quote__who span { font-size: .85rem; color: var(--muted); }

/* --- accordion / FAQ ------------------------------------------------------ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.acc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.acc.is-open { border-color: rgba(212, 166, 42, .55); box-shadow: var(--shadow-sm); }
.acc__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 1.04rem; font-weight: 700; color: var(--ink);
}
.acc__q .ico { color: var(--gold-600); transition: transform .25s; width: 18px; height: 18px; }
.acc.is-open .acc__q .ico { transform: rotate(180deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc__a p { padding: 0 24px 22px; margin: 0; font-size: .98rem; }

/* --- CTA strip ------------------------------------------------------------ */
.cta-strip { background: var(--gold-grad); color: var(--ink); }
.cta-strip__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 28px; padding: 54px 20px;
}
.cta-strip h2 { margin-bottom: .3em; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-strip p { margin: 0; max-width: 62ch; color: rgba(11, 11, 12, .78); }
.cta-strip__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- forms ---------------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 700; color: var(--ink); }
.field .req { color: var(--gold-700); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .98rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(212, 166, 42, .16);
}
.field input.has-error, .field select.has-error, .field textarea.has-error { border-color: #C0392B; }
.field .err { font-size: .84rem; color: #C0392B; min-height: 1em; }
.field--check { flex-direction: row; align-items: flex-start; gap: 11px; }
.field--check input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--gold-600); }
.field--check label { font-weight: 500; font-size: .9rem; color: var(--body); line-height: 1.55; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-foot { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-foot small { color: var(--muted); font-size: .85rem; }

/* The success / error banners start hidden and are revealed by main.js.
   .alert is display:flex, so [hidden] needs to win over it. */
[hidden] { display: none !important; }

.form-card__title { font-size: 1.55rem; }
.field .opt { color: var(--muted); font-weight: 500; }
.err--block { display: block; }
.form-foot__tel { color: var(--gold-700); font-weight: 700; }

.alert { display: flex; gap: 13px; padding: 16px 18px; border-radius: 12px; margin-bottom: 26px; font-size: .96rem; }
.alert .ico { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.alert--ok { background: #EEF8EF; border: 1px solid #BFE3C4; color: #1E6B2B; }
.alert--bad { background: #FDF0EE; border: 1px solid #F3C9C2; color: #9B2C1B; }
.alert p { margin: 0; }
.alert strong { display: block; }

/* --- contact page --------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 50px; align-items: start; }
.info-card {
  background: var(--ink); color: rgba(255, 255, 255, .76);
  border-radius: var(--radius-lg); padding: 34px; margin-bottom: 24px;
}
.info-card h3 { color: #fff; }
.info-list { display: grid; gap: 20px; margin-top: 22px; }
.info-list li { display: flex; gap: 14px; }
.info-list .ico { width: 20px; height: 20px; color: var(--gold-500); margin-top: 4px; flex: none; }
.info-list strong { display: block; color: #fff; font-size: .95rem; }
.info-list a:hover { color: var(--gold-400); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-frame iframe { display: block; width: 100%; height: 300px; border: 0; }

/* --- misc ----------------------------------------------------------------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pill {
  padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: var(--gold-50); color: var(--gold-700); border: 1px solid rgba(212, 166, 42, .3);
}
.section--dark .pill { background: rgba(212, 166, 42, .14); color: var(--gold-400); border-color: rgba(212, 166, 42, .28); }

.note-box {
  border-left: 4px solid var(--gold-500); background: var(--gold-50);
  padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0;
}
.note-box p:last-child { margin-bottom: 0; }

.rich h3 { margin-top: 1.7em; }
.rich h3:first-child { margin-top: 0; }

/* --- footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .66); padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 50px; }
.footer-col h3 { color: #fff; font-size: 1.02rem; margin-bottom: 1.1em; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: var(--gold-400); }
.footer-col--brand img { height: 48px; width: auto; margin-bottom: 20px; }
.footer-note { color: rgba(255, 255, 255, .5); font-size: .89rem; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact .ico { width: 18px; height: 18px; color: var(--gold-500); margin-top: 4px; flex: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: space-between;
  padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem;
  color: rgba(255, 255, 255, .45);
}
.footer-bottom p { margin: 0; }

/* --- back to top ---------------------------------------------------------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; background: var(--gold-grad); color: var(--ink);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top .ico { width: 20px; height: 20px; transform: rotate(180deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
/* Don't let it float over the open mobile menu. */
body.nav-open .to-top { opacity: 0; visibility: hidden; }

/* --- scroll reveal -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

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

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split { gap: 42px; }
}

@media (max-width: 960px) {
  .cards, .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .trust { grid-template-columns: repeat(2, 1fr); margin-top: -34px; }
  .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px; }

  .burger { display: block; }

  /* IMPORTANT: backdrop-filter makes an element a containing block for its
     position:fixed descendants. The mobile nav panel lives inside the header,
     so the blur has to go here or the panel is positioned against the 78px
     header box instead of the viewport and collapses to a small floating card. */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* The panel opens directly beneath the header. --nav-top is set by main.js to the
     header's real bottom edge, so the logo and phone number are never covered. */
  .nav {
    position: fixed; top: var(--nav-top, 120px); right: 0; bottom: 0; left: auto;
    width: min(340px, 86vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    background: #fff; padding: 24px 24px 32px; box-shadow: -18px 0 50px rgba(0, 0, 0, .18);
    border-top: 1px solid var(--line);
    transform: translateX(105%); transition: transform .32s ease; overflow-y: auto; z-index: 80;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list > li > a { padding: 14px 12px; font-size: 1.04rem; justify-content: space-between; }
  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 8px 12px; min-width: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .has-sub.is-open .subnav { max-height: 280px; }
  .has-sub.is-open .ico--chev { transform: rotate(180deg); }
  .nav__cta { margin-top: 20px; }
  body.nav-open { overflow: hidden; }
  .nav-scrim {
    position: fixed; top: var(--nav-top, 120px); right: 0; bottom: 0; left: 0;
    background: rgba(8, 8, 9, .5); z-index: 75;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-scrim.is-open { opacity: 1; visibility: visible; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 36px; }
  .hero__inner { padding: 64px 0 72px; }
  .page-hero__inner { padding: 54px 0 56px; }
  .cards, .features, .quotes, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__note { display: none; }
  .cta-strip__inner { padding: 42px 20px; }
  .btn { width: 100%; }
  .btn.nav__cta, .cta-strip__actions .btn { width: auto; }
  .hero__actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust { grid-template-columns: 1fr; margin-top: 0; border-radius: var(--radius); }
  .info-card, .form-card { padding: 24px 20px; }
}

@media (max-width: 420px) {
  .brand img { height: 38px; }
  .topbar__links { flex-direction: column; gap: 2px; }
}
