/* ================================================================
   QUBE CONSTRUCTION — STYLE.CSS
   Mobile-first. Plain CSS. No build step required.
   ================================================================ */

/* 1. DESIGN TOKENS
   ================================================================ */
:root {
  /* Brand — warm copper */
  --brand:    #C07A2F;
  --brand-dk: #9A6020;
  --brand-lt: #D9963A;
  --brand-bg: #F8EFE1;

  /* Dark palette */
  --dark:        #0C0E15;
  --dark-2:      #141820;
  --dark-3:      #1E2230;
  --dark-border: #272B3A;
  --dark-text:   #EAE6DE;
  --dark-muted:  #9A9490;

  /* Light palette */
  --light:   #F7F5F1;
  --light-2: #EDEBE6;
  --white:   #FFFFFF;
  --border:  #E0DBD3;

  /* Ink (text on light backgrounds) */
  --ink:   #181613;
  --ink-2: #3A3630;
  --ink-3: #6E6860;

  /* Status */
  --error:   #DC2626;
  --success: #16A34A;

  /* Typography */
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --nav-h:   72px;
  --max-w:   1200px;
  --max-w-sm: 760px;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Section rhythm */
  --section-py: clamp(4rem, 7vw, 6.5rem);

  /* Radius */
  --r:    6px;
  --r-md: 10px;
  --r-lg: 16px;

  /* Easing */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  /* Z-index scale */
  --z-overlay:  90;
  --z-nav:     100;
  --z-dropdown: 110;
}

/* 2. RESET + BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

/* 3. LAYOUT
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.container--sm { max-width: var(--max-w-sm); }

.section { padding-block: var(--section-py); }
.section--white { background: var(--white); }
.section--light { background: var(--light); }
.section--dark  { background: var(--dark);  color: var(--dark-text); }

/* Section header */
.sec-hd { margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.sec-hd--center { text-align: center; }

.sec-hd__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.section--dark .sec-hd__title { color: var(--dark-text); }

.sec-hd__sub {
  margin-top: var(--sp-4);
  font-size: 1.0625rem;
  color: var(--ink-3);
  max-width: 56ch;
  line-height: 1.7;
}

.sec-hd--center .sec-hd__sub { margin-inline: auto; }
.section--dark .sec-hd__sub  { color: var(--dark-muted); }

/* 4. BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  border-radius: var(--r);
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.14s var(--ease);
  white-space: nowrap;
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Brand (copper fill) */
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-lt); }

/* Ghost — for dark backgrounds */
.btn--ghost {
  background: transparent;
  color: var(--dark-text);
  border: 1.5px solid rgba(234,230,222,0.32);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(234,230,222,0.55);
}

/* Outline — for light backgrounds */
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn--outline:hover { border-color: var(--ink-2); background: var(--light); }

.btn--sm   { padding: 0.5625rem 1.25rem; font-size: 0.875rem; }
.btn--lg   { padding: 1rem 2rem;        font-size: 1rem; }
.btn--full { width: 100%; }

/* 5. NAVIGATION
   ================================================================ */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

/* Transparent on hero; full-width solid bg when scrolled or on interior pages */
.site-nav.is-scrolled,
.site-nav.is-interior {
  background: var(--dark-2);
  box-shadow: 0 1px 0 var(--dark-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* Logo */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; z-index: 2; }
.nav-logo__img { height: 38px; width: auto; object-fit: contain; }

/* Desktop links */
.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-1);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: var(--sp-2) var(--sp-3);
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(234,230,222,0.82);
  border-radius: var(--r);
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-link svg   { transition: transform 0.22s var(--ease); flex-shrink: 0; }

/* Services dropdown */
.nav-item { position: relative; }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: 540px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.16);
  padding: var(--sp-5);
  margin-top: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  z-index: var(--z-dropdown);
}

/* Invisible bridge — fills the 12px gap between trigger and panel so the
   cursor never leaves .nav-item:hover while crossing the visual gap. */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-item:hover .nav-link svg { transform: rotate(180deg); }

