/* ============================================
   FLOORING HUB - Premium Flooring Site
   Palette: Charcoal / Silver / White
   Typography: Cormorant Garamond (serif)
   ============================================ */

:root {
  --charcoal: #1C1C1E;
  --charcoal-light: #2C2C2E;
  --charcoal-mid: #3A3A3C;
  --silver: #8E8E93;
  --silver-light: #C7C7CC;
  --off-white: #F2F2F7;
  --white: #FFFFFF;
  --accent: #A89060;
  --accent-light: #C4AA76;
  --accent-dark: #8C7648;
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  /* --font-body was Source Serif 4; retired to cut a font family. Cormorant covers editorial serif needs. */
  --font-body: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ui);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
}

.section-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin-bottom: 44px;
  max-width: 640px;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-block;
  padding: 16px 36px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.35s var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  overflow: hidden;
}

/* Button shimmer sweep on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 80%
  );
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left 0.6s var(--transition);
}

.btn:hover::after {
  left: 140%;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 144, 96, 0.3);
}

.btn-light {
  background: var(--white);
  color: var(--charcoal);
}

.btn-light:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-top: 12px;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all 0.4s var(--transition);
}

.nav.scrolled {
  background: rgba(28, 28, 30, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* Header mark = the original square tree-ring emblem + CSS-rendered
   wordmark in Cormorant Garamond. The pre-baked "logo-horizontal.webp"
   was a 3:1 banner with the emblem horizontally squashed to fit; using
   icon.png (square) lets the emblem breathe at its true proportions. */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s var(--transition);
}
.nav-logo:hover { opacity: 0.88; }

.logo-mark {
  display: block;
  width: 56px;
  height: 56px;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
  transition: width 0.35s var(--transition), height 0.35s var(--transition);
}

.nav.scrolled .logo-mark {
  width: 44px;
  height: 44px;
}

.logo-wordmark {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--white);
}

.logo-wordmark-primary {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo-wordmark-sub {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  white-space: nowrap;
}

.nav.scrolled .logo-wordmark-primary { font-size: 1.12rem; }
.nav.scrolled .logo-wordmark-sub     { font-size: 0.5rem; margin-top: 3px; }

@media (max-width: 640px) {
  .logo-mark                { width: 42px; height: 42px; }
  .nav.scrolled .logo-mark  { width: 38px; height: 38px; }
  .logo-wordmark-primary    { font-size: 1.08rem; }
  .logo-wordmark-sub        { font-size: 0.48rem; }
  .nav-logo                 { gap: 10px; }
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--white);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--accent) !important;
  color: var(--white) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--accent-light) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO  (editorial 60/40 split)
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--charcoal);
  overflow: hidden;
  padding: 140px 0 100px;
}

/* Ambient gold glow on the left of the charcoal canvas */
.hero-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 18% 30%, rgba(168, 144, 96, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 50% at 85% 85%, rgba(168, 144, 96, 0.07), transparent 60%);
  z-index: 0;
}

.hero-bg-glow::after {
  /* subtle noise/grain layer via svg data uri */
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: overlay;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 72px;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  padding: 10px 18px;
  border: 1px solid rgba(196, 170, 118, 0.28);
  background: rgba(168, 144, 96, 0.05);
  margin-bottom: 36px;
  opacity: 0;
  animation: heroKickerIn 0.9s var(--transition) 0.15s forwards;
}

.hero-kicker-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-light);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(168, 144, 96, 0.22);
  animation: heroDotPulse 2.4s ease-in-out infinite;
}

@keyframes heroKickerIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroDotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(168, 144, 96, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(168, 144, 96, 0.05); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}

.hero-accent {
  color: var(--accent-light);
  font-style: italic;
}

/* Line reveal: mask each line with clip-path, slide inner span up */
.reveal-line {
  display: block;
  overflow: hidden;
  clip-path: inset(-10% 0 -10% 0);
  padding-bottom: 0.08em;
}

.reveal-inner {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
  animation: reveal-line-up 1.05s var(--transition) forwards;
}

