/* ═══════════════════════════════════════════════════════════
   CRESTLINE MEDIA™ — Premium Agency CSS
   Dark Luxury · Editorial · Authority
═══════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
  /* Backgrounds */
  --bg-deepest:   #050505;
  --bg-dark:      #0B0F14;
  --bg-card:      #111827;
  --bg-card-2:    #141e2f;
  --bg-panel:     #0d1520;

  /* Text */
  --text-primary:  #FFFFFF;
  --text-secondary:#D9D9D9;
  --text-muted:    rgba(217, 217, 217, 0.45);
  --text-faint:    rgba(217, 217, 217, 0.2);

  /* Gold accent */
  --gold:          #B8A36A;
  --gold-light:    #D4BC7A;
  --gold-faint:    rgba(184, 163, 106, 0.12);
  --gold-border:   rgba(184, 163, 106, 0.22);

  /* Borders */
  --border:        rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-editorial: 'Playfair Display', 'Georgia', serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 120px 24px;
  --container-max:   1160px;
  --radius:          12px;
  --radius-sm:       6px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --speed: 0.3s;
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deepest);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
}

/* ─── Typography utilities ─── */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 520px;
  margin-top: 16px;
}

.gold-text { color: var(--gold); }
.gold-italic { color: var(--gold); font-style: italic; }

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #050505;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold);
  transition: background var(--speed) var(--ease),
              color var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease),
              transform var(--speed) var(--ease);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 12px 40px rgba(184, 163, 106, 0.28);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; padding: 16px 30px; font-size: 0.88rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  transition: all var(--speed) var(--ease);
}

.btn-ghost:hover {
  border-color: var(--gold-border);
  color: var(--gold);
  background: var(--gold-faint);
}

.btn-nav {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
  white-space: nowrap;
  transition: all var(--speed) var(--ease);
}

.btn-nav:hover {
  background: var(--gold);
  color: #050505;
  box-shadow: 0 0 24px rgba(184, 163, 106, 0.3);
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.18s; }
.reveal:nth-child(4) { transition-delay: 0.26s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.38s; }


/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              backdrop-filter var(--speed) var(--ease);
  border-bottom: 1px solid transparent;
}

#header.scrolled {
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 48px;
}

/* Logo */
.logo {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  height: 34px;
  width: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

.tm {
  font-size: 0.6em;
  vertical-align: super;
  color: var(--gold);
  margin-left: 1px;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--speed) var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--speed) var(--ease);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  margin-left: auto;
}

.hamburger span {
  display: block;
  height: 1px;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: all var(--speed) var(--ease);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 24px;
  padding: 32px 48px;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.mobile-menu.open { display: flex; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu nav a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  transition: color var(--speed) var(--ease);
}

.mobile-menu nav a:hover { color: var(--gold); }


/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  right: 15%;
  top: 40%;
  transform: translate(50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(184, 163, 106, 0.06) 0%,
    rgba(184, 163, 106, 0.02) 40%,
    transparent 70%
  );
  pointer-events: none;
}

/* Skyline visual */
.hero-skyline {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 75%;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-right: 60px;
}

.skyline-container {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 100%;
  width: 100%;
  justify-content: flex-end;
  position: relative;
}

/* Buildings — varying heights for city skyline aesthetic */
.building {
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(184,163,106,0.06) 0%, rgba(11,15,20,0.4) 100%);
  border: 1px solid rgba(184,163,106,0.08);
  border-bottom: none;
  position: relative;
  transition: opacity 0.3s;
}

/* Building windows — dots suggesting lit windows */
.building::after {
  content: '';
  position: absolute;
  inset: 8px 4px;
  background-image:
    radial-gradient(circle 1px at 50% 25%, rgba(184,163,106,0.3) 0%, transparent 100%),
    radial-gradient(circle 1px at 30% 50%, rgba(184,163,106,0.2) 0%, transparent 100%),
    radial-gradient(circle 1px at 70% 65%, rgba(184,163,106,0.25) 0%, transparent 100%),
    radial-gradient(circle 1px at 50% 80%, rgba(184,163,106,0.15) 0%, transparent 100%);
}

.b1  { width: 22px; height: 35%; }
.b2  { width: 30px; height: 55%; }
.b3  { width: 18px; height: 30%; }
.b4  { width: 36px; height: 72%; }
.b5  { width: 24px; height: 48%; }
.b6  { width: 44px; height: 88%; }  /* Tallest building */
.b7  { width: 28px; height: 60%; }
.b8  { width: 20px; height: 38%; }
.b9  { width: 38px; height: 78%; }
.b10 { width: 26px; height: 52%; }
.b11 { width: 16px; height: 28%; }

.skyline-ground {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,163,106,0.2), transparent);
}