.nav-dropdown__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--r);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown__item:hover { background: var(--light); color: var(--brand-dk); }

.nav-dropdown__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

/* Nav right side */
.nav-actions {
  display: none;
  align-items: center;
  gap: var(--sp-5);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(234,230,222,0.82);
  transition: color 0.15s;
}

.nav-phone:hover { color: var(--dark-text); }
.nav-phone svg   { color: var(--brand); }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--r);
  z-index: calc(var(--z-nav) + 5);
  transition: background 0.15s;
}

.nav-toggle:hover { background: rgba(255,255,255,0.1); }

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--dark-text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-in menu */
.nav-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 88vw);
  background: var(--dark-2);
  padding: var(--sp-24) var(--sp-6) var(--sp-8);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  z-index: var(--z-nav);
}

.nav-menu.is-open { transform: translateX(0); }

.nav-menu__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-menu__link {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark-muted);
  border-radius: var(--r);
  transition: color 0.15s, background 0.15s;
}

.nav-menu__link:hover { color: var(--dark-text); background: var(--dark-3); }

.nav-menu__section-title {
  padding: var(--sp-5) var(--sp-4) var(--sp-2);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--dark-border);
}

.nav-menu__service {
  display: block;
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.875rem;
  color: var(--dark-muted);
  border-radius: var(--r);
  transition: color 0.15s, background 0.15s;
}

.nav-menu__service:hover { color: var(--dark-text); background: var(--dark-3); }

.nav-menu__foot {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--dark-border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.nav-menu__phone {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark-text);
}

/* Overlay behind mobile menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav-overlay.is-active { opacity: 1; pointer-events: auto; }

/* Responsive: show desktop nav at 1024px */
@media (min-width: 1024px) {
  .nav-links   { display: flex; }
  .nav-actions { display: flex; }
  .nav-toggle  { display: none; }
}

/* 6. HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,12,18,0.68) 0%,
    rgba(10,12,18,0.78) 60%,
    rgba(10,12,18,0.86) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  padding-block: var(--sp-20);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
  max-width: 13ch;
}

.hero__title em {
  font-style: normal;
  color: var(--brand-lt);
}

.hero__tagline {
  margin-top: var(--sp-6);
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__body {
  margin-top: var(--sp-5);
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(234,230,222,0.75);
  max-width: 44ch;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-10);
  padding: var(--sp-3) var(--sp-5);
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 40px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero__stars { display: flex; gap: 2px; color: #F59E0B; }

/* 7. SERVICES GRID
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-8) var(--sp-5);
  text-align: center;
  background: var(--white);
  transition: background 0.18s;
}

.service-card:hover { background: var(--light); }
.service-card:hover .service-card__name { color: var(--brand-dk); }

.service-card__icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  color: var(--brand);
  transition: color 0.2s var(--ease);
}

.service-card:hover .service-card__icon { color: var(--brand-dk); }

.service-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.35;
  transition: color 0.15s;
}

@media (min-width: 480px)  { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px)  { .services-grid { grid-template-columns: repeat(5, 1fr); } }

/* 8. ABOUT
   ================================================================ */
.about-layout {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .about-layout { grid-template-columns: 1fr 1fr; }
}

.about-media { position: relative; }

.about-media__img {
  width: 100%;
  height: clamp(320px, 48vw, 560px);
  object-fit: cover;
  border-radius: var(--r-md);
}

.about-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1rem;
  background: var(--brand);
  color: #fff;
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--r-md);
  text-align: center;
  box-shadow: 0 6px 24px rgba(192,122,47,0.38);
}

.about-badge__number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.about-badge__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0.88;
  margin-top: 3px;
}

.about-content__overline {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-4);
}

.about-content__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.about-content__body {
  margin-top: var(--sp-5);
  color: var(--ink-3);
  line-height: 1.78;
  max-width: 52ch;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}

.pillar__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.pillar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.pillar__text {
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.6;
}

.about-layout__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

/* 9. STATS BAND
   ================================================================ */
.stats-band {
  background: var(--dark);
  padding-block: clamp(2.5rem, 4.5vw, 4rem);
}

