/* ============================================================
   LUMEN LANDSCAPE LIGHTING — Design System
   Palette: Deep near-black + warm gold glow + ivory
   Type:    Outfit (headings) / Inter (body)
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Core palette */
  --ink-900: #0d0c0b;   /* deepest background */
  --ink-800: #141210;   /* primary background */
  --ink-700: #1c1917;   /* raised surface */
  --ink-600: #26221f;   /* card / border-strong */
  --ink-500: #3a3430;   /* hairline on dark */

  --gold-400: #d9a75a;  /* bright glow */
  --gold-500: #c08a3e;  /* primary accent */
  --gold-600: #a5722d;  /* accent pressed */
  --gold-glow: rgba(216, 167, 90, 0.35);

  --ivory:    #f4efe7;  /* primary text on dark */
  --ivory-dim:#c7bfb2;  /* secondary text on dark */
  --ivory-mute:#8f877b; /* muted text on dark */

  --cream:    #faf7f1;  /* light section background */
  --cream-2:  #f1ebe0;  /* light section alt */
  --on-cream: #1b1815;  /* text on light */
  --on-cream-dim: #5c554c;

  --white: #ffffff;
  --danger: #d1493f;
  --success: #4f9d69;

  /* Semantic */
  --bg: var(--ink-800);
  --surface: var(--ink-700);
  --text: var(--ivory);
  --text-dim: var(--ivory-dim);
  --accent: var(--gold-500);
  --accent-bright: var(--gold-400);
  --border: rgba(244, 239, 231, 0.12);
  --border-strong: rgba(244, 239, 231, 0.22);

  /* Typography */
  --font-head: "Outfit", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
  --step-3:  clamp(1.95rem, 1.6rem + 1.6vw, 2.85rem);
  --step-4:  clamp(2.5rem, 1.9rem + 2.9vw, 4rem);
  --step-5:  clamp(3rem, 2rem + 4.6vw, 5.5rem);

  /* Spacing scale (8pt) */
  --sp-1: 0.5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;  --sp-4: 2rem;
  --sp-5: 3rem;    --sp-6: 4rem;   --sp-7: 6rem;    --sp-8: 8rem;

  --container: 1200px;
  --container-wide: 1360px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 12px 30px rgba(0,0,0,0.45);
  --shadow-lg: 0 30px 70px rgba(0,0,0,0.55);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 260ms;

  --nav-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }
.container-wide { max-width: var(--container-wide); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 62ch; }
.measure-narrow { max-width: 46ch; }
.stack > * + * { margin-top: var(--sp-3); }
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.hidden { display: none !important; }

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-size: var(--step--1);
  font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-bright);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--accent); display: inline-block;
}
.eyebrow.no-rule::before { display: none; }
.section-head { max-width: 60ch; }
.section-head h2 { font-size: var(--step-3); margin-top: var(--sp-2); }
.section-head p { color: var(--text-dim); margin-top: var(--sp-2); font-size: var(--step-1); }
.section-head.center { margin-inline: auto; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.9rem 1.6rem; border-radius: var(--radius-pill);
  font-weight: 600; font-size: var(--step-0); letter-spacing: 0.01em;
  min-height: 48px; transition: transform var(--dur) var(--ease-out),
    background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), color var(--dur);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--ink-900); box-shadow: 0 8px 24px var(--gold-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px var(--gold-glow); }
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  border: 1.5px solid var(--border-strong); color: var(--text); background: rgba(255,255,255,0.02);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-bright); transform: translateY(-2px); }
.btn-ghost { color: var(--text); padding-inline: 0.5rem; }
.btn-ghost:hover { color: var(--accent-bright); }
.btn-lg { padding: 1.05rem 2rem; font-size: var(--step-1); }
.btn-block { width: 100%; }
.btn-on-light.btn-outline { border-color: rgba(0,0,0,0.18); color: var(--on-cream); }
.btn-on-light.btn-outline:hover { border-color: var(--gold-600); color: var(--gold-600); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background var(--dur) var(--ease-out), box-shadow var(--dur), backdrop-filter var(--dur);
}
.site-header.scrolled {
  background: rgba(13, 12, 11, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: var(--sp-3);
}
.brand { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: clamp(0.5rem, 2vw, 1.75rem);
}
.nav-links > li > a, .nav-links > li > .dropdown-toggle {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.25rem; font-size: 0.98rem; font-weight: 500;
  color: var(--text-dim); position: relative; transition: color var(--dur);
}
.nav-links > li > a::after, .nav-links > li > .dropdown-toggle::after {
  content: ""; position: absolute; left: 0.25rem; right: 0.25rem; bottom: 0.15rem;
  height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav-links > li > a:hover, .nav-links > li:hover > a,
.nav-links > li > .dropdown-toggle:hover, .nav-links > li.open > .dropdown-toggle { color: var(--text); }
.nav-links > li > a:hover::after, .nav-links > li.current > a::after,
.nav-links > li:hover > .dropdown-toggle::after, .nav-links > li.open > .dropdown-toggle::after { transform: scaleX(1); }
.nav-links > li.current > a { color: var(--accent-bright); }
.chev { width: 14px; height: 14px; transition: transform var(--dur) var(--ease-out); }
.nav-links > li.open .chev { transform: rotate(180deg); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 280px; background: var(--ink-700);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 0.5rem;
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out), visibility var(--dur);
}
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.8rem 0.9rem;
  border-radius: 10px; transition: background var(--dur);
}
.dropdown-menu a:hover { background: rgba(216,167,90,0.1); }
.dropdown-menu .di-icon { color: var(--accent-bright); flex-shrink: 0; margin-top: 2px; }
.dropdown-menu .di-icon svg { width: 22px; height: 22px; }
.dropdown-menu .di-title { display: block; font-weight: 600; color: var(--text); font-size: 0.98rem; }
.dropdown-menu .di-desc { display: block; margin-top: 2px; font-size: 0.82rem; color: var(--ivory-mute); line-height: 1.4; }

.nav-cta { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

/* Mobile nav */
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--text);
  transition: transform var(--dur) var(--ease-out), opacity var(--dur);
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(0) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-2px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(92vh, 820px); display: flex; align-items: center;
  margin-top: calc(var(--nav-h) * -1); padding-top: var(--nav-h);
  isolation: isolate; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,12,11,0.55) 0%, rgba(13,12,11,0.35) 40%, rgba(13,12,11,0.9) 100%),
    linear-gradient(90deg, rgba(13,12,11,0.85) 0%, rgba(13,12,11,0.35) 55%, rgba(13,12,11,0.15) 100%);
}
.hero-inner { padding-block: clamp(3rem, 10vh, 7rem); max-width: 720px; }
.hero h1 { font-size: var(--step-5); font-weight: 600; }
.hero .lede { font-size: var(--step-1); color: var(--ivory-dim); margin-top: var(--sp-3); max-width: 52ch; }
.hero-rule { width: 84px; height: 3px; background: linear-gradient(90deg, var(--gold-400), transparent); margin: var(--sp-3) 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); color: var(--ivory-mute); font-size: var(--step--1); }
.hero-trust .ht-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--accent); }

/* subtle page-hero (interior pages) */
.page-hero {
  position: relative; padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 3.5rem;
  margin-top: calc(var(--nav-h) * -1); isolation: isolate; overflow: hidden;
}
.page-hero.with-image::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,12,11,0.7), rgba(13,12,11,0.92));
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.plain { background: radial-gradient(120% 120% at 80% -10%, rgba(216,167,90,0.14), transparent 55%), var(--ink-900); }
.page-hero h1 { font-size: var(--step-4); }
.page-hero p { color: var(--text-dim); font-size: var(--step-1); margin-top: var(--sp-2); max-width: 58ch; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: var(--step--1); color: var(--ivory-mute); margin-bottom: var(--sp-2); }
.breadcrumb a:hover { color: var(--accent-bright); }
.breadcrumb .sep { opacity: 0.5; }

