/* ==========================================================================
   Planet Builders — Global Styles
   ========================================================================== */

:root {
  /* Brand palette extracted from the Planet Builders & Interiors logo:
     crimson red (accent/CTA) + charcoal grey (structural/dark). Token names
     (--navy-*, --orange-*) are kept from the previous theme so every
     component rule below still resolves correctly — only the underlying
     values changed. --navy-* now drives dark structural surfaces (header,
     footer, hero) using charcoal grey; --orange-* now drives the crimson
     accent/CTA color, matching the logo's red roof mark. */
  --navy-950: #1f1f1f;
  --navy-900: #333333;
  --navy-800: #454545;
  --navy-700: #555555;
  --navy-100: #f5f5f5;
  --orange-600: #7d1422;
  --orange-500: #a51c30;
  --orange-400: #c02840;
  --orange-100: #f9eaec;
  --off-white: #faf7f7;
  --white: #ffffff;
  --ink: #2a2a2a;
  --ink-soft: #555555;
  --border: #e6e0e1;

  --font-heading: 'Outfit', 'Rubik', sans-serif;
  --font-body: 'Rubik', 'Outfit', sans-serif;

  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 16px rgba(51, 51, 51, 0.08);
  --shadow-md: 0 12px 32px rgba(51, 51, 51, 0.12);
  --shadow-lg: 0 24px 64px rgba(51, 51, 51, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Grid/flex items default to min-width:auto, which lets their intrinsic
   content (images, long text) force a track wider than its container —
   the main cause of horizontal overflow on narrow/mobile screens. */
[class$="__inner"] > *, [class$="__grid"] > *, [class$="__track"] > * { min-width: 0; }

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

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, picture, svg { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: var(--ink-soft); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
}

.text-orange { color: var(--orange-500); }

/* Reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 44px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  white-space: normal;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--orange-400); outline-offset: 2px; }

.btn--orange { background: var(--orange-500); color: var(--white); }
.btn--orange:hover { background: var(--orange-600); }

.btn--navy { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--navy-800); }

.btn--white { background: var(--white); color: var(--navy-900); }
.btn--white:hover { background: var(--navy-100); }

.btn--outline {
  background: transparent;
  color: var(--navy-900);
  border: 2px solid var(--navy-900);
  padding: 12px 26px;
}
.btn--outline:hover { background: var(--navy-900); color: var(--white); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  padding: 12px 26px;
}
.btn--outline-light:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }

.btn--sm { padding: 8px 18px; font-size: 0.85rem; min-height: 36px; }
.btn--lg { padding: 16px 34px; font-size: 1rem; }

/* ---------- Section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-500);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
}
.eyebrow--center { justify-content: center; width: 100%; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head__desc { margin-top: 12px; }
.section-head--split {
  text-align: left;
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head--split h2 { margin-bottom: 0; }

section { padding: 96px 0; }
@media (max-width: 640px) {
  section { padding: 64px 0; }
}

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  background: var(--navy-950);
  color: rgba(255,255,255,0.95);
  font-size: 0.9rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar__contact { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s; }
.topbar__contact a:hover { color: var(--orange-400); }
.topbar__phone {
  position: relative;
  overflow: hidden;
  max-width: 260px;
  min-width: 200px;
  width: 260px;
  transition: transform 0.2s ease;
}
.topbar__phone:hover { transform: translateY(-1px); }
.phone-marquee-wrapper {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.phone-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: phone-marquee 14s linear infinite;
}
.phone-marquee {
  display: block;
  flex: 0 0 auto;
  padding-right: 1.25rem;
}
@keyframes phone-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.topbar__phone:hover .phone-marquee-track { animation-play-state: paused; }
.topbar__phone-icon { animation: phone-ring 3.2s ease-in-out infinite; }
@keyframes phone-ring {
  0%, 76%, 100% { transform: rotate(0); }
  80% { transform: rotate(14deg); }
  84% { transform: rotate(-12deg); }
  88% { transform: rotate(10deg); }
  92% { transform: rotate(-7deg); }
  96% { transform: rotate(0); }
}
.topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar__social { display: flex; gap: 12px; }
.topbar__review-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.topbar__review-link:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy-950);
  transform: translateY(-1px);
}
.topbar__review-link:focus-visible { outline: 3px solid var(--orange-400); outline-offset: 2px; }
.topbar__google-icon { width: 18px; height: 18px; flex: 0 0 18px; }

/* Prominent social/icon interaction (header, contact, team) */
.topbar__social a,
.contact__social a,
.team-card__social a {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-size: 1.1rem;
  transform-origin: center center;
  will-change: transform, box-shadow, opacity;
  transition: transform 280ms cubic-bezier(.2,.9,.2,1), box-shadow 280ms cubic-bezier(.2,.9,.2,1), background 160ms ease, color 160ms ease;
  z-index: 0;
}

.topbar__social a::after,
.contact__social a::after,
.team-card__social a::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(165,28,48,0.14), rgba(165,28,48,0.06) 30%, transparent 55%);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 280ms ease, transform 280ms cubic-bezier(.2,.9,.2,1);
}