.stats-band__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
}

@media (min-width: 640px) {
  .stats-band__inner { grid-template-columns: repeat(4, 1fr); }
}

.stat { text-align: center; }

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat__value--brand { color: var(--brand-lt); }

.stat__label {
  margin-top: var(--sp-2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 10. WHY CHOOSE US
   ================================================================ */
.whychoose-grid {
  display: grid;
  gap: var(--sp-6);
}

@media (min-width: 640px)  { .whychoose-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .whychoose-grid { grid-template-columns: repeat(4, 1fr); } }

.whychoose-card {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
}

.whychoose-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.whychoose-card__body { padding: var(--sp-5); }

.whychoose-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-2);
}

.whychoose-card__text {
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.7;
}

/* 11. TESTIMONIALS
   ================================================================ */
.testimonials-grid {
  display: grid;
  gap: var(--sp-5);
}

@media (min-width: 640px)  { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(4, 1fr); } }

.tcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.tcard__stars { display: flex; gap: 2px; color: #F59E0B; }

.tcard__text {
  font-size: 0.9125rem;
  color: var(--ink-2);
  line-height: 1.75;
  flex: 1;
}

.tcard__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

.tcard__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--light-2);
}

.tcard__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.tcard__via { font-size: 0.8rem; color: var(--ink-3); }

/* 12. PORTFOLIO GRID
   ================================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

@media (min-width: 640px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
}

.portfolio-item {
  overflow: hidden;
  border-radius: var(--r);
  background: var(--light-2);
  /* Reset <button> defaults */
  appearance: none;
  border: none;
  padding: 0;
  display: block;
  width: 100%;
  text-align: left;
}

.portfolio-item--tall { grid-row: span 2; }

.portfolio-item__img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

@media (min-width: 640px) {
  .portfolio-item__img { min-height: 260px; }
}

.portfolio-item:hover .portfolio-item__img { transform: scale(1.04); }

/* 12b. PHOTO PLACEHOLDER (temporary — swap for real project photos)
   ================================================================ */
.photo-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  overflow: hidden;
}

.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(192,122,47,0.16) 0%, transparent 55%);
}

.photo-placeholder__mark {
  position: relative;
  width: 32%;
  max-width: 100px;
  opacity: 0.18;
}

.gallery-cta {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) var(--sp-6);
  border: 1px dashed var(--dark-border);
  border-radius: var(--r-md);
}

.gallery-cta__mark {
  width: 44px;
  height: 44px;
  opacity: 0.5;
  margin: 0 auto var(--sp-5);
  display: block;
}

.gallery-cta__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: var(--sp-3);
}

.gallery-cta__text {
  color: var(--dark-muted);
  max-width: 46ch;
  margin: 0 auto var(--sp-6);
  line-height: 1.7;
}

.gallery-cta__actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* Initials avatar (no reviewer photo on file) */
.tcard__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-dk);
  background: var(--brand-lt);
  background: color-mix(in srgb, var(--brand) 18%, var(--light-2));
}

/* 13. FAQ
   ================================================================ */
.faq-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 1fr 1fr; }
}

.faq-list {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  transition: background 0.15s, color 0.15s;
}

.faq-trigger:hover { background: var(--light); }
.faq-item.is-open .faq-trigger { color: var(--brand-dk); background: var(--brand-bg); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--ink-3);
  transition: transform 0.28s var(--ease);
}

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

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  background: var(--white);
  transition: grid-template-rows 0.3s var(--ease);
}

.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

.faq-answer__inner { overflow: hidden; padding: 0 var(--sp-6); }
.faq-item.is-open .faq-answer__inner { padding-bottom: var(--sp-5); }

.faq-answer__inner p {
  font-size: 0.9375rem;
  color: var(--ink-3);
  line-height: 1.75;
}

/* 14. CTA BAND
   ================================================================ */
