/* ============================================================
   Father And Son Remodeling LLC — main.css
   Design tokens sourced from React/Tailwind source project.
   Fonts: Playfair Display (display) · Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── 1. DESIGN TOKENS ────────────────────────────────────── */
:root {
  --bg:          hsl(210, 25%, 98%);
  --fg:          hsl(215, 60%, 12%);
  --primary:     hsl(215, 65%, 14%);
  --primary-fg:  hsl(210, 25%, 98%);
  --card:        hsl(0, 0%, 100%);
  --muted:       hsl(210, 20%, 93%);
  --muted-fg:    hsl(215, 15%, 40%);
  --accent:      hsl(46, 90%, 55%);
  --accent-fg:   hsl(215, 65%, 14%);
  --highlight:   hsl(205, 55%, 58%);
  --border:      hsl(210, 18%, 88%);
  --radius:      0.5rem;
  --radius-lg:   1rem;
  --radius-xl:   1.25rem;
  --radius-2xl:  1.5rem;
  --nav-height:       5rem;
  --topbar-height:    2.5rem;
  --container-max:    80rem;  /* 1280px */
}

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

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.1;
  color: var(--fg);
}

/* ── 3. LAYOUT UTILITIES ─────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.section-padding {
  padding: 5rem 1rem;
}
@media (min-width: 768px) { .section-padding { padding: 7rem 2rem; } }

.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-label {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--highlight);
  font-style: italic;
  display: block;
  margin-bottom: 0.75rem;
}

.section-label--accent {
  color: var(--accent);
  font-style: normal;
}

.section-heading {
  font-size: clamp(1.875rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtext {
  color: var(--muted-fg);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 40rem;
}

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

/* Fade-in animation (IntersectionObserver adds .is-visible) */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: none;
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ── 4. BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-accent:hover {
  box-shadow: 0 8px 30px -6px hsl(46,90%,55%,0.5);
  transform: scale(1.02);
}

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.25);
  color: var(--primary-fg);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-dark {
  border: 2px solid var(--border);
  color: var(--fg);
}
.btn-outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}
.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transform: scale(1.02);
}

.cta-glow { animation: ctaGlow 3s ease-in-out infinite; }

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 0 hsla(46,90%,55%,0); }
  50%       { box-shadow: 0 0 24px 6px hsla(46,90%,55%,0.35); }
}

/* ── 5. TOP UTILITY BAR ──────────────────────────────────── */
#topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--topbar-height);
  background: var(--primary);
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.3s ease;
}
body.scrolled #topbar { height: 0; opacity: 0; pointer-events: none; }

.topbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) { .topbar-inner { padding: 0 2rem; } }

.topbar-tagline {
  color: rgba(248,250,252,0.7);
  font-size: 0.75rem;
  display: none;
}
@media (min-width: 640px) { .topbar-tagline { display: block; } }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.topbar-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: rgba(248,250,252,0.7);
  font-size: 0.75rem;
  transition: color 0.2s;
}
.topbar-link:hover { color: var(--accent); }
.topbar-link svg { width: 0.75rem; height: 0.75rem; }
.topbar-link span { display: none; }
@media (min-width: 768px) { .topbar-link span { display: inline; } }

.topbar-social {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(248,250,252,0.15);
}
@media (min-width: 768px) { .topbar-social { display: flex; } }

.topbar-social a {
  color: rgba(248,250,252,0.5);
  transition: color 0.2s;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.topbar-social a:hover { color: var(--accent); }
.topbar-social svg { width: 0.875rem; height: 0.875rem; display: block; }

/* ── 6. NAVBAR ───────────────────────────────────────────── */
#navbar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 99;
  top: var(--topbar-height);
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
body.scrolled #navbar {
  top: 0;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 0 0 1px var(--border);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) { .nav-inner { padding: 0 2rem; } }

