/* ============================================================
   TEXAS ACCENT ROOFING — STYLE SYSTEM
   "Blue-Collar Blueprint" Neo-Brutalist Art Direction
   ============================================================ */

/* ── CUSTOM PROPERTIES ────────────────────────────────────── */
:root {
  /* Brand Colors */
  --navy:        #002366;
  --navy-dark:   #001540;
  --red:         #C8102E;
  --red-dark:    #9B0020;
  --white:       #FFFFFF;
  --paper:       #FAFAFA;
  --black:       #000000;
  --ink:         #111111;
  --muted:       #555555;
  --light-grey:  #EEEEEE;
  --mid-grey:    #CCCCCC;

  /* Gradients */
  --grad-blue:   linear-gradient(135deg, #003EA6 0%, #002366 40%, #1A4FBF 70%, #003EA6 100%);
  --grad-red:    linear-gradient(135deg, #E8192E 0%, #C8102E 40%, #A50020 70%, #D01028 100%);
  --grad-metal:  linear-gradient(135deg, #1a1a2e 0%, #002366 50%, #003EA6 100%);

  /* The Stroke */
  --stroke:      4px solid var(--black);
  --stroke-thin: 1px solid var(--light-grey);

  /* Hard Shadow */
  --hard-shadow:     4px 4px 0 var(--black);
  --hard-shadow-lg:  6px 6px 0 var(--black);
  --hard-shadow-red: 4px 4px 0 var(--red);

  /* Spacing */
  --section-pad:  clamp(4rem, 8vw, 8rem);
  --inner-max:    1280px;
  --gap:          2rem;

  /* Typography */
  --font-headline: 'Archivo Black', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-caption:  'Architects Daughter', cursive;

  /* Z-index stack */
  --z-modal:   1300;
  --z-menu:    1200;
  --z-nav:     1100;
  --z-callbar: 1000;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--white); /* rubber-band overscroll color */
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  overflow-x: hidden;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

input, textarea, select {
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}

address {
  font-style: normal;
}

/* ── UTILITY CLASSES ──────────────────────────────────────── */
.section-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  border: 2px solid var(--mid-grey);
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
}

.section-label--light {
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.3);
}

.section-title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-title--light {
  color: var(--white);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-headline);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border: var(--stroke);
  position: relative;
  transition: transform 120ms ease, box-shadow 120ms ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-blue);
  color: var(--white);
  box-shadow: var(--hard-shadow);
}

.btn-danger {
  background: var(--grad-red);
  color: var(--white);
  box-shadow: var(--hard-shadow);
}

.btn-full {
  width: 100%;
}

@media (hover: hover) {
  .btn-primary:hover,
  .btn-danger:hover {
    transform: translate(4px, 4px);
    box-shadow: none;
  }
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--navy);
  padding-bottom: 2px;
  transition: color 200ms, border-color 200ms;
  touch-action: manipulation;
}

@media (hover: hover) {
  .btn-text-link:hover {
    color: var(--red);
    border-color: var(--red);
  }
}

/* ── SCROLL ANIMATIONS ────────────────────────────────────── */
.animate-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 400ms ease, transform 400ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .animate-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── UTILITY BAR ──────────────────────────────────────────── */
#utility-bar {
  background: var(--navy-dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.45rem 0;
  position: relative;
  z-index: 10;
}

.utility-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.85;
}

.utility-left svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.utility-right {
  flex-shrink: 0;
}

.response-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--grad-red);
  border: 2px solid var(--black);
  padding: 0.2rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
  flex-shrink: 0;
  animation: pulse-glow 1.4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

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

@media (max-width: 640px) {
  .utility-left { display: none; }
  .utility-inner { justify-content: center; }
}

/* ── NAVIGATION ───────────────────────────────────────────── */
#nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--white);
  border-bottom: var(--stroke);
  box-shadow: 0 2px 0 var(--black);
  transition: box-shadow 180ms ease, border-bottom-width 180ms ease;
}

.nav-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 1rem;
  transition: height 180ms ease, padding 180ms ease, gap 180ms ease;
}

.nav-logo img {
  height: 67px;
  width: auto;
  transition: height 180ms ease;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.4rem 0.6rem;
  border-bottom: 2px solid transparent;
  transition: border-color 150ms, color 150ms;
}

@media (hover: hover) {
  .nav-links a:hover {
    border-color: var(--navy);
    color: var(--navy);
  }
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-phone svg {
  width: 15px;
  height: 15px;
}

#nav.nav-compact {
  box-shadow: 0 1px 0 var(--black);
}

#nav.nav-compact .nav-inner {
  height: 68px;
}

#nav.nav-compact .nav-logo img {
  height: 50px;
}