/* ---------- Sections on light ---------- */
.section.on-light { background: var(--cream); color: var(--on-cream); }
.section.on-light .section-head p { color: var(--on-cream-dim); }
.section.on-light .eyebrow { color: var(--gold-600); }
.section.on-light .eyebrow::before { background: var(--gold-600); }
.on-light .muted { color: var(--on-cream-dim); }

/* ---------- Cards / features ---------- */
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--sp-4); transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.card .card-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(216,167,90,0.12); color: var(--accent-bright); margin-bottom: var(--sp-3);
}
.card .card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.card p { color: var(--text-dim); font-size: 0.98rem; }

/* Service cards with image */
.svc-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  border: 1px solid var(--border);
}
.svc-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,12,11,0.1) 30%, rgba(13,12,11,0.92) 100%); }
.svc-card:hover img { transform: scale(1.06); }
.svc-card .svc-body { padding: var(--sp-4); }
.svc-card h3 { font-size: var(--step-2); }
.svc-card p { color: var(--ivory-dim); margin-top: 0.5rem; font-size: 0.96rem; }
.svc-card .svc-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: var(--sp-2);
  color: var(--accent-bright); font-weight: 600; font-size: 0.95rem; }
.svc-card .svc-link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.svc-card:hover .svc-link svg { transform: translateX(4px); }

/* Feature split */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; grid-template-columns: 1fr 1fr; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-body h2 { font-size: var(--step-3); }
.split-body p { color: var(--text-dim); margin-top: var(--sp-2); }
.on-light .split-body p { color: var(--on-cream-dim); }
.check-list { margin-top: var(--sp-3); display: grid; gap: 0.85rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.check-list .ck { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(216,167,90,0.15); color: var(--accent-bright); margin-top: 2px; }
.check-list .ck svg { width: 14px; height: 14px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--sp-2); }
.stat { text-align: center; padding: var(--sp-3) var(--sp-2); border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-head); font-size: var(--step-3); color: var(--accent-bright); font-weight: 600; }
.stat .lbl { color: var(--text-dim); font-size: var(--step--1); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 0.3rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,240px),1fr)); gap: var(--sp-4); counter-reset: step; }
.step { position: relative; padding-top: var(--sp-3); }
.step .step-num { font-family: var(--font-head); font-size: var(--step-2); color: var(--accent); opacity: 0.5; font-weight: 600; }
.step h3 { font-size: var(--step-1); margin: 0.5rem 0; }
.step p { color: var(--text-dim); font-size: 0.95rem; }
.on-light .step p { color: var(--on-cream-dim); }
.on-light .step .step-num { color: var(--gold-600); }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: var(--sp-4); }
.filter-btn {
  padding: 0.55rem 1.2rem; border-radius: var(--radius-pill); border: 1px solid var(--border-strong);
  color: var(--text-dim); font-size: 0.92rem; font-weight: 500; transition: all var(--dur) var(--ease-out);
}
.filter-btn:hover { color: var(--text); border-color: var(--accent); }
.filter-btn.active { background: var(--accent); color: var(--ink-900); border-color: var(--accent); }
.masonry { columns: 3; column-gap: 1.25rem; }
.masonry .g-item { break-inside: avoid; margin-bottom: 1.25rem; border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: pointer; border: 1px solid var(--border); }
.masonry .g-item img { width: 100%; transition: transform 500ms var(--ease-out), filter var(--dur); }
.masonry .g-item::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,12,11,0.75)); opacity: 0; transition: opacity var(--dur); }
.masonry .g-item:hover img { transform: scale(1.05); }
.masonry .g-item:hover::after { opacity: 1; }
.masonry .g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.2rem; z-index: 2;
  color: var(--ivory); font-weight: 500; font-size: 0.9rem; opacity: 0; transform: translateY(6px); transition: all var(--dur) var(--ease-out); }
.masonry .g-item:hover .g-cap { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,7,6,0.94); display: none;
  align-items: center; justify-content: center; padding: 4vw; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 1.2rem; right: 1.4rem; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: grid; place-items: center; color: var(--ivory); }