.reveal-line:nth-child(1) .reveal-inner { animation-delay: 0.25s; }
.reveal-line:nth-child(2) .reveal-inner { animation-delay: 0.38s; }
.reveal-line:nth-child(3) .reveal-inner { animation-delay: 0.51s; }
.reveal-line:nth-child(4) .reveal-inner { animation-delay: 0.64s; }

@keyframes reveal-line-up {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 42px;
  font-weight: 400;
  line-height: 1.65;
  max-width: 520px;
  opacity: 0;
  animation: heroFadeUp 0.9s var(--transition) 0.85s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 52px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.9s var(--transition) 0.95s forwards;
}

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

/* Hero feature image (right column) */
.hero-feature {
  position: relative;
  opacity: 0;
  animation: heroFeatureIn 1.1s var(--transition) 0.5s forwards;
}

@keyframes heroFeatureIn {
  from { opacity: 0; transform: translateY(32px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-feature-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  box-shadow:
    0 40px 100px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(168, 144, 96, 0.3);
}

.hero-feature-img-wrap {
  position: absolute;
  inset: 14px;
  overflow: hidden;
  background: var(--charcoal-light);
}

.hero-feature-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.6s ease, transform 12s ease;
}

.hero-feature-img.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Gold corner ticks */
.hero-feature-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
}

.hero-feature-corner.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.hero-feature-corner.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.hero-feature-corner.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.hero-feature-corner.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

/* Floating stat chip on bottom-left of image */
.hero-stat-chip {
  position: absolute;
  left: -32px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 26px;
  background: rgba(20, 20, 22, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(168, 144, 96, 0.22);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.hero-stat-label {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(196, 170, 118, 0.8);
  margin-top: 6px;
}

.hero-stat-divider {
  width: 1px;
  height: 26px;
  background: rgba(168, 144, 96, 0.28);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.35s var(--transition);
}

.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.9s var(--transition) 1.05s forwards;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-item--link {
  transition: color 180ms var(--transition);
  cursor: pointer;
}

.trust-item--link:hover,
.trust-item--link:focus-visible {
  color: var(--accent-light);
}

.trust-star-svg {
  width: 88px;
  height: 14px;
  fill: var(--accent-light);
  display: block;
}

.trust-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 0;
}

/* ============================================
   TRUST LOGO BAR
   ============================================ */
.trust-bar {
  background: var(--white);
  padding: 32px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.trust-bar-label {
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 24px;
}

.trust-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.trust-marquee::before,
.trust-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.trust-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--white) 0%, transparent 100%);
}

.trust-marquee::after {
  right: 0;
  background: linear-gradient(90deg, transparent 0%, var(--white) 100%);
}

.trust-track {
  display: flex;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.trust-set {
  display: flex;
  gap: 56px;
  /* Right padding equals the gap so the visual spacing between set-1 last
     item and set-2 first item matches the internal gap -- no seam on loop. */
  padding-right: 56px;
  flex-shrink: 0;
}

.trust-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.trust-logo-item:hover {
  opacity: 0.8;
}

.tl-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.06em;
}

.tl-sub {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
}

@keyframes marqueeScroll {
  /* Track has 4 identical sets in a row; shifting -25% lands the 2nd set
     exactly where the 1st started, so the infinite loop is seamless even
     on ultra-wide viewports where 2 sets weren't wider than the window. */
  0% { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none; }
}

/* Why Choose */
.why-choose {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-card {
  padding: 32px 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s var(--transition);
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  color: var(--accent);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--silver);
  line-height: 1.65;
}

/* Services */
.services {
  background: var(--off-white);
  padding-bottom: 80px;
}

.services .container {
  margin-bottom: 0;
}

/* Hero service - full bleed */
.service-hero {
  position: relative;
  height: 420px;
  margin: 0 0 48px;
  overflow: hidden;
}

.service-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease-out;
}

.service-hero-bg-hardwood {
  /* Signature hero: Cary sand-and-refinish after shot (red-brown, finished) */
  background-image: image-set(
    url('assets/refinish-cary.webp') type('image/webp')
  );
}

.service-feature-bg-lvp {
  /* Real install: warm-grain LVP */
  background-image: image-set(
    url('assets/lvp-warm.webp') type('image/webp')
  );
}