.nav-logo img { height: 3rem; width: auto; display: block; }

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(12,31,55,0.7);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-link:hover { color: var(--fg); background: var(--muted); }
.nav-link:hover::after { width: 75%; }
.nav-link.active { color: var(--fg); }
.nav-link.active::after { width: 75%; }

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

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(12,31,55,0.7);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown-toggle:hover { color: var(--fg); background: var(--muted); }
.nav-dropdown-toggle svg { width: 0.875rem; height: 0.875rem; transition: transform 0.2s; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  min-width: 14rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 10;
}
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  color: rgba(12,31,55,0.7);
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown-menu a:hover { color: var(--fg); background: var(--muted); }

.nav-cta { margin-left: 1rem; }

/* Hamburger */
.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  color: var(--fg);
  transition: background 0.2s;
}
.nav-hamburger:hover { background: var(--muted); }
.nav-hamburger svg { width: 1.5rem; height: 1.5rem; }
@media (min-width: 1024px) { .nav-hamburger { display: none; } }

/* ── 7. MOBILE MENU ──────────────────────────────────────── */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
#mobile-menu.open { pointer-events: auto; }

.mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,31,55,0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
#mobile-menu.open .mobile-overlay { opacity: 1; }

.mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 20rem;
  max-width: 85vw;
  background: var(--card);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 24px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.32,0.72,0,1);
}
#mobile-menu.open .mobile-panel { transform: translateX(0); }

.mobile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.mobile-panel-header img { height: 2.5rem; width: auto; }
.mobile-close {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  transition: background 0.2s;
}
.mobile-close:hover { background: var(--muted); }
.mobile-close svg { width: 1.5rem; height: 1.5rem; }

.mobile-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  border-radius: var(--radius);
  transition: background 0.2s;
}
.mobile-nav-link:hover { background: var(--muted); }
.mobile-nav-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-fg);
  padding: 1rem 1rem 0.25rem;
}
.mobile-nav-sub {
  display: block;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  color: rgba(12,31,55,0.8);
  border-radius: var(--radius);
  transition: background 0.2s;
}
.mobile-nav-sub:hover { background: var(--muted); }

.mobile-panel-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-panel-footer .btn { justify-content: center; padding: 1rem; }

/* ── 8. HERO SECTION ─────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(11,29,58,0.92) 0%,
    rgba(11,29,58,0.72) 50%,
    rgba(11,29,58,0.32) 100%),
    linear-gradient(to top, rgba(11,29,58,0.3) 0%, transparent 40%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4rem 1rem 4rem;
  width: 100%;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .hero-inner { padding: 4rem 2rem; } }
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 3fr 2fr; gap: 4rem; }
}

.hero-content { color: var(--primary-fg); }

.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(248,250,252,0.8);
}
.hero-stars { display: flex; gap: 1px; }
.hero-stars svg { width: 0.875rem; height: 0.875rem; fill: var(--accent); color: var(--accent); }

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--highlight);
  font-style: italic;
  margin-bottom: 1rem;
}

.hero-h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--primary-fg);
  margin-bottom: 1.5rem;
}

.hero-subtext {
  font-size: 1.125rem;
  color: rgba(248,250,252,0.7);
  max-width: 36rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(248,250,252,0.65);
}
.hero-badge-icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-badge-icon svg { width: 1rem; height: 1rem; color: var(--highlight); }
.hero-badge span { font-size: 0.75rem; font-weight: 500; }

/* Hero form card */
.hero-form-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.hero-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), hsl(46,90%,65%), transparent);
}
.hero-form-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-fg);
  margin-bottom: 0.25rem;
}
.hero-form-card p {
  font-size: 0.875rem;
  color: rgba(248,250,252,0.5);
  margin-bottom: 1.5rem;
}

