/* ============================================================
   RESET & VARIABLES
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; overflow-x: hidden; overscroll-behavior-x: none; }
body { background: #0d0d0d; color: #f4f4f2; overflow-x: hidden; overscroll-behavior-x: none; max-width: 100vw; touch-action: pan-y; font-family: 'Barlow', sans-serif; }

:root {
  --bg-dark:      #0d0d0d;
  --bg-light:     #f2f0ed;
  --orange:       #EE6633;
  --orange-dark:  #c4471a;
  --grey:         #6b7280;
  --grey-light:   #9ca3af;
  --text-light:   #f2f0ed;
  --text-dark:    #111111;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Barlow', sans-serif;
}

/* ============================================================
   LOADER
   ============================================================ */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0;
}
.loader-brand {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.25em;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}
.loader-bar-wrap {
  width: min(240px, 60vw); height: 1px;
  background: #2a2a2a; position: relative; overflow: hidden;
}
#loader-bar {
  position: absolute; left: 0; top: 0;
  height: 100%; width: 0%;
  background: var(--orange);
  transition: width 0.08s linear;
}
#loader-percent {
  margin-top: 1rem;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grey);
}

/* ============================================================
   FIXED HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.5rem 3.5rem;
  transition: background 0.4s ease, padding 0.4s ease;
}
.site-header.scrolled {
  background: rgba(13, 13, 13, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 3.5rem;
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.header-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; letter-spacing: 0.18em;
  color: var(--text-light); text-decoration: none;
}
.header-nav { display: flex; gap: 2.5rem; align-items: center; }
.header-nav a {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-light); text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.2s, color 0.2s;
}
.header-nav a:hover { opacity: 1; color: var(--orange); }

/* ============================================================
   HERO
   ============================================================ */
.hero-standalone {
  position: relative; height: 100vh;
  background: var(--bg-dark);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; z-index: 10;
}
.hero-content { text-align: center; position: relative; z-index: 2; padding-bottom: 3rem; margin-top: 2rem; }

.hero-eyebrow {
  display: block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1.25rem;
  opacity: 0; position: relative; top: -1rem;
}
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 12rem);
  line-height: 0.87; letter-spacing: 0.03em;
  color: var(--text-light);
  display: flex; flex-direction: column; align-items: center;
}
.hero-word { display: block; opacity: 0; transform: translateY(50px); }
.hero-word:last-child {
  -webkit-text-stroke: 2px var(--text-light);
  color: transparent;
}
.hero-tagline {
  margin-top: 2rem;
  font-size: clamp(0.85rem, 1.6vw, 1.4rem);
  font-weight: 300; font-style: italic;
  letter-spacing: 0.2em;
  color: var(--grey-light);
  opacity: 0; position: relative; top: -2rem;
}

/* Hero stats strip */
.hero-stats-strip {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex;
  border-top: 1px solid var(--orange);
  opacity: 0;
}
.hero-stat-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 1rem 0 1.1rem;
  gap: 0.2rem;
}
.hero-stat-item + .hero-stat-item {
  border-left: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1; color: var(--text-light);
  letter-spacing: 0.02em;
}
.hero-stat-suf {
  color: var(--orange);
  font-size: 0.72em;
}
.hero-stat-label {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grey);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 5.8rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0;
}
.scroll-label {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--grey);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* Hero diagonal accent lines */
.hero-standalone::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, transparent 40%, rgba(238,102,51,0.04) 40%, rgba(238,102,51,0.04) 60%, transparent 60%);
  pointer-events: none;
}

/* ============================================================
   CANVAS
   ============================================================ */
.canvas-wrap {
  position: fixed; inset: 0; z-index: 1;
  clip-path: circle(0% at 50% 50%);
  pointer-events: none;
}
#canvas { display: block; width: 100%; height: 100%; }

/* ============================================================
   DARK OVERLAY
   ============================================================ */
#dark-overlay {
  position: fixed; inset: 0; z-index: 2;
  background: var(--bg-dark); opacity: 0; pointer-events: none;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap {
  position: fixed; bottom: 6vh; left: 0; width: 100%;
  z-index: 5; overflow: hidden; pointer-events: none;
  opacity: 0; white-space: nowrap;
}
.marquee-text {
  display: inline-block; white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(6rem, 13vw, 13rem);
  line-height: 1; color: var(--orange); opacity: 0.12;
  letter-spacing: 0.02em;
}

/* ============================================================
   SCROLL CONTAINER
   ============================================================ */
#scroll-container {
  position: relative; height: 6300px; z-index: 3; /* JS overrides this via lockScrollHeight() */
}