.service-feature-bg-laminate {
  /* Finished white laminate tile install. Previous image was the prep/dehumidifier
     stage of the same job, which read as confusing on a marketing card. */
  background-image: image-set(
    url('assets/laminate-after.webp') type('image/webp'),
    url('assets/laminate-after.jpg') type('image/jpeg')
  );
}

.service-card-bg-carpet {
  background-image: image-set(
    url('assets/carpet-bedroom.webp') type('image/webp'),
    url('assets/carpet-bedroom.jpg') type('image/jpeg')
  );
}

.service-card-bg-leveling {
  background-image: image-set(
    url('assets/refinish-during.webp') type('image/webp'),
    url('assets/refinish-during.jpg') type('image/jpeg')
  );
}

.service-card-bg-trim {
  background-image: image-set(
    url('assets/stairs-after.webp') type('image/webp'),
    url('assets/stairs-after.jpg') type('image/jpeg')
  );
}

.service-hero:hover .service-hero-img {
  transform: scale(1.04);
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28,28,30,0.88) 0%, rgba(28,28,30,0.5) 50%, transparent 100%);
}

.service-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 64px;
  max-width: 560px;
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.service-hero-content h3 {
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 16px;
}

.service-hero-content p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 28px;
}

.btn-outline-light {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.35s var(--transition);
  width: fit-content;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

/* 2-up feature row */
.service-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.service-feature {
  background: var(--white);
  overflow: hidden;
  transition: all 0.5s var(--transition);
}

.service-feature:hover {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.service-feature-img {
  height: 260px;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--transition);
}

.service-feature:hover .service-feature-img {
  transform: scale(1.05);
}

.service-feature-body {
  padding: 32px 28px;
}

.service-feature-body h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.service-feature-body p {
  font-size: 0.9rem;
  color: var(--silver);
  line-height: 1.7;
}

/* 3-up cards */
.service-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card-v2 {
  background: var(--white);
  overflow: hidden;
  transition: all 0.4s var(--transition);
}

.service-card-v2:hover {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.service-card-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--transition);
}

.service-card-v2:hover .service-card-img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 28px 24px;
}

.service-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.service-card-body p {
  font-size: 0.88rem;
  color: var(--silver);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .service-hero { height: 400px; }
  .service-hero-content { padding: 0 24px; }
  .service-hero-content h3 { font-size: 1.8rem; }
  .service-duo { grid-template-columns: 1fr; }
  .service-trio { grid-template-columns: 1fr; }
  .service-feature-img { height: 240px; }
}

/* ============================================
   PROOF / BEFORE-AFTER SLIDER
   ============================================ */
.proof {
  background: var(--white);
  position: relative;
}

.ba-stage {
  margin-top: 20px;
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--charcoal);
  user-select: none;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  cursor: ew-resize;
  touch-action: none;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
  will-change: clip-path;
  transition: clip-path 0.05s linear;
}

.ba-handle {
  position: absolute;
  top: 0;
  left: var(--ba-pos);
  width: 3px;
  height: 100%;
  background: transparent;
  border: none;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 3;
  will-change: left;
}

.ba-handle:focus { outline: none; }

.ba-handle-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
}

.ba-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(255, 255, 255, 0.18);
  transition: transform 0.3s var(--transition);
}

.ba-handle-knob svg {
  width: 22px;
  height: 22px;
}

.ba-handle:hover .ba-handle-knob,
.ba-handle:focus-visible .ba-handle-knob {
  transform: translate(-50%, -50%) scale(1.08);
}