/* Hamburger */
.hamburger {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bar,
.bar::before,
.bar::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 0;
  will-change: transform;
  transition: transform 300ms ease, opacity 300ms ease, background 300ms ease;
}

.bar { position: relative; }

.bar::before,
.bar::after {
  content: '';
  position: absolute;
  left: 0;
}

.bar::before { top: -7px; }
.bar::after  { top:  7px; }

.hamburger.active .bar          { background: transparent; }
.hamburger.active .bar::before  { transform: translateY(7px) rotate(45deg); }
.hamburger.active .bar::after   { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-group .btn { display: none; }
  .hamburger { display: flex; }
}

/* ── MOBILE MENU OVERLAY ──────────────────────────────────── */
#menu-overlay {
  position: fixed;
  top: 88px; /* overridden by JS to match nav height */
  left: 0;
  right: 0;
  bottom: 0;
  z-index: calc(var(--z-nav) - 1);
  background: var(--white);
  border-bottom: var(--stroke);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1.25rem;
  transform: translateY(-16px);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
  padding: 1.25rem 1rem 1.5rem;
  overflow-y: auto;
  box-shadow: 0 2px 0 var(--black);
}

#menu-overlay.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  width: 100%;
}

.mobile-nav-links a {
  display: block;
  font-family: var(--font-headline);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.85rem 1rem;
  text-align: left;
  width: 100%;
  border: 2px solid var(--black);
  background: var(--paper);
  transition: background 150ms, color 150ms, transform 150ms;
}

@media (hover: hover) {
  .mobile-nav-links a:hover {
    background: var(--ink);
    color: var(--white);
  }
}

.mobile-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  border: 2px solid var(--black);
  padding: 0.9rem 1rem;
  background: var(--white);
}

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  background: var(--white);
  border-bottom: var(--stroke);
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.hero-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.badge-pill {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border: 2px solid var(--black);
  background: var(--paper);
}

.badge-red {
  background: var(--grad-red);
  color: var(--white);
  border-color: var(--black);
}

.hero-headline {
  font-family: var(--font-headline);
  font-size: clamp(2.6rem, 5.5vw, 5.5rem);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.hero-headline em {
  font-style: normal;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub-label {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.08em;
  color: var(--blue);
  margin: 0 0 0.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 1.75rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--paper);
  border: var(--stroke);
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-trust svg {
  width: 15px;
  height: 15px;
  color: var(--navy);
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero {
  font-size: 0.9rem;
  padding: 1rem 2rem;
}

/* Hero Image */
.hero-image-wrap {
  position: relative;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  border: var(--stroke);
  box-shadow: var(--hard-shadow-lg);
  object-fit: cover;
  aspect-ratio: 5 / 4;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-image-wrap {
    order: -1;
  }
  .hero-image-wrap img {
    aspect-ratio: 16 / 9;
  }
}

/* ── STATS BAR ────────────────────────────────────────────── */
#stats {
  background: var(--navy-dark);
  border-bottom: var(--stroke);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.stats-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto repeat(4, 1fr) auto repeat(4, 1fr) auto repeat(4, 1fr);
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 1rem 1.5rem;
}

.stat-number {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--white);
}

.stat-suffix {
  font-family: var(--font-headline);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--white);
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat-divider { display: none; }
  .stat-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.1);
  }
}

/* ── SERVICES ─────────────────────────────────────────────── */
#services {
  background: var(--white);
  padding: var(--section-pad) 0;
  border-bottom: var(--stroke);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: var(--stroke);
  box-shadow: var(--hard-shadow-lg);
  margin-bottom: 2rem;
}

.service-card {
  padding: 2.5rem 2rem;
  border-right: var(--stroke);
  border-bottom: var(--stroke);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card:nth-child(even) {
  border-right: none;
}

.service-card:nth-child(3),
.service-card:nth-child(4) {
  border-bottom: none;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border: var(--stroke);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-blue);
  flex-shrink: 0;
}