.topbar__social a:hover,
.contact__social a:hover,
.team-card__social a:hover,
.topbar__social a:focus-visible,
.contact__social a:focus-visible,
.team-card__social a:focus-visible {
  transform: translateY(-4px) scale(1.14);
  box-shadow: 0 28px 48px rgba(0,0,0,0.28), 0 6px 18px rgba(165,28,48,0.08);
  z-index: 2;
}

.topbar__social a:hover::after,
.contact__social a:hover::after,
.team-card__social a:hover::after,
.topbar__social a:focus-visible::after,
.contact__social a:focus-visible::after,
.team-card__social a:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.topbar__social a .icon,
.contact__social a .icon,
.team-card__social a .icon {
  animation: social-icon-breathe 2.8s ease-in-out infinite;
  transition: transform 280ms cubic-bezier(.2,.9,.2,1), color 160ms ease, fill 160ms ease;
}
.topbar__social a:nth-child(2n) .icon { animation-delay: -1.4s; }
.topbar__social a:nth-child(3n) .icon { animation-delay: -.7s; }
@keyframes social-icon-breathe {
  0%, 100% { opacity: .72; }
  50% { opacity: 1; }
}

.topbar__social a:hover .icon,
.contact__social a:hover .icon,
.team-card__social a:hover .icon {
  transform: scale(1.08);
  color: var(--white);
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  .topbar__social a,
  .contact__social a,
  .team-card__social a,
  .topbar__social a::after,
  .contact__social a::after,
  .team-card__social a::after,
  .topbar__social a .icon,
  .contact__social a .icon,
  .team-card__social a .icon,
  .topbar__phone-icon,
  .phone-marquee-track {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
}

@media (max-width: 720px) {
  .topbar__contact { display: flex; width: 100%; justify-content: center; }
  .topbar__contact > a:not(.topbar__phone) { display: none; }
  .topbar__phone { width: min(100%, 340px); max-width: 340px; }
  .topbar__inner {
    flex-direction: column;
    justify-content: center;
    padding: 10px 16px;
    gap: 9px;
  }
  .topbar__right {
    width: 100%;
    min-width: 0;
    justify-content: center;
    gap: 14px;
  }
  .topbar__social {
    min-width: 0;
    justify-content: center;
    gap: 9px;
  }
  .topbar__social a {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    font-size: 1rem;
  }
  .topbar__right > .btn,
  .topbar__review-link {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 15px;
    font-size: .78rem;
    line-height: 1.15;
    white-space: nowrap;
  }
}

@media (max-width: 460px) {
  .topbar__inner { padding: 10px 14px 11px; }
  .topbar__right {
    flex-direction: column;
    gap: 9px;
  }
  .topbar__right > .btn,
  .topbar__review-link {
    min-width: 150px;
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 350px) {
  .topbar__social { gap: 7px; }
  .topbar__social a {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  gap: 28px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__img { height: 64px; width: auto; flex-shrink: 0; }
.footer .logo { margin-bottom: 24px; }

/* Legacy inline-SVG mark, kept for any page still using it */
.logo__mark {
  width: 40px; height: 40px;
  color: var(--orange-500);
  flex-shrink: 0;
}
.logo__mark svg { width: 100%; height: 100%; }
.logo__text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--navy-900);
}
.logo__text strong { font-weight: 800; }
.logo--light .logo__text { color: var(--white); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--orange-500); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--orange-500);
  border-radius: 2px;
}

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__profile {
  min-height: 42px;
  padding: 9px 16px;
  border-width: 1px;
  font-size: 0.85rem;
  white-space: nowrap;
}
.header__profile .icon { width: 18px; height: 18px; }
.header__profile-label-short { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.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); }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav a { width: 100%; padding: 10px 0; }
  .header__actions .btn--orange { display: none; }
}

