/* =========================================================================
   AMANAT — Юридические и бухгалтерские услуги
   Design system / global styles
   ========================================================================= */

:root {
  /* Brand palette — premium legal: deep navy + brass gold */
  --navy-900: #0a1f3c;
  --navy-800: #0d2747;
  --navy-700: #123257;
  --navy-600: #1b4170;
  --navy-100: #e8eef6;
  --gold-600: #b1872f;
  --gold-500: #c8a24b;
  --gold-400: #d8bd76;
  --gold-100: #f6efdd;

  --ink: #18202e;
  --ink-soft: #424c5e;
  --muted: #6b7689;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-tint: #eef2f8;
  --white: #ffffff;

  --ok: #1f9d6b;
  --err: #d6453b;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 60, .06), 0 2px 8px rgba(10, 31, 60, .05);
  --shadow: 0 10px 30px rgba(10, 31, 60, .10);
  --shadow-lg: 0 24px 60px rgba(10, 31, 60, .16);

  --container: 1180px;
  --header-h: 76px;

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --t: .25s cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy-900);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; color: var(--ink-soft); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--navy { background: var(--navy-900); color: #cfd9e8; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.section--navy .eyebrow { color: var(--gold-400); }

.section-head { max-width: 720px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.08rem; }

.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: var(--t); white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.btn--gold:hover { background: var(--gold-400); border-color: var(--gold-400); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(177,135,47,.35); }
.btn--navy { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-700); color: var(--navy-700); }
.btn--white { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* =========================================================================
   Header / Navigation
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t), background var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  height: var(--header-h);
  display: flex; align-items: center; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: grid; place-items: center; color: var(--gold-400);
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--navy-900); line-height: 1; letter-spacing: .02em; }
.brand__tag { display: block; font-family: var(--font-body); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
/* keep the header compact — tagline lives in the footer; header shows just the name */
.site-header .brand__tag { display: none; }

.nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 11px; border-radius: 9px;
  font-weight: 500; font-size: .95rem; color: var(--ink); transition: var(--t); cursor: pointer;
}
.nav__link:hover, .nav__item.active > .nav__link { color: var(--navy-700); background: var(--bg-soft); }
.nav__link .caret { width: 12px; height: 12px; transition: transform var(--t); opacity: .6; }
.nav__item.open .nav__link .caret { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 290px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: var(--t);
}
.nav__item:hover .nav__dropdown, .nav__item.open .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: .92rem; color: var(--ink-soft); transition: var(--t);
}
.nav__dropdown a:hover { background: var(--bg-soft); color: var(--navy-700); }
.nav__dropdown a small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.nav__phone a { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy-900); }
.nav__phone span { font-size: .72rem; color: var(--muted); }

.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  display: block; position: relative; width: 20px; height: 2px; background: var(--navy-900); margin: 0 auto; border-radius: 2px; transition: var(--t);
}
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; }
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav__burger span::after { top: 0; transform: rotate(-45deg); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; color: #e9eef6;
  background:
    radial-gradient(1100px 600px at 78% -10%, rgba(200,162,75,.16), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, #0b2545 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 59h60M59 0v60' fill='none' stroke='%23ffffff' stroke-opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding-block: clamp(56px, 8vw, 96px); }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--gold-400); }
.hero p { color: #c2cee0; font-size: 1.16rem; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__trust .ht { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #c8d3e4; }
.hero__trust .ht b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: #fff; line-height: 1; }
.hero__trust .ht svg { width: 26px; height: 26px; color: var(--gold-400); flex: none; }

/* Hero side card — lead form */
.hero__card {
  background: #fff; color: var(--ink);
  border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.5);
}
.hero__card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.hero__card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.badge-free { display:inline-block; background: var(--gold-100); color: var(--gold-600); font-size:.74rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:5px 11px; border-radius:999px; margin-bottom:14px; }

/* =========================================================================
   Forms
   ========================================================================= */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; font-family: var(--font-body); font-size: .96rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: var(--t);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(200,162,75,.16); }
.field input.invalid, .field textarea.invalid { border-color: var(--err); }
.field textarea { resize: vertical; min-height: 92px; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form-note a { color: var(--navy-700); text-decoration: underline; }
.form-success {
  display: none; text-align: center; padding: 24px 10px;
}
.form-success.show { display: block; }
.form-success .ico { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: var(--gold-100); color: var(--ok); display: grid; place-items: center; }
.form-success .ico svg { width: 30px; height: 30px; }

/* =========================================================================
   Cards / grids
   ========================================================================= */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: var(--t); height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__ico {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--navy-100), #fff);
  border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--navy-700);
}
.card__ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.card p { font-size: .95rem; margin-bottom: 16px; }
.card__list { list-style: none; padding: 0; margin: 0 0 18px; }
.card__list li { position: relative; padding: 5px 0 5px 26px; font-size: .92rem; color: var(--ink-soft); }
.card__list li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px;
  background: var(--gold-100); border-radius: 50%;
}
.card__list li::after { content: ""; position: absolute; left: 5px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-600); }
.card__link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .92rem; color: var(--navy-700); transition: var(--t); }
.card__link svg { width: 15px; height: 15px; transition: transform var(--t); }
.card__link:hover { color: var(--gold-600); }
.card__link:hover svg { transform: translateX(4px); }