.service-icon-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.service-icon-metal {
  background: linear-gradient(135deg, #2c2c2c, #555555);
}

.service-icon-storm {
  background: var(--grad-red);
}

.service-card h3 {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.service-list svg {
  width: 14px;
  height: 14px;
  color: var(--navy);
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    border-right: none;
  }
  .service-card:nth-child(3) {
    border-bottom: var(--stroke);
  }
}

/* Financing Banner */
.financing-banner {
  background: var(--grad-metal);
  border: var(--stroke);
  box-shadow: var(--hard-shadow-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.financing-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.financing-content svg {
  width: 36px;
  height: 36px;
  color: var(--white);
  flex-shrink: 0;
}

.financing-content div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.financing-content strong {
  font-family: var(--font-headline);
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.financing-content span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

/* ── REVIEWS ──────────────────────────────────────────────── */
#reviews {
  background: var(--paper);
  padding: var(--section-pad) 0;
  border-bottom: var(--stroke);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: var(--stroke);
  box-shadow: var(--hard-shadow-lg);
  margin-bottom: 2.5rem;
}

.review-card {
  padding: 2rem 1.75rem;
  border-right: var(--stroke);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-card:last-child {
  border-right: none;
}

.review-stars {
  display: flex;
  gap: 0.2rem;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  color: #F4A200;
  fill: #F4A200;
}

.review-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
  font-style: italic;
  flex: 1;
}

.review-card blockquote::before {
  content: '\201C';
  font-size: 2.5rem;
  color: var(--navy);
  font-family: var(--font-headline);
  line-height: 0;
  vertical-align: -0.5rem;
  margin-right: 0.15rem;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-top: 0.75rem;
  border-top: 2px solid var(--light-grey);
}

.review-author strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.review-author span {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.reviews-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .review-card {
    border-right: none;
    border-bottom: var(--stroke);
  }
  .review-card:last-child {
    border-bottom: none;
  }
}

/* ── ABOUT ────────────────────────────────────────────────── */
#about {
  background: var(--white);
  padding: var(--section-pad) 0;
  border-bottom: var(--stroke);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-photo-frame {
  border: var(--stroke);
  box-shadow: var(--hard-shadow-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-badge-stack {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quality-seal {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-headline);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border: 2px solid var(--white);
  text-align: center;
  line-height: 1.3;
  box-shadow: 3px 3px 0 var(--mid-grey);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-lead {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.4;
  padding: 1rem 1.25rem;
  border-left: var(--stroke);
  background: rgba(0,35,102,0.04);
}

.about-content p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
}

.about-facts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  border: var(--stroke);
  background: var(--paper);
  margin: 0.5rem 0;
}

.fact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
}

.fact-item svg {
  width: 16px;
  height: 16px;
  color: var(--navy);
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-badge-stack {
    right: 1rem;
    bottom: 1rem;
  }
}

/* ── GALLERY ──────────────────────────────────────────────── */
#gallery {
  background: var(--paper);
  padding: var(--section-pad) 0;
  border-bottom: var(--stroke);
}

.gallery-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.gallery-item--large {
  grid-column: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.polaroid-frame {
  background: var(--white);
  border: var(--stroke);
  box-shadow: var(--hard-shadow);
  padding: 0.75rem 0.75rem 2.5rem;
  cursor: zoom-in;
  transition: transform 150ms ease, box-shadow 150ms ease;
  display: block;
  height: 100%;
}

@media (hover: hover) {
  .polaroid-frame:hover {
    transform: translate(-3px, -3px) rotate(-0.5deg);
    box-shadow: 7px 7px 0 var(--black);
  }
}

.polaroid-frame img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: contrast(1.08) saturate(0.9);
}

.gallery-item--large .polaroid-frame img {
  height: 320px;
}

.gallery-item--wide .polaroid-frame img {
  height: 220px;
}

.polaroid-caption {
  display: block;
  font-family: var(--font-caption);
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.75rem;
  line-height: 1.3;
}

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

@media (max-width: 900px) {
  .gallery-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item--large {
    grid-column: span 2;
  }
  .gallery-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 550px) {
  .gallery-bento {
    grid-template-columns: 1fr;
  }
  .gallery-item--large,
  .gallery-item--wide {
    grid-column: span 1;
  }
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#lightbox[hidden] { display: none; }

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 90vw;
  max-height: 90vh;
}

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: var(--stroke);
}

#lightbox-caption {
  font-family: var(--font-caption);
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: var(--white);
  border: var(--stroke);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--hard-shadow);
  touch-action: manipulation;
}

.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev  { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1rem; top: 50%; transform: translateY(-50%); }

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
  width: 20px;
  height: 20px;
}

@media (hover: hover) {
  .lightbox-close:hover,
  .lightbox-prev:hover,
  .lightbox-next:hover {
    background: var(--ink);
    color: var(--white);
  }
}

/* ── FEATURED TESTIMONIAL ─────────────────────────────────── */
#featured-testimonial {
  background: linear-gradient(135deg, #0a2a6e 0%, #1a4db8 50%, #0d3a9e 100%);
  border-top: 3px solid rgba(255,255,255,0.15);
  border-bottom: 3px solid rgba(255,255,255,0.15);
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

.featured-testimonial-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.testimonial-quote-icon {
  width: 52px;
  height: 52px;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

.featured-testimonial-quote {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: #ffffff;
  margin: 0;
  font-style: italic;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.featured-testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.featured-testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.25rem;
}

.featured-testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: #fbbf24;
  fill: #fbbf24;
}

.featured-testimonial-author strong {
  font-family: var(--font-headline);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-transform: uppercase;
}

.featured-testimonial-author span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.03em;
}