/* ============================================================
   SCROLL SECTIONS (base)
   ============================================================ */
.scroll-section {
  position: absolute; left: 0; right: 0;
  display: flex; align-items: center;
  min-height: 100vh;
}

/* Side alignment — text in outer 40%, canvas in center */
.align-left  { padding: 0 55vw 0 5vw; justify-content: flex-start; }
.align-right { padding: 0 5vw 0 55vw; justify-content: flex-end; }
.align-left  .section-inner,
.align-right .section-inner { max-width: 36vw; }

/* ============================================================
   SECTION TYPOGRAPHY
   ============================================================ */
.section-label {
  display: block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.75);
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  line-height: 0.92; color: var(--text-light);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.85);
}
.section-body {
  font-size: 1rem; font-weight: 500; line-height: 1.75;
  color: #e0e0e0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.75);
}

/* ============================================================
   INTRO STATEMENT
   ============================================================ */
.section-intro {
  justify-content: center; padding: 0 6vw;
}
.intro-inner {
  text-align: center;
}
.intro-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.9; letter-spacing: 0.02em;
  color: var(--text-light);
  text-shadow: 0 4px 24px rgba(0,0,0,0.95);
  margin-bottom: 1.5rem;
}
.intro-accent {
  color: var(--orange);
}
.intro-sub {
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  font-weight: 600; line-height: 1.7;
  color: #ffffff;
  max-width: 46ch; margin: 0 auto;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 0 rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,1), 0 4px 32px rgba(0,0,0,0.9);
}

/* ============================================================
   PROCESS LIST
   ============================================================ */
.process-list {
  list-style: none; display: flex; flex-direction: column; gap: 1.25rem;
  margin-top: 0.25rem;
}
.process-list li {
  display: flex; align-items: baseline; gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.process-list li:last-child { border-bottom: none; padding-bottom: 0; }
.process-num {
  font-family: var(--font-display);
  font-size: 2.2rem; line-height: 1;
  color: var(--orange); min-width: 3.2rem; flex-shrink: 0;
}
.process-text {
  font-size: 0.95rem; font-weight: 400; line-height: 1.5; color: #e8e8e8;
  text-shadow: 0 1px 6px rgba(0,0,0,0.75);
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.section-stats {
  justify-content: center; padding: 0 5vw;
}
.stats-grid {
  display: flex; gap: 0; align-items: stretch;
  justify-content: center;
}
.stat {
  text-align: center; padding: 0 5vw;
}
.stat-divider {
  border-left: 1px solid rgba(255,255,255,0.15);
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-top {
  display: flex; align-items: baseline; justify-content: center;
  gap: 0.2rem;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 9vw, 9rem);
  line-height: 1; color: var(--orange);
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1; color: var(--orange); opacity: 0.7;
}
.stat-label {
  display: block; margin-top: 0.6rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #d0d0d0;
}

/* ============================================================
   SECTION LINK BUTTON — ghost style, used in scroll sections
   ============================================================ */
.section-btn {
  display: inline-block;
  margin-top: 1.75rem;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.9rem 2.25rem;
  background: var(--orange);
  border: 1px solid var(--orange);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(238,102,51,0.35);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.section-btn:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  box-shadow: 0 6px 28px rgba(238,102,51,0.5);
  transform: translateY(-2px);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.section-cta { justify-content: center; padding: 0 5vw; }
.cta-inner { text-align: center; }
.cta-label { color: var(--orange); }
.cta-heading { font-size: clamp(3.5rem, 8vw, 8rem); margin-bottom: 1.25rem; }
.cta-body {
  color: #c0c0c0; max-width: 36ch; margin: 0 auto 2.5rem;
  font-size: 1.05rem; line-height: 1.7;
}
.cta-button {
  display: inline-block;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 1.1rem 3.5rem;
  background: var(--orange); color: #fff;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 0 0 rgba(238,102,51,0.4);
}
.cta-button:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(238,102,51,0.3);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 4;
  background: #080808;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 3.5rem;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #444444;
  border-top: 1px solid #1a1a1a;
}

/* ============================================================
   INTAKE FORM — scroll section
   ============================================================ */
.section-intake {
  justify-content: center; padding: 0 5vw;
  align-items: center;
}
.intake-panel {
  width: min(700px, 90vw);
  background: rgba(8, 8, 8, 0.92);
  border: 1px solid #222;
  padding: 2.5rem 3rem;
}
.intake-panel-header { margin-bottom: 1.75rem; }
.intake-heading {
  font-size: clamp(2rem, 3.5vw, 3.2rem) !important;
  margin-bottom: 0 !important; line-height: 0.92 !important;
}

/* Form layout */
.intake-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; gap: 1rem; }
.form-row--2 .form-field { flex: 1; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }

label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #888888;
}
.req { color: var(--orange); }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  background: #1a1a1a; border: 1px solid #2a2a2a;
  color: var(--text-light);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 400;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none; -webkit-appearance: none;
}
input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder { color: #444444; }
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus { border-color: var(--orange); }

textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

/* Select */
.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: '↓'; position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem; color: var(--orange); pointer-events: none;
}
select {
  width: 100%;
  background: #1a1a1a; border: 1px solid #2a2a2a;
  color: var(--text-light);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 400;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  outline: none; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  transition: border-color 0.2s ease;
}
select:focus { border-color: var(--orange); }
select option { background: #1a1a1a; color: var(--text-light); }

/* Budget radio options */
.form-row--budget .form-field { flex: 1; }
.budget-options { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.2rem; }
.budget-opt {
  display: flex; align-items: center; cursor: pointer;
  text-transform: none; letter-spacing: 0; font-size: 1rem;
}
.budget-opt input[type="radio"] { display: none; }
.budget-opt span {
  display: inline-block;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.55rem 1rem;
  border: 1px solid #2a2a2a; color: #888888;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.budget-opt input[type="radio"]:checked + span {
  border-color: var(--orange); color: var(--orange);
  background: rgba(238,102,51,0.08);
}
.budget-opt:hover span { border-color: #444; color: #ccc; }

/* Submit */
.form-submit { margin-top: 0.5rem; }
.submit-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--orange); border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; padding: 1.1rem 3rem;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 0 0 0 rgba(238,102,51,0.3);
}
.submit-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(238,102,51,0.25);
}
.submit-arrow { font-size: 1.1rem; transition: transform 0.2s; }
.submit-btn:hover .submit-arrow { transform: translateX(4px); }

