/* ============================================
   HomeNest Remodeling — Design Tokens
   Ported 1:1 from the Next.js source (app/globals.css)
   ============================================ */

:root {
  --primary: #152A45;      /* Navy */
  --accent: #3BB03B;       /* Green */
  --accent-hover: #2E8F2E; /* hsl(120 65% 36%) */
  --sky: #3DA1D2;          /* Sky Blue */
  --warm-white: #FAF8F5;
  --charcoal: #2B3038;
  --charcoal-70: rgba(43, 48, 56, 0.7);
  --charcoal-60: rgba(43, 48, 56, 0.6);
  --light-gray: #F0F1F3;
  --success: #29A35A;
  --danger: #D6342B;
  --heading-cyan: #20C7FD; /* live default heading/eyebrow color in production */

  --radius: 0.75rem;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

  --font-heading: "Poppins", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container-max: 80rem; /* 1280px */
}

/* ============================================
   Reset
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 1 auto; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
input, textarea, select { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-cyan);
  margin: 0;
}

p { margin: 0; }

::selection { background-color: var(--accent); color: #ffffff; }

/* ============================================
   Layout / Container
   ============================================ */

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .section-padding { padding-top: 6rem; padding-bottom: 6rem; }
}

.section-dark { background-color: var(--primary); color: #ffffff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #ffffff; }
.section-light { background-color: var(--warm-white); color: var(--charcoal); }
.section-white { background-color: #ffffff; color: var(--charcoal); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--heading-cyan);
}
.eyebrow--white { color: rgba(255, 255, 255, 0.7); }

.accent-text { color: var(--accent); }

/* ============================================
   Buttons
   ============================================ */

.btn-primary, .btn-secondary, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.btn-primary {
  color: #ffffff;
  background-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background-color: var(--accent-hover); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; }

.btn-secondary {
  color: #ffffff;
  background-color: transparent;
  border-color: #ffffff;
}
.btn-secondary:hover { background-color: #ffffff; color: var(--primary); }
.btn-secondary:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }

.btn-outline {
  color: var(--primary);
  background-color: transparent;
  border-color: var(--primary);
}
.btn-outline:hover { background-color: var(--primary); color: #ffffff; }

.btn-full { width: 100%; }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

/* ============================================
   Cards
   ============================================ */

.card-elevated {
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 250ms ease, transform 250ms ease;
}
.card-elevated:hover { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16); transform: translateY(-2px); }

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: #ffffff;
  backdrop-filter: blur(6px);
}

/* ============================================
   Header / Navigation
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: background-color 300ms ease, box-shadow 300ms ease;
}
.site-header.is-solid {
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.header-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
@media (min-width: 768px) { .header-logo img { height: 50px; } }
@media (min-width: 1024px) { .header-logo img { height: 60px; } }

.header-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: #ffffff;
  transition: color 300ms ease;
}
.site-header.is-solid .header-logo-text { color: var(--primary); }
@media (min-width: 768px) { .header-logo-text { font-size: 1.25rem; } }

.header-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
@media (min-width: 1024px) { .header-nav { display: flex; } }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.875rem;
  color: #ffffff;
  transition: color 300ms ease;
}
.site-header.is-solid .nav-dropdown-trigger,
.site-header.is-solid .header-nav > a { color: var(--primary); }
.header-nav > a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.875rem;
  color: #ffffff;
  white-space: nowrap;
  transition: color 300ms ease;
}
.nav-dropdown-trigger:hover, .header-nav > a:hover { color: var(--accent); }
.chevron { width: 14px; height: 14px; transition: transform 180ms ease; flex-shrink: 0; }
.nav-dropdown.is-open .chevron { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.75rem;
  width: 16rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dropdown-menu-inner {
  background-color: var(--primary);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.dropdown-menu-inner a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #e5e7eb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 150ms ease, color 150ms ease;
}
.dropdown-menu-inner a:last-child { border-bottom: none; }
.dropdown-menu-inner a:hover { background-color: rgba(255, 255, 255, 0.1); color: #ffffff; }

.dropdown-menu--wide { width: 40rem; }
.dropdown-menu--wide .dropdown-menu-inner { padding: 1.5rem; }
.dropdown-group-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.dropdown-cols-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.dropdown-cols-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 1rem; }
.dropdown-cols-2 a, .dropdown-cols-3 a { padding: 0.5rem 0; border: none; }
.dropdown-more { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }

.header-cta { display: none; align-items: center; gap: 1rem; }
@media (min-width: 768px) { .header-cta { display: flex; } }
.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: #ffffff;
  white-space: nowrap;
  transition: color 300ms ease;
}
.site-header.is-solid .header-phone { color: var(--primary); }
.header-phone:hover { color: var(--heading-cyan); }
@media (min-width: 1024px) { .header-phone { display: flex; } }
.header-phone svg { width: 16px; height: 16px; flex-shrink: 0; }

.hamburger {
  display: flex;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: none;
  border: none;
  color: #ffffff;
  transition: color 300ms ease;
}
.site-header.is-solid .hamburger { color: var(--primary); }
@media (min-width: 768px) { .hamburger { display: none; } }
.hamburger svg { width: 24px; height: 24px; }

/* Mobile full-screen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background-color: var(--primary);
  color: #ffffff;
  padding-top: 6rem;
  padding-bottom: 2rem;
  overflow-y: auto;
  display: none;
}
.mobile-menu.is-open { display: block; }
@media (min-width: 768px) { .mobile-menu { display: none !important; } }
.mobile-menu-inner { padding: 0 1.5rem; }
.mobile-menu-section { margin-bottom: 1.5rem; }
.mobile-menu-section + .mobile-menu-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}
.mobile-menu-section a {
  display: block;
  padding: 0.5rem 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.125rem;
  color: #e5e7eb;
  transition: color 150ms ease;
}
.mobile-menu-section a:hover { color: var(--accent); }
.mobile-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
}
.mobile-sublist { overflow: hidden; max-height: 0; transition: max-height 250ms ease; }
.mobile-sublist.is-open { max-height: 40rem; }
.mobile-sublist-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0.5rem; }
.mobile-sublist-cols a { padding: 0.375rem 0; font-size: 0.875rem; font-weight: 400; }
.mobile-menu-cta { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-menu-note { text-align: center; font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); padding-top: 0.5rem; }

/* Active nav state */
.header-nav > a.is-active,
.nav-dropdown.is-active > .nav-dropdown-trigger,
.dropdown-menu-inner a.is-active,
.mobile-menu-section a.is-active {
  color: var(--accent);
}

/* ============================================
   Footer
   ============================================ */

