/* ═══════════════════════════════════
   CUSTOM PROPERTIES
   ═══════════════════════════════════ */
:root {
  --bg-deep: #0D0C0B;
  --bg-surface: #121110;
  --bg-card: #1A1815;
  --bg-elevated: #222019;
  --border: #2A2724;
  --border-subtle: rgba(255,255,255,0.04);
  --text-body: #BEB6AA;
  --text-muted: #7A756E;
  --text-heading: #F0EAE0;
  --text-bright: #FDFBF7;
  --accent: #C8963E;
  --accent-light: #D4A854;
  --accent-dim: rgba(200,150,62,0.12);
  --accent-glow: rgba(200,150,62,0.08);
  --font-heading: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --max-w: 1400px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ═══════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html { font-size: 17px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale }
body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}
/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='512' height='512' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: overlay;
}
img { max-width: 100%; height: auto; display: block }
a { color: var(--accent); text-decoration: none; transition: color 0.3s var(--ease) }
a:hover { color: var(--accent-light) }
::selection { background: var(--accent); color: var(--bg-deep) }

/* ═══════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); font-weight: 800 }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem) }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem) }
h4 { font-size: 1.15rem }
p { margin-bottom: 1rem }

/* ═══════════════════════════════════
   LAYOUT
   ═══════════════════════════════════ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem }
.container--narrow { max-width: 800px }
section { padding: 6rem 0; position: relative }

/* ═══════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s }
.reveal-delay-2 { transition-delay: 0.2s }
.reveal-delay-3 { transition-delay: 0.3s }
.reveal-delay-4 { transition-delay: 0.4s }

/* ═══════════════════════════════════
   HEADER
   ═══════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,12,11,0.75);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--accent-glow);
  padding: 0.85rem 0;
  transition: all 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(13,12,11,0.95);
  padding: 0.6rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem }
.site-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem; font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}
.site-logo span { color: var(--accent) }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center }
.nav-links a {
  color: rgba(190,182,170,0.85); font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.03em; text-transform: uppercase;
  transition: color 0.3s var(--ease);
  position: relative; padding: 0.3rem 0;
}
.nav-links a:hover { color: var(--text-bright) }
.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--accent), #b8862e);
  color: var(--bg-deep);
  padding: 0.55rem 1.5rem; border-radius: 100px;
  border: none; font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: all 0.3s var(--ease);
  display: inline-flex; align-items: center; gap: 0.4rem;
  box-shadow: 0 2px 12px rgba(200,150,62,0.25);
}
.nav-links .nav-cta:hover { background: linear-gradient(135deg, #d4a648, var(--accent)); color: var(--bg-deep); box-shadow: 0 4px 20px rgba(200,150,62,0.4); transform: translateY(-1px) }
.nav-links .nav-cta svg { width: 13px; height: 13px }
.nav-toggle {
  display: none; background: none; border: none;
  color: var(--text-heading); cursor: pointer; padding: 0.25rem;
}
.nav-toggle svg { width: 24px; height: 24px }

@media (max-width: 860px) {
  .nav-toggle { display: flex }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(13,12,11,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    z-index: 10001;
  }
  .nav-links.active { display: flex }
  .nav-links li { width: 100% }
  .nav-links a, .nav-links .nav-cta {
    display: block; padding: 0.85rem 2rem; border-radius: 0; width: 100%;
  }
  .nav-links .nav-cta { text-align: center; margin: 0.5rem 2rem; border-radius: 100px; width: auto }
}

/* ═══════════════════════════════════
   HERO
   ═══════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 0 5rem;
  background: var(--bg-deep);
  position: relative; overflow: hidden;
}
/* Grid pattern */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,150,62,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,150,62,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, black 0%, transparent 100%);
}
/* Gold orb glow */
.hero::after {
  content: '';
  position: absolute; top: -20%; right: -15%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(200,150,62,0.06) 0%, transparent 55%);
  pointer-events: none;
}
/* Geometric decoration */
.hero-geo {
  position: absolute; right: 0; top: 0; bottom: 0; width: 55%;
  pointer-events: none; overflow: hidden;
}
.hero-geo span {
  position: absolute;
  border: 1px solid rgba(200,150,62,0.06);
}
.hero-geo span:nth-child(1) {
  width: 380px; height: 380px;
  right: 8%; top: 12%;
  transform: rotate(15deg);
}
.hero-geo span:nth-child(2) {
  width: 240px; height: 240px;
  right: 22%; top: 38%;
  transform: rotate(35deg);
}
.hero-geo span:nth-child(3) {
  width: 550px; height: 550px;
  right: -8%; top: -8%;
  border-radius: 50%;
  border-color: rgba(200,150,62,0.04);
}
.hero-geo span:nth-child(4) {
  width: 1px; height: 300px;
  right: 35%; top: 20%;
  transform: rotate(-20deg);
  background: linear-gradient(to bottom, transparent, rgba(200,150,62,0.08), transparent);
  border: none;
}
.hero-content { max-width: 700px; position: relative; z-index: 2 }
.hero-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 0.4rem 1.1rem;
  border-radius: 100px; border: 1px solid rgba(200,150,62,0.15);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero-label svg { width: 14px; height: 14px }