/* Success state */
.form-success {
  display: none; text-align: center;
  padding: 4rem 2rem;
}
.form-success.visible { display: block; }
.success-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem;
  border: 2px solid var(--orange); border-radius: 50%;
  font-size: 1.5rem; color: var(--orange);
  margin-bottom: 1.5rem;
}
.success-heading {
  font-family: var(--font-display);
  font-size: 2.5rem; color: var(--text-light); margin-bottom: 0.75rem;
}
.success-body { font-size: 0.95rem; color: #777777; line-height: 1.65; }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .site-header { padding: 1.25rem 1.5rem; }
  .site-header.scrolled { padding: 0.85rem 1.5rem; }
  .header-nav { display: none; }

  .hero-heading { font-size: clamp(7rem, 30vw, 13rem); }

  .hero-stats-strip { padding: 0; }
  .hero-stat-item { padding: 0.75rem 0 0.85rem; }
  .hero-stat-num { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .hero-stat-label { font-size: 0.52rem; letter-spacing: 0.15em; }

  .scroll-indicator { bottom: 5.2rem; }

  .align-left, .align-right {
    padding: 4rem 1.5rem;
    justify-content: center;
  }
  .align-left .section-inner,
  .align-right .section-inner {
    max-width: 100%;
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.75rem 1.5rem;
    border-left: 2px solid var(--orange);
  }

  /* Intro statement backdrop */
  .intro-inner {
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.75rem;
  }

  /* Stronger text shadows on mobile */
  .section-label  { text-shadow: 0 1px 8px rgba(0,0,0,0.9); }
  .section-heading { font-size: clamp(2.5rem, 9vw, 4rem); text-shadow: 0 2px 16px rgba(0,0,0,0.95); }
  .section-body   { color: #f0f0f0; text-shadow: 0 1px 8px rgba(0,0,0,0.9); }
  .intro-heading  { text-shadow: 0 4px 24px rgba(0,0,0,1); }
  .intro-sub      { color: #ffffff; }

  .stats-grid { flex-direction: column; gap: 2.5rem; }
  .stat-divider { border: none; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.12); }

  .marquee-text { font-size: 20vw; }

  #scroll-container { height: 6300px; } /* JS overrides via lockScrollHeight() */

  .site-footer { flex-direction: column; gap: 0.5rem; padding: 1.25rem; text-align: center; }

  .form-row { flex-direction: column; }
  .budget-options { gap: 0.4rem; }
  .intake-panel { padding: 0.85rem 1rem; }
  .intake-panel-header { margin-bottom: 0.75rem; }
  .intake-form { gap: 0.4rem; }
  .section-intake { padding: 0 1rem; align-items: flex-start; padding-top: 4rem; padding-bottom: 3rem; min-height: auto; }
  textarea { min-height: 60px; }
  input[type="text"], input[type="email"], input[type="tel"] { padding: 0.6rem 0.85rem; }
  select { padding: 0.6rem 2.25rem 0.6rem 0.85rem; }
  .form-submit { margin-top: 0.2rem; }
  label { font-size: 0.65rem; }
}

/* ============================================================
   SUB-PAGES — about / services / contact
   ============================================================ */

/* Page hero */
.page-hero {
  position: relative;
  padding: 10rem 3.5rem 5rem;
  border-bottom: 1px solid #1a1a1a;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(238,102,51,0.03) 40%, rgba(238,102,51,0.03) 60%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero-eyebrow {
  display: block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1.5rem;
}
.page-hero-heading {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.88; color: var(--text-light);
  letter-spacing: 0.02em;
}
.page-hero-heading .ph-accent { color: var(--orange); }
.page-hero-sub {
  margin-top: 1.75rem;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 300; color: #888;
  max-width: 50ch; line-height: 1.75;
}

/* Content sections */
.page-section {
  border-bottom: 1px solid #1a1a1a;
  padding: 5rem 3.5rem;
}
.page-section-inner { max-width: 1200px; margin: 0 auto; }
.ps-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 5rem;
  align-items: start;
}
.ps-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  color: var(--text-light);
  line-height: 0.92; margin-bottom: 1.25rem;
}
.ps-body {
  font-size: 1rem; font-weight: 400;
  line-height: 1.8; color: #aaa;
  max-width: 58ch;
}
.ps-body + .ps-body { margin-top: 1rem; }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.value-item { border-top: 2px solid var(--orange); padding-top: 1.25rem; }
.value-name {
  font-family: var(--font-display);
  font-size: 1.9rem; color: var(--text-light);
  margin-bottom: 0.5rem;
}
.value-desc { font-size: 0.88rem; line-height: 1.65; color: #666; }

/* Stats strip (page variant) */
.page-stats {
  display: flex;
  border-top: 1px solid var(--orange);
  border-bottom: 1px solid #1a1a1a;
}
.page-stat-item {
  flex: 1; text-align: center;
  padding: 2.5rem 1rem;
  border-right: 1px solid #1a1a1a;
}
.page-stat-item:last-child { border-right: none; }
.page-stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1; color: var(--orange);
}
.page-stat-suf { color: var(--orange); font-size: 0.7em; }
.page-stat-lbl {
  display: block; margin-top: 0.4rem;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grey);
}

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: #1a1a1a;
  margin-top: 3rem;
}
.service-card {
  background: var(--bg-dark);
  padding: 2.75rem;
  transition: background 0.3s;
}
.service-card:hover { background: #111; }
.service-num {
  font-family: var(--font-display);
  font-size: 3.5rem; line-height: 1;
  color: var(--orange); opacity: 0.3;
  margin-bottom: 1rem; display: block;
}
.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--text-light); line-height: 0.95;
  margin-bottom: 1rem;
}
.service-desc { font-size: 0.95rem; line-height: 1.75; color: #888; }
.service-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.5rem;
}
.service-tag {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border: 1px solid #2a2a2a; color: #555;
}