.ba-label {
  position: absolute;
  top: 20px;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  padding: 8px 14px;
  background: rgba(20, 20, 22, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  z-index: 2;
}

.ba-label-before { left: 20px; }
.ba-label-after { right: 20px; color: var(--accent-light); border-color: rgba(196, 170, 118, 0.4); }

/* Tabs */
.ba-tabs {
  display: flex;
  gap: 2px;
  margin-top: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.ba-tab {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  font-family: var(--font-ui);
  color: var(--charcoal-mid);
  cursor: pointer;
  transition: background 0.35s var(--transition), color 0.35s var(--transition);
  text-align: left;
  position: relative;
}

.ba-tab:last-child { border-right: none; }

.ba-tab:hover {
  background: var(--off-white);
  color: var(--charcoal);
}

.ba-tab.is-active {
  background: var(--charcoal);
  color: var(--white);
}

.ba-tab.is-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.ba-tab-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.ba-tab-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ba-caption {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 18px;
  text-align: center;
}

@media (max-width: 768px) {
  .ba-slider { aspect-ratio: 4 / 3; }
  .ba-handle-knob { width: 44px; height: 44px; }
  .ba-tabs { flex-direction: column; }
  .ba-tab { border-right: none; border-bottom: 1px solid rgba(0, 0, 0, 0.06); padding: 16px 20px; }
  .ba-tab:last-child { border-bottom: none; }
  .ba-tab.is-active::before { top: 0; bottom: 0; right: auto; width: 2px; height: auto; }
  .ba-label { font-size: 0.58rem; padding: 6px 10px; top: 12px; }
  .ba-label-before { left: 12px; }
  .ba-label-after { right: 12px; }
}

/* ============================================
   GALLERY  (bento + filter)
   ============================================ */
.gallery {
  background: var(--off-white);
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.g-pill {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s var(--transition);
}

.g-pill:hover {
  color: var(--charcoal);
  border-color: rgba(0, 0, 0, 0.25);
  background: var(--white);
}

.g-pill.is-active {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

/* Bento grid: 4 cols x asymmetric rows */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}

.g-tile {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  margin: 0;
  cursor: pointer;
  transition: opacity 0.45s var(--transition), transform 0.45s var(--transition), filter 0.45s var(--transition);
  grid-column: span 1;
  grid-row: span 1;
}

.g-tile--hero {
  grid-column: span 2;
  grid-row: span 2;
}

.g-tile--wide {
  grid-column: span 2;
  grid-row: span 1;
}

.g-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--transition);
  will-change: transform;
}

.g-tile:hover img {
  transform: scale(1.08);
}

.g-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 22, 0.88) 0%, rgba(20, 20, 22, 0.2) 50%, transparent 80%);
  opacity: 0;
  transition: opacity 0.45s var(--transition);
  z-index: 1;
}

.g-tile:hover::before {
  opacity: 1;
}

.g-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(14px);
  opacity: 0;
  transition: opacity 0.45s var(--transition), transform 0.45s var(--transition);
  pointer-events: none;
}

.g-tile:hover .g-caption {
  opacity: 1;
  transform: translateY(0);
}

.g-cat {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.g-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.g-meta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Tile hidden (non-matching filter) */
.g-tile.is-dim {
  opacity: 0.18;
  transform: scale(0.96);
  filter: grayscale(1);
  pointer-events: none;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .g-tile--hero { grid-column: span 2; grid-row: span 2; }
  .g-tile--wide { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 540px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    gap: 10px;
  }
  .g-tile--hero,
  .g-tile--wide { grid-column: span 1; grid-row: span 1; }
  .g-caption { opacity: 1; transform: none; }
  .g-tile::before { opacity: 0.85; }
}

/* About */
.about {
  background: var(--white);
}

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

.about-image {
  background: var(--charcoal);
  overflow: hidden;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 15%;
  transform: scale(1.3);
  transform-origin: center 25%;
}

.about-text .section-headline {
  margin-bottom: 24px;
}

.about-badges {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
}

.about-badge {
  height: 48px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.about-badge-light {
  filter: invert(1);
  opacity: 0.3;
}

.about-badge:hover {
  opacity: 1;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--silver);
  margin-bottom: 20px;
  line-height: 1.75;
}

.about-stats {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--silver);
  margin-top: 6px;
  letter-spacing: 0.05em;
}

/* About Role */
.about-role {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin-bottom: 20px !important;
}


/* CTA Banner */
.cta-banner {
  background: var(--accent);
  padding: 56px 0;
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  font-size: 1rem;
}

/* ============================================
   JOBBER LEAD CAPTURE
   ============================================ */
.lead-capture {
  background: var(--white);
}