@media (max-width: 520px) {
  .header__inner { padding: 12px 16px; gap: 12px; }
  .header__actions { gap: 8px; }
  .header__profile { padding: 8px 12px; }
  .header__profile-label { display: none; }
  .header__profile-label-short { display: inline; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 0;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-top: 24px;
}

.hero__desc { max-width: 480px; font-size: 1.05rem; }

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.hero__tags span {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}

.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__media {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero__review-stack {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
}
.hero__review {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(24px) scale(.98);
  transition: transform 280ms cubic-bezier(.2,.9,.2,1), opacity 220ms ease, visibility 0s linear 280ms;
}
.hero__review[data-position="front"] {
  transform: translate(0, 0) scale(1);
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.hero__review-proof {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  width: auto;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  background: rgba(20,20,20,.76);
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
  transition: opacity .2s ease, transform .2s ease;
}
.hero__review-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(13,26,51,.12);
  border-radius: 28px;
  background: #171717;
  box-shadow: 0 24px 54px rgba(13,26,51,.22);
}
.hero__review-shell::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.38));
  pointer-events: none;
}
.hero__review-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #171717;
}
.hero__review-label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  background: rgba(20,20,20,.72);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
  backdrop-filter: blur(8px);
}
.hero__review-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: rgba(165,28,48,.94);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
  font: 700 .84rem/1 var(--font-body);
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
  backdrop-filter: blur(8px);
}
.hero__review-play .icon { width: 20px; height: 20px; }
.hero__review-play:hover {
  background: var(--orange-600);
  box-shadow: 0 16px 36px rgba(0,0,0,.38);
  transform: translate(-50%, -50%) scale(1.04);
}
.hero__review-play--placeholder {
  cursor: not-allowed;
  opacity: .85;
}
.hero__review-play--placeholder:hover {
  transform: translate(-50%, -50%);
  background: rgba(165,28,48,.94);
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.hero__review-play:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.hero__review-play[hidden] { display: none; }
.hero__review-shell.is-playing::after { opacity: 0; }
.hero__review-shell.is-playing .hero__review-label { opacity: 0; }
.hero__review-shell.is-playing + .hero__review-proof { opacity: 0; pointer-events: none; transform: translateY(8px); }
.hero__review-shell--placeholder {
  background: rgba(20,20,20,.96);
}
.hero__review-shell--placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__review-proof .google-stars { margin-bottom: 5px; font-size: .84rem; }
.hero__review-proof strong { color: var(--white); font-family: var(--font-heading); }
.hero__review-proof > span:last-child { margin-top: 2px; color: rgba(255,255,255,.72); font-size: .74rem; line-height: 1.4; }

.hero__review-controls {
  display: grid;
  grid-template-columns: 42px minmax(150px, 1fr) 42px;
  align-items: center;
  gap: 10px;
  width: min(100%, 360px);
}
.hero__review-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.hero__review-controls button:hover { background: var(--orange-500); border-color: var(--orange-500); color: var(--white); transform: translateY(-1px); }
.hero__review-controls button:focus-visible { outline: 3px solid rgba(165,28,48,.3); outline-offset: 2px; }
.hero__review-controls button .icon { width: 20px; height: 20px; }
.hero__review-controls p { margin: 0; color: var(--navy-900); text-align: center; line-height: 1.25; }
.hero__review-controls p > span { display: block; color: var(--orange-500); font-size: .77rem; font-weight: 700; letter-spacing: .08em; }
.hero__review-controls small { display: block; max-width: 100%; margin-top: 3px; overflow: hidden; color: var(--ink-soft); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }

.hero__badge-spin {
  position: absolute;
  top: -20px;
  right: 6%;
  width: 108px;
  height: 108px;
  z-index: 2;
  color: var(--navy-900);
}
.hero__badge-spin svg:first-child {
  width: 100%;
  height: 100%;
  animation: spin 16s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__badge-core {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__badge-core svg {
  width: 34px; height: 34px;
  background: var(--orange-500);
  color: var(--white);
  fill: currentColor;
  border-radius: 50%;
  padding: 10px;
  box-sizing: content-box;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy-900);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 64px;
  padding: 40px 24px;
  color: var(--white);
  position: relative;
}
.stat { text-align: center; padding: 0 16px; border-right: 1px solid rgba(255,255,255,0.12); }
.stat:last-child { border-right: none; }
.stat__num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--orange-400);
}
.stat__num em { font-style: normal; }
.stat__label { font-size: 0.9rem; color: rgba(255,255,255,0.75); }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { margin-top: 42px; }
  .hero__review-stack { width: min(100%, 340px); }
  .hero__review-controls { width: min(100%, 340px); }
  .hero__badge-spin { top: -12px; right: 12px; width: 84px; height: 84px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat:nth-child(2) { border-right: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .hero__inner { padding-top: 8px; }
  .hero__review-stack { width: min(100%, 310px); }
  .hero__review-controls { width: min(100%, 310px); }
  .hero__review-shell { border-radius: 22px; }
  .hero__stats { grid-template-columns: 1fr; gap: 24px; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 20px; }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }
}
@media (max-width: 420px) {
  .hero__review-stack { width: min(100%, 286px); }
  .hero__review-controls { width: min(100%, 286px); grid-template-columns: 40px minmax(130px, 1fr) 40px; }
  .hero__review-controls button { width: 40px; height: 40px; }
  .hero__review-proof { right: 10px; bottom: 10px; left: 10px; padding: 10px 12px; }
  .hero__review-label { top: 12px; left: 12px; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--white); }
.about__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about__media { position: relative; max-width: 100%; }
.about__img--1 { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; height: auto; max-height: 420px; object-fit: cover; box-shadow: var(--shadow-md); }
.about__img--2 {
  position: absolute;
  bottom: -40px;
  right: -32px;
  width: 55%;
  max-width: calc(100% - 24px);
  aspect-ratio: 5/3;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.about__badge {
  position: absolute;
  top: 24px; left: 24px;
  background: var(--orange-500);
  color: var(--white);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.3;
  box-shadow: var(--shadow-md);
  max-width: 160px;
}
.about__badge span { display: block; font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; }
.about__badge em { font-style: normal; }

.about__points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.about__points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy-800); }
.about__points .icon { color: var(--orange-500); width: 1.2em; height: 1.2em; }