/* ── 9. FORMS ────────────────────────────────────────────── */
.form-field {
  width: 100%;
  background: #fff;
  border: none;
  border-radius: 9999px;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  color: var(--fg);
  outline: none;
  transition: box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-field::placeholder { color: var(--muted-fg); }
.form-field:focus { box-shadow: 0 0 0 3px hsl(46,90%,55%,0.35); }

.form-field-area {
  border-radius: var(--radius-xl);
  resize: none;
}

.form-row { display: flex; flex-direction: column; gap: 0.875rem; }
.form-submit {
  width: 100%;
  background: var(--accent);
  color: var(--accent-fg);
  border: none;
  border-radius: 9999px;
  padding: 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.form-submit:hover {
  box-shadow: 0 8px 30px -6px hsl(46,90%,55%,0.5);
  transform: scale(1.01);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--primary-fg);
}

/* ── 10. TRUST BAR ───────────────────────────────────────── */
#trust-bar {
  background: var(--primary);
  padding: 1.25rem 1rem;
}
.trust-bar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
@media (min-width: 768px) { .trust-bar-inner { gap: 3rem; } }
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(248,250,252,0.8);
}
.trust-badge svg { width: 1.25rem; height: 1.25rem; color: var(--accent); }
.trust-badge span { font-size: 0.875rem; font-weight: 500; white-space: nowrap; }

/* ── 11. SERVICES SECTION ────────────────────────────────── */
#services {
  background: var(--bg);
}
.services-grid {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.service-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,31,55,0.3), transparent);
}
.service-card-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-lg);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.service-card-icon svg { width: 1.25rem; height: 1.25rem; color: var(--accent-fg); }
.service-card-body { padding: 1.5rem; }
.service-card-body h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-card-body p { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.7; margin-bottom: 1.25rem; }
.service-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.3s;
}
.service-card:hover .service-learn-more { gap: 0.75rem; }
.service-learn-more svg { width: 1rem; height: 1rem; }

/* ── 12. HOW IT WORKS ────────────────────────────────────── */
#how-it-works {
  background: var(--primary);
  color: var(--primary-fg);
}
.how-it-works-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 4rem;
  position: relative;
}
@media (min-width: 768px) { .how-it-works-grid { grid-template-columns: repeat(3, 1fr); } }

/* connecting line desktop */
@media (min-width: 768px) {
  .how-it-works-grid::before {
    content: '';
    position: absolute;
    top: 5rem;
    left: 17%;
    right: 17%;
    height: 2px;
    background: linear-gradient(to right, hsl(46,90%,55%,0.6), var(--accent), hsl(46,90%,55%,0.6));
    z-index: 0;
  }
}

.how-step {
  position: relative;
  background: rgba(248,250,252,0.05);
  border: 1px solid rgba(248,250,252,0.1);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  text-align: center;
  z-index: 1;
  transition: background 0.3s;
}
.how-step:hover { background: rgba(248,250,252,0.1); }

.how-step-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.how-step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-xl);
  background: hsl(46,90%,55%,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.how-step-icon svg { width: 2rem; height: 2rem; color: var(--accent); }

.how-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-fg);
  margin-bottom: 0.75rem;
}
.how-step p { font-size: 0.875rem; color: rgba(248,250,252,0.65); line-height: 1.7; margin-bottom: 1rem; }
.how-step-tag {
  display: inline-block;
  background: hsl(46,90%,55%,0.1);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.how-cta { text-align: center; margin-top: 3.5rem; }

/* ── 13. PORTFOLIO PREVIEW ───────────────────────────────── */
#portfolio {
  background: hsl(210,20%,93%,0.4);
}
.portfolio-carousel-wrapper { position: relative; }
.portfolio-arrows {
  display: none;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .portfolio-arrows { display: flex; } }

.portfolio-arrow {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.portfolio-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-fg);
}
.portfolio-arrow svg { width: 1.25rem; height: 1.25rem; }

.portfolio-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  scrollbar-width: none;
}
.portfolio-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .portfolio-scroll { margin: 0; padding-left: 0; padding-right: 0; } }

.portfolio-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 80%;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: box-shadow 0.4s;
}
@media (min-width: 640px) { .portfolio-card { width: 55%; } }
@media (min-width: 768px) { .portfolio-card { width: 42%; } }
@media (min-width: 1024px) { .portfolio-card { width: 32%; } }