.hero h1 { margin-bottom: 1.5rem }
.hero h1 em {
  font-style: normal; color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 550px; margin-bottom: 2.5rem; line-height: 1.75;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem }

/* ═══════════════════════════════════
   BUTTONS
   ═══════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.95rem;
  transition: all 0.35s var(--ease);
  cursor: pointer; border: 1px solid rgba(240,234,224,0.25); text-decoration: none; background: transparent; color: var(--text-heading);
  position: relative;
}
.btn:hover { border-color: rgba(240,234,224,0.5); color: #fff; transform: translateY(-2px) }
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease) }
.btn:hover svg { transform: translateX(3px) }

.btn-primary {
  background: var(--text-heading); color: var(--bg-deep); border-color: var(--text-heading);
  padding: 1rem 2.4rem; font-size: 1.05rem; font-weight: 700;
}
.btn-primary:hover { background: #fff; color: var(--bg-deep); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(240,234,224,0.12) }

.btn-outline {
  background: transparent; color: var(--text-heading);
  border: 1.5px solid rgba(240,234,224,0.35);
  padding: 1rem 2.4rem; font-size: 1.05rem; font-weight: 600;
}
.btn-outline:hover { border-color: rgba(240,234,224,0.7); color: #fff; transform: translateY(-2px) }

.btn-gold {
  background: linear-gradient(135deg, var(--accent), #b8862e); color: var(--bg-deep); border: 1px solid var(--accent);
  padding: 1rem 2.4rem; font-size: 1.05rem; font-weight: 700;
  box-shadow: 0 2px 16px rgba(200,150,62,0.25);
}
.btn-gold:hover { background: linear-gradient(135deg, #d4a648, var(--accent)); color: var(--bg-deep); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(200,150,62,0.35) }

.hero-buttons .btn { padding: 1.1rem 2.8rem; font-size: 1.1rem }

/* Accessibility: focus-visible */
.btn:focus-visible,
.brand-card:focus-visible,
.card:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ═══════════════════════════════════
   STATS BAR
   ═══════════════════════════════════ */
.stats-bar {
  display: flex; gap: 0; flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}
.stat {
  padding-right: 3rem; margin-right: 3rem;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; margin-right: 0; padding-right: 0 }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800; color: var(--text-heading);
  letter-spacing: -0.03em; line-height: 1;
}
.stat-number span { color: var(--accent) }
.stat-label {
  font-size: 0.75rem; color: var(--text-muted);
  margin-top: 0.4rem;
  letter-spacing: 0.04em; text-transform: uppercase;
}

@media (max-width: 600px) {
  .stats-bar { gap: 1.5rem }
  .stat { padding-right: 0; margin-right: 0; border-right: none; flex: 0 0 45% }
}

/* ═══════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════ */
.section-header { text-align: center; max-width: 620px; margin: 0 auto 4rem }
.section-header p { color: var(--text-muted); margin-top: 0.75rem; font-size: 1.05rem }
.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.section-label::before, .section-label::after {
  content: ''; display: block;
  width: 24px; height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

/* ═══════════════════════════════════
   SERVICE CARDS
   ═══════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.25rem;
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
/* Gold gradient border on hover */
.card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, var(--accent) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
/* Corner accent */
.card::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, var(--accent-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: transparent }
.card:hover::before { opacity: 1 }
.card:hover::after { opacity: 1 }

.card-icon {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border: 1px solid rgba(200,150,62,0.12);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  transition: background 0.3s var(--ease);
}
.card:hover .card-icon { background: rgba(200,150,62,0.18) }
.card-icon svg { width: 24px; height: 24px }
.card h3 { margin-bottom: 0.65rem; font-size: 1.2rem }
.card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem }
.card-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.82rem; font-weight: 600; color: var(--accent);
  transition: gap 0.3s var(--ease);
}
.card-link:hover { gap: 0.6rem; color: var(--accent-light) }
.card-link svg { width: 14px; height: 14px }

@media (max-width: 700px) { .cards-grid { grid-template-columns: 1fr } }

/* ═══════════════════════════════════
   FEATURES (WHY US)
   ═══════════════════════════════════ */