.lead-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.jobber-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(122, 193, 67, 0.08);
  border: 1px solid rgba(122, 193, 67, 0.2);
  margin-bottom: 24px;
}

.jobber-logo {
  height: 20px;
  width: auto;
}

.badge-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a9a2f;
}

.lead-info .section-headline {
  margin-bottom: 20px;
}

.lead-info > p {
  font-size: 0.95rem;
  color: var(--silver);
  line-height: 1.75;
  margin-bottom: 32px;
}

.lead-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--charcoal-mid);
}

.lead-feature svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #7AC143;
}

/* Form */
.lead-form-wrap {
  position: sticky;
  top: 100px;
}

.thank-you-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.thank-you-wrap h1 {
  color: var(--charcoal);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-bottom: 14px;
}

.thank-you-wrap p {
  color: var(--silver);
  margin-bottom: 28px;
  max-width: 620px;
  line-height: 1.7;
}

.thank-you-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.thank-you-note {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.thank-you-note p {
  font-size: 0.88rem;
  margin-bottom: 0;
  color: var(--charcoal-mid);
}


.lead-form {
  background: var(--off-white);
  padding: 40px 36px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.lead-form h3 {
  font-size: 1.4rem;
  margin-bottom: 28px;
  color: var(--charcoal);
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  margin-bottom: 8px;
}

.form-group .optional {
  font-weight: 400;
  text-transform: none;
  color: var(--silver);
  letter-spacing: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #b00020;
  box-shadow: 0 0 0 3px rgba(176, 0, 32, 0.12);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 144, 96, 0.12);
}

.honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-feedback {
  margin-top: 10px;
  padding: 10px 0;
  font-size: 0.86rem;
  min-height: 1.4em;
  color: var(--charcoal-mid);
}

.form-feedback.is-error {
  color: #b00020;
}

.form-feedback.is-success {
  color: #146c43;
}

.field-error {
  display: block;
  margin-top: 6px;
  color: #b00020;
  font-size: 0.75rem;
}

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

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
  font-size: 0.9rem;
  padding: 16px;
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--silver);
  margin-top: 14px;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}

.form-success h3 {
  font-size: 1.6rem;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--silver);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .lead-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lead-form-wrap {
    position: static;
  }

  .lead-form {
    padding: 28px 20px;
  }

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

/* Testimonials carousel (infinite, jewel-tone, parallaxing) */
.testimonials {
  background: var(--charcoal);
  color: var(--white);
  padding-top: 72px;
  padding-bottom: 72px;
  overflow: hidden;
  position: relative;
}

.testimonials::before {
  /* Ambient warm radial wash behind the cards for depth */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 500px at 15% 20%, rgba(168, 144, 96, 0.10), transparent 60%),
    radial-gradient(900px 400px at 85% 85%, rgba(120, 60, 50, 0.12), transparent 60%);
  pointer-events: none;
}

.testimonials-intro {
  position: relative;
  z-index: 1;
}

.testimonials .section-label { color: var(--accent-light); }
.testimonials .section-headline { color: var(--white); }

.t-carousel {
  position: relative;
  margin-top: 36px;
  padding: 20px 0 8px;
  /* Soft edge fade so cards enter/exit visually instead of hard-clipping */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

.t-track {
  display: flex;
  width: max-content;
  padding: 22px 0;
  animation: tMarquee 88s linear infinite;
  will-change: transform;
}

.t-set {
  display: flex;
  gap: 24px;
  /* padding-right == gap so the set-to-set boundary matches internal gap;
     translateX(-50%) then lands seamlessly on the start of the duplicate. */
  padding-right: 24px;
  flex-shrink: 0;
}

.t-carousel:hover .t-track,
.t-carousel:focus-within .t-track {
  animation-play-state: paused;
}

@keyframes tMarquee {
  /* Track has 4 identical sets; -25% translate lands set 2 where set 1
     started, so the loop is seamless on any viewport width. */
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-25%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .t-track { animation: none; }
}

.t-card {
  flex: 0 0 min(340px, 82vw);
  min-height: 258px;
  padding: 26px 26px 20px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  color: #FDF8EE;
  position: relative;
  isolation: isolate;
  box-shadow:
    0 22px 48px -18px rgba(0, 0, 0, 0.55),
    0 3px 10px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.5s var(--transition), box-shadow 0.5s var(--transition);
}

/* Subtle inner highlight + sheen for depth */
.t-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 18% -10%, rgba(255, 255, 255, 0.22), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.t-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.18));
  pointer-events: none;
  z-index: 0;
}
.t-card > * { position: relative; z-index: 1; }