/* Service pillar card with header strip */
.pcard { display: flex; flex-direction: column; }
.pcard__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.pcard__top .card__ico { margin: 0; }
.pcard__top h3 { margin: 0; }

/* Breadcrumbs + page hero */
.page-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #d7e0ee; padding: clamp(40px, 6vw, 70px) 0 clamp(46px, 7vw, 76px); position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; right:-80px; top:-80px; width:320px; height:320px; border-radius:50%; background: radial-gradient(circle, rgba(200,162,75,.18), transparent 70%); }
.page-hero h1 { color: #fff; max-width: 880px; }
.page-hero p { color: #c2cee0; max-width: 680px; font-size: 1.12rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: #9fb0c9; margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--gold-400); }
.breadcrumbs span { color: #6f82a0; }

/* Anchor sub-nav (sticky chips) */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav__row { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: thin; }
.subnav a { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--bg-soft); font-size: .88rem; font-weight: 500; color: var(--ink-soft); border: 1px solid transparent; transition: var(--t); }
.subnav a:hover, .subnav a.active { background: var(--navy-800); color: #fff; }

/* Service detail block (anchored) */
.svc-block { padding: clamp(40px, 6vw, 64px) 0; border-bottom: 1px solid var(--line); }
.svc-block:last-child { border-bottom: 0; }
.svc-block__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.svc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.svc-list li { display: flex; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: var(--t); }
.svc-list li:hover { border-color: var(--gold-400); box-shadow: var(--shadow-sm); }
.svc-list .chk { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; }
.svc-list .chk svg { width: 13px; height: 13px; }
.svc-list b { display: block; color: var(--navy-900); font-size: .96rem; }
.svc-list small { color: var(--muted); font-size: .85rem; }

.price-tag { display: inline-flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.price-tag b { font-family: var(--font-head); font-size: 1.5rem; color: var(--navy-900); }
.price-tag span { color: var(--muted); font-size: .9rem; }

/* =========================================================================
   Stats / counters
   ========================================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 10px; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--gold-400); line-height: 1; }
.section--navy .stat b { color: var(--gold-400); }
.stat span { font-size: .92rem; color: #b9c5d8; }
.section:not(.section--navy) .stat b { color: var(--navy-800); }
.section:not(.section--navy) .stat span { color: var(--muted); }

/* =========================================================================
   Process steps
   ========================================================================= */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step__num { counter-increment: step; font-family: var(--font-head); font-size: 2.4rem; color: var(--gold-400); line-height: 1; margin-bottom: 12px; }
.step__num::before { content: "0" counter(step); }
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { font-size: .9rem; margin: 0; }

/* =========================================================================
   Why-us / features
   ========================================================================= */
.feature { display: flex; gap: 16px; }
.feature__ico { flex: none; width: 50px; height: 50px; border-radius: 13px; background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; }
.feature__ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature p { font-size: .93rem; margin: 0; }

/* split media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.media-ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; color: #fff; padding: 30px;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600)); }
.media-ph svg { width: 64px; height: 64px; color: var(--gold-400); opacity: .9; }

/* checklist */
.ticks { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--ink-soft); }
.ticks .chk { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-800); color: var(--gold-400); display: grid; place-items: center; }
.ticks .chk svg { width: 14px; height: 14px; }
.ticks b { color: var(--navy-900); }

/* =========================================================================
   Testimonials
   ========================================================================= */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; height: 100%; }
.quote-card .stars { color: var(--gold-500); margin-bottom: 12px; letter-spacing: 2px; }
.quote-card p { font-size: 1rem; color: var(--ink); font-style: italic; margin-bottom: 18px; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .ava { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); color: var(--gold-400); display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }
.quote-card .who b { display: block; font-size: .95rem; color: var(--navy-900); }
.quote-card .who span { font-size: .82rem; color: var(--muted); }

/* logos / partners */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 38px; }
.logo-ph { height: 46px; padding: 0 22px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-weight: 600; font-size: .9rem; letter-spacing: .04em; }