/* ── SERVICE AREA ─────────────────────────────────────────── */
#service-area {
  background: var(--white);
  padding: var(--section-pad) 0;
  border-bottom: var(--stroke);
}

.area-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.area-badge {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 2px solid var(--black);
  background: var(--white);
  box-shadow: 2px 2px 0 var(--black);
  transition: background 150ms, color 150ms;
}

@media (hover: hover) {
  .area-badge:hover {
    background: var(--ink);
    color: var(--white);
  }
}


/* ── FAQ ──────────────────────────────────────────────────── */
#faq {
  background: var(--paper);
  padding: var(--section-pad) 0;
  border-bottom: var(--stroke);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border: var(--stroke);
  box-shadow: var(--hard-shadow-lg);
}

.faq-item {
  border-bottom: 2px solid var(--black);
  background: var(--white);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

.faq-question span {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.3;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--navy);
  transition: transform 300ms ease;
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
}

.faq-answer[hidden] { display: none; }

.faq-answer p {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.75;
  border-left: 4px solid var(--navy);
  padding-left: 1rem;
}

@media (hover: hover) {
  .faq-question:hover {
    background: rgba(0,35,102,0.03);
  }
}

/* ── FOOTER ───────────────────────────────────────────────── */
#footer {
  background-color: var(--white);
  background-image:
    linear-gradient(var(--light-grey) 1px, transparent 1px),
    linear-gradient(90deg, var(--light-grey) 1px, transparent 1px);
  background-size: 32px 32px;
  border-top: var(--stroke);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-heading {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--black);
}

/* Footer Form */
.footer-col--form form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 2px solid var(--black);
  background: var(--white);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 3px 3px 0 var(--navy);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--red);
}

.form-error {
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 600;
  min-height: 1em;
}

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

/* Footer Brand Col */
.footer-logo {
  margin-bottom: 1.25rem;
}

.footer-nap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.footer-nap a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  font-weight: 600;
  transition: color 150ms;
}

.footer-nap svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media (hover: hover) {
  .footer-nap a:hover { color: var(--navy); }
}

.footer-phone {
  font-size: 1rem !important;
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.footer-hours strong {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.footer-seals {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 2px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms, color 150ms;
  touch-action: manipulation;
}

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

@media (hover: hover) {
  .footer-social a:hover {
    background: var(--ink);
    color: var(--white);
  }
}

/* Footer Info Col */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
  transition: color 150ms;
}

@media (hover: hover) {
  .footer-links a:hover { color: var(--navy); }
}

.footer-review-link {
  display: inline-flex;
  margin-top: 1.5rem;
}

/* Footer Bottom */
.footer-bottom {
  border-top: var(--stroke);
  padding: 1.25rem clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 100%;
  background: var(--ink);
  color: rgba(255,255,255,0.6);
}

.footer-bottom a {
  color: rgba(255,255,255,0.8);
  transition: color 150ms;
}

@media (hover: hover) {
  .footer-bottom a:hover { color: var(--white); }
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col--form {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-col--form {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── MOBILE CALL BAR ──────────────────────────────────────── */

#mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-callbar);
  background: var(--grad-blue);
  border-top: var(--stroke);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  padding-bottom: env(safe-area-inset-bottom, 0);
  overflow: visible;
  display: none;
}

#mobile-call-bar::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 0;
  right: 0;
  height: 100px;
  background-color: var(--navy-dark);
  pointer-events: none;
}

#mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 56px;
  color: var(--white);
  font-family: var(--font-headline);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

#mobile-call-bar a svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  #mobile-call-bar { display: block; }
}

@media (hover: hover) {
  #mobile-call-bar a:hover {
    background: var(--navy-dark);
  }
}

/* ── MODAL ────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal-overlay[hidden] { display: none; }

.modal-box {
  background: var(--white);
  border: var(--stroke);
  box-shadow: var(--hard-shadow-lg);
  width: 100%;
  max-width: 520px;
  position: relative;
  padding: 2rem;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: 2px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  cursor: pointer;
  transition: background 150ms;
  touch-action: manipulation;
}

.modal-close svg { width: 18px; height: 18px; }

@media (hover: hover) {
  .modal-close:hover { background: var(--ink); color: var(--white); }
}

.modal-header {
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.modal-header h2 {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--muted);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

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

/* ── GRID DIVIDERS ────────────────────────────────────────── */
.grid-divider {
  height: 1px;
  background: var(--light-grey);
  width: 100%;
}