.lightbox-close:hover { background: rgba(255,255,255,0.16); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: grid; place-items: center; color: var(--ivory); }
.lb-nav:hover { background: rgba(255,255,255,0.16); }
.lb-prev { left: 1.2rem; } .lb-next { right: 1.2rem; }

/* ---------- Before / After slider ---------- */
.ba-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 3/2; user-select: none; touch-action: none; }
.ba-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--gold-400);
  transform: translateX(-1px); z-index: 3; }
.ba-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px;
  border-radius: 50%; background: var(--gold-400); color: var(--ink-900); display: grid; place-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5); }
.ba-knob svg { width: 22px; height: 22px; }
.ba-label { position: absolute; bottom: 1rem; padding: 0.35rem 0.9rem; border-radius: var(--radius-pill);
  background: rgba(13,12,11,0.7); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; z-index: 2; }
.ba-label.before { left: 1rem; } .ba-label.after { right: 1rem; }

/* ---------- Testimonials ---------- */
.quote-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-4); color: var(--ivory); }
.quote-card .stars { color: var(--gold-400); display: flex; gap: 2px; margin-bottom: var(--sp-2); }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card blockquote { font-family: var(--font-head); font-size: 1.08rem; line-height: 1.62; font-style: normal; }
.quotes-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; margin-top: clamp(1.25rem, 3vw, 2rem); }
.quote-featured { position: relative; padding: clamp(1.75rem, 4vw, 3rem); }
.quote-featured::before { content: "\201C"; position: absolute; top: -0.15em; left: 0.4rem; font-family: var(--font-head);
  font-size: 6rem; line-height: 1; color: var(--gold-500); opacity: 0.28; pointer-events: none; }
.quote-featured blockquote { font-size: clamp(1.12rem, 1rem + 0.6vw, 1.35rem); line-height: 1.6; max-width: 60ch; }
.quote-featured .qc-author { margin-top: var(--sp-3); }
@media (max-width: 760px) { .quotes-pair { grid-template-columns: 1fr; } }
.quote-card .qc-author { margin-top: var(--sp-3); display: flex; align-items: center; gap: 0.85rem; }
.qc-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(216,167,90,0.18); color: var(--accent-bright);
  display: grid; place-items: center; font-weight: 600; font-family: var(--font-head); }
.qc-name { font-weight: 600; } .qc-loc { color: var(--ivory-mute); font-size: 0.85rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); }
.cta-band-bg { position: absolute; inset: 0; z-index: -2; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(13,12,11,0.92), rgba(13,12,11,0.6)); }
.cta-band .cta-inner { padding: clamp(2.5rem, 6vw, 5rem); text-align: center; }
.cta-band h2 { font-size: var(--step-3); }
.cta-band p { color: var(--ivory-dim); margin-top: var(--sp-2); max-width: 52ch; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Blog ---------- */
.post-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform var(--dur) var(--ease-out), border-color var(--dur); }
.post-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.post-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.post-body h3 a { transition: color var(--dur); }
.post-body h3 a:hover { color: var(--accent-bright); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: var(--sp-3); display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 0.75rem; font-size: 0.8rem; color: var(--ivory-mute); letter-spacing: 0.04em; text-transform: uppercase; }
.tag { color: var(--accent-bright); }
.post-body h3 { font-size: var(--step-1); margin: 0.6rem 0; }
.post-body p { color: var(--text-dim); font-size: 0.94rem; flex: 1; }
.post-body .read { margin-top: var(--sp-2); color: var(--accent-bright); font-weight: 600; font-size: 0.9rem;
  display: inline-flex; gap: 0.4rem; align-items: center; }
