/* Complete Residential Services LLC — design system
   Dark navy + gold. Fraunces (headings) + Manrope (body), self-hosted. */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --bg: #070b16;
  --bg-2: #0a1122;
  --navy: #0d1830;
  --panel: #101c38;
  --panel-2: #14234a;
  --line: rgba(212, 175, 55, 0.24);
  --line-soft: rgba(255, 255, 255, 0.08);
  --gold: #d4af37;
  --gold-2: #f2d98a;
  --gold-3: #a98422;
  --text: #eef1f7;
  --muted: #aab5cb;
  --danger: #ff8a8a;
  --ok: #7be0a5;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 76px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --gold-grad: linear-gradient(135deg, #f7e2a0 0%, #d4af37 48%, #a98422 100%);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.35rem, 6.2vw, 4.7rem); font-weight: 650; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--gold); color: #10131b; padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 200; transition: top .2s; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { max-width: 760px; margin: 0 0 clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 62ch; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--gold { color: var(--gold); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: .98rem; letter-spacing: .01em; line-height: 1; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-grad); color: #12131a; box-shadow: 0 8px 28px rgba(212, 175, 55, .28); }
.btn-gold:hover { box-shadow: 0 12px 34px rgba(212, 175, 55, .42); }
.btn-outline { border-color: var(--gold); color: var(--gold-2); background: rgba(212, 175, 55, .06); }
.btn-outline:hover { background: rgba(212, 175, 55, .16); }
.btn-ghost { border-color: var(--line-soft); color: var(--text); background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-lg { padding: 17px 32px; font-size: 1.04rem; }
.btn-sm { padding: 10px 16px; font-size: .88rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7, 11, 22, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(7, 11, 22, .95); border-bottom-color: var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 62px; width: auto; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link, .nav-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .96rem; color: var(--text); background: none; border: 0; transition: color .2s, background .2s; }
.nav-link:hover, .nav-btn:hover, .nav-link[aria-current="page"], .nav-item.is-open > .nav-btn { color: var(--gold-2); background: rgba(212,175,55,.08); }
.nav-btn .icon { width: 1em; height: 1em; transition: transform .25s; }
.nav-item.is-open > .nav-btn .icon { transform: rotate(180deg); }
.nav-item { position: relative; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { padding: 11px 16px; font-size: .9rem; }
.header-actions .btn-gold { padding: 11px 20px; }

/* mega menu (desktop) */
.mega { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px); width: min(920px, 92vw); background: linear-gradient(180deg, #0f1a35, #0a1226); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 26px; opacity: 0; visibility: hidden; transition: opacity .22s ease, transform .22s ease, visibility .22s; z-index: 120; }
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-item.is-open > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 0 6px 16px; margin-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.mega-head strong { font-family: var(--font-head); font-size: 1.15rem; }
.mega-head span { color: var(--muted); font-size: .86rem; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mega-item { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s; }
.mega-item:hover, .mega-item:focus-visible { background: rgba(212,175,55,.08); border-color: var(--line); transform: translateY(-2px); }
.mega-item .icon { width: 30px; height: 30px; color: var(--gold); stroke-width: 1.4; }
.mega-item b { font-size: .98rem; }
.mega-item small { color: var(--muted); font-size: .8rem; line-height: 1.4; }

/* mobile drawer */
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.05); align-items: center; justify-content: center; }
.menu-toggle .icon { width: 24px; height: 24px; }
.drawer { position: fixed; inset: 0; z-index: 150; background: rgba(4, 7, 14, .72); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: linear-gradient(180deg, #0e1832, #070b16); border-left: 1px solid var(--line); padding: 20px 22px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-top img { height: 52px; width: auto; }
.drawer-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.05); display: grid; place-items: center; }
.drawer-list > li { border-bottom: 1px solid var(--line-soft); }
.drawer-link, .drawer-acc { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 16px 4px; font-size: 1.12rem; font-weight: 600; background: none; border: 0; text-align: left; }
.drawer-acc .icon { transition: transform .25s; }
.drawer-acc[aria-expanded="true"] .icon { transform: rotate(180deg); }
.drawer-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.drawer-sub.is-open { grid-template-rows: 1fr; }
.drawer-sub > div { overflow: hidden; }
.drawer-sub a { display: flex; align-items: center; gap: 14px; padding: 12px 6px 12px 10px; color: var(--muted); font-weight: 600; }
.drawer-sub a:hover { color: var(--gold-2); }
.drawer-sub .icon { color: var(--gold); }
.drawer-cta { display: grid; gap: 10px; margin-top: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(90svh, 880px); display: flex; align-items: center; isolation: isolate; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0; }
.hero-media { position: absolute; inset: 0; z-index: -2; background: #0a1122 center/cover no-repeat; }
.hero-media picture, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity 1s ease; }
.hero-media video.is-playing { opacity: 1; }
/* slow drift on the poster: guarantees motion while the video loads, or if the phone blocks autoplay */
@keyframes heroDrift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.15) translate3d(-2.4%, -1.4%, 0); } }
.hero-media img { animation: heroDrift 26s ease-in-out infinite alternate; will-change: transform; }
.hero.is-paused .hero-media img { animation-play-state: paused; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(6,10,20,.86) 0%, rgba(7,12,26,.62) 44%, rgba(7,12,26,.28) 100%),
  linear-gradient(180deg, rgba(7,11,22,.3) 0%, rgba(7,11,22,.12) 55%, var(--bg) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 15% 40%, rgba(212,175,55,.14), transparent 70%); pointer-events: none; }