/* Contact info */
.contact-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 6rem;
  align-items: start;
}
.contact-info-list { display: flex; flex-direction: column; gap: 2.5rem; }
.contact-item-label {
  display: block;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 0.4rem;
}
.contact-item-value {
  font-size: 1rem; line-height: 1.65;
  color: var(--text-light);
}
.contact-item-value a {
  color: var(--text-light); text-decoration: none;
  transition: color 0.2s;
}
.contact-item-value a:hover { color: var(--orange); }

/* Page-level CTA strip */
.page-cta {
  padding: 4rem 3.5rem;
  background: var(--orange);
}
.page-cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.page-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  color: #fff; line-height: 0.92;
}
.page-cta-btn {
  display: inline-block;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 1.1rem 3rem;
  background: #fff; color: var(--orange);
  text-decoration: none; flex-shrink: 0;
  transition: background 0.25s, color 0.25s;
}
.page-cta-btn:hover { background: var(--bg-dark); color: #fff; }

/* Sub-page nav active state */
.header-nav a.nav-active { opacity: 1; color: var(--orange); }

/* Mobile — sub-pages */
@media (max-width: 768px) {
  .page-hero { padding: 8rem 1.5rem 3rem; }
  .page-section { padding: 3rem 1.5rem; }
  .ps-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .page-cta { padding: 2.5rem 1.5rem; }
  .page-cta-inner { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .page-stats { flex-direction: column; }
  .page-stat-item { border-right: none; border-bottom: 1px solid #1a1a1a; }
  .page-stat-item:last-child { border-bottom: none; }
}

/* ============================================================
   CHATBOT
   ============================================================ */
#chatbot-wrap {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

/* Toggle button */
#chatbot-toggle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--orange);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(238,102,51,0.45);
  transition: transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}
#chatbot-toggle:hover { transform: scale(1.08); background: var(--orange-dark); }
#chatbot-toggle svg { width: 22px; height: 22px; fill: #fff; }

/* Panel */
#chatbot-panel {
  width: 360px;
  max-height: 520px;
  background: #111;
  border: 1px solid #252525;
  border-top: 3px solid var(--orange);
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,0.75);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
#chatbot-panel.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

/* Header */
.chatbot-header {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid #1e1e1e;
  flex-shrink: 0;
}
.chatbot-avatar {
  width: 34px; height: 34px;
  background: var(--orange); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem; color: #fff; letter-spacing: 0.04em;
  flex-shrink: 0;
}
.chatbot-title-wrap { flex: 1; display: flex; flex-direction: column; gap: 0.05rem; }
.chatbot-name {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light);
}
.chatbot-status { font-size: 0.62rem; color: #4ade80; letter-spacing: 0.06em; }
#chatbot-close {
  background: none; border: none; cursor: pointer;
  color: #555; font-size: 1.25rem; line-height: 1;
  padding: 0.2rem 0.3rem;
  transition: color 0.15s;
}
#chatbot-close:hover { color: var(--text-light); }