/* Chess piece overlay */
.chess-king {
  position: absolute;
  right: 100px;
  bottom: 10%;
  width: 100px;
  height: auto;
  opacity: 0.35;
  filter: drop-shadow(0 0 20px rgba(184,163,106,0.15));
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
}

.hero-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-editorial);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 44px;
  max-width: 540px;
}

.hero-sub strong { color: var(--text-secondary); font-weight: 500; }
.br-desktop { display: block; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 36px 0 0;
}

.hero-stat:first-child { padding-left: 0; }

.stat-number {
  font-family: var(--font-editorial);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-strong);
  margin: 0 36px 0 0;
  flex-shrink: 0;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-hint span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}


/* ═══════════════════════════════════════════════════════════
   PROBLEM SECTION
═══════════════════════════════════════════════════════════ */
.problem-section {
  padding: var(--section-padding);
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.problem-section::before {
  content: '';
  position: absolute;
  left: -200px; top: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,163,106,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.problem-headline {
  max-width: 680px;
  margin-bottom: 72px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.problem-card {
  background: var(--bg-card);
  padding: 48px 40px;
  position: relative;
  transition: background var(--speed) var(--ease);
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
}

.problem-card:hover { background: var(--bg-card-2); }
.problem-card:hover::before { opacity: 1; }

.problem-number {
  font-family: var(--font-editorial);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(184,163,106,0.08);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.problem-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-family: var(--font-editorial);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.problem-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.78;
}


/* ═══════════════════════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════════════════════ */
.services-section {
  padding: var(--section-padding);
  background: var(--bg-deepest);
  position: relative;
}

.section-header {
  margin-bottom: 72px;
  max-width: 600px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--bg-card);
  padding: 40px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background var(--speed) var(--ease);
  cursor: default;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
}

.service-card:hover { background: var(--bg-card-2); }
.service-card:hover::after { opacity: 1; }

.service-icon-wrap {
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  margin-bottom: 28px;
}

.service-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.65rem;
}

.service-arrow {
  width: 20px;
  height: 20px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
  margin-top: auto;
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}


/* ═══════════════════════════════════════════════════════════
   PROCESS SECTION
═══════════════════════════════════════════════════════════ */
.process-section {
  padding: var(--section-padding);
  background: var(--bg-dark);
}

.process-track {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  position: relative;
}

.process-line {
  position: absolute;
  top: 26px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), var(--gold-border), transparent);
  pointer-events: none;
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 28px 0 0;
  position: relative;
  z-index: 1;
}

.step-number {
  font-family: var(--font-editorial);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  padding: 8px 16px;
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  background: var(--bg-dark);
  line-height: 1;
}

.step-content h3 {
  font-family: var(--font-editorial);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.72;
}


/* ═══════════════════════════════════════════════════════════
   CASE STUDIES SECTION
═══════════════════════════════════════════════════════════ */
.case-studies-section {
  padding: var(--section-padding);
  background: var(--bg-deepest);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 72px;
}

.case-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color var(--speed) var(--ease),
              transform var(--speed) var(--ease);
}

.case-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
}