.portfolio-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,31,55,0.85) 0%, rgba(12,31,55,0.2) 50%, transparent 100%);
}
.portfolio-card-info {
  position: absolute;
  inset-x: 0;
  bottom: 0;
  padding: 1.5rem;
}
.portfolio-card-cat {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--highlight);
  font-style: italic;
  margin-bottom: 0.375rem;
}
.portfolio-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-fg);
  line-height: 1.2;
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
#lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-inner img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-xl);
}
.lightbox-caption {
  margin-top: 1rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-close svg { width: 1.5rem; height: 1.5rem; }
.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  transition: background 0.2s;
  z-index: 301;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev svg, .lightbox-next svg { width: 1.5rem; height: 1.5rem; }

/* ── 14. WHY CHOOSE US ───────────────────────────────────── */
#why-us {
  background: hsl(210,20%,93%,0.5);
}
.why-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) { .why-stats { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
  background: var(--card);
  border: 1px solid hsl(210,18%,88%,0.6);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s, transform 0.3s;
}
.stat-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.1); transform: translateY(-4px); }
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.875rem; color: var(--muted-fg); font-weight: 500; }

.why-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

.why-img-wrap {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: visible;
}
.why-img-wrap img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.why-img-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -0.5rem;
  background: var(--accent);
  color: var(--accent-fg);
  border-radius: var(--radius-xl);
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 768px) { .why-img-badge { right: 1rem; } }
.why-img-badge svg { width: 2rem; height: 2rem; }
.why-img-badge strong { font-family: 'Playfair Display', serif; font-size: 1.125rem; display: block; }
.why-img-badge span { font-size: 0.875rem; opacity: 0.9; }

.why-reasons { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }

.reason-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid hsl(210,18%,88%,0.4);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.reason-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: hsl(46,90%,55%,0.3); }
.reason-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-lg);
  background: hsl(46,90%,55%,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}
.reason-card:hover .reason-icon { background: hsl(46,90%,55%,0.2); }
.reason-icon svg { width: 1.25rem; height: 1.25rem; color: var(--accent); }
.reason-card h4 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.125rem; }
.reason-card p { font-size: 0.8125rem; color: var(--muted-fg); line-height: 1.6; }

/* ── 15. REVIEWS SECTION ─────────────────────────────────── */
#reviews {
  background: var(--primary);
  color: var(--primary-fg);
  position: relative;
  overflow: hidden;
}
#reviews::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  width: 18rem;
  height: 18rem;
  background: hsl(205,55%,58%,0.08);
  border-radius: 50%;
  filter: blur(60px);
}
#reviews::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background: hsl(46,90%,55%,0.05);
  border-radius: 50%;
  filter: blur(60px);
}
.reviews-header { position: relative; z-index: 1; }
.review-rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.review-stars { display: flex; gap: 2px; }
.review-stars svg { width: 1.25rem; height: 1.25rem; fill: var(--accent); color: var(--accent); }
.review-count { color: rgba(248,250,252,0.6); font-weight: 600; font-size: 0.875rem; }

.reviews-carousel { max-width: 48rem; margin: 0 auto; position: relative; z-index: 1; }
.reviews-track { min-height: 16rem; display: flex; align-items: center; justify-content: center; }

.review-slide {
  display: none;
  width: 100%;
  animation: slideIn 0.4s ease;
}
.review-slide.active { display: block; }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