.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feat {
  padding: 2.5rem 2rem;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: border-color 0.4s var(--ease);
}
.feat:hover { border-color: var(--accent-glow) }
.feat-icon {
  width: 64px; height: 64px; margin: 0 auto 1.25rem;
  background: var(--accent-dim);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.feat-icon svg { width: 28px; height: 28px }
.feat h3 { margin-bottom: 0.6rem; font-size: 1.1rem }
.feat p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7 }

@media (max-width: 768px) { .features-row { grid-template-columns: 1fr } }

/* ═══════════════════════════════════
   PROCESS STEPS
   ═══════════════════════════════════ */
.process-wrap { position: relative }
.process-line {
  position: absolute;
  top: 28px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 15%, var(--border) 85%, transparent);
}
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; position: relative; z-index: 1;
}
.step { text-align: center }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-heading);
  font-weight: 800; font-size: 1.1rem;
  color: var(--accent);
  transition: all 0.3s var(--ease);
}
.step:hover .step-num {
  background: var(--accent-dim);
  border-color: var(--accent);
  transform: scale(1.1);
}
.step h3 { font-size: 1rem; margin-bottom: 0.5rem }
.step p { color: var(--text-muted); font-size: 0.85rem; max-width: 220px; margin: 0 auto }

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr 1fr }
  .process-line { display: none }
}
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr } }

/* ═══════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════ */
.cta-section {
  text-align: center;
  padding: 6rem 0;
  background: var(--bg-surface);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, var(--accent-glow), transparent);
}
.cta-section h2 { margin-bottom: 1rem; position: relative }
.cta-section > .container > p { color: var(--text-muted); max-width: 480px; margin: 0 auto 2.5rem; position: relative }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative }

/* ═══════════════════════════════════
   BLOG CARDS
   ═══════════════════════════════════ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.post-card:hover { transform: translateY(-3px); border-color: rgba(200,150,62,0.15) }
.post-card img { width: 100%; height: 200px; object-fit: cover }
.post-card-body { padding: 1.75rem }
.post-card .meta {
  font-size: 0.78rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.post-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; line-height: 1.35 }
.post-card h3 a { color: var(--text-heading); transition: color 0.3s }
.post-card h3 a:hover { color: var(--accent) }
.post-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65 }

/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */
.site-footer {
  background: #080706;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3.5rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin-top: 1rem; line-height: 1.7 }
.footer-address { color: var(--text-muted); font-size: 0.82rem; margin-top: 1rem; line-height: 1.8 }
.footer-address strong { color: var(--text-heading); font-weight: 600 }
.footer-col h4 {
  color: var(--text-heading); font-family: var(--font-heading);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none }
.footer-col li { margin-bottom: 0.6rem }
.footer-col a { color: var(--text-muted); font-size: 0.88rem; transition: color 0.3s }
.footer-col a:hover { color: var(--text-body) }
.footer-bottom {
  margin-top: 4rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem; color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted) }
.footer-bottom a:hover { color: var(--text-body) }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem }
  .footer-brand { grid-column: 1 / -1 }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr } }

/* ═══════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════ */
.single-content {
  max-width: 750px; margin: 0 auto;
  padding: 9rem 2rem 5rem;
}
.single-content h1 { margin-bottom: 1rem }
.single-content .meta {
  color: var(--text-muted); font-size: 0.85rem;
  margin-bottom: 3rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.single-content h2 { margin: 3rem 0 1.25rem }
.single-content h3 { margin: 2.5rem 0 1rem }
.single-content p { line-height: 1.8 }
.single-content ul, .single-content ol {
  padding-left: 1.5rem; margin-bottom: 1.25rem;
}
.single-content li { margin-bottom: 0.5rem; line-height: 1.7 }
.single-content strong { color: var(--text-heading) }
.single-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.75rem; margin: 2rem 0;
  background: var(--accent-glow);
  border-radius: 0 12px 12px 0;
  font-style: italic;
}
.single-content img { border-radius: 16px; margin: 2rem 0 }
.single-content a { border-bottom: 1px solid var(--accent-dim); padding-bottom: 1px }
.single-content a:hover { border-bottom-color: var(--accent) }
.single-content a.btn { border-bottom: none; padding: 1rem 2.4rem; font-size: 1.05rem; font-weight: 600 }
.single-content a.btn-gold { color: var(--bg-deep) }
.single-content a.btn-outline { color: var(--text-heading) }