.cta-band {
  background: var(--dark-2);
  padding-block: clamp(4rem, 7vw, 6rem);
  text-align: center;
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cta-band__sub {
  margin-top: var(--sp-4);
  font-size: 1.0625rem;
  color: var(--dark-muted);
  max-width: 50ch;
  margin-inline: auto;
  line-height: 1.7;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

/* 15. FOOTER
   ================================================================ */
.site-footer {
  background: var(--dark);
  color: var(--dark-muted);
  font-size: 0.9rem;
}

.footer-main {
  display: grid;
  gap: var(--sp-10);
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

@media (min-width: 640px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-main { grid-template-columns: 1.7fr 1fr 1fr 1fr; } }

.footer-brand__logo { height: 36px; width: auto; margin-bottom: var(--sp-5); }

.footer-brand__desc {
  font-size: 0.875rem;
  color: var(--dark-muted);
  line-height: 1.7;
  max-width: 28ch;
}

.footer-brand__contact {
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.875rem;
}

.footer-contact-row svg { flex-shrink: 0; margin-top: 2px; color: var(--brand); }
.footer-contact-row a   { color: var(--dark-muted); transition: color 0.15s; }
.footer-contact-row a:hover { color: var(--dark-text); }

.footer-col__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dark-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-5);
}

.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-link  { font-size: 0.875rem; color: var(--dark-muted); transition: color 0.15s; }
.footer-link:hover { color: var(--dark-text); }

.footer-hours { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-hours__row { display: flex; flex-direction: column; gap: 1px; }
.footer-hours__day  { font-size: 0.8rem; font-weight: 600; color: var(--dark-text); }
.footer-hours__time { font-size: 0.8rem; color: var(--dark-muted); }

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-block: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: 0.8rem;
}

.footer-bottom__copy { color: var(--dark-border); }
.footer-bottom__links { display: flex; gap: var(--sp-5); }
.footer-bottom__links a { color: var(--dark-border); transition: color 0.15s; }
.footer-bottom__links a:hover { color: var(--dark-muted); }

/* 16. PAGE HERO (interior pages)
   ================================================================ */
.page-hero {
  background: var(--dark-2);
  padding-block: clamp(3.5rem, 6vw, 5rem);
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 5vw, 3.5rem));
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.page-hero__sub {
  margin-top: var(--sp-4);
  font-size: 1.0625rem;
  color: var(--dark-muted);
  max-width: 52ch;
  line-height: 1.7;
}

/* 17. FORMS
   ================================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label { font-size: 0.875rem; font-weight: 500; color: var(--ink-2); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--ink-3); opacity: 0.7; }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(192,122,47,0.13);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E6860' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

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

.form-row { display: grid; gap: var(--sp-5); }

@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-error {
  padding: var(--sp-4) var(--sp-5);
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--r);
  color: var(--error);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-note { font-size: 0.8125rem; color: var(--ink-3); line-height: 1.5; }

.ohnohoney {
  opacity: 0;
  position: absolute;
  top: 0; left: 0;
  height: 0; width: 0;
  z-index: -1;
  overflow: hidden;
}

/* 18. CONTACT PAGE
   ================================================================ */
.contact-layout {
  display: grid;
  gap: var(--sp-8);
  align-items: start;
}

@media (min-width: 860px) { .contact-layout { grid-template-columns: 300px 1fr; } }

.contact-info-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-8);
}

.contact-info-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-6);
}

.contact-info-items { display: flex; flex-direction: column; gap: var(--sp-6); }

.contact-info-item { display: flex; gap: var(--sp-4); align-items: flex-start; }

.contact-info-item__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r);
  background: var(--brand-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dk);
  flex-shrink: 0;
}

.contact-info-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-1);
}

.contact-info-item__value {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.65;
}

.contact-info-item__value a {
  color: var(--brand-dk);
  font-weight: 600;
  transition: color 0.15s;
}
.contact-info-item__value a:hover { color: var(--brand); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.contact-form-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-6);
}

.contact-form { display: flex; flex-direction: column; gap: var(--sp-5); }

/* 19. QUOTE PAGE
   ================================================================ */
.quote-wrap { max-width: 760px; margin-inline: auto; }

.quote-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.quote-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-2);
}