.case-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Case study background gradients — edit colors per brand */
.case-1 { background: linear-gradient(135deg, #0d1520 0%, #111820 100%); }
.case-2 { background: linear-gradient(135deg, #101418 0%, #0f1620 100%); }
.case-3 { background: linear-gradient(135deg, #120d16 0%, #0d1018 100%); }

.case-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,163,106,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,163,106,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.case-visual-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-metric-display {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.case-big-num {
  font-family: var(--font-editorial);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.04em;
  line-height: 1;
  filter: drop-shadow(0 0 20px rgba(184,163,106,0.3));
}

.case-big-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.case-body {
  padding: 32px 28px;
}

.case-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.case-card h3 {
  font-family: var(--font-editorial);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
  color: var(--text-primary);
}

.case-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 20px;
}

.case-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.case-stats span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.case-stats strong { color: var(--text-secondary); }

.case-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  transition: letter-spacing var(--speed) var(--ease);
}

.case-link:hover { letter-spacing: 0.1em; }


/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════════ */
.about-section {
  padding: var(--section-padding);
  background: var(--bg-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-top: 20px;
}

.about-text .section-title { margin-top: 16px; margin-bottom: 0; }

.about-pillars {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pillar-icon {
  color: var(--gold);
  font-size: 0.5rem;
  margin-top: 6px;
  flex-shrink: 0;
}

.pillar strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 3px;
}

.pillar span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Performance panel */
.about-visual-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.panel-dots {
  display: flex;
  gap: 6px;
}

.panel-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: block;
}

.panel-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: auto;
}

.panel-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: background var(--speed) var(--ease);
}

.panel-metric:hover { background: rgba(255,255,255,0.02); }
.panel-metric:last-of-type { border-bottom: none; }

.pm-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pm-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pm-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pm-change {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.pm-change.up {
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
}

.panel-footer {
  display: flex;
  justify-content: space-between;
  padding: 12px 24px;
  border-top: 1px solid var(--border);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.panel-footer span:first-child { color: #4ade80; }


/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
═══════════════════════════════════════════════════════════ */
.testimonials-section {
  padding: var(--section-padding);
  background: var(--bg-deepest);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 72px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color var(--speed) var(--ease),
              background var(--speed) var(--ease);
}

.testimonial-card:hover {
  border-color: var(--gold-border);
  background: var(--bg-card-2);
}

.quote-mark {
  font-family: var(--font-editorial);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.4;
  font-weight: 700;
  height: 28px;
  overflow: hidden;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.82;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-faint);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.testimonial-author span {
  font-size: 0.72rem;
  color: var(--text-muted);
}


/* ═══════════════════════════════════════════════════════════
   BRAND AUDIT SECTION
═══════════════════════════════════════════════════════════ */
.audit-section {
  padding: var(--section-padding);
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.audit-section::before {
  content: '';
  position: absolute;
  top: -300px; right: -300px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(184,163,106,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.audit-inner {
  max-width: 720px;
  margin: 0 auto;
}

.audit-header {
  text-align: center;
  margin-bottom: 56px;
}

.audit-header .section-label { justify-content: center; }
.audit-header .section-title { margin: 0 auto; }
.audit-header .section-sub { margin: 16px auto 0; text-align: center; }

/* Form */
.audit-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-primary);
  font-size: 0.88rem;
  line-height: 1.5;
  outline: none;
  transition: border-color var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
  resize: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold-border);
  box-shadow: 0 0 0 3px rgba(184,163,106,0.08);
}

.form-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
}

.form-success.visible { display: block; }

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-faint);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0 auto 24px;
}

.form-success h3 {
  font-family: var(--font-editorial);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.form-success p { color: var(--text-muted); font-size: 0.9rem; }


/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════════════════ */
.contact-section {
  padding: var(--section-padding);
  background: var(--bg-deepest);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-details {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: color var(--speed) var(--ease);
}

.contact-item:hover .ci-value { color: var(--gold); }

.contact-item-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  background: var(--gold-faint);
  flex-shrink: 0;
}

.contact-item-icon svg { width: 18px; height: 18px; }

.ci-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.ci-value {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--speed) var(--ease);
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: all var(--speed) var(--ease);
}

.social-btn svg { width: 14px; height: 14px; }

.social-btn:hover {
  border-color: var(--gold-border);
  color: var(--gold);
  background: var(--gold-faint);
}

/* CTA box */
.cta-box-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.cta-box-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-box-top p {
  font-family: var(--font-editorial);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-top: 8px;
  font-style: italic;
}


/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
#footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  margin-bottom: 64px;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.72;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--speed) var(--ease);
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin: 0;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: color var(--speed) var(--ease);
}

.footer-legal a:hover { color: var(--text-primary); }


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (max 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  :root { --section-padding: 88px 24px; }

  .container { padding: 0 32px; }
  .nav-container { padding: 0 32px; gap: 28px; }

  .hero-skyline { width: 40%; opacity: 0.6; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .process-step:nth-child(n+5) { display: none; } /* hide last 2 in 3-col layout */

  .about-grid { gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (max 768px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  :root { --section-padding: 72px 20px; }

  .container { padding: 0 20px; }
  .nav-container { padding: 0 20px; gap: 0; }
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { padding: 28px 20px; }

  .hero { padding-top: 72px; align-items: flex-start; padding-left: 0; }
  .hero-content { padding-top: 48px; padding-bottom: 60px; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero-sub { font-size: 0.92rem; }
  .br-desktop { display: none; }
  .hero-skyline { width: 60%; opacity: 0.25; }
  .chess-king { display: none; }
  .scroll-hint { display: none; }

  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .stat-divider { display: none; }
  .hero-stat { padding: 0; }

  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { padding: 36px 28px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 28px; }

  .process-track { grid-template-columns: 1fr; gap: 32px; }
  .process-line { display: none; }
  .process-step { padding: 0; }
  .process-step.reveal { display: flex; } /* show all steps */

  .case-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-links { gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .hero-actions { gap: 12px; }
  .btn-ghost { padding: 12px 20px; }
  .btn-primary { padding: 13px 24px; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Small Mobile (max 480px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .section-title { font-size: 1.75rem; }
  .case-big-num { font-size: 2.5rem; }
  .cta-box-inner { padding: 36px 24px; }
  .contact-social { flex-direction: column; }
}

/* ─── Accessibility ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