.site-footer { background-color: var(--primary); color: #ffffff; }
.footer-main { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .footer-main { padding-top: 5rem; padding-bottom: 5rem; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.footer-brand-logo { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 1rem; }
.footer-brand-logo img { width: 40px; height: 40px; object-fit: contain; }
.footer-brand-logo span { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; }
.footer-desc { color: #d1d5db; font-size: 0.875rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-social { display: flex; align-items: center; gap: 1rem; }
.footer-social a { color: #d1d5db; transition: color 150ms ease; }
.footer-social a:hover { color: #ffffff; }
.footer-social svg { width: 20px; height: 20px; }

.footer-heading {
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: #d1d5db; font-size: 0.875rem; transition: color 150ms ease; }
.footer-links a:hover { color: #ffffff; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 0.5rem; color: #d1d5db; font-size: 0.875rem; margin-bottom: 0.75rem; }
.footer-contact-item svg { width: 16px; height: 16px; margin-top: 0.125rem; flex-shrink: 0; }
.footer-contact-item a { color: #d1d5db; transition: color 150ms ease; }
.footer-contact-item a:hover { color: #ffffff; }
.footer-hours { color: #d1d5db; font-size: 0.875rem; }

.footer-bottom-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom-links a { color: #d1d5db; font-size: 0.875rem; transition: color 150ms ease; }
.footer-bottom-links a:hover { color: #ffffff; }
.footer-bottom-links li:not(:last-child)::after { content: "\00b7"; margin-left: 0.5rem; color: rgba(255, 255, 255, 0.4); }
.footer-bottom-links { list-style: none; padding: 0; margin-top: 2rem; }
.footer-bottom-links li { display: inline; }

.footer-map-section { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; padding-bottom: 2rem; }
.footer-map-label { font-family: var(--font-heading); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; color: var(--heading-cyan); }
.footer-map-frame { border-radius: 0.75rem; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); }
.footer-map-frame iframe { width: 100%; height: 200px; border: 0; display: block; }
@media (min-width: 768px) { .footer-map-frame iframe { height: 250px; } }
.footer-map-actions { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .footer-map-actions { flex-direction: row; gap: 1.5rem; } }
.footer-map-actions a { display: inline-flex; align-items: center; gap: 0.375rem; color: rgba(255, 255, 255, 0.7); font-size: 0.875rem; text-decoration: underline; transition: color 150ms ease; }
.footer-map-actions a:hover { color: #ffffff; }
.footer-map-actions svg { width: 16px; height: 16px; flex-shrink: 0; }

.footer-copyright-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 768px) { .footer-copyright-row { flex-direction: row; justify-content: space-between; } }
.footer-copyright { color: #9ca3af; font-size: 0.75rem; }
.footer-legal-links { display: flex; align-items: center; gap: 1rem; font-size: 0.75rem; list-style: none; padding: 0; margin: 0; }
.footer-legal-links a { color: #9ca3af; transition: color 150ms ease; }
.footer-legal-links a:hover { color: #ffffff; }

/* RBR footer credit signature */
.foot__credit {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(128, 128, 128, .25);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: inherit;
  text-align: center;
}
.foot__credit a {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  opacity: 0.75;
  text-decoration: none;
  transition: opacity 180ms ease;
}
.foot__credit a:hover, .foot__credit a:focus-visible { opacity: 1; }
.foot__credit img {
  height: 26px;
  width: auto;
  display: block;
  filter: opacity(0.95) contrast(1.08) saturate(1.05);
  transition: filter 420ms ease, transform 420ms ease;
}
.foot__credit a:hover img {
  filter: opacity(1) contrast(1.1) saturate(1.15) drop-shadow(0 2px 8px rgba(59, 176, 59, .35));
  transform: translateY(-1px);
}
.foot__credit strong { font-weight: 600; color: inherit; }
@media (prefers-reduced-motion: reduce) {
  .foot__credit a, .foot__credit img { transition: none; }
}

/* ============================================
   Contact Modal (Popup Form)
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: none;
  -webkit-overflow-scrolling: touch;
}
.modal-overlay.is-open { display: block; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
.modal-scroll-area {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6rem;
}
@media (min-width: 768px) { .modal-scroll-area { align-items: center; padding: 1rem; } }
.modal-card {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-radius: 1rem 1rem 0 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
@media (min-width: 768px) { .modal-card { max-width: 32rem; border-radius: 1rem; } }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  border: none;
  color: #6b7280;
  transition: color 150ms ease, background-color 150ms ease;
}
.modal-close:hover { color: #1f2937; background: #ffffff; }
.modal-header { position: relative; background: var(--primary); padding: 1.75rem 1.5rem; text-align: center; }
@media (min-width: 640px) { .modal-header { padding: 1.75rem 2rem; } }
.modal-header img { height: 80px; width: auto; margin: 0 auto 1rem; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35)); }
@media (min-width: 768px) { .modal-header img { height: 100px; } }
.modal-header h2 { color: #ffffff; font-size: 1.5rem; margin-top: 0.25rem; }
@media (min-width: 640px) { .modal-header h2 { font-size: 1.875rem; } }
.modal-header p { color: rgba(255, 255, 255, 0.8); font-size: 0.875rem; margin-top: 0.5rem; max-width: 24rem; margin-left: auto; margin-right: auto; }

.modal-form { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .modal-form { padding: 1.75rem 2rem; } }
.modal-form label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--charcoal); margin-bottom: 0.375rem; }
.modal-form .required { color: var(--danger); }
.modal-form input[type="text"],
.modal-form input[type="tel"],
.modal-form input[type="email"],
.modal-form select,
.modal-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--charcoal);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.modal-form textarea { resize: none; min-height: auto; }
.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 176, 59, 0.3);
}
.modal-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .modal-form-row { grid-template-columns: 1fr 1fr; } }
.modal-consent { display: flex; align-items: flex-start; gap: 0.625rem; }
.modal-consent input { margin-top: 0.25rem; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--accent); }
.modal-consent label { font-size: 0.75rem; line-height: 1.6; color: var(--charcoal-70); font-weight: 400; margin-bottom: 0; }
.modal-consent a { text-decoration: underline; }
.modal-consent a:hover { color: var(--accent); }
.modal-footnote { font-size: 0.75rem; color: var(--charcoal-60); text-align: center; padding-top: 0.25rem; }

/* ============================================
   Sticky CTAs
   ============================================ */

.sticky-cta-desktop {
  display: none;
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  width: 160px;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--primary);
  border-radius: 1rem;
  box-shadow: 0 12px 40px rgba(59, 176, 59, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
@media (min-width: 768px) { .sticky-cta-desktop { display: flex; } }
.sticky-cta-desktop p { color: rgba(255, 255, 255, 0.7); font-size: 0.625rem; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.05em; text-align: center; margin-bottom: 0.25rem; }
.sticky-cta-call {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; height: 44px; border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem;
  transition: background-color 150ms ease;
}
.sticky-cta-call:hover { background: rgba(255, 255, 255, 0.2); }
.sticky-cta-book {
  display: flex; align-items: center; justify-content: center; gap: 0.375rem;
  width: 100%; height: 44px; border-radius: 0.5rem; border: none;
  background: var(--accent); color: #ffffff; font-family: var(--font-heading);
  font-weight: 600; font-size: 0.875rem; transition: filter 150ms ease;
}
.sticky-cta-book:hover { filter: brightness(1.1); }
.sticky-cta-desktop svg { width: 16px; height: 16px; flex-shrink: 0; }

.sticky-cta-mobile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
  padding-bottom: calc(env(safe-area-inset-bottom) + 0.75rem);
}
@media (min-width: 768px) { .sticky-cta-mobile { display: none; } }
.sticky-cta-mobile a, .sticky-cta-mobile button {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 48px; border-radius: 0.5rem; font-family: var(--font-heading);
  font-weight: 600; font-size: 0.875rem; white-space: nowrap; border: none;
}
.sticky-cta-mobile a { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #ffffff; }
.sticky-cta-mobile button { background: var(--accent); color: #ffffff; }
.sticky-cta-mobile svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================
   Breadcrumbs
   ============================================ */

.breadcrumb { padding: 1rem 0; font-size: 0.8125rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; list-style: none; padding: 0; margin: 0; }
.breadcrumb a { color: var(--charcoal-60); transition: color 150ms ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.375rem; color: var(--charcoal-60); opacity: 0.5; }
.breadcrumb li[aria-current="page"] { color: var(--charcoal); font-weight: 500; }

/* ============================================
   FAQ Accordion
   ============================================ */

.faq-item { border-bottom: 1px solid var(--light-gray); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; background: none; border: none; text-align: left;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem; color: var(--charcoal);
}
.faq-question svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 200ms ease; color: var(--accent); }
.faq-item.is-open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 300ms ease; }
.faq-item.is-open .faq-answer { max-height: 40rem; }
.faq-answer-inner { padding-bottom: 1.25rem; color: var(--charcoal-70); line-height: 1.7; }
.faq-item--dark { border-color: rgba(255, 255, 255, 0.15); }
.faq-item--dark .faq-question { color: #ffffff; }
.faq-item--dark .faq-answer-inner { color: rgba(255, 255, 255, 0.75); }

/* ============================================
   Utilities
   ============================================ */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--primary); color: #fff; padding: 0.75rem 1.25rem; border-radius: 0 0 0.5rem 0;
}
.skip-link:focus { left: 0; }

/* ============================================
   Scroll reveal
   ============================================ */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   Hero (homepage)
   ============================================ */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--primary);
  color: #ffffff;
}
@media (min-width: 768px) { .hero { min-height: 100vh; } }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.3); z-index: 1; }
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 6rem 0 4rem; }
@media (min-width: 768px) { .hero-inner { padding: 7rem 0 6rem; } }
@media (min-width: 1024px) { .hero-inner { padding: 8rem 0 7rem; } }
.hero h1 { font-size: 2.5rem; line-height: 1.05; max-width: 48rem; letter-spacing: -0.01em; }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }
.hero h1 span { display: block; text-shadow: 1px 1px 4px rgba(0,0,0,0.5); }
.hero p.hero-lede { margin-top: 1.5rem; font-size: 1.125rem; color: rgba(255,255,255,0.85); max-width: 42rem; line-height: 1.6; }
@media (min-width: 768px) { .hero p.hero-lede { font-size: 1.25rem; } }
.hero-ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-badges { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 0.625rem; }
.hero-badges svg { width: 16px; height: 16px; }
.hero-scroll-hint { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.5); font-size: 0.75rem; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.2em; display: none; flex-direction: column; align-items: center; gap: 0.5rem; z-index: 2; }
@media (min-width: 768px) { .hero-scroll-hint { display: flex; } }
.hero-scroll-hint span.line { width: 1px; height: 2rem; background: rgba(255,255,255,0.3); }

/* ============================================
   Generic section heading block
   ============================================ */

.section-head { max-width: 48rem; }
.section-head h2 { font-size: 1.875rem; color: var(--primary); line-height: 1.2; }
@media (min-width: 768px) { .section-head h2 { font-size: 3rem; } }
.section-dark .section-head h2 { color: #ffffff; }
.section-head p.section-lede { margin-top: 1rem; font-size: 1.125rem; color: var(--charcoal-70); }

/* ============================================
   Services grid (homepage)
   ============================================ */

.services-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  display: block; height: 100%; background: #ffffff; border-radius: 1rem;
  border: 1px solid var(--light-gray); overflow: hidden;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
.service-card:hover { border-color: rgba(59,176,59,0.4); box-shadow: var(--shadow-lg); }
.service-card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--light-gray); }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 1.5rem; }
.service-card-icon { width: 48px; height: 48px; border-radius: 0.75rem; background: var(--warm-white); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; transition: background-color 300ms ease; }
.service-card:hover .service-card-icon { background: var(--accent); }
.service-card-icon svg { width: 24px; height: 24px; color: var(--accent); transition: color 300ms ease; }
.service-card:hover .service-card-icon svg { color: #ffffff; }
.service-card-body h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 0.5rem; }
.service-card-body p { font-size: 0.875rem; color: var(--charcoal-70); line-height: 1.6; }
.service-card-link { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.375rem; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: var(--accent); }
.service-card-link svg { width: 14px; height: 14px; transition: transform 300ms ease; }
.service-card:hover .service-card-link svg { transform: translateX(3px); }

/* ============================================
   Why HomeNest cards
   ============================================ */

.values-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card { padding: 1.5rem; position: relative; overflow: hidden; }
.value-card-badge { position: absolute; top: 0.75rem; right: 0.75rem; height: 60px; width: auto; opacity: 0.95; }
.value-icon { width: 48px; height: 48px; border-radius: 0.75rem; background: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.value-icon svg { width: 24px; height: 24px; color: var(--accent); }
.value-card h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 0.5rem; }
.value-card p { font-size: 0.875rem; color: var(--charcoal-70); line-height: 1.6; }

/* ============================================
   Before/After slider block
   ============================================ */

.ba-section-head { text-align: center; margin-bottom: 1.5rem; }
.ba-section-head p.ba-sub { color: #9ca3af; font-size: 1rem; margin-top: 0.5rem; }
@media (min-width: 768px) { .ba-section-head p.ba-sub { font-size: 1.125rem; } }
.ba-wrap { max-width: 72rem; margin: 0 auto; }
.ba-slider {
  position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 0.75rem; overflow: hidden;
  user-select: none; touch-action: none; cursor: ew-resize; box-shadow: var(--shadow-lg);
  outline: 1px solid rgba(255,255,255,0.1); outline-offset: -1px; background: var(--primary);
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { z-index: 1; }
.ba-after { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba-label { position: absolute; top: 1rem; display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.75rem; border-radius: 0.5rem; color: #fff; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; box-shadow: var(--shadow-md); z-index: 3; }
.ba-label svg { width: 16px; height: 16px; }
.ba-label--before { left: 1rem; background: rgba(21,42,69,0.9); }
.ba-label--after { right: 1rem; background: var(--accent); }
.ba-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 4; pointer-events: none; }
.ba-handle img { position: static; display: block; width: auto; height: 140px; max-width: none; }
@media (min-width: 768px) { .ba-handle img { height: 200px; } }
@media (min-width: 1024px) { .ba-handle img { height: 250px; } }
.ba-tagline-bar { margin-top: 1.5rem; border-radius: 0.75rem; background: var(--charcoal); outline: 1px solid rgba(255,255,255,0.05); padding: 1.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; }
@media (min-width: 1024px) { .ba-tagline-bar { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.ba-tagline-bar h3 { font-size: 1.125rem; color: #ffffff; line-height: 1.3; }
.ba-tagline-bar h3.accent-text { color: var(--accent); }
.ba-tagline-bar p { margin-top: 0.5rem; font-size: 0.875rem; color: #9ca3af; }
.ba-trust-points { display: flex; flex-direction: column; gap: 0.625rem; }
.ba-trust-points div { display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; font-size: 0.875rem; font-family: var(--font-heading); font-weight: 500; }
.ba-trust-points svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.ba-brush { display: flex; justify-content: center; }
@media (min-width: 1024px) { .ba-brush { justify-content: flex-end; } }
.ba-brush img { height: 80px; width: auto; }
@media (min-width: 768px) { .ba-brush img { height: 100px; } }
.ba-info-row { margin-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ba-info-row p:first-child { font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; color: #fff; }
.ba-info-row p:last-child { font-size: 0.875rem; color: #9ca3af; }
.ba-nav { display: flex; align-items: center; gap: 0.5rem; }
.ba-nav button { width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; display: flex; align-items: center; justify-content: center; }
.ba-nav button:hover { background: rgba(255,255,255,0.2); }
.ba-nav button svg { width: 20px; height: 20px; }

/* ============================================
   Process timeline
   ============================================ */

.process-list { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; column-gap: 1.5rem; row-gap: 3rem; }
@media (min-width: 768px) { .process-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .process-list { grid-template-columns: repeat(3, 1fr); } }
.process-step-icon { position: relative; display: inline-flex; align-items: center; }
.process-step-icon img { height: 5rem; width: auto; filter: drop-shadow(0 6px 14px rgba(21,42,69,0.15)); }
@media (min-width: 768px) { .process-step-icon img { height: 6rem; } }
.process-step-num { position: absolute; bottom: -0.25rem; right: -0.25rem; width: 32px; height: 32px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 0.75rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); outline: 2px solid #fff; }
.process-step h3 { margin-top: 1rem; font-size: 1.25rem; color: var(--primary); }
.process-step p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--charcoal-70); line-height: 1.6; }

/* ============================================
   Stats counter
   ============================================ */

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; text-align: center; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: left; } }
.stat-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 0.75rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); margin-bottom: 1rem; }
.stat-icon svg { width: 20px; height: 20px; color: var(--accent); }
.stat-value { font-family: var(--font-heading); font-weight: 700; font-size: 2.25rem; color: #ffffff; line-height: 1; }
@media (min-width: 768px) { .stat-value { font-size: 3rem; } }
.stat-label { margin-top: 0.75rem; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-sublabel { margin-top: 0.25rem; font-size: 0.875rem; color: rgba(255,255,255,0.65); }

/* ============================================
   Testimonials
   ============================================ */

.testimonial-head { display: flex; align-items: flex-start; gap: 1.25rem; max-width: 56rem; }
.testimonial-head img { display: none; flex-shrink: 0; height: 60px; width: auto; filter: drop-shadow(0 6px 14px rgba(21,42,69,0.18)); }
@media (min-width: 640px) { .testimonial-head img { display: block; } }
@media (min-width: 768px) { .testimonial-head img { height: 80px; } }
.testimonial-carousel { margin-top: 3rem; position: relative; }
.testimonial-card { border-radius: 1rem; background: #fff; box-shadow: var(--shadow-lg); padding: 2rem; position: relative; overflow: hidden; }
@media (min-width: 768px) { .testimonial-card { padding: 3rem; } }
.testimonial-quote-icon { position: absolute; top: 1.5rem; right: 1.5rem; width: 80px; height: 80px; color: rgba(59,176,59,0.15); }
.testimonial-track-wrap { overflow: hidden; }
.testimonial-track { display: flex; transition: transform 400ms cubic-bezier(0.22,1,0.36,1); }
.testimonial-slide { flex: 0 0 100%; }
.testimonial-stars { display: flex; gap: 0.25rem; margin-bottom: 1.25rem; }
.testimonial-stars svg { width: 20px; height: 20px; color: var(--accent); fill: var(--accent); }
.testimonial-slide blockquote { margin: 0; font-family: var(--font-heading); font-weight: 500; font-size: 1.25rem; color: var(--primary); line-height: 1.6; }
@media (min-width: 768px) { .testimonial-slide blockquote { font-size: 1.5rem; } }
.testimonial-slide footer { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--light-gray); }
.testimonial-slide footer .t-name { font-family: var(--font-heading); font-weight: 600; color: var(--primary); }
.testimonial-slide footer .t-meta { font-size: 0.875rem; color: var(--charcoal-70); }
.testimonial-controls { margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.testimonial-prev, .testimonial-next { width: 44px; height: 44px; border-radius: 999px; background: #fff; border: 1px solid var(--light-gray); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.testimonial-prev:hover, .testimonial-next:hover { border-color: var(--accent); color: var(--accent); }
.testimonial-prev svg, .testimonial-next svg { width: 20px; height: 20px; }
.testimonial-dots { display: flex; align-items: center; gap: 0.375rem; padding: 0 0.5rem; }
.testimonial-dot { height: 8px; width: 8px; border-radius: 999px; background: rgba(43,48,56,0.2); border: none; transition: all 200ms ease; }
.testimonial-dot:hover { background: rgba(43,48,56,0.4); }
.testimonial-dot.is-active { width: 24px; background: var(--accent); }

/* ============================================
   Cost estimator CTA (homepage)
   ============================================ */

.cost-cta-section { position: relative; overflow: hidden; background: var(--accent); color: #fff; }
.cost-cta-bg { position: absolute; inset: 0; opacity: 0.2; background: radial-gradient(circle at 10% 20%, #fff, transparent 40%), radial-gradient(circle at 90% 80%, #fff, transparent 45%); }
.cost-cta-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .cost-cta-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.cost-cta-grid h2 { color: #fff; font-size: 1.875rem; }
@media (min-width: 768px) { .cost-cta-grid h2 { font-size: 3rem; } }
.cost-cta-grid p.lede { margin-top: 1.25rem; font-size: 1.125rem; color: rgba(255,255,255,0.85); max-width: 36rem; line-height: 1.6; }
.cost-cta-btn { margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 1.75rem; border-radius: 0.5rem; background: #fff; color: var(--primary); font-family: var(--font-heading); font-weight: 600; box-shadow: var(--shadow-lg); }
.cost-cta-btn:hover { background: var(--warm-white); }
.cost-cta-btn svg { width: 16px; height: 16px; }
.sample-estimate { border-radius: 1rem; background: #fff; box-shadow: var(--shadow-lg); padding: 1.5rem; color: var(--charcoal); max-width: 28rem; margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) { .sample-estimate { margin-right: 0; } }
.sample-estimate-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.875rem; padding: 0.375rem 0; }
.sample-estimate-row span:first-child { color: var(--charcoal-70); }
.sample-estimate-row span:last-child { font-family: var(--font-heading); font-weight: 600; color: var(--primary); }
.sample-estimate-total { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--light-gray); }
.sample-estimate-total p:first-child { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--charcoal-60); font-family: var(--font-heading); font-weight: 600; }
.sample-estimate-total p.range { margin-top: 0.25rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.875rem; color: var(--accent); }
.sample-estimate-total p.note { margin-top: 0.25rem; font-size: 0.75rem; color: var(--charcoal-60); }

/* ============================================
   Service area (city pills)
   ============================================ */

.service-area-section { background: var(--light-gray); }
.service-area-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .service-area-grid { grid-template-columns: auto 1fr; gap: 4rem; } }
.service-area-grid .section-head { max-width: 28rem; }
.city-pills { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.city-pill { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.625rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--light-gray); color: var(--charcoal); font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; box-shadow: var(--shadow-sm); transition: all 200ms ease; }
.city-pill:hover { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
.city-pill svg { width: 14px; height: 14px; }
.service-area-footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.6); display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .service-area-footer { flex-direction: row; align-items: center; justify-content: space-between; } }
.service-area-footer p { font-size: 0.875rem; color: var(--charcoal-70); }
.service-area-footer a { display: inline-flex; align-items: center; gap: 0.375rem; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: var(--accent); }
.service-area-footer a:hover { color: var(--primary); }
.service-area-footer a svg { width: 14px; height: 14px; }

/* ============================================
   Portfolio / blog preview cards
   ============================================ */

.preview-head { display: flex; flex-direction: column; gap: 1rem; max-width: 64rem; }
@media (min-width: 640px) { .preview-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.preview-link { display: inline-flex; align-items: center; gap: 0.375rem; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: var(--accent); white-space: nowrap; }
.preview-link:hover { color: var(--primary); }
.preview-link svg { width: 14px; height: 14px; }
.preview-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .preview-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .preview-grid { grid-template-columns: repeat(3, 1fr); } }
.preview-card { display: block; border-radius: 1rem; overflow: hidden; border: 1px solid var(--light-gray); background: #fff; transition: box-shadow 300ms ease; }
.preview-card:hover { box-shadow: var(--shadow-lg); }
.preview-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--light-gray); }
.preview-card--blog .preview-card-img { aspect-ratio: 16/10; }
.preview-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.preview-card:hover .preview-card-img img { transform: scale(1.05); }
.preview-card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,42,69,0.4), transparent 60%); }
.preview-card-tag { position: absolute; left: 1.25rem; bottom: 1.25rem; z-index: 2; display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; border-radius: 999px; background: rgba(255,255,255,0.95); color: var(--primary); font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem; }
.preview-card--blog .preview-card-tag { top: 1rem; bottom: auto; left: 1rem; }
.preview-card-body { padding: 1.5rem; }
.preview-card-body .p-city { font-size: 0.75rem; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.05em; color: var(--charcoal-60); margin-bottom: 0.25rem; }
.preview-card-body .p-date { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: var(--charcoal-60); font-family: var(--font-heading); margin-bottom: 0.5rem; }
.preview-card-body .p-date svg { width: 14px; height: 14px; }
.preview-card-body h3 { font-size: 1.25rem; color: var(--primary); }
.preview-card--blog .preview-card-body h3 { font-size: 1.125rem; line-height: 1.4; }
.preview-card-body p.tagline { margin-top: 0.5rem; font-size: 0.875rem; color: var(--charcoal-70); line-height: 1.6; }
.preview-card-link { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.375rem; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: var(--accent); }
.preview-card-link svg { width: 14px; height: 14px; transition: transform 300ms ease; }
.preview-card:hover .preview-card-link svg { transform: translateX(3px); }

/* ============================================
   Final CTA
   ============================================ */

.final-cta-section { position: relative; overflow: hidden; background: linear-gradient(to bottom right, var(--primary), var(--primary), hsl(210,55%,10%)); }
.final-cta-glow { position: absolute; inset: 0; opacity: 0.2; background: radial-gradient(circle at 20% 30%, hsl(120,65%,42%), transparent 45%), radial-gradient(circle at 85% 70%, hsl(200,70%,55%), transparent 50%); }
.final-cta-mascot { display: none; position: absolute; left: 15%; top: 50%; transform: translateY(-50%); height: 130px; width: auto; opacity: 0.95; z-index: 1; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3)); }
@media (min-width: 1024px) { .final-cta-mascot { display: block; } }
@media (min-width: 1280px) { .final-cta-mascot { left: 20%; height: 150px; } }
.final-cta-inner { position: relative; text-align: center; max-width: 80rem; margin: 0 auto; padding: 3rem 0 4rem; }
@media (min-width: 768px) { .final-cta-inner { padding: 4rem 0; } }
.final-cta-inner h2 { font-size: 1.875rem; max-width: 56rem; margin: 0 auto; line-height: 1.2; }
@media (min-width: 768px) { .final-cta-inner h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .final-cta-inner h2 { font-size: 3.75rem; } }
.final-cta-inner p.lede { margin-top: 1.25rem; font-size: 1.125rem; color: rgba(255,255,255,0.8); max-width: 42rem; margin-left: auto; margin-right: auto; line-height: 1.6; }
.final-cta-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.final-cta-note { margin-top: 1.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); }

/* ============================================
   Inner-page hero (service / location / combo)
   ============================================ */

.page-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--primary);
  color: #ffffff;
}
@media (min-width: 768px) { .page-hero { min-height: 80vh; } }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero-gradient { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(21,42,69,0.85) 0%, rgba(21,42,69,0.6) 50%, rgba(21,42,69,0.2) 100%); }
.page-hero-inner { position: relative; z-index: 2; width: 100%; padding: 6rem 0 4rem; }
@media (min-width: 768px) { .page-hero-inner { padding: 7rem 0 6rem; } }
@media (min-width: 1024px) { .page-hero-inner { padding: 8rem 0 7rem; } }
.page-hero h1 { font-size: 2.25rem; line-height: 1.08; max-width: 48rem; letter-spacing: -0.01em; color: #20C7FD; }
@media (min-width: 640px) { .page-hero h1 { font-size: 2.75rem; } }
@media (min-width: 768px) { .page-hero h1 { font-size: 3.5rem; } }
@media (min-width: 1024px) { .page-hero h1 { font-size: 4.25rem; } }
.page-hero p.hero-lede { margin-top: 1.5rem; font-size: 1.125rem; color: rgba(255,255,255,0.85); max-width: 46rem; line-height: 1.6; }
@media (min-width: 768px) { .page-hero p.hero-lede { font-size: 1.25rem; } }
.page-hero-ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.page-hero-badges { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.625rem; }

/* Breadcrumb variant used inside dark hero */
.breadcrumb--dark { padding: 0 0 1.5rem; }
.breadcrumb--dark a { color: rgba(255,255,255,0.6); }
.breadcrumb--dark a:hover { color: var(--accent); }
.breadcrumb--dark li[aria-current="page"] { color: #ffffff; }
.breadcrumb--dark li:not(:last-child)::after { color: rgba(255,255,255,0.4); }

/* ============================================
   Included grid (service page)
   ============================================ */

.included-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .included-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .included-grid { grid-template-columns: repeat(3, 1fr); } }
.included-card { height: 100%; padding: 1.5rem; border-radius: 1rem; background: #fff; border: 1px solid var(--light-gray); transition: border-color 250ms ease, box-shadow 250ms ease; }
.included-card:hover { border-color: rgba(59,176,59,0.4); box-shadow: var(--shadow-md); }
.included-icon { width: 44px; height: 44px; border-radius: 0.75rem; background: var(--warm-white); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.included-icon svg { width: 20px; height: 20px; color: var(--accent); }
.included-card h3 { font-size: 1.125rem; color: var(--primary); margin-bottom: 0.375rem; }
.included-card p { font-size: 0.875rem; color: var(--charcoal-70); line-height: 1.6; }

/* ============================================
   Review grid (reviews page)
   ============================================ */

.review-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; margin-top: 2rem; padding: 1.75rem 2rem; border-radius: 1rem; background: var(--warm-white); }
.review-summary-score { font-family: var(--font-heading); font-weight: 700; font-size: 2.5rem; color: var(--primary); line-height: 1; }
.review-summary-stars { display: flex; gap: 0.25rem; margin: 0.5rem 0; }
.review-summary-stars svg { width: 18px; height: 18px; color: var(--accent); fill: var(--accent); }
.review-summary-count { font-size: 0.875rem; color: var(--charcoal-70); }
.review-grid { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .review-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { height: 100%; display: flex; flex-direction: column; padding: 1.75rem; border-radius: 1rem; background: #fff; border: 1px solid var(--light-gray); box-shadow: var(--shadow-md); }
.review-card .testimonial-stars { margin-bottom: 1rem; }
.review-card blockquote { margin: 0; flex: 1; font-size: 0.9375rem; color: var(--charcoal-70); line-height: 1.65; }
.review-card footer { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--light-gray); }
.review-card footer .t-name { font-family: var(--font-heading); font-weight: 600; color: var(--primary); }
.review-card footer .t-meta { font-size: 0.8125rem; color: var(--charcoal-70); }

/* ============================================
   Overview + pricing sidebar (service/location page)
   ============================================ */

.overview-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .overview-grid { grid-template-columns: 2fr 1fr; gap: 4rem; } }
.overview-body { color: var(--charcoal); font-size: 1rem; line-height: 1.75; }
@media (min-width: 768px) { .overview-body { font-size: 1.125rem; } }
.overview-body h3 { font-size: 1.25rem; color: var(--primary); margin: 2rem 0 0.75rem; }
.overview-body p { margin-bottom: 1.25rem; color: rgba(43,48,56,0.85); }
.overview-body p:first-child { margin-top: 0; }
.overview-body a { color: var(--accent); font-weight: 500; text-decoration: underline; }
.overview-body a:hover { color: var(--primary); }
.overview-body h2 { font-size: 1.875rem; margin-bottom: 1.5rem; color: var(--primary); }
@media (min-width: 768px) { .overview-body h2 { font-size: 2.25rem; } }

.price-sidebar { background: var(--primary); color: #fff; border-radius: 1rem; padding: 1.75rem; box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .price-sidebar { padding: 1.75rem; } }
.price-sidebar .amount { font-family: var(--font-heading); font-weight: 700; font-size: 2.5rem; color: #fff; }
@media (min-width: 768px) { .price-sidebar .amount { font-size: 3rem; } }
.price-sidebar .range { margin-top: 0.25rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.price-sidebar .blurb { margin-top: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); line-height: 1.6; }
.price-sidebar-ctas { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.625rem; }
.price-sidebar-foot { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.75rem; color: rgba(255,255,255,0.6); text-align: center; }

/* ============================================
   Cost Estimator (interactive wizard)
   ============================================ */

.estimator-wrap { max-width: 56rem; margin: 0 auto; }

.estimator-progress-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.estimator-step-label { font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: var(--charcoal-70); }
.estimator-restart { display: inline-flex; align-items: center; gap: 0.375rem; font-family: var(--font-heading); font-weight: 500; font-size: 0.875rem; color: var(--charcoal-60); background: none; border: none; padding: 0; cursor: pointer; transition: color 200ms ease; }
.estimator-restart:hover { color: var(--accent); }
.estimator-restart svg { width: 14px; height: 14px; }
.estimator-restart[hidden] { display: none; }

.estimator-progress-bar { margin-bottom: 2.5rem; height: 0.375rem; background: var(--light-gray); border-radius: 999px; overflow: hidden; }
.estimator-progress-fill { height: 100%; width: 20%; background: var(--accent); border-radius: 999px; transition: width 400ms cubic-bezier(0.22,1,0.36,1); }

.estimator-step { display: none; }
.estimator-step.is-active { display: block; animation: estimatorStepIn 300ms ease; }
@keyframes estimatorStepIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.estimator-step h2 { font-size: 1.5rem; color: var(--primary); margin-bottom: 1.5rem; }
@media (min-width: 768px) { .estimator-step h2 { font-size: 1.875rem; } }

.estimator-option-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .estimator-option-grid--3col { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .estimator-option-grid--3col { grid-template-columns: repeat(3, 1fr); } }

.estimator-option-card { padding: 1.25rem; border-radius: 1rem; border: 2px solid var(--light-gray); background: #fff; text-align: left; transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease; cursor: pointer; width: 100%; }
.estimator-option-card:hover { border-color: rgba(59,176,59,0.4); }
.estimator-option-card.is-selected { border-color: var(--accent); background: rgba(59,176,59,0.1); box-shadow: var(--shadow-md); }
.estimator-option-title { font-family: var(--font-heading); font-weight: 600; color: var(--primary); }
.estimator-option-meta { margin-top: 0.25rem; font-size: 0.8125rem; color: var(--charcoal-60); }
.estimator-option-desc { margin-top: 0.25rem; font-size: 0.875rem; color: var(--charcoal-70); line-height: 1.5; }

.estimator-nav { margin-top: 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.estimator-nav[hidden] { display: none; }
.estimator-back { display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: none; padding: 0; cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; color: var(--charcoal-70); transition: color 200ms ease; }
.estimator-back:hover:not(:disabled) { color: var(--primary); }
.estimator-back:disabled { opacity: 0.4; cursor: not-allowed; }
.estimator-back svg { width: 16px; height: 16px; }
#estimator-next svg { width: 16px; height: 16px; }

.estimator-results { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .estimator-results { grid-template-columns: 1fr auto; gap: 3rem; } }
.estimator-results-range { font-family: var(--font-heading); font-weight: 700; font-size: 2.75rem; color: var(--primary); line-height: 1; }
@media (min-width: 768px) { .estimator-results-range { font-size: 4.25rem; } }
.estimator-results-meta { margin-top: 1rem; font-size: 1rem; color: var(--charcoal-70); }
@media (min-width: 768px) { .estimator-results-meta { font-size: 1.125rem; } }
.estimator-results-meta strong { font-family: var(--font-heading); font-weight: 600; color: var(--primary); }
.estimator-results-note { margin-top: 1.5rem; padding: 1.25rem; border-radius: 1rem; background: #fff; border: 1px solid var(--light-gray); font-size: 0.875rem; color: var(--charcoal-70); line-height: 1.6; }
.estimator-inline-link { color: var(--accent); font-weight: 500; text-decoration: underline; }
.estimator-inline-link:hover { color: var(--primary); }
.estimator-results-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.estimator-results-footnote { margin-top: 1.5rem; font-size: 0.75rem; color: var(--charcoal-60); }
.estimator-results-mascot { display: none; height: 240px; width: auto; filter: drop-shadow(0 12px 28px rgba(21,42,69,0.2)); }
@media (min-width: 1024px) { .estimator-results-mascot { display: block; } }

/* ============================================
   Pricing transparency (dark section)
   ============================================ */

.pricing-transparency-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .pricing-transparency-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.pricing-transparency-grid h2 { color: #fff; font-size: 1.875rem; }
@media (min-width: 768px) { .pricing-transparency-grid h2 { font-size: 3rem; } }
.pricing-transparency-grid p.lede { margin-top: 1.25rem; font-size: 1.125rem; color: rgba(255,255,255,0.75); max-width: 34rem; line-height: 1.6; }
.pricing-transparency-btn { margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 1.75rem; border-radius: 0.5rem; background: var(--accent); color: #fff; font-family: var(--font-heading); font-weight: 600; box-shadow: var(--shadow-lg); }
.pricing-transparency-btn:hover { filter: brightness(1.1); }
.pricing-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.15); border-radius: 1rem; padding: 1.75rem; }
@media (min-width: 768px) { .pricing-card { padding: 2rem; } }
.pricing-card .starting-at { font-size: 0.875rem; color: rgba(255,255,255,0.6); font-family: var(--font-heading); }
.pricing-card .amount { margin-top: 0.25rem; font-family: var(--font-heading); font-weight: 700; font-size: 3rem; color: #fff; }
@media (min-width: 768px) { .pricing-card .amount { font-size: 3.75rem; } }
.pricing-card .range { margin-top: 0.75rem; color: rgba(255,255,255,0.75); }
.pricing-card-list { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 0.625rem; }
.pricing-card-list p { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.75); }
.pricing-card-list svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 0.125rem; }

/* ============================================
   Related services / locations grid
   ============================================ */

.related-grid { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card { display: block; height: 100%; padding: 1.75rem; border-radius: 1rem; background: #fff; border: 1px solid var(--light-gray); transition: border-color 250ms ease, box-shadow 250ms ease; }
.related-card:hover { border-color: rgba(59,176,59,0.4); box-shadow: var(--shadow-lg); }
.related-card h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 0.5rem; }
.related-card p { font-size: 0.875rem; color: var(--charcoal-70); line-height: 1.6; }
.related-card-link { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.375rem; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: var(--accent); }
.related-card-link svg { width: 14px; height: 14px; transition: transform 300ms ease; }
.related-card:hover .related-card-link svg { transform: translateX(3px); }
.related-footer { margin-top: 2.5rem; text-align: center; }
.related-footer a { display: inline-flex; align-items: center; gap: 0.375rem; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: var(--accent); }
.related-footer a:hover { color: var(--primary); }
.related-footer svg { width: 14px; height: 14px; }

/* Mascot accent images used on inner pages */
.mascot-accent {
  display: none;
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  height: 80px;
  width: auto;
  opacity: 0.9;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.35));
  z-index: 1;
}
@media (min-width: 1024px) { .mascot-accent { display: block; } }
@media (min-width: 1280px) { .mascot-accent { right: 3rem; height: 95px; } }

/* ============================================
   Location page extras
   ============================================ */

.neighborhood-pills { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.625rem; }
.neighborhood-pill { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.5rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--light-gray); color: var(--charcoal); font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; box-shadow: var(--shadow-sm); }
.neighborhood-pill svg { width: 14px; height: 14px; color: var(--accent); }

.why-grid-dark { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .why-grid-dark { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-grid-dark { grid-template-columns: repeat(4, 1fr); } }
.why-card-dark { height: 100%; padding: 1.5rem; border-radius: 1rem; background: rgba(255,255,255,0.05); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.15); }
.why-card-dark .icon { width: 48px; height: 48px; border-radius: 0.75rem; background: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.why-card-dark .icon svg { width: 24px; height: 24px; color: #fff; }
.why-card-dark h3 { font-size: 1.25rem; color: #fff; margin-bottom: 0.5rem; }
.why-card-dark p { font-size: 0.875rem; color: rgba(255,255,255,0.75); line-height: 1.6; }

.quick-links-grid { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.6); display: grid; grid-template-columns: 1fr; gap: 0.75rem; font-size: 0.875rem; }
@media (min-width: 640px) { .quick-links-grid { grid-template-columns: 1fr 1fr; } }
.quick-links-grid a { display: inline-flex; align-items: center; gap: 0.375rem; font-family: var(--font-heading); font-weight: 600; color: var(--accent); }
.quick-links-grid a:hover { color: var(--primary); }
.quick-links-grid svg { width: 14px; height: 14px; }

/* ============================================
   About page extras
   ============================================ */

.hero-grid-overlay { position: absolute; inset: 0; z-index: 1; opacity: 0.08; background-image: linear-gradient(rgba(255,255,255,0.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px); background-size: 64px 64px; }
.hero-gradient-dark { position: absolute; inset: 0; z-index: 0; background: linear-gradient(to bottom right, var(--primary), var(--primary), hsl(210,55%,10%)); }
.hero-glow-soft { position: absolute; inset: 0; z-index: 0; opacity: 0.25; background: radial-gradient(circle at 20% 30%, hsl(120,65%,42%), transparent 45%), radial-gradient(circle at 85% 70%, hsl(200,70%,55%), transparent 50%); }

.included-icon--dark { background: var(--primary); }
.included-icon--dark svg { color: var(--accent); }

.about-sidebar { display: flex; flex-direction: column; align-items: center; text-align: center; }
.about-sidebar img { height: 200px; width: auto; filter: drop-shadow(0 12px 28px rgba(21,42,69,0.2)); }
@media (min-width: 768px) { .about-sidebar img { height: 240px; } }
.about-sidebar-card { margin-top: 1.5rem; width: 100%; background: var(--primary); color: #fff; border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-lg); text-align: left; }
.about-sidebar-card .headline { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: #fff; margin-bottom: 0.75rem; }
.about-sidebar-card p.desc { color: rgba(255,255,255,0.8); font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.25rem; }

/* ============================================
   FAQ hub extras
   ============================================ */

.faq-jump-nav { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.faq-jump-nav a { display: inline-flex; align-items: center; padding: 0.5rem 1rem; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; transition: background-color 150ms ease; }
.faq-jump-nav a:hover { background: rgba(255,255,255,0.2); }
.scroll-mt { scroll-margin-top: 6rem; }

/* ============================================
   Portfolio extras
   ============================================ */

.portfolio-hero { min-height: 55vh; align-items: flex-end; }
@media (min-width: 768px) { .portfolio-hero { min-height: 65vh; } }
.portfolio-hero-tag { display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; box-shadow: var(--shadow-lg); }
.portfolio-hero-city { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; color: rgba(255,255,255,0.85); font-family: var(--font-heading); }
.portfolio-hero-city svg { width: 14px; height: 14px; }
.portfolio-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.portfolio-hero-gradient-bottom { position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,42,69,0.85), rgba(21,42,69,0.35) 55%, rgba(21,42,69,0.15)); z-index: 1; }

.at-a-glance-grid { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .at-a-glance-grid { grid-template-columns: repeat(4, 1fr); } }
.glance-card { padding: 1.5rem; border-radius: 1rem; background: var(--warm-white); border: 1px solid var(--light-gray); }
.glance-card .icon-box { width: 40px; height: 40px; border-radius: 0.5rem; background: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; }
.glance-card .icon-box svg { width: 20px; height: 20px; color: var(--accent); }
.glance-card p.val { font-family: var(--font-heading); font-weight: 600; color: var(--primary); }
.glance-card p.val a { color: inherit; }
.glance-card p.val a:hover { color: var(--accent); }

.scope-list { margin-top: 3rem; max-width: 48rem; display: flex; flex-direction: column; gap: 0.75rem; }
.scope-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 1rem; color: rgba(43,48,56,0.85); line-height: 1.6; }
.scope-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 0.125rem; }

.story-blocks { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 2rem; max-width: 56rem; }
.story-block { padding: 1.5rem; border-radius: 1rem; background: var(--warm-white); border-left: 4px solid var(--accent); }
.story-block--challenge { border-left-color: var(--sky); }
.story-block--result { border-left-color: var(--primary); }
@media (min-width: 768px) { .story-block { padding: 2rem; } }
.story-block p.body { margin-top: 0.5rem; font-size: 1rem; color: rgba(43,48,56,0.85); line-height: 1.7; }
@media (min-width: 768px) { .story-block p.body { font-size: 1.125rem; } }

/* ============================================
   Blog
   ============================================ */

.blog-hero { min-height: 55vh; }
@media (min-width: 768px) { .blog-hero { min-height: 60vh; } }

.blog-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { display: block; height: 100%; border-radius: 1rem; overflow: hidden; border: 1px solid var(--light-gray); background: #fff; transition: box-shadow 300ms ease; }
.blog-card:hover { box-shadow: var(--shadow-lg); }
.blog-card-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }
.blog-card-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,42,69,0.4), transparent 60%); }
.blog-card-tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; border-radius: 999px; background: rgba(255,255,255,0.95); color: var(--primary); font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem; }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--charcoal-60); font-family: var(--font-heading); margin-bottom: 0.5rem; }
.blog-card-meta span { display: inline-flex; align-items: center; gap: 0.25rem; }
.blog-card-meta svg { width: 14px; height: 14px; }
.blog-card-body h2 { font-size: 1.25rem; color: var(--primary); line-height: 1.3; }
.blog-card-body p.excerpt { margin-top: 0.5rem; font-size: 0.875rem; color: var(--charcoal-70); line-height: 1.6; }
.blog-card-link { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.375rem; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: var(--accent); }
.blog-card-link svg { width: 14px; height: 14px; transition: transform 300ms ease; }
.blog-card:hover .blog-card-link svg { transform: translateX(3px); }

/* Blog post detail */
.blog-post-hero { position: relative; background: var(--primary); color: #fff; overflow: hidden; }
.blog-post-hero-inner { position: relative; z-index: 2; max-width: 56rem; margin: 0 auto; padding: 6rem 0 3.5rem; }
@media (min-width: 768px) { .blog-post-hero-inner { padding: 7rem 0 4.5rem; } }
.blog-post-category { display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; border-radius: 999px; background: rgba(255,255,255,0.95); color: var(--primary); font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-post-hero h1 { margin-top: 1.25rem; font-size: 1.875rem; line-height: 1.15; color: #20C7FD; }
@media (min-width: 640px) { .blog-post-hero h1 { font-size: 2.5rem; } }
@media (min-width: 768px) { .blog-post-hero h1 { font-size: 3rem; } }
.blog-post-hero p.excerpt { margin-top: 1.25rem; font-size: 1.125rem; color: rgba(255,255,255,0.9); line-height: 1.6; }
@media (min-width: 768px) { .blog-post-hero p.excerpt { font-size: 1.25rem; } }
.blog-post-meta { margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); font-family: var(--font-heading); }
.blog-post-meta span { display: inline-flex; align-items: center; gap: 0.375rem; }
.blog-post-meta svg { width: 14px; height: 14px; }
.blog-post-meta .byline { color: rgba(255,255,255,0.6); }

.blog-article { max-width: 48rem; margin: 0 auto; color: rgba(43,48,56,0.85); font-size: 1rem; line-height: 1.75; }
@media (min-width: 768px) { .blog-article { font-size: 1.125rem; } }
.blog-article h2 { font-size: 1.5rem; color: var(--primary); margin: 3rem 0 1rem; line-height: 1.3; }
@media (min-width: 768px) { .blog-article h2 { font-size: 1.875rem; } }
.blog-article h3 { font-size: 1.25rem; color: var(--primary); margin: 2rem 0 0.75rem; }
.blog-article p { margin-bottom: 1.25rem; }
.blog-article ul, .blog-article ol { margin: 0 0 1.5rem; padding-left: 1.5rem; }
.blog-article ul { list-style: disc; }
.blog-article ol { list-style: decimal; }
.blog-article li { margin-bottom: 0.5rem; }
.blog-article a { color: var(--accent); font-weight: 500; }
.blog-article a:hover { text-decoration: underline; }
.blog-article strong { color: var(--primary); font-weight: 600; }
.blog-article table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: 0.9375rem; }
.blog-article th, .blog-article td { padding: 0.625rem 0.875rem; border: 1px solid var(--light-gray); text-align: left; }
.blog-article th { background: var(--warm-white); font-family: var(--font-heading); font-weight: 600; color: var(--primary); }

.blog-inline-cta { margin-top: 3.5rem; padding: 1.75rem; border-radius: 1rem; background: var(--warm-white); border: 1px solid var(--light-gray); text-align: center; max-width: 48rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .blog-inline-cta { padding: 2rem; } }
.blog-inline-cta .headline { font-family: var(--font-heading); font-weight: 700; font-size: 1.375rem; color: var(--primary); margin: 0.5rem 0 0.75rem; }
.blog-inline-cta p.desc { font-size: 0.875rem; color: var(--charcoal-70); max-width: 32rem; margin: 0 auto 1.25rem; }
.blog-inline-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

.blog-related-grid { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .blog-related-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-related-card { display: block; border-radius: 1rem; overflow: hidden; border: 1px solid var(--light-gray); background: #fff; transition: box-shadow 300ms ease; }
.blog-related-card:hover { box-shadow: var(--shadow-lg); }
.blog-related-thumb { position: relative; aspect-ratio: 16/10; }
.blog-related-thumb .tag { position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; border-radius: 999px; background: rgba(255,255,255,0.95); color: var(--primary); font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem; }
.blog-related-body { padding: 1.25rem; }
.blog-related-body h3 { font-size: 1rem; color: var(--primary); line-height: 1.4; }
.blog-related-link { margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.375rem; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: var(--accent); }
.blog-back-link { margin-top: 2.5rem; text-align: center; }
.blog-back-link a { display: inline-flex; align-items: center; gap: 0.375rem; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: var(--accent); }
.blog-back-link a:hover { color: var(--primary); }

/* ============================================
   Utility pages (no dark hero): thank-you, legal
   Header has no dark background to sit on at the
   top of these pages, so it is kept solid from load.
   ============================================ */
body.header-solid .site-header { background-color: #ffffff; box-shadow: var(--shadow-md); }
body.header-solid .header-logo-text,
body.header-solid .nav-dropdown-trigger,
body.header-solid .header-nav > a,
body.header-solid .header-phone,
body.header-solid .hamburger { color: var(--primary); }

.page-top-pad { padding-top: 6rem; }
@media (min-width: 768px) { .page-top-pad { padding-top: 7rem; } }
@media (min-width: 1024px) { .page-top-pad { padding-top: 8rem; } }

/* ============================================
   Legal / prose pages: privacy-policy, terms-of-service, sms-terms
   ============================================ */
.rbr-legal { padding: 3.5rem 0; }
.rbr-legal__inner { max-width: 780px; margin: 0 auto; padding: 0 1.25rem; }
.rbr-legal__inner h1 { font-size: 2.25rem; color: var(--primary); line-height: 1.15; margin-bottom: 1rem; }
@media (min-width: 768px) { .rbr-legal__inner h1 { font-size: 2.75rem; } }
.rbr-legal__inner h2 { font-size: 1.375rem; color: var(--primary); margin: 2.25rem 0 0.75rem; }
.rbr-legal__updated { font-size: 0.875rem; color: var(--charcoal-60); margin-bottom: 2rem; }
.rbr-legal__inner p { margin-bottom: 1.25rem; color: rgba(43,48,56,0.85); line-height: 1.75; }
.rbr-legal__inner p:last-child { margin-bottom: 0; }
.rbr-legal__inner ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.rbr-legal__inner li { margin-bottom: 0.5rem; color: rgba(43,48,56,0.85); line-height: 1.7; }
.rbr-legal__inner li:last-child { margin-bottom: 0; }
.rbr-legal__inner strong { color: var(--charcoal); }
.rbr-legal__inner a { color: var(--accent); font-weight: 500; text-decoration: underline; }
.rbr-legal__inner a:hover { color: var(--primary); }
.rbr-legal__back { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--light-gray); }
.rbr-legal__back a { color: var(--accent); font-weight: 500; text-decoration: underline; }
.rbr-legal__back a:hover { color: var(--primary); }