.post-featured { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .post-featured { display: grid; grid-template-columns: 1.1fr 1fr; }
  .post-featured .post-thumb { aspect-ratio: auto; height: 100%; }
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: var(--sp-3); grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; letter-spacing: 0.02em; }
.field .req { color: var(--accent-bright); }
.field input, .field select, .field textarea {
  background: var(--ink-800); border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 0.85rem 1rem; color: var(--text); font: inherit; min-height: 48px;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ivory-mute); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(216,167,90,0.18);
}
.field .helper { font-size: 0.8rem; color: var(--ivory-mute); }
.field.error input, .field.error select, .field.error textarea { border-color: var(--danger); }
.field .error-msg { font-size: 0.8rem; color: var(--danger); display: none; }
.field.error .error-msg { display: block; }
.form-note { font-size: 0.82rem; color: var(--ivory-mute); }
.form-success { display: none; padding: var(--sp-4); border-radius: var(--radius); background: rgba(79,157,105,0.12);
  border: 1px solid rgba(79,157,105,0.4); color: var(--ivory); text-align: center; }
.form-success.show { display: block; }
.form-success svg { width: 44px; height: 44px; color: var(--success); margin: 0 auto var(--sp-2); }

/* contact split */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.info-list { display: grid; gap: var(--sp-3); }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item .ii-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(216,167,90,0.12);
  color: var(--accent-bright); display: grid; place-items: center; flex-shrink: 0; }
.info-item .ii-icon svg { width: 22px; height: 22px; }
.info-item .ii-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ivory-mute); }
.info-item .ii-value { font-size: var(--step-0); font-weight: 500; }
.info-item .ii-value a:hover { color: var(--accent-bright); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-top: var(--sp-4); }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; filter: grayscale(0.3) brightness(0.85); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: var(--sp-3) 0; font-family: var(--font-head); font-size: var(--step-1); color: var(--text); }
.faq-q .faq-ic { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-strong);
  display: grid; place-items: center; transition: transform var(--dur) var(--ease-out), background var(--dur), color var(--dur); }
.faq-q .faq-ic svg { width: 16px; height: 16px; }
.faq-item.open .faq-ic { transform: rotate(45deg); background: var(--accent); color: var(--ink-900); border-color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 360ms var(--ease-out); }
.faq-a-inner { padding-bottom: var(--sp-3); color: var(--text-dim); }
.on-light .faq-q { color: var(--on-cream); }
.on-light .faq-a-inner { color: var(--on-cream-dim); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); border-top: 1px solid var(--border); padding-block: var(--sp-6) var(--sp-4); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-4); }
.footer-brand img { height: 30px; margin-bottom: var(--sp-2); }
.footer-brand p { color: var(--ivory-mute); font-size: 0.92rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ivory-mute); margin-bottom: var(--sp-2); font-weight: 700; }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a { color: var(--ivory-dim); font-size: 0.94rem; transition: color var(--dur); }
.footer-col a:hover { color: var(--accent-bright); }
.footer-social { display: flex; gap: 0.6rem; margin-top: var(--sp-2); }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); display: grid;
  place-items: center; color: var(--ivory-dim); transition: all var(--dur); }
.footer-social a:hover { color: var(--accent-bright); border-color: var(--accent); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center;
  margin-top: var(--sp-5); padding-top: var(--sp-3); border-top: 1px solid var(--border);
  color: var(--ivory-mute); font-size: 0.85rem; }
.footer-bottom a:hover { color: var(--accent-bright); }