.quote-card__sub {
  font-size: 0.9375rem;
  color: var(--ink-3);
  margin-bottom: var(--sp-6);
}

.quote-form { display: flex; flex-direction: column; gap: var(--sp-5); }

/* 20. THANK YOU PAGE
   ================================================================ */
.thankyou-section {
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-16) var(--sp-6);
  background: var(--light);
}

.thankyou-card {
  max-width: 520px;
  width: 100%;
  text-align: center;
}

.thankyou-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-bg);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--sp-6);
}

.thankyou-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--sp-4);
}

.thankyou-body {
  font-size: 1.0625rem;
  color: var(--ink-3);
  line-height: 1.75;
}

.thankyou-body a { color: var(--brand-dk); font-weight: 600; }

.thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

/* 21. PROSE (privacy policy)
   ================================================================ */
.prose {
  max-width: 68ch;
  margin-inline: auto;
  color: var(--ink-2);
  line-height: 1.8;
}

.prose h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
  letter-spacing: -0.01em;
}

.prose p  { margin-bottom: var(--sp-5); }
.prose ul { margin-bottom: var(--sp-5); padding-left: var(--sp-6); list-style: disc; }
.prose li { margin-bottom: var(--sp-2); }
.prose a  { color: var(--brand-dk); font-weight: 500; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--ink); font-weight: 600; }

/* 22. LIGHTBOX
   ================================================================ */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(8,9,14,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

#lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

#lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--r);
  display: block;
}

#lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

#lightbox-close:hover { background: rgba(255,255,255,0.2); }

body.lightbox-open { overflow: hidden; }

/* Cursor hint on portfolio items */
.portfolio-item { cursor: zoom-in; }

/* 23. FOCUS VISIBLE (keyboard accessibility)
   ================================================================ */
:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--brand-lt);
  outline-offset: 3px;
  border-radius: var(--r);
}

/* Dark-bg elements need a lighter focus ring */
.site-nav :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--brand-lt);
}

/* 23. SCROLL REVEAL ANIMATIONS
   ================================================================ */
[data-animate] {
  transition: opacity 0.58s var(--ease), transform 0.58s var(--ease);
}

.js-ready [data-animate]:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }
[data-animate-delay="5"] { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { transition: none !important; }
  .js-ready [data-animate]:not(.is-visible) { opacity: 1 !important; transform: none !important; }
  .nav-menu,
  .nav-dropdown,
  .btn { transition: none !important; }
}

/* ================================================================
   24. MOBILE-FIRST ENHANCEMENTS
   Targeted overrides for narrow viewports. Mobile means business.
   ================================================================ */

/* ── Sticky bottom CTA bar (mobile only) ─────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--dark-2);
  border-top: 1px solid var(--dark-border);
  padding: 10px var(--sp-4) calc(10px + env(safe-area-inset-bottom));
  gap: var(--sp-3);
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
}

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

.mobile-cta-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0.75rem var(--sp-4);
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  transition: background 0.15s;
}

.mobile-cta-bar__btn--call {
  background: var(--dark-3);
  color: var(--dark-text);
  border: 1px solid var(--dark-border);
}

.mobile-cta-bar__btn--call:hover { background: #2a2f40; }

.mobile-cta-bar__btn--quote {
  background: var(--brand);
  color: #fff;
}

.mobile-cta-bar__btn--quote:hover { background: var(--brand-lt); }

/* ── Core mobile overrides (<768px) ─────────────────────────── */
@media (max-width: 767px) {
  /* Compact nav height */
  :root { --nav-h: 60px; }

  /* Show mobile CTA bar */
  .mobile-cta-bar { display: flex; }

  /* Prevent the fixed bar from covering footer content */
  .site-footer { padding-bottom: 68px; }
}