/* ── Override inline styles from AI-generated content ── */
.post-body * {
  color: var(--text-body) !important;
  font-family: var(--font-body) !important;
  background: transparent !important;
  border-color: var(--border) !important;
  font-size: inherit !important;
  text-align: left !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  line-height: inherit !important;
}
.post-body article,
.post-body section {
  margin: 0 !important;
  padding: 0 !important;
}
.post-body h1, .post-body h2,
.post-body h3, .post-body h4 {
  color: var(--text-heading) !important;
  font-family: var(--font-heading) !important;
}
.post-body h2 { font-size: 1.6rem !important; margin: 3rem 0 1.25rem !important }
.post-body h3 { font-size: 1.25rem !important; margin: 2.5rem 0 1rem !important }
.post-body p  { margin: 0 0 1.25rem !important; line-height: 1.8 !important }
.post-body a  { color: var(--accent) !important }
.post-body nav[aria-label] {
  background: rgba(200,150,62,.08) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px;
  padding: 20px !important;
  margin: 2rem 0 !important;
}
.post-body nav[aria-label] ol,
.post-body nav[aria-label] ul { padding-left: 1.5rem !important }
.post-body table {
  width: 100% !important; border-collapse: collapse !important;
  border: 1px solid var(--border) !important;
  margin: 2rem 0 !important; font-size: 0.92rem !important;
}
.post-body tr { background: transparent !important }
.post-body th {
  background: rgba(200,150,62,.15) !important;
  color: var(--text-heading) !important;
  font-weight: 700 !important; padding: 12px !important;
  border: 1px solid var(--border) !important; text-align: left !important;
}
.post-body td { padding: 12px !important; border: 1px solid var(--border) !important }
.post-body strong { color: var(--text-heading) !important }

/* ── Related Posts ── */
.related-posts {
  margin-top: 4rem; padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.related-posts h2 {
  font-size: 1.3rem; margin-bottom: 1.5rem; color: var(--text-heading);
}
.related-posts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.related-post-card {
  display: block; padding: 1.25rem;
  border: 1px solid var(--border); border-radius: 12px;
  text-decoration: none; transition: border-color 0.3s, background 0.3s;
}
.related-post-card:hover {
  border-color: var(--accent); background: var(--accent-glow);
}
.related-post-card time {
  font-size: 0.75rem; color: var(--text-muted);
}
.related-post-card h3 {
  font-size: 0.95rem; color: var(--text-heading);
  margin: 0.4rem 0 0.5rem; line-height: 1.4;
}
.related-post-card p {
  font-size: 0.82rem; color: var(--text-muted);
  line-height: 1.5; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-back {
  margin-top: 2rem; padding-top: 2rem;
}

/* ═══════════════════════════════════
   PAGE TEMPLATE
   ═══════════════════════════════════ */
.page-hero {
  padding: 9rem 0 3.5rem;
  text-align: center;
  background: var(--bg-deep);
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.page-hero h1 { margin-bottom: 0 }
.page-hero p { color: var(--text-muted); max-width: 550px; margin: 1rem auto 0; font-size: 1.05rem }

.page-content {
  max-width: 800px; margin: 0 auto;
  padding: 4rem 2rem 5rem;
}
.page-content h2 { margin: 3rem 0 1.25rem }
.page-content h3 { margin: 2.5rem 0 1rem }
.page-content p { line-height: 1.8 }
.page-content ul, .page-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem }
.page-content li { margin-bottom: 0.5rem; line-height: 1.7 }
.page-content strong { color: var(--text-heading) }
.page-content a { color: var(--accent); border-bottom: 1px solid var(--accent-dim) }
.page-content a:hover { border-bottom-color: var(--accent) }
.page-content a.btn { border-bottom: none }
.page-content a.btn-gold { color: var(--bg-deep) }
.page-content a.btn-gold:hover { color: var(--bg-deep) }
.page-content a.btn-outline { color: var(--text-heading); border-bottom: 1.5px solid rgba(240,234,224,0.35) }
.page-content a.service-hub-card { color: inherit; border-bottom: none }
.page-content a.brand-badge { color: var(--text-body); border-bottom: none }
.page-content img { border-radius: 16px; margin: 2rem 0 }

/* ═══════════════════════════════════
   BLOG LISTING (archive)
   ═══════════════════════════════════ */
.blog-header {
  padding: 9rem 0 3rem;
  text-align: center;
  background: var(--bg-deep);
}
.blog-header h1 { margin-bottom: 0.5rem }
.blog-header p { color: var(--text-muted) }

/* Pagination */
.pagination .nav-links a, .pagination .nav-links .current {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 0.75rem;
  border-radius: 10px; margin: 0 0.2rem;
  font-size: 0.88rem; font-weight: 600;
  transition: all 0.3s var(--ease);
}
.pagination .nav-links a { background: var(--bg-card); color: var(--text-muted); border: 1px solid var(--border-subtle) }
.pagination .nav-links a:hover { background: var(--bg-elevated); color: var(--text-heading) }
.pagination .nav-links .current { background: var(--accent); color: var(--bg-deep) }

/* ═══════════════════════════════════
   404 PAGE
   ═══════════════════════════════════ */
.error-404 {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 2rem;
}
.error-404 h1 { font-size: clamp(4rem, 10vw, 8rem); color: var(--accent); margin-bottom: 1rem }
.error-404 p { color: var(--text-muted); margin-bottom: 2rem }

/* ═══════════════════════════════════
   SECTION DIVIDERS
   ═══════════════════════════════════ */
.section-alt { background: var(--bg-surface) }
.section-deep { background: var(--bg-deep) }

/* Utility */
.text-gold { color: var(--accent) }
.text-cream { color: var(--text-heading) }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden }
.wp-block-image { margin: 1.5rem 0 }
.wp-block-image img { border-radius: 16px }

/* ═══════════════════════════════════
   BRAND SELECTOR — Elegant SVG
   ═══════════════════════════════════ */

.home .site-header { display: none }
.home .site-footer { border-top: 1px solid var(--border-subtle) }

.brand-selector {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 4rem 2rem;
  background: var(--bg-deep);
  position: relative;
}
.brand-selector::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,150,62,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,150,62,0.012) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 0%, transparent 100%);
}
.brand-selector > * { position: relative; z-index: 1 }