@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__media { margin-bottom: 56px; }
  .about__img--2 { right: 12px; }
}
@media (max-width: 520px) {
  .about__img--2 { width: 62%; max-height: 160px; right: 12px; bottom: -32px; }
}
@media (max-width: 360px) {
  .about__media { margin-bottom: 40px; }
  .about__img--2 { position: static; width: 100%; max-width: 100%; margin-top: 16px; aspect-ratio: 16/9; max-height: none; border-width: 0; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: var(--off-white); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 18px;
  background: rgba(165, 28, 48, 0.07);
  color: var(--orange-500);
  margin-bottom: 24px;
}
.service-card__icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--navy-900);
  transition: gap 0.2s ease, color 0.2s ease;
}
.service-card__link:hover { color: var(--orange-500); gap: 10px; }

.services__cta { text-align: center; margin-top: 48px; }

@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Process
   ========================================================================== */
.process {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
}
.process .eyebrow { color: var(--orange-400); }
.process h2 { color: var(--white); }
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.process__step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.process__num {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--orange-400);
  margin-bottom: 16px;
}
.process__step h3 { color: var(--white); }
.process__step p { color: rgba(255,255,255,0.7); margin: 0; }

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

/* ==========================================================================
   Projects
   ========================================================================== */
.projects { background: var(--navy-950); color: var(--white); }
.projects .eyebrow { color: var(--orange-400); }
.projects h2 { color: var(--white); }
.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.project-card img { width: 100%; aspect-ratio: 4/3; height: auto; object-fit: cover; }
.project-card__body { padding: 28px; }
.project-card__body h3 { color: var(--white); margin-bottom: 12px; }
.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}
.project-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.projects .service-card__link { color: var(--orange-400); }
.projects .service-card__link:hover { color: var(--white); }

@media (max-width: 800px) {
  .projects__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.why__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1/1; height: auto; max-height: 520px; object-fit: cover; box-shadow: var(--shadow-md); }
.why__content .btn { margin-bottom: 32px; }
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.why__item { display: flex; gap: 14px; align-items: flex-start; }
.why__item .icon {
  width: 40px; height: 40px;
  color: var(--orange-500);
  background: var(--orange-100);
  border-radius: 12px;
  padding: 8px;
  flex-shrink: 0;
}
.why__item h4 { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; margin: 0 0 4px; color: var(--navy-900); }
.why__item p { margin: 0; font-size: 0.9rem; }

@media (max-width: 900px) {
  .why__inner { grid-template-columns: 1fr; }
  .why__media img { aspect-ratio: 16/9; max-height: 320px; }
}
@media (max-width: 560px) {
  .why__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--off-white); }
.contact__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 32px;
  align-items: stretch;
}
.contact__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.form-field input, .form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--off-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px var(--orange-100);
  background: var(--white);
}
.form-status { margin: 12px 0 0; font-weight: 600; color: var(--navy-800); min-height: 1.2em; }

.contact__info {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
}
.contact__info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact__info-item .icon { width: 22px; height: 22px; color: var(--orange-400); flex-shrink: 0; margin-top: 4px; }
.contact__info-item h4 { color: var(--white); font-size: 1rem; margin: 0 0 6px; }
.contact__info-item p { color: rgba(255,255,255,0.7); margin: 0; }
.contact__social a { background: rgba(255,255,255,0.08); }
.contact__social { margin-top: 12px; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .contact__form, .contact__info { padding: 28px 22px; }
}

/* ==========================================================================
   Team
   ========================================================================== */
.team { background: var(--white); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.team-card { text-align: center; }
.team-card__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 4/5;
}
.team-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.team-card:hover .team-card__img img { transform: scale(1.05); }
.team-card h3 { margin-bottom: 4px; }
.team-card p { color: var(--orange-500); font-weight: 600; margin-bottom: 14px; }
.team-card__social { display: flex; justify-content: center; gap: 10px; }
.team-card__social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--navy-900);
  transition: background 0.2s ease, color 0.2s ease;
}
.team-card__social a:hover { background: var(--orange-500); color: var(--white); }

