/* ============================================================
   NORCAL AUTOMATIC GATES — styles.css
   Aesthetic: dark, luxury, industrial-elegant (forest green + gold)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette (matched to the forest-green / gold logo) */
  --bg:            #0d1310;   /* near-black forest */
  --bg-2:          #111a15;   /* raised surface */
  --surface:       #16211b;   /* cards */
  --surface-2:     #1c2a22;   /* card hover */
  --green:         #2f4a3b;   /* deep brand green */
  --green-soft:    #3d6150;
  --gold:          #c6a35b;   /* logo serif gold */
  --gold-bright:   #d9b978;
  --gold-dim:      #9c8145;

  --text:          #eaf0eb;   /* primary text */
  --muted:         #9aa89f;   /* secondary text */
  --faint:         #6d7c73;   /* tertiary */
  --line:          rgba(198,163,91,0.16);
  --line-strong:   rgba(198,163,91,0.30);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --radius: 4px;
  --shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.center { text-align: center; }

.eyebrow {
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold-dim); display: inline-block; }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after { content: ""; width: 28px; height: 1px; background: var(--gold-dim); display: inline-block; }

.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.01em;
  font-size: clamp(2.1rem, 5.2vw, 4rem);
}
.h-section {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  margin-top: 18px;
}
.lead { color: var(--muted); font-size: 1.06rem; max-width: 60ch; }
.gold-text { color: var(--gold-bright); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; border-radius: var(--radius); transition: all .28s var(--ease);
  min-height: 48px; position: relative;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--gold); color: #1a140a; }
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(198,163,91,0.5); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(198,163,91,0.06); }
.btn-block { width: 100%; }

/* ============================================================
   TOP BAR + NAV
   ============================================================ */
.topbar {
  background: #0a0f0c; border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--muted); letter-spacing: 0.04em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar a:hover { color: var(--gold-bright); }
.topbar svg { width: 15px; height: 15px; color: var(--gold); }
.topbar-right { display: flex; gap: 26px; align-items: center; }
.topbar-tag { color: var(--faint); }
@media (max-width: 720px){ .topbar-tag { display: none; } .topbar-right { gap: 18px; } }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,19,16,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { background: rgba(10,15,12,0.92); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }

/* Brand logo image (real logo lockup) */
.brand-logo { height: 56px; width: auto; display: block; border-radius: 8px; }
.footer-logo { height: auto; width: 200px; }
.brand-fallback { display: none; align-items: center; gap: 13px; }

/* Wordmark logo (fallback) */
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-mark rect, .brand-mark path { vector-effect: non-scaling-stroke; }
.brand-text { line-height: 1; }
.brand-text .b1 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.42rem;
  letter-spacing: 0.06em; color: var(--gold-bright); display: block;
}
.brand-text .b2 {
  font-size: 9.5px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--muted); font-weight: 400; display: block; margin-top: 3px; padding-left: 2px;
}

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14px; letter-spacing: 0.06em; color: var(--muted); font-weight: 400;
  position: relative; padding: 6px 0; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-cta .btn { padding: 12px 22px; min-height: 44px; }

