/*
Theme Name: Bez Obaw Dark
Theme URI: https://dombezobaw.pl
Author: DomNaWymiar Sp. z o.o.
Description: Premium dark theme — building supervision brand
Version: 2.0.0
Text Domain: bezobaw
*/

/* ═══════════════════════════════════
   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.7); 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-cta {
  background: transparent; color: var(--text-heading);
  padding: 0.45rem 1.15rem; border-radius: 100px;
  border: 1px solid rgba(240,234,224,0.15);
  font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.03em; text-transform: uppercase;
  transition: all 0.3s var(--ease);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim) }
.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;
  }
  .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 a::after { display: none }
  .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.8rem 1.8rem; border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.92rem;
  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; overflow: hidden;
}
.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);
}
.btn-primary::after {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 35%, rgba(255,255,255,0.15) 50%, transparent 65%);
  transform: translateX(-100%) rotate(0deg);
  transition: transform 0.7s var(--ease);
}
.btn-primary:hover { background: #fff; color: var(--bg-deep); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(240,234,224,0.12) }
.btn-primary:hover::after { transform: translateX(100%) }

.btn-outline {
  background: transparent; color: var(--text-heading);
  border: 1px solid rgba(240,234,224,0.15);
}
.btn-outline:hover { border-color: rgba(240,234,224,0.4); color: #fff; transform: translateY(-2px) }

.btn-gold {
  background: transparent; color: var(--accent); border-color: var(--accent);
}
.btn-gold::after {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 35%, rgba(255,255,255,0.2) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease);
}
.btn-gold:hover { background: var(--accent); color: var(--bg-deep); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(200,150,62,0.2) }
.btn-gold:hover::after { transform: translateX(100%) }

/* ═══════════════════════════════════
   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) }

/* ═══════════════════════════════════
   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: var(--max-w); 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 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 */
.nav-links a, .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);
}
.nav-links a { background: var(--bg-card); color: var(--text-muted); border: 1px solid var(--border-subtle) }
.nav-links a:hover { background: var(--bg-elevated); color: var(--text-heading) }
.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; overflow: hidden;
}
.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 }

.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; overflow: hidden;
  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);
}
.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);
}
.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 ── */
@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(--surface-1); border: 1px solid var(--border); border-radius: 16px;
  transition: all 0.3s ease
}
.quote-step:hover { border-color: var(--gold); 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(--gold); color: var(--gold);
  font-family: var(--ff-heading); font-size: 1.2rem; font-weight: 700;
  margin-bottom: 1.2rem
}
.quote-step h3 { color: var(--heading); font-size: 1.1rem; margin-bottom: 0.6rem }
.quote-step p { color: var(--text); 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(--surface-1); border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem; transition: all 0.3s ease
}
.scope-card:hover { border-color: var(--gold); transform: translateY(-4px) }
.scope-card h3 { color: var(--heading); font-size: 1.15rem; margin-bottom: 0.3rem }
.scope-card .scope-sub { color: var(--gold); 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); 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: "—"; color: var(--gold); flex-shrink: 0 }

/* FAQ accordion */
.faq-group { margin-bottom: 3rem }
.faq-group-title {
  font-size: 0.85rem; color: var(--gold); 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(--heading);
  font-size: 1rem; font-weight: 600; transition: color 0.3s; user-select: none
}
.faq-q:hover { color: var(--gold) }
.faq-q svg { flex-shrink: 0; margin-left: 1rem; transition: transform 0.3s; color: var(--gold); 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); 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(--surface-1); 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(--gold); transform: translateY(-4px) }
.service-hub-card::after {
  content: "\2192"; position: absolute; top: 2rem; right: 2rem; font-size: 1.3rem;
  color: var(--gold); 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(--gold) }
.service-hub-card h3 { color: var(--heading); font-size: 1.2rem; margin-bottom: 0.8rem }
.service-hub-card p { color: var(--text); 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 — NO emoji */
.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); font-weight: 600;
  transition: all 0.3s ease; text-decoration: none
}
.brand-badge:hover { border-color: var(--gold); color: var(--gold) }

/* Page CTA block */
.page-cta {
  text-align: center; background: var(--surface-1); border: 1px solid var(--border);
  border-radius: 16px; padding: 3rem 2rem; margin-top: 3rem
}
.page-cta h2 { color: var(--heading); font-size: 1.5rem; margin-bottom: 0.8rem }
.page-cta p { color: var(--text); 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 }

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