/* ── CAD Background Drawings ── */
@keyframes cad-draw { to { stroke-dashoffset: 0; } }
@keyframes cad-fade-in { from { opacity: 0; } to { opacity: 1; } }
.cad-bg {
  position: absolute !important; pointer-events: none; z-index: 0 !important;
  overflow: hidden; top: 0; left: 0; width: 50%; height: 100%;
}
.cad-bg-right { left: auto; right: 0; }
.cad-bg svg { width: 100%; height: 100%; display: block; }
.cad-bg text { fill: #C8963E; font-family: 'Courier New', monospace; }
@media (max-width: 900px) { .cad-bg { display: none } }

.brand-header { text-align: center; margin-bottom: 3.5rem }

.brand-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800; color: var(--text-heading);
  letter-spacing: -0.04em;
  margin-bottom: 0.8rem; line-height: 1;
}
.brand-title span { color: var(--accent) }
.brand-subtitle {
  color: var(--text-muted); font-size: 1.05rem;
  max-width: 420px; margin: 0 auto;
}

.brand-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px; width: 100%;
}

.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.5rem 2rem 2rem;
  text-decoration: none; color: inherit;
  position: relative;
  transition: all 0.5s var(--ease);
  cursor: pointer;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
}
.brand-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, var(--accent) 0%, transparent 50%, var(--accent-light) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0; transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.brand-card::after {
  content: '';
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 100px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  opacity: 0; transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.brand-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(200,150,62,0.06);
}
.brand-card:hover::before { opacity: 1 }
.brand-card:hover::after { opacity: 1 }

/* ── SVG container ── */
.brand-svg {
  width: 170px; height: 160px;
  margin-bottom: 1.25rem;
  position: relative;
}
.brand-svg svg {
  width: 100%; height: 100%;
  stroke: var(--accent);
  fill: none;
  transition: filter 0.5s var(--ease);
}
.brand-card:hover .brand-svg svg {
  filter: drop-shadow(0 0 12px rgba(200,150,62,0.25));
}

/* ── SVG DRAW ANIMATION ── */
.brand-svg svg * {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  opacity: 0;
}

/* Drawn state — keyframe animation with stagger */
.brand-svg.drawn svg * {
  animation: svgDraw 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes svgDraw {
  0% { stroke-dashoffset: 600; opacity: 0; }
  8% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

/* Hover glow on drawn SVG */
.brand-card:hover .brand-svg.drawn svg {
  stroke: var(--accent-light);
}

/* ── Card text ── */
.brand-card h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem; font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.brand-card p {
  color: var(--text-muted); font-size: 0.88rem;
  line-height: 1.6; margin-bottom: 1.25rem;
}
.brand-card-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--accent); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.02em; text-transform: uppercase;
  margin-top: auto;
  transition: gap 0.3s var(--ease);
}
.brand-card:hover .brand-card-link { gap: 0.65rem; color: var(--accent-light) }
.brand-card-link svg { width: 14px; height: 14px }

/* ── Landing contact ── */
.landing-contact {
  margin-top: 4rem;
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap; justify-content: center;
}
.lc-item {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--text-muted); font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
a.lc-item:hover { color: var(--accent) }
.lc-item svg { opacity: 0.6; flex-shrink: 0 }
.lc-sep { color: rgba(190,182,170,0.3); font-size: 0.7rem }

/* ── Responsive brand section ── */
@media (max-width: 900px) {
  .brand-cards { grid-template-columns: 1fr; max-width: 400px }
  .brand-card { padding: 2rem 1.5rem 1.5rem }
  .brand-svg { width: 140px; height: 130px }
  .brand-selector { min-height: auto; padding: 4rem 1.5rem 3rem }
  .landing-contact { flex-direction: column; gap: 0.6rem }
  .lc-sep { display: none }
}