.review-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  text-align: center;
}
@media (min-width: 768px) { .review-card { padding: 2.5rem; } }
.review-quote-icon { margin: 0 auto 1.5rem; opacity: 0.3; width: 2.5rem; height: 2.5rem; color: var(--highlight); }
.review-text {
  font-size: 1rem;
  color: rgba(248,250,252,0.85);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
@media (min-width: 768px) { .review-text { font-size: 1.125rem; } }
.review-stars-sm { display: flex; justify-content: center; gap: 2px; margin-bottom: 0.5rem; }
.review-stars-sm svg { width: 1rem; height: 1rem; fill: var(--accent); color: var(--accent); }
.review-author { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; color: var(--primary-fg); }
.review-project { font-size: 0.875rem; color: rgba(248,250,252,0.4); margin-top: 0.125rem; }

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.reviews-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  color: white;
}
.reviews-btn:hover { background: rgba(255,255,255,0.2); }
.reviews-btn svg { width: 1.25rem; height: 1.25rem; }
.reviews-dots { display: flex; gap: 0.5rem; align-items: center; }
.reviews-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.reviews-dot.active { background: var(--accent); width: 2rem; }
.reviews-dot:hover { background: rgba(255,255,255,0.5); }

.reviews-cta { text-align: center; margin-top: 3.5rem; position: relative; z-index: 1; }

/* ── 16. FAQ SECTION ─────────────────────────────────────── */
#faq { background: var(--muted); }
.faq-list { max-width: 48rem; margin: 3.5rem auto 0; display: flex; flex-direction: column; gap: 0.75rem; }

details.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  transition: color 0.2s;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:hover { color: var(--accent); }

.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--muted-fg);
}
details.faq-item[open] summary .faq-chevron { transform: rotate(180deg); }
details.faq-item[open] summary { color: var(--fg); }

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.7;
}

/* ── 17. SERVICE AREAS ───────────────────────────────────── */
#service-areas { background: var(--bg); }
.cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 64rem;
  margin: 3rem auto 0;
}
@media (min-width: 640px)  { .cities-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px)  { .cities-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .cities-grid { grid-template-columns: repeat(7, 1fr); } }

.city-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1rem 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  transition: all 0.3s;
}
.city-chip:hover {
  border-color: var(--accent);
  background: hsl(46,90%,55%,0.05);
  color: var(--fg);
}
.city-chip svg { width: 1rem; height: 1rem; color: var(--accent); flex-shrink: 0; }

/* ── 18. CONTACT SECTION ─────────────────────────────────── */
#contact { background: var(--bg); }
.contact-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.contact-info-items { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; }
.contact-info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-xl);
  background: hsl(205,55%,58%,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}
.contact-info-item:hover .contact-info-icon { background: hsl(205,55%,58%,0.2); }
.contact-info-icon svg { width: 1.25rem; height: 1.25rem; color: var(--highlight); }
.contact-info-label { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 0.875rem; margin-bottom: 0.125rem; }
.contact-info-value { font-size: 0.875rem; color: var(--muted-fg); transition: color 0.2s; }
a.contact-info-value:hover { color: var(--accent); }

.contact-form-card {
  background: rgba(12,31,55,0.96);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .contact-form-card { padding: 2.5rem; } }
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), hsl(46,90%,65%), transparent);
}
.contact-form-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--primary-fg); margin-bottom: 0.25rem; }
.contact-form-card > p { font-size: 0.875rem; color: rgba(248,250,252,0.5); margin-bottom: 1.5rem; }

/* ── 19. FINAL CTA ───────────────────────────────────────── */
#final-cta {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
#final-cta::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 24rem; height: 24rem;
  background: hsl(205,55%,58%,0.05);
  border-radius: 50%;
  filter: blur(60px);
}
#final-cta::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 16rem; height: 16rem;
  background: hsl(46,90%,55%,0.05);
  border-radius: 50%;
  filter: blur(60px);
}
.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.final-cta-inner h2 {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--primary-fg);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.final-cta-inner p { color: rgba(248,250,252,0.6); font-size: 1.125rem; margin-bottom: 2.5rem; line-height: 1.7; }
.final-cta-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) { .final-cta-btns { flex-direction: row; justify-content: center; } }

/* ── 20. FOOTER ──────────────────────────────────────────── */
#footer {
  background: var(--primary);
  color: var(--primary-fg);
  padding: 4rem 1rem;
}
@media (min-width: 768px) { #footer { padding: 4rem 2rem; } }

.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr 1fr; } }