/* ── Small screen overrides (<640px) ────────────────────────── */
@media (max-width: 639px) {
  /* Tighter section rhythm */
  :root { --section-py: clamp(2.75rem, 9vw, 4rem); }

  /* ── Hero ─────────────────────────────────────── */
  .hero { min-height: 88svh; }
  .hero__content { padding-block: var(--sp-12); }
  .hero__tagline {
    font-size: 0.8rem;
    letter-spacing: 0.07em;
    margin-top: var(--sp-5);
  }
  .hero__body { font-size: 0.9375rem; }
  .hero__actions { margin-top: var(--sp-6); }
  .hero__badge { margin-top: var(--sp-6); }
  .hero__actions .btn--lg { padding: 0.875rem 1.5rem; font-size: 0.9375rem; }

  /* ── Section headers ──────────────────────────── */
  .sec-hd { margin-bottom: 1.75rem; }
  .sec-hd__sub { font-size: 0.9375rem; }

  /* ── Services grid ────────────────────────────── */
  .service-card {
    padding: var(--sp-5) var(--sp-4);
    gap: var(--sp-2);
  }
  .service-card__icon { width: 32px; height: 32px; }
  .service-card__name { font-size: 0.8125rem; }

  /* ── About section ────────────────────────────── */
  .about-media__img { height: clamp(240px, 60vw, 380px); }
  .about-badge { right: 0.5rem; padding: var(--sp-4) var(--sp-5); }
  .about-badge__number { font-size: 1.625rem; }
  .about-pillars { grid-template-columns: 1fr; gap: var(--sp-4); }
  .about-layout__cta { flex-direction: column; }
  .about-layout__cta .btn { width: 100%; text-align: center; justify-content: center; }

  /* ── Stats band ───────────────────────────────── */
  .stats-band { padding-block: clamp(2rem, 5vw, 3rem); }
  .stats-band__inner { gap: var(--sp-5) var(--sp-4); }
  .stat__value { font-size: clamp(1.875rem, 9vw, 2.5rem); }

  /* ── Why Choose Us: 2-col compact on mobile ───── */
  .whychoose-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3);
  }
  .whychoose-card__img { height: 130px; }
  .whychoose-card__body { padding: var(--sp-4); }
  .whychoose-card__title { font-size: 0.9rem; }
  .whychoose-card__text { font-size: 0.8125rem; line-height: 1.6; }

  /* ── Testimonials: horizontal scroll carousel ─── */
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--sp-4);
    padding-bottom: var(--sp-2);
    /* Escape container to bleed to edge, then add padding back */
    margin-inline: calc(-1 * clamp(1.25rem, 5vw, 2.5rem));
    padding-inline: clamp(1.25rem, 5vw, 2.5rem);
    scrollbar-width: none;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .tcard {
    flex: 0 0 min(78vw, 300px);
    scroll-snap-align: start;
  }

  /* ── Portfolio grid ───────────────────────────── */
  .portfolio-grid { gap: 5px; }
  .portfolio-item__img { min-height: 120px; }

  /* ── CTA band ─────────────────────────────────── */
  .cta-band { padding-block: clamp(2.75rem, 8vw, 4rem); }
  .cta-band__actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-band__actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* ── Forms: 1rem prevents iOS auto-zoom ──────── */
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 1rem;
    padding: 0.875rem 1rem;
  }

  /* ── Contact page ─────────────────────────────── */
  .contact-info-card { padding: var(--sp-5); }
  .contact-info-items { gap: var(--sp-4); }
  .contact-info-item__icon { width: 34px; height: 34px; }

  /* ── Footer ───────────────────────────────────── */
  .footer-main { gap: var(--sp-7, 1.75rem); }
  .footer-brand__desc { max-width: 100%; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-3);
  }
  .footer-bottom__links { justify-content: center; }

  /* ── Page hero (interior pages) ────────────────── */
  .page-hero {
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 2.5rem;
  }

  /* ── Quote page ────────────────────────────────── */
  .quote-card { padding: var(--sp-5); }
}

/* ── Very small screens (320px) ─────────────────────────────── */
@media (max-width: 359px) {
  .hero__title { font-size: 2.25rem; letter-spacing: -0.025em; }
  .whychoose-card__img { height: 100px; }
  .tcard { flex: 0 0 86vw; }
  .mobile-cta-bar__btn { font-size: 0.8125rem; padding: 0.6875rem var(--sp-3); }
}