/* Free Estimate button in nav: force dark text, no underline, hide desktop duplicate */
.nav-links a.btn { display: none; color: #1a140a; }
.nav-links a.btn:hover { color: #1a140a; }
.nav-links a.btn::after { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); position: relative; transition: .3s; }
.nav-toggle span::before, .nav-toggle span::after { content:""; position:absolute; left:0; width:24px; height:2px; background: var(--text); transition:.3s; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top:0; transform: rotate(45deg); }
.nav-toggle.open span::after { top:0; transform: rotate(-45deg); }

@media (max-width: 980px){
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0;
    background: #0b110d; border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px; transform: translateY(-140%); transition: transform .4s var(--ease);
  }
  .nav-links.show { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links a.btn { display: inline-flex; margin-top: 18px; border-bottom: none; }
}

/* ============================================================
   HERO
   ============================================================ */
/* Pinned scroll-scrub: hero sticks while you scroll through .hero-scroll,
   and the gate video scrubs to fully open before the next section appears. */
.hero-scroll { position: relative; height: 240vh; }
.hero { position: sticky; top: 0; height: 100vh; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
@media (prefers-reduced-motion: reduce){ .hero-scroll { height: auto; } .hero { position: relative; height: auto; min-height: 92vh; } }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img, .hero-bg video, .hero-bg canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg video, .hero-bg canvas { filter: brightness(1.14) contrast(1.04) saturate(1.06); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,15,12,0.28) 0%, rgba(10,15,12,0.42) 62%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,15,12,0.82) 0%, rgba(10,15,12,0.30) 52%, transparent 92%);
}
.hero-fallback { position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(120% 90% at 15% 10%, #1c2a22 0%, #0d1310 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.015) 0 2px, transparent 2px 9px);
}
.hero .wrap { position: relative; z-index: 2; padding-block: 60px; }
.hero-inner { max-width: 780px; }
.hero h1 { margin-top: 22px; }
.hero h1 em { color: var(--gold-bright); }
.hero .lead { margin-top: 26px; font-size: 1.18rem; max-width: 54ch; }
.hero-actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats { margin-top: 60px; display: flex; gap: 44px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 30px; }
.hero-stats .stat .n { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--gold-bright); line-height: 1; }
.hero-stats .stat .l { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
@media(max-width:560px){ .hero-stats { gap: 30px; } .hero-stats .stat .n { font-size: 1.9rem; } }

/* ---------- Marquee / brands ---------- */
.brands { border-block: 1px solid var(--line); background: #0a0f0c; }
.brands .wrap { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding-block: 24px; }
.brands .label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--faint); }
.marquee { overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.04em; color: var(--muted); font-weight: 500; margin-right: 56px; white-space: nowrap; transition: color .3s; }
.marquee-track span:hover { color: var(--gold-bright); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marquee-track { animation: none; transform: none; } }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; }

/* ============================================================
   SERVICES — 3D card ring
   ============================================================ */