.footer-brand img { height: 3rem; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; color: rgba(248,250,252,0.5); line-height: 1.7; }

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(248,250,252,0.8);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a, .footer-col span {
  font-size: 0.875rem;
  color: rgba(248,250,252,0.5);
  transition: color 0.2s;
  display: block;
}
.footer-col a:hover { color: var(--accent); }

.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(248,250,252,0.5);
  transition: color 0.2s;
}
.footer-contact-item svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 1px; }
a.footer-contact-item:hover { color: var(--accent); }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; align-items: center; }
/* Nuclear grid centering — overrides .footer-col a { display: block } completely */
.footer-social .footer-social-btn,
.footer-social a.footer-social-btn {
  display: grid !important;
  place-items: center !important;
  width: 2.25rem !important;
  height: 2.25rem !important;
  min-width: 2.25rem !important;
  min-height: 2.25rem !important;
  border-radius: 9999px !important;
  background: rgba(248,250,252,0.1) !important;
  transition: background 0.3s, transform 0.3s;
  color: var(--primary-fg) !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  overflow: hidden !important;
}
.footer-social .footer-social-btn:hover,
.footer-social a.footer-social-btn:hover { background: var(--accent) !important; color: var(--accent-fg) !important; transform: scale(1.1); }
.footer-social .footer-social-btn svg,
.footer-social a.footer-social-btn svg {
  display: block !important;
  width: 1rem !important;
  height: 1rem !important;
  min-width: 0 !important;
  min-height: 0 !important;
  flex-shrink: 0;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(248,250,252,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p, .footer-bottom a { font-size: 0.875rem; color: rgba(248,250,252,0.35); }
.footer-bottom a:hover { color: var(--accent); }

/* ── 21. MOBILE CALL BAR ─────────────────────────────────── */
#mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  height: 4rem;
}
@media (min-width: 1024px) { #mobile-call-bar { display: none; } }

.mobile-call-bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-fg);
  transition: background 0.2s;
}
.mobile-call-bar-btn:hover { background: rgba(255,255,255,0.05); }
.mobile-call-bar-btn svg { width: 1.25rem; height: 1.25rem; }
.mobile-call-bar-btn:first-child { border-right: 1px solid rgba(255,255,255,0.1); }
.mobile-call-bar-btn.primary-btn { background: var(--accent); color: var(--accent-fg); }
.mobile-call-bar-btn.primary-btn:hover { background: hsl(46,90%,48%); }

/* ── 22. INNER PAGE HERO ─────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,29,58,0.92), rgba(11,29,58,0.72), rgba(11,29,58,0.32));
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4rem 1rem;
  max-width: 40rem;
}
@media (min-width: 768px) { .page-hero-content { padding: 4rem 2rem; } }
.page-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-fg);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.page-hero-content p { font-size: 1.125rem; color: rgba(248,250,252,0.7); line-height: 1.7; margin-bottom: 2.5rem; }
.page-hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── 23. SERVICE PAGE CONTENT BLOCKS ─────────────────────── */
.content-blocks { max-width: 56rem; margin: 0 auto; }
.content-block { margin-bottom: 3rem; }
.content-block h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.content-block p { font-size: 1rem; color: var(--muted-fg); line-height: 1.8; }
@media (min-width: 768px) { .content-block p { font-size: 1.125rem; } }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.gallery-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* Related services */
.related-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
.related-card {
  display: block;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--card);
  border: 1px solid hsl(210,18%,88%,0.5);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: all 0.4s ease;
}
.related-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.12); transform: translateY(-4px); }
.related-card-img { aspect-ratio: 16/9; overflow: hidden; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.related-card:hover .related-card-img img { transform: scale(1.05); }
.related-card-body {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.related-card-body h3 { font-size: 1.25rem; font-weight: 700; }
.related-card-body svg { width: 1.25rem; height: 1.25rem; color: var(--accent); transition: transform 0.3s; }
.related-card:hover .related-card-body svg { transform: translateX(4px); }

/* ── 24. CITY PAGE SPECIFICS ─────────────────────────────── */
.city-services-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .city-services-grid { grid-template-columns: repeat(3, 1fr); } }
.city-service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}
.city-service-card:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.city-service-card svg { width: 2.5rem; height: 2.5rem; color: var(--accent); margin: 0 auto 1rem; }
.city-service-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.city-service-card p { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; }