.hero-content { max-width: 780px; }
.hero h1 { margin-bottom: 18px; }
.hero .slogan { font-family: var(--font-head); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--gold-2); margin-bottom: 14px; }
.hero .lead { color: #cbd4e6; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 22px; color: #cfd7e8; font-size: .92rem; }
.hero-notes span { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes .icon { color: var(--gold); width: 1.1em; height: 1.1em; }
.hero-pause { position: absolute; right: 22px; bottom: 22px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(7, 11, 22, .6); backdrop-filter: blur(6px); color: var(--gold-2); display: grid; place-items: center; transition: background .25s, border-color .25s; }
.hero-pause[hidden] { display: none; }
.hero-pause:hover { background: rgba(212, 175, 55, .18); border-color: var(--gold); }
.hero-pause .icon { width: 20px; height: 20px; }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 44px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 20px; display: none; }
.scroll-hint::after { content: ""; position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-2); animation: hint 1.8s infinite; }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@media (min-width: 900px) { .scroll-hint { display: block; } }

/* ---------- trust strip ---------- */
.trust { background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-block: 1px solid var(--line-soft); }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 22px 20px; border-right: 1px solid var(--line-soft); font-size: .92rem; line-height: 1.3; }
.trust-item:last-child { border-right: 0; }
.trust-item .icon { width: 34px; height: 34px; color: var(--gold); stroke-width: 1.3; }
.trust-item b { display: block; font-size: .98rem; }
.trust-item small { color: var(--muted); }