/* ---------- Article / Blog post ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; align-items: center; margin-top: var(--sp-3); color: var(--ivory-mute); font-size: 0.92rem; }
.article-meta .am-author { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ivory-dim); font-weight: 500; }
.article-meta .am-avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(216,167,90,0.18); color: var(--accent-bright);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; }
.article-meta .am-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ivory-mute); opacity: 0.6; }
.article-wrap { max-width: 768px; margin-inline: auto; }
.article { font-size: 1.075rem; line-height: 1.8; color: var(--ivory-dim); }
.article > * + * { margin-top: 1.4rem; }
.article h2 { font-size: var(--step-2); color: var(--ivory); margin-top: 2.6rem; line-height: 1.2; }
.article h3 { font-size: var(--step-1); color: var(--ivory); margin-top: 2.1rem; }
.article h4 { font-family: var(--font-body); font-size: 1.12rem; font-weight: 700; color: var(--ivory); margin-top: 1.8rem; }
.article p strong, .article li strong { color: var(--ivory); font-weight: 600; }
.article em { color: var(--ivory); font-style: italic; }
.article a { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(216,167,90,0.5); }
.article a:hover { text-decoration-color: var(--accent-bright); }
.article ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: 0.55rem; }
.article ul li { padding-left: 0.2rem; }
.article ul li::marker { color: var(--accent); }
.article-lead { font-size: 1.2rem; line-height: 1.7; color: var(--ivory); }
.article-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.article table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.article th, .article td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.article tr:last-child td { border-bottom: none; }
.article th { color: var(--ivory); font-weight: 600; background: rgba(255,255,255,0.035); letter-spacing: 0.01em; }
.article td { color: var(--ivory-dim); }
.article-callout { display: flex; gap: 0.85rem; background: rgba(216,167,90,0.1); border: 1px solid rgba(216,167,90,0.28);
  border-radius: var(--radius); padding: 1.1rem 1.25rem; color: var(--ivory-dim); font-size: 1rem; line-height: 1.6; }
.article-callout .ac-ic { flex-shrink: 0; color: var(--accent-bright); }
.article-callout .ac-ic svg { width: 22px; height: 22px; }
.article-callout strong { color: var(--ivory); }
.article-quote { border-left: 3px solid var(--accent); padding: 0.25rem 0 0.25rem 1.4rem; margin-inline: 0;
  font-family: var(--font-head); font-weight: 500; color: var(--ivory); font-size: var(--step-1); line-height: 1.45; letter-spacing: -0.01em; }
.article-quote cite { display: block; margin-top: 0.75rem; font-family: var(--font-body); font-style: normal; font-size: 0.9rem; color: var(--ivory-mute); }
.article-figure { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.article-figure img { width: 100%; }
.article-divider { height: 1px; background: var(--border); border: none; margin-block: 2.5rem; }
.article-faq { display: grid; gap: 1.25rem; }
.article-faq .qa h4 { margin-top: 0; margin-bottom: 0.4rem; }
.article-faq .qa p { color: var(--ivory-dim); }
.article-back { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ivory-dim); font-weight: 500; font-size: 0.95rem; }
.article-back:hover { color: var(--accent-bright); }
.article-back svg { width: 16px; height: 16px; }
.article-share { display: flex; align-items: center; gap: 0.75rem; margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--border); }
.article-share span { color: var(--ivory-mute); font-size: 0.9rem; }
.article-share a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--ivory-dim); transition: all var(--dur); }
.article-share a:hover { color: var(--accent-bright); border-color: var(--accent); }
.article-share svg { width: 17px; height: 17px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }

/* ---------- Utility ---------- */
.pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border-radius: var(--radius-pill);
  background: rgba(216,167,90,0.1); border: 1px solid rgba(216,167,90,0.25); color: var(--accent-bright);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; }
.text-accent { color: var(--accent-bright); }
.mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .masonry { columns: 2; }
}
@media (max-width: 768px) {
  :root { --nav-h: 72px; }
  .nav-cta .btn-call-text { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 90;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-900); padding: var(--sp-3) clamp(1.25rem,5vw,2rem) var(--sp-6);
    transform: translateX(100%); transition: transform var(--dur) var(--ease-out);
    overflow-y: auto; border-left: 1px solid var(--border);
  }
  body.nav-open .nav-links { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav-links > li { border-bottom: 1px solid var(--border); }
  .nav-links > li > a, .nav-links > li > .dropdown-toggle { padding: 1rem 0.25rem; font-size: 1.1rem; width: 100%; justify-content: space-between; }
  .nav-links > li > a::after, .nav-links > li > .dropdown-toggle::after { display: none; }
  .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    background: transparent; border: none; min-width: 0; padding: 0 0 0.5rem 0.5rem;
    max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease-out);
  }
  .dropdown.open .dropdown-menu { max-height: 400px; }
  .dropdown:hover .dropdown-menu { opacity: 1; } /* no hover open on mobile */
  .hero-inner { padding-block: 2.5rem; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .hero-trust { gap: var(--sp-2) var(--sp-3); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .svc-card img, .post-card:hover .post-thumb img, .masonry .g-item:hover img { transform: none; }
}