@media (max-width: 900px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .team__grid { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { background: var(--navy-900); color: var(--white); }
.testimonials .eyebrow { color: var(--orange-400); }
.testimonials h2 { color: var(--white); }
.google-reviews {
  margin-top: 44px;
  color: #202124;
}
.google-reviews__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  margin-bottom: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 40px rgba(0,0,0,0.16);
}
.google-reviews__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #3c4043;
  font-size: 1.05rem;
  font-weight: 700;
}
.google-reviews__logo { width: 24px; height: 24px; flex: 0 0 auto; }
.google-reviews__rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.google-reviews__rating strong { color: #202124; font-size: 1.35rem; line-height: 1; }
.google-stars { color: #fbbc04; letter-spacing: 1px; white-space: nowrap; }
.google-reviews__count { color: #5f6368; font-size: 0.86rem; }
.google-reviews__controls { display: flex; gap: 10px; flex: 0 0 auto; }
.google-reviews__controls button {
  width: 42px;
  height: 42px;
  border: 1px solid #dadce0;
  border-radius: 50%;
  background: var(--white);
  color: #3c4043;
  font-size: 1.8rem;
  line-height: 1;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.google-reviews__controls button:hover { border-color: #1a73e8; background: #f8faff; transform: translateY(-1px); }
.google-reviews__controls button:focus-visible { outline: 3px solid rgba(26,115,232,.3); outline-offset: 2px; }
.google-reviews__controls button:disabled { opacity: .35; cursor: default; transform: none; }
.testimonials__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px 2px 14px;
  scrollbar-width: none;
}
.testimonials__track::-webkit-scrollbar { display: none; }
.testi-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  min-height: 320px;
  background: var(--white);
  border: 1px solid #e8eaed;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}
.testi-card__header { display: flex; align-items: center; gap: 12px; }
.testi-card__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: #1a73e8;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
}
.testi-card:nth-child(4n + 2) .testi-card__avatar { background: #0f9d58; }
.testi-card:nth-child(4n + 3) .testi-card__avatar { background: #a142f4; }
.testi-card:nth-child(4n) .testi-card__avatar { background: #e8710a; }
.testi-card__person { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.testi-card__person strong { overflow: hidden; color: #202124; font-size: .95rem; text-overflow: ellipsis; white-space: nowrap; }
.testi-card__person small { overflow: hidden; color: #70757a; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.testi-card__google { width: 20px; height: 20px; flex: 0 0 auto; }
.testi-card__rating { display: flex; align-items: center; gap: 9px; margin: 18px 0 12px; }
.testi-card__rating time { color: #70757a; font-size: .76rem; }
.testi-card p {
  margin: 0;
  color: #3c4043;
  font-size: .92rem;
  line-height: 1.65;
}
.google-reviews__footer { text-align: center; margin-top: 24px; }
.btn--google { background: #1a73e8; color: var(--white); }
.btn--google:hover { background: #1558b0; color: var(--white); }

@media (max-width: 1000px) {
  .testi-card { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .google-reviews { margin-top: 32px; }
  .google-reviews__summary { flex-direction: column; align-items: stretch; padding: 18px; }
  .google-reviews__controls { justify-content: flex-end; }
  .google-reviews__count { flex-basis: 100%; }
  .google-reviews__controls button { width: 38px; height: 38px; }
  .testimonials__track { gap: 14px; }
  .testi-card { flex-basis: 88%; min-height: 300px; padding: 20px; }
}

/* ---------- Dedicated testimonials page ---------- */
.testimonials-hero {
  padding: 52px 0 88px;
  background:
    radial-gradient(circle at 12% 12%, rgba(242, 108, 43, .16), transparent 30%),
    radial-gradient(circle at 88% 72%, rgba(255, 255, 255, .08), transparent 34%),
    var(--navy-900);
}
.testimonials-hero::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -210px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
}
.testimonials-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.testimonials-hero .breadcrumbs { margin-bottom: 28px; }
.testimonials-hero .eyebrow { color: var(--orange-400); margin-bottom: 16px; }
.testimonials-hero h1 { max-width: 680px; margin-bottom: 20px; font-size: clamp(2.55rem, 4.4vw, 4.2rem); line-height: 1.06; overflow-wrap: break-word; }
.testimonials-hero__content > p:not(.eyebrow) { max-width: 650px; color: rgba(255,255,255,.74); font-size: 1.04rem; line-height: 1.75; }
.testimonials-hero__proof {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
}
.testimonials-hero__score { display: flex; align-items: center; gap: 12px; }
.testimonials-hero__score > strong { color: var(--white); font-size: 1.75rem; line-height: 1; }
.testimonials-hero__score > span { display: flex; flex-direction: column; }
.testimonials-hero__score small,
.testimonials-hero__stat span { color: rgba(255,255,255,.6); font-size: .72rem; }
.testimonials-hero__divider { width: 1px; height: 38px; background: rgba(255,255,255,.18); }
.testimonials-hero__stat { display: flex; flex-direction: column; }
.testimonials-hero__stat strong { color: var(--white); font-size: 1.35rem; line-height: 1.1; }
.testimonials-hero__visual {
  position: relative;
  width: min(100%, 360px);
  min-width: 0;
  justify-self: center;
}
.testimonials-hero__visual::before {
  display: none;
}
.testimonials-hero__video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 26px;
  background: #171717;
  box-shadow: 0 28px 64px rgba(0,0,0,.32);
}
.testimonials-hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #171717;
}
.testimonials-hero__video-label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(20,20,20,.68);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  backdrop-filter: blur(8px);
}
.testimonials-hero__sound {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(20,20,20,.78);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
  transition: background .2s ease, transform .2s ease;
}
.testimonials-hero__sound:hover { background: var(--orange-500); transform: translateX(-50%) translateY(-2px); }
.testimonials-hero__sound:focus-visible { outline: 3px solid var(--orange-400); outline-offset: 3px; }
.testimonials-hero__sound-icon { width: 19px; height: 19px; fill: currentColor; }
.testimonials-hero__sound-icon--on { display: none; }
.testimonials-hero__sound.is-audible { background: var(--orange-500); }
.testimonials-hero__sound.is-audible .testimonials-hero__sound-icon--off { display: none; }
.testimonials-hero__sound.is-audible .testimonials-hero__sound-icon--on { display: block; }
.testimonials-hero__video-shell::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  background: linear-gradient(transparent, rgba(0,0,0,.38));
  pointer-events: none;
}
.testimonials-hero__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: none;
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
}
.testimonials-hero__quote { color: var(--orange-500); font-family: Georgia, serif; font-size: 3.3rem; line-height: .7; }
.testimonials-hero__card div { display: flex; flex-direction: column; gap: 3px; }
.testimonials-hero__card strong { color: var(--navy-900); }
.testimonials-hero__card span:not(.testimonials-hero__quote) { color: var(--ink-soft); font-size: .76rem; }

.testimonials--page { padding: 88px 0 104px; background: var(--off-white); color: #202124; }
.testimonials--page .google-reviews { position: relative; z-index: 2; margin-top: 0; }
.testimonials--page .google-reviews__summary { border: 1px solid rgba(20,31,52,.08); box-shadow: 0 20px 60px rgba(13,26,51,.12); }
.testimonials--page .testi-card { box-shadow: 0 8px 28px rgba(13,26,51,.08); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.testimonials--page .testi-card:hover { transform: translateY(-5px); border-color: rgba(26,115,232,.24); box-shadow: 0 18px 42px rgba(13,26,51,.13); }

.testimonials-cta { padding: 88px 0; background: var(--white); }
.testimonials-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 72px;
  align-items: center;
  overflow: hidden;
  padding: 64px;
  border-radius: 28px;
  background: linear-gradient(115deg, rgba(242,108,43,.09), transparent 42%), var(--navy-900);
  box-shadow: 0 24px 64px rgba(13,26,51,.18);
}
.testimonials-cta__inner::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -170px;
  width: 420px;
  height: 420px;
  border: 70px solid rgba(255,255,255,.035);
  border-radius: 50%;
}
.testimonials-cta__content,
.testimonials-cta__benefits { position: relative; z-index: 1; }
.testimonials-cta .eyebrow { color: var(--orange-400); }
.testimonials-cta h2 { max-width: 650px; margin-bottom: 16px; color: var(--white); }
.testimonials-cta__content > p:not(.eyebrow) { max-width: 620px; color: rgba(255,255,255,.68); line-height: 1.7; }
.testimonials-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.testimonials-cta__benefits { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.testimonials-cta__benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.055);
}
.testimonials-cta__benefits li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--white);
  font-weight: 800;
}
.testimonials-cta__benefits div { display: flex; flex-direction: column; }
.testimonials-cta__benefits strong { color: var(--white); font-size: .92rem; }
.testimonials-cta__benefits small { color: rgba(255,255,255,.55); font-size: .74rem; }

@media (max-width: 980px) {
  .testimonials-hero { padding-bottom: 80px; }
  .testimonials-hero__grid { grid-template-columns: 1fr; gap: 52px; }
  .testimonials-hero__content { max-width: 760px; }
  .testimonials-hero__visual { max-width: 360px; width: 100%; justify-self: center; }
  .testimonials-cta__inner { grid-template-columns: 1fr; gap: 40px; padding: 52px; }
  .testimonials-cta__benefits { grid-template-columns: repeat(3, 1fr); }
  .testimonials-cta__benefits li { align-items: flex-start; }
}

@media (max-width: 820px) {
  .testimonials-cta__benefits { grid-template-columns: 1fr; }
  .testimonials-cta__benefits li { align-items: center; }
}

@media (max-width: 700px) {
  .testimonials-hero { padding: 36px 0 64px; }
  .testimonials-hero h1 { font-size: clamp(2.3rem, 12vw, 3.45rem); }
  .testimonials-hero__proof { width: 100%; justify-content: space-between; gap: 14px; padding: 14px; }
  .testimonials-hero__visual { min-height: 0; padding: 0; }
  .testimonials-hero__video-shell { border-radius: 20px; }
  .testimonials-hero__card { width: 100%; margin-top: 14px; padding: 15px 18px; }
  .testimonials--page { padding: 64px 0 72px; }
  .testimonials--page .google-reviews { margin-top: 0; }
  .testimonials-cta { padding: 64px 0; }
  .testimonials-cta__inner { gap: 34px; padding: 34px 24px; border-radius: 22px; }
  .testimonials-cta__actions { flex-direction: column; }
  .testimonials-cta__actions .btn { width: 100%; }
  .testimonials-cta__benefits { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .testimonials-hero__grid { gap: 36px; }
  .testimonials-hero .breadcrumbs { margin-bottom: 22px; }
  .testimonials-hero h1 { font-size: clamp(2.15rem, 11vw, 2.85rem); }
  .testimonials-hero__content > p:not(.eyebrow) { font-size: .96rem; }
  .testimonials-hero__proof { flex-direction: column; align-items: stretch; }
  .testimonials-hero__score { gap: 8px; }
  .testimonials-hero__score > strong { font-size: 1.45rem; }
  .testimonials-hero__score .google-stars { font-size: .78rem; }
  .testimonials-hero__divider { width: 100%; height: 1px; }
  .testimonials-hero__stat { flex-direction: row; align-items: baseline; gap: 8px; }
  .testimonials-hero__visual { max-width: 330px; }
  .testimonials-hero__sound { bottom: 14px; }
  .testimonials-hero__card { align-items: flex-start; }
  .testimonials-hero__quote { font-size: 2.7rem; }
  .testimonials-cta__inner { padding: 30px 20px; }
}

/* ==========================================================================
   Blog
   ========================================================================== */
.blog { background: var(--off-white); }
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card img { width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; }
.blog-card__body { padding: 26px; }
.blog-card__meta { font-size: 0.8rem; color: var(--orange-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.blog-card h3 { font-size: 1.1rem; margin: 10px 0 16px; }

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

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--white); }
.faq__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.accordion { margin-top: 32px; display: grid; gap: 14px; }
.accordion__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--off-white);
}
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-900);
}
.accordion__trigger .icon { color: var(--orange-500); width: 20px; height: 20px; transition: transform 0.25s ease; flex-shrink: 0; }
.accordion__item.is-open .accordion__trigger .icon { transform: rotate(45deg); }
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion__panel p { padding: 0 24px 20px; margin: 0; }
.accordion__item.is-open .accordion__panel { max-height: 220px; }

.faq__card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}
.faq__card-badge {
  display: inline-block;
  background: var(--orange-500);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.faq__card h3 { color: var(--white); font-size: 1.3rem; }
.faq__card p { color: rgba(255,255,255,0.7); }

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

/* ==========================================================================
   Location Map
   ========================================================================== */
.location-map { background: var(--white); }
.location-map__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.location-map__frame iframe {
  width: 100%;
  height: 450px;
  display: block;
}
.location-map--contact {
  background: var(--navy-900);
}
.location-map--contact .eyebrow { color: var(--orange-400); }
.location-map--contact h2 { color: var(--white); }
.location-map--contact .section-head__desc { color: rgba(255,255,255,0.7); }
.location-map--contact .location-map__frame {
  border: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 640px) {
  .location-map__frame iframe { height: 300px; }
}

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter { background: var(--orange-500); }
.newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter h2 { color: var(--white); max-width: 560px; margin: 0; }
.newsletter__form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter__form input {
  padding: 15px 20px;
  border-radius: 999px;
  border: none;
  min-width: 280px;
  font-family: inherit;
  font-size: 0.95rem;
}
.newsletter__form input:focus { outline: 3px solid var(--navy-900); }
.newsletter .btn--orange { background: var(--navy-900); }
.newsletter .btn--orange:hover { background: var(--navy-950); }

@media (max-width: 640px) {
  .newsletter__form { width: 100%; }
  .newsletter__form input { min-width: 0; flex: 1; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.75);
  padding-top: 96px;
  border-top: 3px solid var(--orange-500);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__grid > * { min-width: 0; }
.footer__col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__col a, .footer__col p { display: block; margin-bottom: 14px; line-height: 1.6; color: rgba(255,255,255,0.65); transition: color 0.2s; overflow-wrap: break-word; }
.footer__col a:hover { color: var(--orange-400); }
.footer__col--brand p { max-width: 300px; line-height: 1.7; }
.footer__col .footer__download {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: var(--white);
  font-weight: 600;
  line-height: 1.35;
}
.footer__col .footer__download:hover {
  color: var(--white);
  border-color: var(--orange-500);
  background: var(--orange-500);
}
.footer__download .icon { width: 18px; height: 18px; }

/* The logo artwork sits on its own white background, so present it on a
   deliberate white card instead of letting it float as a bare patch. */
.footer .logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 18px 26px;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 10px 28px rgba(0,0,0,0.35);
}
/* Sized generously so the "Planet Builders" wordmark and tagline baked into
   the logo artwork stay legible against the dark footer. */
.logo--light .logo__img { height: 210px; }
@media (max-width: 560px) {
  .logo--light .logo__img { height: 170px; }
}

.footer__col--brand .topbar__social { margin-top: 26px; gap: 12px; }
/* Re-assert the icon-circle layout: the generic ".footer__col a" block rule
   (display:block + margin) would otherwise override .topbar__social a. */
.footer__col--brand .topbar__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  flex: 0 0 44px;
  aspect-ratio: 1;
  box-sizing: border-box;
  padding: 0;
  margin-bottom: 0;
  border-radius: 50%;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.footer__col--brand .topbar__social .icon { width: 22px; height: 22px; fill: currentColor; }
.footer__col--brand .topbar__social a:hover {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__newsletter { display: flex; gap: 8px; margin-top: 16px; }
.footer__newsletter input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: inherit;
}
.footer__newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.footer__newsletter input:focus { outline: none; border-color: var(--orange-500); }
.footer__newsletter button {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--orange-500);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.footer__newsletter button:hover { background: var(--orange-600); transform: translateX(2px); }

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.footer__bottom-inner p { margin: 0; color: rgba(255,255,255,0.55); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer__legal a:hover { color: var(--orange-400); }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer__col--brand { grid-column: 1 / -1; }
  .footer__col--brand p { max-width: 460px; }
}
@media (max-width: 560px) {
  .footer { padding-top: 64px; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .footer__col--brand { display: flex; flex-direction: column; align-items: center; }
  .footer__col--brand p { max-width: 100%; }
  .footer__col--brand .logo { justify-content: center; }
  .footer__col--brand .topbar__social { justify-content: center; gap: 8px; }
  .footer__col--brand .topbar__social a {
    width: 38px;
    height: 38px;
    min-width: 38px;
    max-width: 38px;
    flex-basis: 38px;
  }
  .footer__col p { max-width: 100%; }
  .footer__newsletter { max-width: 340px; margin-left: auto; margin-right: auto; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  z-index: 60;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--orange-600); }
.back-to-top .icon { width: 22px; height: 22px; }

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 61;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.whatsapp-float:hover { background: #1ebd5a; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.whatsapp-float .icon { width: 30px; height: 30px; fill: currentColor; }
.whatsapp-float__ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.55;
  animation: whatsapp-ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes whatsapp-ping {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float__ping { animation: none; display: none; }
}

/* When back-to-top is visible (scrolled down), stack WhatsApp above it instead of overlapping */
.whatsapp-float.is-stacked { bottom: 88px; }

@media (max-width: 640px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .back-to-top { right: 16px; bottom: 16px; }
  .whatsapp-float.is-stacked { bottom: 76px; }
}

/* Focus visibility globally */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--orange-400);
  outline-offset: 2px;
}

/* ==========================================================================
   Page Hero (sub-pages: about, services, portfolio, testimonials, contact)
   ========================================================================== */
.page-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 620px; margin: 0; }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  list-style: none;
  padding: 0;
}
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs a { color: rgba(255,255,255,0.85); font-weight: 600; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--orange-400); }
.breadcrumbs .sep { color: rgba(255,255,255,0.35); }
.breadcrumbs [aria-current="page"] { color: var(--orange-400); }