/* ---------- services ---------- */
.svc-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 22px; }
.svc-feature { position: relative; border-radius: 22px; overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; border: 1px solid var(--line); isolation: isolate; transition: transform .35s ease, box-shadow .35s ease; }
.svc-feature:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(212,175,55,.5); }
.svc-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.svc-feature:hover img { transform: scale(1.06); }
.svc-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,11,22,.05) 20%, rgba(7,11,22,.92) 100%); }
.svc-feature-body { padding: 26px; width: 100%; }
.badge { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #12131a; background: var(--gold-grad); padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.svc-feature h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.svc-feature h3 .icon { width: 30px; height: 30px; color: var(--gold-2); }
.svc-feature p { color: #d4dbeb; font-size: .96rem; margin-bottom: 14px; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-weight: 700; font-size: .92rem; }
.more .icon { width: 1.05em; height: 1.05em; transition: transform .25s; }
a:hover > .more .icon, .more:hover .icon { transform: translateX(5px); }
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.svc-card { display: flex; flex-direction: column; gap: 10px; padding: 24px 20px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(20,35,74,.6), rgba(13,24,48,.6)); border: 1px solid var(--line-soft); transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.svc-card:hover { transform: translateY(-5px); border-color: var(--gold); background: linear-gradient(180deg, rgba(28,46,94,.7), rgba(15,27,54,.7)); }
.svc-card > .icon { width: 38px; height: 38px; color: var(--gold); stroke-width: 1.3; }
.svc-card h3 { font-size: 1.12rem; margin: 4px 0 0; }
.svc-card p { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; }

/* ---------- before / after ---------- */
.ba-wrap { display: grid; gap: 22px; }
.ba-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.ba-tab { padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.04); font-weight: 700; font-size: .92rem; transition: all .25s; }
.ba-tab:hover { border-color: var(--gold); }
.ba-tab[aria-selected="true"] { background: var(--gold-grad); color: #12131a; border-color: transparent; }
.ba { position: relative; width: 100%; aspect-ratio: 3 / 2; max-height: 78vh; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #0a1122; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--gold-grad); box-shadow: 0 0 20px rgba(0,0,0,.5); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: var(--pos); width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--gold-grad); color: #12131a; display: grid; place-items: center; box-shadow: 0 8px 28px rgba(0,0,0,.55); pointer-events: none; transition: transform .2s; }
.ba.is-dragging .ba-knob { transform: scale(1.12); }
.ba-knob .icon { width: 26px; height: 26px; stroke-width: 2; }
.ba-label { position: absolute; top: 16px; padding: 7px 14px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: rgba(7,11,22,.78); backdrop-filter: blur(6px); pointer-events: none; }
.ba-label--before { left: 16px; }
.ba-label--after { right: 16px; color: var(--gold-2); border: 1px solid var(--line); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.ba-range:focus-visible + .ba-focus { opacity: 1; }
.ba-focus { position: absolute; inset: 0; border-radius: 22px; box-shadow: inset 0 0 0 3px var(--gold-2); opacity: 0; pointer-events: none; }
.ba-note { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .84rem; }
.ba-note .icon { color: var(--gold); flex: none; }

/* ---------- why / quotes ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { padding: 34px 28px; border-radius: 22px; background: linear-gradient(160deg, rgba(20,35,74,.7), rgba(10,17,34,.7)); border: 1px solid var(--line-soft); position: relative; overflow: hidden; transition: transform .3s, border-color .3s; }
.why-card:hover { transform: translateY(-5px); border-color: var(--line); }
.why-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; background: radial-gradient(circle, rgba(212,175,55,.2), transparent 70%); }
.why-card .icon { width: 46px; height: 46px; color: var(--gold); stroke-width: 1.2; margin-bottom: 18px; }
.why-card h3 { margin-bottom: 10px; }
.why-card p { color: var(--muted); margin: 0; }
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card { position: relative; margin: 0; padding: 34px 30px 28px; border-radius: 22px; background: linear-gradient(180deg, #111e3d, #0b1429); border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 18px; }
.quote-card .qmark { width: 34px; height: 34px; color: var(--gold); opacity: .85; }
.quote-card blockquote { margin: 0; font-family: var(--font-head); font-size: 1.28rem; line-height: 1.4; }
.quote-card cite { font-style: normal; color: var(--muted); font-size: .88rem; letter-spacing: .04em; margin-top: auto; }
.quote-card .stars { display: flex; gap: 3px; color: var(--gold); }
.quote-card .stars .icon { fill: currentColor; width: 16px; height: 16px; }
.reviews-slot[hidden] { display: none; }
.reviews-note { margin-top: 26px; color: var(--muted); font-size: .86rem; text-align: center; }

/* ---------- service area ---------- */
.area { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(212,175,55,.06); font-weight: 600; font-size: .95rem; }
.chip .icon { color: var(--gold); width: 1em; height: 1em; }
.radar { position: relative; aspect-ratio: 1; width: min(100%, 420px); margin-inline: auto; }
.radar svg { width: 100%; height: 100%; }
.radar .ring { fill: none; stroke: var(--gold); stroke-opacity: .28; stroke-width: 1; }
.radar .ring--pulse { animation: pulse 3.6s ease-out infinite; transform-origin: center; }
.radar .ring--pulse:nth-of-type(2) { animation-delay: 1.2s; }
.radar .ring--pulse:nth-of-type(3) { animation-delay: 2.4s; }
@keyframes pulse { 0% { opacity: .9; transform: scale(.15); } 100% { opacity: 0; transform: scale(1); } }
.radar .dot { fill: var(--gold); }
.radar text { fill: var(--text); font-family: var(--font-body); font-size: 11px; font-weight: 700; }
.radar .center-label { font-family: var(--font-head); font-size: 15px; fill: var(--gold-2); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: clamp(56px, 8vw, 96px) 0; text-align: center; overflow: hidden; border-top: 1px solid var(--line); background: radial-gradient(70% 120% at 50% 0%, rgba(212,175,55,.14), transparent 65%), linear-gradient(180deg, var(--bg-2), var(--bg)); }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .lead { margin-inline: auto; margin-bottom: 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,10,20,.9), rgba(7,12,26,.5)), linear-gradient(180deg, transparent 55%, var(--bg)); }
.page-hero--plain { background: radial-gradient(60% 80% at 80% 0%, rgba(212,175,55,.12), transparent 70%), var(--bg-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold-2); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.9rem); max-width: 18ch; }
.page-hero .lead { margin-bottom: 26px; }

.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #ccd4e6; }
.check-list { display: grid; gap: 12px; margin: 18px 0 28px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line-soft); }
.check-list .icon { color: var(--gold); margin-top: 3px; width: 1.2em; height: 1.2em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 30px; counter-reset: step; }
.step { padding: 22px 20px; border-radius: 16px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.03); counter-increment: step; }
.step::before { content: "0" counter(step); font-family: var(--font-head); font-size: 2rem; color: var(--gold); display: block; margin-bottom: 6px; }
.step b { display: block; margin-bottom: 4px; }
.step p { margin: 0; font-size: .92rem; color: var(--muted); }
.aside { position: sticky; top: calc(var(--header-h) + 22px); display: grid; gap: 16px; }
.quote-box { padding: 28px; border-radius: 20px; background: linear-gradient(170deg, #14234a, #0b1429); border: 1px solid var(--line); box-shadow: var(--shadow); }
.quote-box h3 { margin-bottom: 8px; }
.quote-box p { color: var(--muted); font-size: .94rem; }
.quote-box .btn { width: 100%; margin-top: 8px; }
.mini-facts { display: grid; gap: 10px; padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.03); font-size: .92rem; }
.mini-facts li { display: flex; gap: 12px; align-items: center; }
.mini-facts .icon { color: var(--gold); }
.faq { display: grid; gap: 12px; margin-top: 18px; }
.faq details { border-radius: 14px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.03); padding: 4px 20px; transition: border-color .25s; }
.faq details[open] { border-color: var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s; color: var(--gold); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* ---------- about ---------- */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0; }
.stat { padding: 26px 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(212,175,55,.05); text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: .92rem; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.photo-frame { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- contact / form ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: linear-gradient(170deg, #12204a, #0a1226); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.field label i { color: var(--gold); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; padding: 15px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(5,9,20,.7); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7f8aa3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.22); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field select option { background: #0b1226; color: var(--text); }
.field .err { color: var(--danger); font-size: .82rem; min-height: 1em; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; margin-top: 22px; }
.form-foot small { color: var(--muted); max-width: 46ch; }
.form-status { margin-top: 14px; color: var(--danger); font-weight: 600; }
.form-success { position: absolute; inset: 0; border-radius: 24px; background: linear-gradient(170deg, #12204a, #0a1226); display: grid; place-items: center; text-align: center; padding: 32px; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.form-success.is-shown { opacity: 1; visibility: visible; }
.form-success .tick { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; color: var(--gold); box-shadow: 0 0 60px rgba(212,175,55,.3); }
.form-success .tick svg { width: 48px; height: 48px; stroke-dasharray: 60; stroke-dashoffset: 60; }
.form-success.is-shown .tick svg { animation: draw .7s .3s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: 2rem; }
.form-success p { color: var(--muted); max-width: 40ch; margin-inline: auto; }
.contact-cards { display: grid; gap: 16px; }
.info-card { padding: 24px; border-radius: 20px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.03); }
.info-card h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.info-card h3 .icon { color: var(--gold); }
.info-card p, .info-card li { color: var(--muted); font-size: .96rem; margin-bottom: 6px; }
.info-card .btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: rgba(212,175,55,.07); border: 1px solid var(--line); font-size: .93rem; color: #dfe5f2; }
.notice .icon { color: var(--gold); margin-top: 2px; }

/* ---------- footer ---------- */
.site-footer { background: #050813; border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 84px) 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); }
.footer-brand img { height: 78px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: .94rem; max-width: 34ch; }
.site-footer h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 800; }
.site-footer li { margin-bottom: 9px; color: var(--muted); font-size: .94rem; }
.site-footer a:hover { color: var(--gold-2); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--gold); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-soft); display: grid; place-items: center; transition: all .25s; }
.socials a:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-3px); }
.lang-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(212,175,55,.06); font-size: .86rem; font-weight: 700; color: var(--gold-2); }
.lang-badge .icon { width: 1.15em; height: 1.15em; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: .86rem; }
.footer-bottom .lic { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-weight: 700; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .header-actions .btn-label { display: none; }
  .header-actions .btn:not(.btn-gold) { padding: 11px 13px; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  :root { --header-h: 66px; }
  .main-nav, .header-actions .btn-gold { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .brand img { height: 50px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-bottom: 1px solid var(--line-soft); }
  .trust-item:nth-child(2n) { border-right: 0; }
  .trust-item:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .svc-featured { grid-template-columns: 1fr; }
  .svc-feature { min-height: 340px; }
  .why-grid, .quotes-grid { grid-template-columns: 1fr; }
  .area, .split, .contact-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero { min-height: 88svh; padding-bottom: 92px; }
  .hero-pause { right: 16px; bottom: 20px; }
  .hero::before { background: linear-gradient(180deg, rgba(6,10,20,.5) 0%, rgba(7,12,26,.62) 60%, var(--bg) 100%); }
  .hero h1, .hero .slogan, .hero .lead, .hero-notes { text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
  .hero-actions .btn-gold { flex: 1 1 100%; }
  .hero-actions .btn-outline, .hero-actions .btn-ghost { flex: 1 1 calc(50% - 6px); }
  .hero-actions .btn-lg { padding: 16px 20px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .svc-card { padding: 20px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-row, .values-grid { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr 1fr; }
  .ba { aspect-ratio: 4 / 3; }
  .ba-knob { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media img { animation-duration: 26s !important; animation-iteration-count: infinite !important; }
}