/* ═══ UMBRELLA PAGE STYLES ═══ */

/* Quote process steps */
.quote-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 3rem 0 }
@media (max-width: 700px) { .quote-steps { grid-template-columns: 1fr } }
.quote-step {
  text-align: center; padding: 2.5rem 1.5rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  transition: all 0.3s ease
}
.quote-step:hover { border-color: var(--accent); transform: translateY(-4px) }
.quote-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent);
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700;
  margin-bottom: 1.2rem
}
.quote-step h3 { color: var(--text-heading); font-size: 1.1rem; margin-bottom: 0.6rem }
.quote-step p { color: var(--text-body); font-size: 0.9rem; line-height: 1.6 }

/* Scope cards (what we quote for) */
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0 }
@media (max-width: 860px) { .scope-grid { grid-template-columns: 1fr } }
.scope-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem; transition: all 0.3s ease
}
.scope-card:hover { border-color: var(--accent); transform: translateY(-4px) }
.scope-card h3 { color: var(--text-heading); font-size: 1.15rem; margin-bottom: 0.3rem }
.scope-card .scope-sub { color: var(--accent); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem }
.scope-card ul { list-style: none; padding: 0; margin: 0 }
.scope-card li {
  padding: 0.45rem 0; color: var(--text-body); font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.04); display: flex; align-items: baseline; gap: 0.5rem
}
.scope-card li::before { content: "\2014"; color: var(--accent); flex-shrink: 0 }

/* FAQ accordion */
.faq-group { margin-bottom: 3rem }
.faq-group-title {
  font-size: 0.85rem; color: var(--accent); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 1.5rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border)
}
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; cursor: pointer; color: var(--text-heading);
  font-size: 1rem; font-weight: 600; transition: color 0.3s; user-select: none
}
.faq-q:hover { color: var(--accent) }
.faq-q svg { flex-shrink: 0; margin-left: 1rem; transition: transform 0.3s; color: var(--accent); width: 18px; height: 18px }
.faq-item.open .faq-q svg { transform: rotate(45deg) }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--text-body); font-size: 0.95rem; line-height: 1.7
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 1.2rem }

/* Service hub cards */
.service-hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin: 3rem 0 }
@media (max-width: 700px) { .service-hub-grid { grid-template-columns: 1fr } }
.service-hub-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 2.5rem 2rem; transition: all 0.3s ease; text-decoration: none; color: inherit;
  display: block; position: relative; overflow: hidden
}
.service-hub-card:hover { border-color: var(--accent); transform: translateY(-4px) }
.service-hub-card::after {
  content: "\2192"; position: absolute; top: 2rem; right: 2rem; font-size: 1.3rem;
  color: var(--accent); opacity: 0; transform: translateX(-10px); transition: all 0.3s ease
}
.service-hub-card:hover::after { opacity: 1; transform: translateX(0) }
.service-hub-card .shc-icon { margin-bottom: 1.5rem; color: var(--accent) }
.service-hub-card h3 { color: var(--text-heading); font-size: 1.2rem; margin-bottom: 0.8rem }
.service-hub-card p { color: var(--text-body); font-size: 0.9rem; line-height: 1.6 }
.service-hub-card .shc-brands { display: flex; gap: 0.4rem; margin-top: 1rem; flex-wrap: wrap }
.service-hub-card .shc-brand {
  font-size: 0.7rem; padding: 0.2rem 0.6rem; border-radius: 50px;
  border: 1px solid var(--border); color: var(--text-muted); font-weight: 600
}

/* Brand badges */
.brand-badges { display: flex; gap: 0.6rem; justify-content: center; margin: 2rem 0; flex-wrap: wrap }
.brand-badge {
  padding: 0.5rem 1.2rem; border-radius: 50px; border: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-body); font-weight: 600;
  transition: all 0.3s ease; text-decoration: none
}
.brand-badge:hover { border-color: var(--accent); color: var(--accent) }