/* Parallax-ish vertical stagger so the row reads with rhythm */
.t-card:nth-child(odd)  { transform: translateY(0); }
.t-card:nth-child(even) { transform: translateY(10px); }

.t-card:hover {
  transform: translateY(-6px) scale(1.018);
  box-shadow:
    0 40px 80px -24px rgba(0, 0, 0, 0.65),
    0 8px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.t-card:nth-child(even):hover {
  transform: translateY(8px) scale(1.018);
}

/* Wood-stain jewel tones */
.t-card--mahogany { background: linear-gradient(135deg, #5C1F1A 0%, #8F3A2A 100%); }
.t-card--walnut   { background: linear-gradient(135deg, #2E1F15 0%, #5A3E28 100%); }
.t-card--teal     { background: linear-gradient(135deg, #0F3838 0%, #216363 100%); }
.t-card--amber    { background: linear-gradient(135deg, #6F5014 0%, #B48A2E 100%); }
.t-card--forest   { background: linear-gradient(135deg, #16321F 0%, #2E5C3A 100%); }
.t-card--sienna   { background: linear-gradient(135deg, #6A2D12 0%, #B2561F 100%); }
.t-card--slate    { background: linear-gradient(135deg, #1E2A38 0%, #3E506A 100%); }
.t-card--oxblood  { background: linear-gradient(135deg, #4A1419 0%, #7A2630 100%); }
.t-card--bronze   { background: linear-gradient(135deg, #3A2812 0%, #6E4A1E 100%); }

.t-stars {
  margin-bottom: 14px;
  line-height: 0;
}
.t-stars svg {
  width: 104px;
  height: 16px;
  fill: #F5C66E;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
  display: block;
}

.t-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.94);
  flex: 1;
  margin: 0 0 14px;
}

.t-author {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.t-author-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: #FFFFFF;
}
.t-author-detail {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .t-card {
    min-height: 240px;
    padding: 24px 22px 18px;
  }
  .t-quote { font-size: 0.96rem; }
}

/* Legacy grid rules kept below for any stragglers; no longer used. */
.testimonial-grid {
  display: none;
}

.testimonial-card {
  background: var(--white);
  padding: 36px 28px;
  transition: all 0.4s var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.stars {
  margin-bottom: 20px;
  line-height: 0;
}

.stars-svg {
  width: 108px;
  height: 18px;
  fill: var(--accent);
  display: block;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal-mid);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 16px;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--charcoal);
}

.author-detail {
  font-size: 0.8rem;
  color: var(--silver);
}

/* Exclusives */
.exclusives {
  background: var(--white);
}

.exclusives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.exclusive-card {
  padding: 40px 32px;
  background: var(--off-white);
  border: 1px solid transparent;
  transition: all 0.4s var(--transition);
}

.exclusive-card:hover {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.exclusive-logo-area {
  margin-bottom: 24px;
}

.exclusive-brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.05em;
}

.exclusive-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.exclusive-tagline {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.exclusive-card p:last-child {
  font-size: 0.88rem;
  color: var(--silver);
  line-height: 1.65;
}

/* FAQ */
.faq {
  background: var(--off-white);
}

.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s var(--transition);
  color: var(--silver);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition), padding 0.4s var(--transition);
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding-bottom: 24px;
  font-size: 0.92rem;
  color: var(--silver);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal);
  padding: 56px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-img {
  height: 56px;
  width: auto;
  opacity: 0.7;
  margin-bottom: 12px;
  }

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-contact h3,
.footer-cta h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.contact-item:hover { color: var(--white); }

.contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}

.footer-cta p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.footer-cta .btn {
  display: block;
  width: 100%;
  text-align: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

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

.footer-legal a {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s;
}

.footer-social a:hover { color: var(--white); }

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   HOW IT WORKS / PROCESS
   ============================================ */
.how-it-works {
  background: var(--charcoal);
}

.how-it-works .section-label {
  color: var(--accent-light);
}

.how-it-works .section-headline {
  color: var(--white);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
}

.process-step {
  padding: 32px 24px;
  border-top: 2px solid var(--accent);
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
}

.step-content h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .process-timeline {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SERVICE AREA
   ============================================ */
.service-area {
  background: var(--white);
}

.area-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.area-text p {
  font-size: 0.95rem;
  color: var(--silver);
  margin-bottom: 24px;
  line-height: 1.7;
}

.area-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-bottom: 24px;
}

.area-list li {
  font-size: 0.9rem;
  color: var(--charcoal);
  padding-left: 16px;
  position: relative;
}

.area-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

.area-note {
  font-size: 0.85rem !important;
  color: var(--silver) !important;
  font-style: italic;
}

.area-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-embed {
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.map-embed iframe {
  display: block;
}

/* Triangle service-area key (three vertex cities) */
.area-triangle-key {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 18px 0 22px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--charcoal-mid);
}
.area-key-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}
.area-key-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 144, 96, 0.18);
  display: inline-block;
}
.area-key-dot--nw { background: var(--accent); }
.area-key-dot--e  { background: var(--accent-light); }
.area-key-dot--sw { background: var(--accent-dark); }

/* Custom SVG triangle map */
.triangle-map {
  background: linear-gradient(180deg, #FBF9F3 0%, #F2ECDA 100%);
  border: 1px solid rgba(140, 118, 72, 0.22);
  border-radius: 12px;
  padding: 22px 22px 18px;
  box-shadow:
    0 18px 48px -24px rgba(28, 28, 30, 0.28),
    0 2px 6px rgba(28, 28, 30, 0.05);
}
.triangle-map-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}
.triangle-map-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  overflow: visible;
}
.triangle-map-note {
  margin: 12px 0 0;
  font-size: 0.72rem;
  color: rgba(28, 28, 30, 0.55);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.tm-label {
  font-family: var(--font-ui);
  font-size: 11px;
  fill: var(--charcoal-mid);
  letter-spacing: 0.02em;
  dominant-baseline: middle;
}
.tm-label--strong {
  font-weight: 600;
  fill: var(--charcoal);
  font-size: 12px;
}
.tm-vertex-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  fill: var(--charcoal);
  letter-spacing: 0.02em;
}
.tm-compass-n {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  fill: var(--charcoal);
}

/* Gentle pulse on the three vertex pins */
@keyframes tmPinPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
.tm-vertices > g {
  transform-origin: center;
  transform-box: fill-box;
  animation: tmPinPulse 3.2s var(--transition) infinite;
}
.tm-vertices > g:nth-child(2) { animation-delay: 0.6s; }
.tm-vertices > g:nth-child(3) { animation-delay: 1.2s; }

@media (prefers-reduced-motion: reduce) {
  .tm-vertices > g { animation: none; }
}

@media (max-width: 768px) {
  .area-triangle-key { font-size: 0.78rem; gap: 10px 16px; }
  .triangle-map { padding: 16px 14px 14px; }
  .tm-label { font-size: 10px; }
  .tm-vertex-label { font-size: 12px; }
}

/* ============================================
   MOBILE STICKY CTA
   ============================================ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--charcoal);
  padding: 12px 16px;
  gap: 10px;
  transform: translateY(100%);
  transition: transform 0.4s var(--transition);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.mobile-cta.visible {
  transform: translateY(0);
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  flex: 1;
  text-align: center;
}

.mobile-cta-btn svg {
  width: 18px;
  height: 18px;
}

.mobile-cta-call {
  background: var(--accent);
  color: var(--white);
}

.mobile-cta-email {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .mobile-cta {
    display: flex;
  }

  .footer {
    padding-bottom: 80px;
  }

  .area-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-timeline::before {
    left: 24px;
  }

  .step-number {
    min-width: 48px;
    font-size: 1.6rem;
  }

}

@media (max-width: 480px) {
  .area-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes revealLine {
  from { width: 0; }
  to { width: 60px; }
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

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

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Base scroll reveal */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--transition), transform 0.6s var(--transition);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s var(--transition), transform 0.6s var(--transition);
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.5s var(--transition), transform 0.5s var(--transition);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for grid children */
.stagger-1 { transition-delay: 0.06s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.18s; }
.stagger-4 { transition-delay: 0.24s; }
.stagger-5 { transition-delay: 0.30s; }
.stagger-6 { transition-delay: 0.36s; }

/* Hero-specific delays */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* Section label underline reveal */
.section-label {
  position: relative;
  display: inline-block;
}

.section-label::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--accent);
  margin-top: 8px;
  transition: width 0.6s var(--transition) 0.2s;
}

.section-label.visible::after,
.fade-up.visible .section-label::after {
  width: 60px;
}

/* Parallax hero background */
.hero {
  will-change: transform;
}

/* Stat counter animation */
.stat-num {
  transition: opacity 0.5s, transform 0.5s;
}

.stat-num.counting {
  animation: countUp 0.5s var(--transition) both;
}

/* Testimonial card hover glow */
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(135deg, rgba(168, 144, 96, 0.06), transparent);
  transition: opacity 0.4s;
  pointer-events: none;
}

.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover::before {
  opacity: 1;
}

/* Service card image zoom on scroll-in */
.service-card.visible .service-img {
  animation: scaleFadeIn 0.8s var(--transition) both;
}

/* Exclusive brand shimmer */
.exclusive-brand {
  background: linear-gradient(
    90deg,
    var(--charcoal) 0%,
    var(--charcoal) 40%,
    var(--accent) 50%,
    var(--charcoal) 60%,
    var(--charcoal) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.exclusive-card:hover .exclusive-brand {
  animation: shimmer 2s linear;
}

/* Feature card icon float */
.feature-card:hover .feature-icon {
  animation: float 2s ease-in-out infinite;
}

/* CTA banner pulse ring */
.cta-banner .btn-light {
  position: relative;
}

.cta-banner .btn-light::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  opacity: 0;
  transition: all 0.4s;
}

.cta-banner .btn-light:hover::after {
  inset: -8px;
  opacity: 1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .fade-up,
  .fade-right,
  .scale-in {
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal-inner {
    transform: none !important;
    animation: none !important;
  }

  .hero-kicker,
  .hero-sub,
  .hero-actions,
  .hero-trust,
  .hero-feature {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .trust-track,
  .hero-kicker-dot { animation: none !important; }

  .btn::after { display: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features-grid,
  .services-grid,
  .testimonial-grid,
  .exclusives-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout {
    gap: 48px;
  }

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

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--charcoal);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right 0.4s var(--transition);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .features-grid,
  .services-grid,
  .testimonial-grid,
  .exclusives-grid {
    grid-template-columns: 1fr;
  }

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

  .about-image { order: -1; }

  .about-img-placeholder {
    aspect-ratio: 4/3;
  }

  .about-stats {
    gap: 32px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero {
    padding: 120px 0 90px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 24px;
  }

  .hero-kicker {
    margin-bottom: 24px;
    font-size: 0.68rem;
    padding: 8px 14px;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 3rem);
    margin-bottom: 24px;
  }

  .hero-sub {
    margin-bottom: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 36px;
  }

  .hero-trust {
    gap: 14px 18px;
  }

  .trust-divider {
    display: none;
  }

  .hero-feature-frame {
    aspect-ratio: 4 / 3.2;
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-stat-chip {
    left: 50%;
    right: auto;
    bottom: -22px;
    transform: translateX(-50%);
    padding: 14px 20px;
    gap: 18px;
  }

  .hero-stat-num { font-size: 1.3rem; }
  .hero-stat-label { font-size: 0.56rem; }
  .cta-banner { padding: 56px 0; }

  .section-headline {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .hero { min-height: 600px; }

  .btn {
    padding: 14px 28px;
    font-size: 0.85rem;
    width: 100%;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }

  .feature-card { padding: 28px 20px; }
}