/* ── 25. NOT FOUND ───────────────────────────────────────── */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  flex-direction: column;
  gap: 1.5rem;
}
.not-found h1 { font-size: 6rem; font-weight: 700; color: var(--accent); line-height: 1; }
.not-found h2 { font-size: 1.5rem; }
.not-found p { color: var(--muted-fg); }

/* ── 26. SCROLL PROGRESS BAR ─────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 500;
  width: 0%;
  transition: width 0.1s linear;
}

/* ── 27. PAGE BODY OFFSET ────────────────────────────────── */
body { padding-top: calc(var(--topbar-height) + var(--nav-height)); }
/* The topbar+navbar stack is fixed, so sections need no extra offset —
   the hero uses padding-top internally. For content-only pages, apply: */
.page-content-offset { padding-top: calc(var(--topbar-height) + var(--nav-height) + 2rem); }

/* ── 28. GLOBAL MOBILE IMPROVEMENTS ─────────────────────── */

/* Fluid font scaling */
@media (max-width: 480px) {
  html { font-size: 15px; }
  h1 { font-size: clamp(1.625rem, 8vw, 2.5rem) !important; }
  h2 { font-size: clamp(1.375rem, 6vw, 2rem); }
  h3 { font-size: clamp(1rem, 4vw, 1.25rem); }
}

/* Ensure no horizontal overflow on any page */
html, body { overflow-x: hidden; }
* { max-width: 100%; }
img { max-width: 100%; height: auto; }

/* Section padding tightened on small screens */
@media (max-width: 640px) {
  section, .section { padding-left: 1rem; padding-right: 1rem; }
}

/* Topbar: hide email text on very small screens, keep phone */
@media (max-width: 480px) {
  .topbar-link span { display: none; }
  .topbar-right { gap: 0.5rem; }
}

/* Nav logo: don't let it overflow on tiny screens */
.nav-logo img { max-width: 100px; }

/* Hero sections: less top padding on mobile to use screen real estate */
@media (max-width: 640px) {
  .hero-content,
  .svc-hero-content,
  .hero-inner { padding-top: 4rem !important; padding-bottom: 2.5rem !important; }
}

/* Buttons always full-width on the smallest screens in card contexts */
@media (max-width: 480px) {
  .hero-actions,
  .hero-btns { flex-direction: column; }
  .hero-actions .btn,
  .hero-btns .btn { width: 100%; justify-content: center; text-align: center; }
}

/* Portfolio grid: 1 column on very small screens */
@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr !important; }
}

/* Service cards: 1 column on mobile */
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr !important; gap: 1.25rem !important; }
}

/* Touch targets: ensure minimum 44px tap target on interactive elements */
@media (max-width: 1024px) {
  .btn { min-height: 44px; }
  .nav-hamburger { min-width: 44px; min-height: 44px; }
  .mobile-call-bar-btn { min-height: 44px; }
  .area-chip, .filter-btn { min-height: 40px; }
}

/* Footer grid: stack fully on mobile */
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 2rem; }
}

/* Mobile call bar: add bottom padding to body so content isn't hidden behind bar */
@media (max-width: 1024px) {
  body { padding-bottom: 4rem; }
}

/* Prevent text overflow on narrow screens */
p, li, h1, h2, h3, h4 { word-break: break-word; overflow-wrap: break-word; }

/* Form inputs: full width on mobile */
@media (max-width: 640px) {
  input, textarea, select { width: 100% !important; }
}

/* Trust bar wraps nicely on mobile */
@media (max-width: 640px) {
  .trust-strip-inner { flex-direction: column; align-items: flex-start; gap: 0.625rem; padding: 0 1rem; }
  .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