/* ==========================================================================
   Sub-page content layout (prose + sidebar)
   ========================================================================== */
.page-content { background: var(--white); padding: 80px 0; }
.page-content__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}
.prose h2 { margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }

/* Article tables (used by blog guides for spec/price comparisons) */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 0.95rem;
}
.prose th, .prose td {
  border: 1px solid var(--grey-200, #e2e6ec);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--navy-900, #22262b);
  color: var(--white, #fff);
  font-weight: 600;
}
.prose tr:nth-child(even) td { background: rgba(0,0,0,0.025); }
@media (max-width: 640px) {
  .prose table { display: block; overflow-x: auto; }
}
.prose ul { padding-left: 20px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.prose img { border-radius: var(--radius-lg); margin: 24px 0; box-shadow: var(--shadow-sm); }
.prose blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: rgba(165, 28, 48, 0.04);
  border-left: 4px solid var(--orange-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.prose blockquote p {
  margin-bottom: 8px;
}
.prose blockquote p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .page-content__grid { grid-template-columns: 1fr; }
}

/* ---------- Related links / sidebar cards ---------- */
.sidebar-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.sidebar-card h3 { font-size: 1.05rem; margin-bottom: 16px; }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.related-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--navy-800);
  transition: background 0.2s ease, color 0.2s ease;
}
.related-list a:hover { background: var(--navy-900); color: var(--white); }
.related-list .icon { width: 16px; height: 16px; flex-shrink: 0; }

.sidebar-card--cta { background: var(--navy-900); color: var(--white); text-align: center; }
.sidebar-card--cta h3 { color: var(--white); }
.sidebar-card--cta p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.sidebar-card--cta .btn { width: 100%; margin-top: 8px; }

/* ==========================================================================
   Portfolio grid (sub-page)
   ========================================================================== */
.portfolio-grid {
  column-count: 3;
  column-gap: 24px;
}
.portfolio-item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--navy-900);
  vertical-align: top;
  break-inside: avoid;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
.portfolio-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: filter .3s ease;
}
.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(13,26,51,.2);
}
.portfolio-item:hover img { filter: brightness(.92) saturate(1.05); }
.portfolio-item:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 4px;
}
.portfolio-item__tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  background: var(--orange-500);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}
.portfolio-item__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 24px 20px;
  background: linear-gradient(180deg, transparent, rgba(6,15,36,.9));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
}

@media (max-width: 900px) {
  .portfolio-grid { column-count: 2; }
}
@media (max-width: 560px) {
  .portfolio-grid { column-count: 1; }
  .portfolio-item { margin-bottom: 18px; }
  .portfolio-item__tag { top: 12px; left: 12px; }
  .portfolio-item__caption { padding: 28px 16px 16px; }
}

/* ==========================================================================
   404 page
   ========================================================================== */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px;
  background: var(--off-white);
}
.error-page__code {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--orange-500);
  line-height: 1;
  margin-bottom: 8px;
}
.error-page__links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