.ring3d-hint { text-align: center; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
@media (hover: none){ .ring3d-hint::after { content: " / swipe"; } }

.ring3d{
  --accent: var(--gold);
  --card-w: 300px; --card-h: 380px;
  --radius-max: 330px;
  --perspective: 1450px;
  --min-opacity: .12;
  --serif: var(--font-display);
  position: relative; width: 100%; max-width: 1200px; margin-inline: auto;
  height: clamp(440px, 58vh, 560px);
  perspective: var(--perspective); perspective-origin: 50% 46%;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
}
.ring3d:active{ cursor: grabbing; }
.ring3d__ring{ position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.ring3d__card{ position: absolute; left: 50%; top: 50%; width: var(--card-w); height: var(--card-h);
  margin: calc(var(--card-h) / -2) 0 0 calc(var(--card-w) / -2); backface-visibility: hidden; will-change: opacity; }
.ring3d__card, .ring3d__card *{ user-select: none; -webkit-user-select: none; }
.ring3d__inner{ position: relative; width: 100%; height: 100%; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 6px; padding: 38px 32px; display: flex; flex-direction: column;
  background: linear-gradient(158deg, var(--surface-2), var(--surface));
  box-shadow: 0 34px 70px rgba(0,0,0,.5), inset 0 1px 0 rgba(198,163,91,.06); }
.ring3d__glow{ position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 55% at 50% 0%, rgba(198,163,91,.16), transparent 62%); }
.ring3d__ic{ width: 46px; height: 46px; color: var(--accent); margin-bottom: 30px; }
.ring3d__ic svg{ width: 46px; height: 46px; }
.ring3d__no{ position: relative; font-family: var(--serif); font-size: 14px; letter-spacing: .14em; color: var(--gold-dim); }
.ring3d__card h3{ position: relative; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: var(--text); margin: 14px 0 12px; line-height: 1.1; }
.ring3d__card p{ position: relative; font-size: .97rem; line-height: 1.6; color: var(--muted); margin: 0; }
@media(max-width:560px){ .ring3d{ --card-w: 270px; --card-h: 360px; } .ring3d__card h3{ font-size: 1.5rem; } }

/* fallback: reduced-motion / no-JS → readable grid, no 3D */
.ring3d--static{ height: auto; perspective: none; cursor: default; max-width: 1000px; }
.ring3d--static .ring3d__ring{ position: static; transform: none !important; transform-style: flat;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.ring3d--static .ring3d__card{ position: static; transform: none !important; width: auto; height: auto; margin: 0; opacity: 1 !important; }
.ring3d--static .ring3d__inner{ border: none; border-radius: 0; min-height: 300px; box-shadow: none; background: var(--surface); }
.ring3d--static .ring3d__card, .ring3d--static .ring3d__card *{ user-select: auto; -webkit-user-select: auto; }
.ring3d--static + .ring3d-hint, .ring3d--static .ring3d__glow{ display: none; }
@media(max-width:820px){ .ring3d--static .ring3d__ring{ grid-template-columns: 1fr 1fr; } }
@media(max-width:560px){ .ring3d--static .ring3d__ring{ grid-template-columns: 1fr; } }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filters button {
  padding: 10px 22px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 40px; transition: all .25s;
}
.filters button:hover { color: var(--text); border-color: var(--line-strong); }
.filters button.active { background: var(--gold); color: #1a140a; border-color: var(--gold); }

/* True masonry via CSS columns — organic, varied heights, no holes */
.gallery { columns: 3; column-gap: 14px; }
@media(max-width:900px){ .gallery { columns: 2; } }
@media(max-width:560px){ .gallery { columns: 1; } }
.shot {
  break-inside: avoid; margin: 0 0 14px; position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line); cursor: pointer;
  background: linear-gradient(135deg,#1c2a22,#0f1712); display: block;
}
.shot img { width: 100%; height: auto; display: block; transition: transform .7s var(--ease), filter .4s; filter: saturate(0.95); }
.shot:hover img { transform: scale(1.05); filter: saturate(1.05); }

/* ============================================================
   BEFORE / AFTER SLIDER
   ============================================================ */
.ba {
  position: relative; max-width: 900px; margin-inline: auto;
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-strong); cursor: ew-resize; user-select: none;
  touch-action: pan-y; box-shadow: var(--shadow); background: #0f1712;
}
.ba img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-after { position: absolute; inset: 0; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); will-change: clip-path; }
.ba-before img { position: absolute; inset: 0; }

.ba-tag {
  position: absolute; top: 18px; z-index: 4; padding: 7px 14px; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; border-radius: 40px;
  background: rgba(10,15,12,0.72); backdrop-filter: blur(6px); border: 1px solid var(--line-strong);
  color: var(--gold-bright); pointer-events: none;
}
.ba-tag-left { left: 18px; }
.ba-tag-right { right: 18px; color: var(--text); }

.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--gold); transform: translateX(-50%); z-index: 5; box-shadow: 0 0 12px rgba(198,163,91,0.5); }
.ba-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: #1a140a;
  display: flex; align-items: center; justify-content: center; cursor: ew-resize;
  box-shadow: 0 6px 18px -4px rgba(0,0,0,0.6); transition: transform .2s var(--ease), background .2s;
}
.ba-handle:hover { background: var(--gold-bright); transform: translate(-50%,-50%) scale(1.08); }
.ba-handle:focus-visible { outline: 3px solid rgba(198,163,91,0.5); outline-offset: 3px; }
.ba-handle svg { width: 22px; height: 22px; }
@media (max-width: 560px){ .ba-tag { font-size: 10px; padding: 6px 11px; } }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--bg-2); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; margin-top: 20px; }
@media(max-width:860px){ .steps{ grid-template-columns: repeat(2,1fr); gap: 40px 30px; } }
@media(max-width:480px){ .steps{ grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s;
}
.step:hover {
  transform: translateY(-8px) scale(1.04); border-color: var(--line-strong);
  box-shadow: 0 30px 60px -22px rgba(0,0,0,0.7);
  z-index: 2;
}
.step-ic {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); color: var(--gold); margin-bottom: 22px;
  transition: background .32s var(--ease), color .32s, border-color .32s, box-shadow .32s;
}
.step-ic svg { width: 24px; height: 24px; }
.step:hover .step-ic {
  background: var(--gold); color: #1a140a; border-color: var(--gold);
  box-shadow: 0 10px 22px -6px rgba(198,163,91,0.5);
}
.step .sn { font-family: var(--font-display); font-size: 0.95rem; color: var(--gold-dim); letter-spacing: 0.14em; }
.step h4 { font-size: 1.2rem; font-weight: 500; margin: 8px 0 8px; letter-spacing: 0.02em; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   WHY US (split)
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
@media(max-width:900px){ .split { grid-template-columns: 1fr; gap: 40px; } }
/* Expanding accordion — hovered panel opens, others collapse to slim bars */
.why-acc { margin-top: 30px; display: flex; flex-direction: column; gap: 10px; height: 430px; }
.why-panel {
  position: relative; overflow: hidden; flex: 0 0 76px;
  border: 1px solid var(--line); border-left: 2px solid transparent; border-radius: var(--radius);
  background: var(--surface); padding: 24px 26px;
  transition: flex .5s var(--ease), background .4s, border-color .4s;
}
.why-panel:first-child { flex: 1 1 auto; }                       /* first open by default */
.why-acc:hover .why-panel:first-child { flex: 0 0 76px; }        /* release when hovering the list */
.why-panel:hover { flex: 1 1 auto !important; background: var(--surface-2); border-color: var(--line-strong); border-left-color: var(--gold); }
.why-panel-head { display: flex; align-items: center; gap: 15px; }
.why-panel-head .ci { flex: none; width: 27px; height: 27px; color: var(--gold); }
.why-panel-head h4 { font-size: 1.18rem; font-weight: 500; }
.why-panel-body { color: var(--muted); font-size: 0.98rem; line-height: 1.6; margin-top: 16px; max-width: 46ch; opacity: 0; transition: opacity .4s .08s; }
.why-panel:first-child .why-panel-body { opacity: 1; }
.why-acc:hover .why-panel:first-child .why-panel-body { opacity: 0; }
.why-panel:hover .why-panel-body { opacity: 1 !important; }
@media(max-width:700px){
  .why-acc { height: auto; }
  .why-panel, .why-panel:first-child { flex: none !important; }
  .why-panel-body, .why-panel:first-child .why-panel-body { opacity: 1 !important; }
  .why-panel:hover { border-left-color: var(--gold); }
}
.why-visual { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; border: 1px solid var(--line);
  background: linear-gradient(135deg,#1c2a22,#0d1310); }
.why-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.why-badge {
  position: absolute; left: 24px; bottom: 24px; z-index: 2; background: rgba(10,15,12,0.82);
  backdrop-filter: blur(8px); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 20px 24px; max-width: 260px;
}
.why-badge .n { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--gold-bright); line-height: 1; }
.why-badge .l { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.areas { background: var(--bg-2); }
.area-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.area-tags span {
  padding: 11px 20px; border: 1px solid var(--line); border-radius: 40px; font-size: 14px;
  color: var(--muted); transition: all .25s; cursor: default;
}
.area-tags span:hover {
  color: #1a140a; background: var(--gold); border-color: var(--gold);
  transform: translateY(-2px); box-shadow: 0 8px 18px -6px rgba(198,163,91,0.45);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes-marquee { margin-top: 24px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.quotes-track { display: flex; width: max-content; animation: marquee-quotes 60s linear infinite; }
.quotes-marquee:hover .quotes-track { animation-play-state: paused; }
@keyframes marquee-quotes { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.quote {
  flex: 0 0 clamp(290px, 30vw, 372px); margin-right: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quote:hover { border-color: var(--line-strong); transform: translateY(-5px); box-shadow: 0 24px 46px -20px rgba(0,0,0,0.6); }
@media (prefers-reduced-motion: reduce){
  .quotes-track { animation: none; flex-wrap: wrap; justify-content: center; }
  .quote { margin: 0 10px 20px; }
}
.quote .stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 18px; }
.quote .stars svg { width: 17px; height: 17px; }
.quote p { font-family: var(--font-display); font-size: 1.32rem; line-height: 1.4; font-style: italic; color: var(--text); }
.quote .who { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.quote .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; color: var(--gold-bright); font-size: 1.05rem; }
.quote .who .nm { font-size: 0.95rem; font-weight: 500; }
.quote .who .loc { font-size: 12px; color: var(--faint); letter-spacing: 0.06em; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 2; text-align: center; padding-block: clamp(60px,8vw,110px); }
.cta-band::before { content:""; position:absolute; inset:0; background:
  radial-gradient(90% 120% at 50% 0%, rgba(47,74,59,0.5), transparent 60%),
  repeating-linear-gradient(135deg, rgba(255,255,255,0.012) 0 2px, transparent 2px 10px); }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lead { margin: 22px auto 0; }
.cta-band .hero-actions { justify-content: center; margin-top: 34px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media(max-width:900px){ .contact-grid { grid-template-columns: 1fr; gap: 44px; } }
.contact-info .lead { margin-top: 20px; }
.info-list { margin-top: 34px; display: grid; gap: 22px; }
.info-row { display: flex; gap: 18px; align-items: flex-start; }
.info-row .ic { flex:none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.info-row .ic svg { width: 19px; height: 19px; }
.info-row .k { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.info-row .v { font-size: 1.12rem; color: var(--text); margin-top: 3px; }
.info-row .v:hover { color: var(--gold-bright); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; }
.form h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-bottom: 6px; }
.form .fsub { color: var(--muted); font-size: 0.95rem; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; background: #0f1712; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; color: var(--text); font-family: inherit; font-size: 15px; font-weight: 300;
  transition: border-color .25s, box-shadow .25s; min-height: 50px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,163,91,0.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%239aa89f' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:520px){ .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 12.5px; color: var(--faint); margin-top: 14px; text-align: center; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success svg { width: 54px; height: 54px; color: var(--gold); margin-bottom: 16px; }
.form-success h3 { margin-bottom: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #080c09; border-top: 1px solid var(--line); padding-block: 60px 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media(max-width:860px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media(max-width:480px){ .footer-top { grid-template-columns: 1fr; } }
.footer .brand-text .b1 { font-size: 1.3rem; }
.footer-col h5 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: var(--muted); font-size: 0.96rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-about p { color: var(--muted); font-size: 0.96rem; margin: 18px 0; max-width: 34ch; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all .25s; }
.footer-social a:hover { color: var(--gold-bright); border-color: var(--line-strong); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }
.footer-bottom a:hover { color: var(--gold-bright); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,9,7,0.92); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow); }
.lightbox-close { position: absolute; top: 24px; right: 28px; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--text); font-size: 22px; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { color: var(--gold-bright); border-color: var(--gold); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* Floating call button (mobile) */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: none; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: #1a140a; align-items: center; justify-content: center; box-shadow: 0 10px 28px -8px rgba(0,0,0,0.7); }
.fab svg { width: 24px; height: 24px; }
@media(max-width:980px){ .fab { display: flex; } }