/* ── Brand Constellation Graph ── */
.brand-constellation {
  position: relative; padding: 3rem 0;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.constellation-graph {
  position: relative; width: 100%; max-width: 600px;
  aspect-ratio: 1; margin: 0 auto;
}
.constellation-graph svg {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
}
.constellation-graph svg line {
  stroke: var(--accent); stroke-width: 1; opacity: 0.3;
  stroke-dasharray: 6 4;
}
.constellation-graph svg line.pulse {
  animation: dash-flow 3s linear infinite;
}
@keyframes dash-flow {
  to { stroke-dashoffset: -40; }
}
.constellation-graph svg circle.node-glow {
  fill: var(--accent); opacity: 0.08;
}
.const-hub {
  position: absolute; top: 42%; left: 50%;
  transform: translate(-50%, -50%); z-index: 2;
  width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,150,62,.15), transparent 70%);
  border: 2px solid rgba(200,150,62,.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800;
  color: var(--text-heading); text-align: center; letter-spacing: -0.02em;
}
.const-hub::before {
  content: ''; position: absolute; inset: -12px; border-radius: 50%;
  border: 1px solid rgba(200,150,62,.1);
  animation: hub-pulse 4s ease-in-out infinite;
}
@keyframes hub-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.2; }
}
.const-node {
  position: absolute; z-index: 2; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  transition: transform 0.3s var(--ease);
}
.const-node:hover { transform: translateX(-50%) scale(1.08); }
.const-node-circle {
  width: 72px; height: 72px; border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-size: 1.5rem;
}
.const-node:hover .const-node-circle {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(200,150,62,.2);
}
.const-node-label {
  font-size: 0.82rem; font-weight: 700; color: var(--text-heading);
  font-family: var(--font-heading); white-space: nowrap;
}
.const-node-desc {
  font-size: 0.7rem; color: var(--text-muted); text-align: center;
  max-width: 120px; line-height: 1.4;
}
.const-node:nth-of-type(1) { top: 3%; left: 50%; transform: translateX(-50%); }
.const-node:nth-of-type(2) { bottom: 4%; left: 18%; transform: translateX(-50%); }
.const-node:nth-of-type(3) { bottom: 4%; left: 82%; transform: translateX(-50%); }
@media (max-width: 600px) {
  .const-hub { width: 90px; height: 90px; font-size: 0.95rem; }
  .const-node-circle { width: 58px; height: 58px; font-size: 1.2rem; }
  .const-node:nth-of-type(2) { left: 15%; }
  .const-node:nth-of-type(3) { left: 85%; }
}

/* Page CTA block */
.page-cta {
  text-align: center; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 3rem 2rem; margin-top: 3rem
}
.page-cta h2 { color: var(--text-heading); font-size: 1.5rem; margin-bottom: 0.8rem }
.page-cta p { color: var(--text-body); max-width: 500px; margin: 0 auto 1.5rem; font-size: 0.95rem }
.page-cta .cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap }

/* ═══════════════════════════════════
   HOMEPAGE STATS BAR
   ═══════════════════════════════════ */
.brand-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 3rem auto 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  max-width: 700px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  letter-spacing: 0.02em;
}
@media (max-width: 600px) {
  .brand-stats {
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
  }
  .stat { flex: 0 0 40%; }
  .stat-num { font-size: 1.3rem; }
}

/* ═══════════════════════════════════
   HOMEPAGE MINI NAV
   ═══════════════════════════════════ */
.landing-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.2rem 0 0;
}
.landing-nav a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.landing-nav a:hover { color: var(--accent); }
@media (max-width: 480px) {
  .landing-nav { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .landing-nav a { font-size: 0.75rem; }
}

/* ═══════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════ */
.breadcrumbs {
  padding: 0 0 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.breadcrumbs .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--accent); }
.bc-sep { margin: 0 0.4rem; opacity: 0.4; }

/* ═══════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════ */
.contact-form {
  max-width: 560px;
  margin: 2rem auto 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A756E' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group select option {
  background: var(--bg-deep);
  color: var(--text-body);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Submit row */
.form-submit-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
}
.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.6;
}
.btn-full { width: 100%; justify-content: center; }

/* Feedback message */
.form-feedback {
  margin-top: 1rem;
  padding: 0;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.3s var(--ease);
}
.form-feedback:empty { display: none; }
.form-feedback--success {
  display: block;
  padding: 1rem 1.2rem;
  background: rgba(200,150,62,0.10);
  border: 1px solid rgba(200,150,62,0.25);
  color: var(--accent-light);
}
.form-feedback--error {
  display: block;
  padding: 1rem 1.2rem;
  background: rgba(220,60,60,0.08);
  border: 1px solid rgba(220,60,60,0.20);
  color: #e87070;
}

/* Input error state */
.form-group input.input-error,
.form-group textarea.input-error {
  border-color: #dc3c3c;
  box-shadow: 0 0 0 3px rgba(220,60,60,0.12);
}