/* Messages */
#chatbot-messages {
  flex: 1; overflow-y: auto;
  padding: 1.1rem; display: flex; flex-direction: column;
  gap: 0.85rem; scroll-behavior: smooth;
}
#chatbot-messages::-webkit-scrollbar { width: 3px; }
#chatbot-messages::-webkit-scrollbar-track { background: #111; }
#chatbot-messages::-webkit-scrollbar-thumb { background: #2e2e2e; }

.msg-row { display: flex; align-items: flex-end; gap: 0.5rem; }
.msg-row.user { flex-direction: row-reverse; }

.msg-bot-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.58rem; color: #fff; flex-shrink: 0;
}

.msg-bubble {
  max-width: 78%;
  padding: 0.65rem 0.9rem;
  font-size: 0.83rem; line-height: 1.55;
}
.msg-row.bot .msg-bubble {
  background: #1a1a1a; border: 1px solid #2a2a2a;
  color: #e0e0e0; border-radius: 0 10px 10px 10px;
}
.msg-row.user .msg-bubble {
  background: var(--orange); color: #fff;
  border-radius: 10px 0 10px 10px;
}

/* Typing indicator */
.typing-bubble {
  display: flex !important; gap: 5px;
  align-items: center; padding: 0.7rem 0.9rem !important;
}
.typing-bubble span {
  width: 6px; height: 6px;
  background: #555; border-radius: 50%;
  animation: typingDot 1.1s infinite ease-in-out;
}
.typing-bubble span:nth-child(2) { animation-delay: 0.18s; }
.typing-bubble span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

/* Quick replies */
.msg-quick-replies {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  padding: 0.1rem 0 0 2rem;
}
.qr-btn {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--orange);
  color: var(--orange); background: transparent;
  cursor: pointer; font-family: var(--font-body);
  transition: background 0.17s, color 0.17s;
}
.qr-btn:hover { background: var(--orange); color: #fff; }
.qr-btn:disabled { opacity: 0.3; cursor: default; pointer-events: none; }

/* Input */
.chatbot-input-wrap {
  display: flex; border-top: 1px solid #1e1e1e; flex-shrink: 0;
}
#chatbot-input {
  flex: 1; background: transparent; border: none;
  color: var(--text-light); font-family: var(--font-body);
  font-size: 0.85rem; padding: 0.85rem 1rem; outline: none;
}
#chatbot-input::placeholder { color: #3a3a3a; }
#chatbot-send {
  padding: 0 1.1rem; background: transparent;
  border: none; border-left: 1px solid #1e1e1e;
  color: var(--orange); font-size: 1.2rem;
  cursor: pointer; transition: background 0.17s;
}
#chatbot-send:hover { background: #1a1a1a; }

/* Mobile */
@media (max-width: 768px) {
  #chatbot-wrap { bottom: 1.25rem; right: 1.25rem; }
  #chatbot-panel { width: calc(100vw - 2.5rem); max-height: 65vh; }
}