/* certificates */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert { aspect-ratio: 3/4; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-soft); display: grid; place-items: center; text-align: center; padding: 16px; color: var(--muted); transition: var(--t); }
.cert:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cert svg { width: 36px; height: 36px; color: var(--gold-500); margin-bottom: 8px; }
.cert small { font-size: .78rem; }

/* =========================================================================
   FAQ accordion
   ========================================================================= */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 22px; font-family: var(--font-body); font-weight: 600; font-size: 1.04rem; color: var(--navy-900); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq__q .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; transition: var(--t); }
.faq__q .pm::before, .faq__q .pm::after { content: ""; position: absolute; width: 12px; height: 2px; background: var(--navy-700); border-radius: 2px; transition: var(--t); }
.faq__q .pm { position: relative; }
.faq__q .pm::after { transform: rotate(90deg); }
.faq__item.open .pm { background: var(--gold-500); }
.faq__item.open .pm::after { transform: rotate(0); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 22px 20px; margin: 0; font-size: .96rem; }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band { position: relative; overflow: hidden;
  background: radial-gradient(800px 400px at 80% 120%, rgba(200,162,75,.2), transparent 60%), linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.cta-band .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #c2cee0; margin: 0; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--navy-900); color: #9fb0c9; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: #7f93b3; }
.footer__about { font-size: .92rem; margin: 18px 0; max-width: 320px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { font-size: .92rem; color: #9fb0c9; transition: var(--t); }
.footer a:hover { color: var(--gold-400); }
.footer__contact li { display: flex; gap: 10px; font-size: .92rem; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; margin-top: 2px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .82rem; color: #6f82a0; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #cfd9e8; }
.footer__social a:hover { background: var(--gold-500); color: var(--navy-900); }
.footer__social svg { width: 18px; height: 18px; }

/* =========================================================================
   Floating contact buttons
   ========================================================================= */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); transition: var(--t); position: relative; }
.fab a:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }
.fab .wa { background: #25d366; }
.fab .tg { background: #2aabee; }
.fab .call { background: var(--gold-500); color: var(--navy-900); }
.fab a::after { content: attr(data-tip); position: absolute; right: 68px; top: 50%; transform: translateY(-50%); background: var(--navy-900); color: #fff; font-size: .8rem; padding: 6px 12px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: var(--t); }
.fab a:hover::after { opacity: 1; }

/* =========================================================================
   Reveal animation
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =========================================================================
   404
   ========================================================================= */
.err-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.err-page .code { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 11rem); line-height: 1; color: var(--navy-100); }
.err-page .code .accent { color: var(--gold-500); }

/* utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.hide-mobile { }
.fadein-up { animation: fadeUp .7s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* =========================================================================
   Responsive
   ========================================================================= */
/* show the header phone only on wide screens so the nav stays on one row */
@media (max-width: 1200px) {
  .nav__phone { display: none; }
}
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats, .steps, .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .nav__menu, .nav__phone { display: none; }
  .nav__burger { display: block; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner, .split, .svc-block__grid { grid-template-columns: 1fr; }
  .hero__inner { gap: 36px; }
  .hero__card { order: 2; }

  /* mobile menu panel */
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(380px, 86vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 14px; overflow-y: auto; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform var(--t); display: flex;
    border-left: 1px solid var(--line);
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav__menu { transform: translateX(0); }
  .nav__menu::after { content: ""; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { padding: 14px 8px; font-size: 1rem; justify-content: space-between; }
  .nav__dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 10px 10px; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .nav__item.open .nav__dropdown { max-height: 600px; }
  .nav__item:hover .nav__dropdown { max-height: 0; }
  .nav__item.open:hover .nav__dropdown,
  .nav__item.open .nav__dropdown { max-height: 600px; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .footer__grid, .stats, .steps, .cert-grid { grid-template-columns: 1fr; }
  .footer__grid { gap: 28px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .hero__trust { gap: 16px; }
  .section { padding: 50px 0; }
}