/* Spinner on submit */
.btn--loading {
  pointer-events: none;
  opacity: 0.7;
}
.btn--loading svg { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Home page compact form */
.home-contact-form {
  max-width: 580px;
  margin: 2.5rem auto 0;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.home-form-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  text-align: center;
  margin: 0 0 1.2rem;
}
.contact-form--compact .form-group { margin-bottom: 0.75rem; }
.contact-form--compact textarea { min-height: 70px; }
.contact-form--compact .btn-full { margin-top: 0.25rem; }

@media (max-width: 600px) {
  .home-contact-form { padding: 1.4rem; margin: 2rem 1rem 0; }
  .form-submit-row { flex-direction: column; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px) }
  to { opacity: 1; transform: translateY(0) }
}

@media (max-width: 480px) {
  .hero-buttons .btn { padding: 0.9rem 1.8rem; font-size: 0.95rem; }
}

/* ═══════════════════════════════════
   INSPECTION REPORT EXAMPLE
   ═══════════════════════════════════ */
.report-example {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  margin: 2.5rem 0;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.03);
  position: relative;
}
/* Subtle paper-grain texture */
.report-example::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 27px,
    rgba(255,255,255,0.008) 27px,
    rgba(255,255,255,0.008) 28px
  );
  pointer-events: none;
  z-index: 1;
}

/* ── Report Header ── */
.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 2rem;
  background: var(--bg-card);
  border-bottom: 2px solid var(--accent);
  position: relative;
  z-index: 2;
}
.report-header-left {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.report-header .report-id {
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.report-header .report-date {
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.report-header .report-project-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: var(--text-heading);
  font-weight: 600;
}

/* ── Status Badge ── */
.report-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.report-status-badge--draft {
  background: rgba(200,150,62,0.12);
  color: var(--accent);
  border: 1px solid rgba(200,150,62,0.25);
}
.report-status-badge--final {
  background: rgba(76,175,80,0.1);
  color: #81c784;
  border: 1px solid rgba(76,175,80,0.25);
}
.report-status-badge--dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ── Report Body ── */
.report-body {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

/* ── Metadata Grid ── */
.report-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.report-meta-field {
  background: var(--bg-card);
  padding: 1rem 1.25rem;
}
.report-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}
.report-value {
  display: block;
  font-size: 0.88rem;
  color: var(--text-heading);
  line-height: 1.4;
}
.report-value--mono {
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

/* ── Section Title inside report ── */
.report-section-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* ── Photo Grid ── */
.report-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.report-photo {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.report-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(200,150,62,0.06) 0%, transparent 50%),
    linear-gradient(225deg, rgba(200,150,62,0.04) 0%, transparent 50%),
    linear-gradient(160deg,
      var(--bg-card) 0%,
      #1e1c18 25%,
      #1a1815 50%,
      #1e1b17 75%,
      var(--bg-card) 100%
    );
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.report-photo-placeholder::before {
  content: '';
  width: 32px;
  height: 32px;
  border: 2px solid rgba(200,150,62,0.15);
  border-radius: 6px;
  background: rgba(200,150,62,0.04);
}
.report-photo-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(13,12,11,0.4), transparent);
}
.report-photo-caption {
  padding: 0.5rem 0.65rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
  border-top: 1px solid var(--border);
}

/* ── Findings ── */
.report-findings {
  margin-bottom: 2rem;
}
.report-finding {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
}
.report-finding:last-child {
  margin-bottom: 0;
}
.report-finding-ok {
  border-left-color: #4caf50;
}
.report-finding-warn {
  border-left-color: var(--accent);
}
.report-finding-fail {
  border-left-color: #e53935;
}
.report-finding-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.report-finding-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
}
.report-finding-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  flex-shrink: 0;
}
.report-finding-ok .report-finding-badge {
  background: rgba(76,175,80,0.1);
  color: #81c784;
  border: 1px solid rgba(76,175,80,0.2);
}
.report-finding-warn .report-finding-badge {
  background: rgba(200,150,62,0.12);
  color: var(--accent);
  border: 1px solid rgba(200,150,62,0.2);
}
.report-finding-fail .report-finding-badge {
  background: rgba(229,57,53,0.1);
  color: #ef9a9a;
  border: 1px solid rgba(229,57,53,0.2);
}
.report-finding-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ── Signature Block ── */
.report-signature {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  border: 1px dashed var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: rgba(26,24,21,0.5);
}
.report-signature-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.15rem;
}
.report-signature-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.report-signature-system {
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: right;
  opacity: 0.7;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .report-meta {
    grid-template-columns: repeat(2, 1fr);
  }
  .report-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .report-header {
    padding: 1rem 1.25rem;
  }
  .report-body {
    padding: 1.5rem 1.25rem;
  }
}
@media (max-width: 480px) {
  .report-meta {
    grid-template-columns: 1fr;
  }
  .report-photo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .report-header-left {
    gap: 0.5rem;
    flex-direction: column;
  }
  .report-signature {
    flex-direction: column;
    text-align: center;
  }
  .report-signature-system {
    text-align: center;
  }
  .report-finding-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
