/* ================================================================
   GULLARD PAINTING — MAIN STYLESHEET
   Brand: #121212 Charcoal | #BA0606 Red | #F7F4EF Warm White
   Font: Montserrat 800 headlines, 600 subheads, 400 body
   ================================================================ */

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

:root {
  --charcoal:    #121212;
  --red:         #BA0606;
  --red-dark:    #960505;
  --red-light:   #d40707;
  --warm-white:  #F7F4EF;
  --white:       #ffffff;
  --grey-100:    #f5f5f5;
  --grey-200:    #e8e8e8;
  --grey-400:    #999999;
  --grey-600:    #666666;
  --text:        #1a1a1a;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.16);
  --radius:      6px;
  --radius-lg:   12px;
  --transition:  0.3s ease;
  --max-width:   1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ── TYPOGRAPHY ───────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { font-size: 1rem; line-height: 1.75; color: var(--grey-600); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(186,6,6,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline-dark:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* ── HEADER ───────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
  background: transparent;
}

#site-header.scrolled {
  background: var(--charcoal);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

#site-header.scrolled .nav-link { color: var(--warm-white); }
#site-header.scrolled .nav-link:hover { color: var(--red); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img {
  height: 52px;
  width: auto;
  transition: height var(--transition);
}
#site-header.scrolled .site-logo img { height: 40px; }

.site-nav { display: flex; align-items: center; gap: 8px; }

.nav-link {
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-link:hover { color: var(--red); background: rgba(255,255,255,0.06); }
.nav-link.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 8px 18px;
}
.nav-link.nav-cta:hover { background: var(--red-dark); }

.nav-link.for-contractors {
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
}
.nav-link.for-contractors:hover { color: var(--warm-white); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}
#hero.loaded .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(18,18,18,0.82) 0%,
    rgba(18,18,18,0.55) 50%,
    rgba(18,18,18,0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(186,6,6,0.15);
  border: 1px solid rgba(186,6,6,0.4);
  border-radius: 100px;
  padding: 6px 16px;
  color: #ff6b6b;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title span { color: var(--red); }

.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.hero-phone a {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.hero-phone a:hover { color: var(--red); }

/* ── STATS BAR ────────────────────────────────────────────────── */
#stats-bar {
  background: var(--charcoal);
  padding: 28px 0;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 48px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* ── SECTION SHARED ───────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.section-header p { margin-top: 16px; font-size: 1.05rem; }

.bg-warm  { background: var(--warm-white); }
.bg-dark  { background: var(--charcoal); }
.bg-white { background: var(--white); }

/* ── SERVICES ─────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  group: true;
}

.service-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover img { transform: scale(1.06); }

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,18,18,0.88) 0%, rgba(18,18,18,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: all var(--transition);
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(186,6,6,0.85) 0%, rgba(18,18,18,0.4) 70%, transparent 100%);
}

.service-icon {
  width: 44px; height: 44px;
  background: var(--red);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: background var(--transition);
}
.service-card:hover .service-icon { background: rgba(255,255,255,0.2); }

.service-icon svg { width: 22px; height: 22px; fill: var(--white); }

.service-card h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 6px; }
.service-card p { color: rgba(255,255,255,0.8); font-size: 0.88rem; line-height: 1.5; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}
.service-card:hover .service-link { opacity: 1; transform: translateY(0); }

/* ── BEFORE/AFTER SLIDER ──────────────────────────────────────── */
#before-after { padding: 96px 0; background: var(--charcoal); }

.ba-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  user-select: none;
  aspect-ratio: 16/9;
}

.ba-before, .ba-after {
  position: absolute;
  top: 0; bottom: 0;
  overflow: hidden;
}
.ba-after { left: 0; right: 0; }
.ba-before {
  left: 0;
  width: 50%;
  z-index: 2;
  border-right: 3px solid var(--white);
}

.ba-before img, .ba-after img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ba-before img { width: auto; min-width: 100%; }

.ba-label {
  position: absolute;
  bottom: 16px;
  background: rgba(0,0,0,0.7);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  z-index: 10;
}
.ba-label.before-label { left: 16px; }
.ba-label.after-label { right: 16px; }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
}

.ba-handle-circle {
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.ba-handle-circle svg { width: 20px; height: 20px; fill: var(--charcoal); }

/* ── GALLERY ──────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 8px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}

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

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(186,6,6,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay svg { width: 32px; height: 32px; fill: var(--white); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ── ABOUT SECTION ────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--red);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge .years { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.about-badge .years-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }

.about-content { padding-right: 20px; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { margin-bottom: 16px; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.about-value {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-value-icon {
  width: 40px; height: 40px;
  background: rgba(186,6,6,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-value-icon svg { width: 20px; height: 20px; fill: var(--red); }
.about-value h4 { font-size: 0.9rem; margin-bottom: 2px; }
.about-value p { font-size: 0.82rem; }

/* ── REVIEWS ──────────────────────────────────────────────────── */
#reviews { background: var(--warm-white); }

.reviews-track-wrap {
  overflow: hidden;
  position: relative;
}
.reviews-track-wrap::before,
.reviews-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.reviews-track-wrap::before { left: 0; background: linear-gradient(to right, var(--warm-white), transparent); }
.reviews-track-wrap::after  { right: 0; background: linear-gradient(to left, var(--warm-white), transparent); }

.reviews-track {
  display: flex;
  gap: 24px;
  animation: scroll-reviews 30s linear infinite;
  width: max-content;
}
.reviews-track:hover { animation-play-state: paused; }

@keyframes scroll-reviews {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 320px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}
.review-stars span { color: #f59e0b; font-size: 1rem; }

.review-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--grey-600);
  margin-bottom: 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 38px; height: 38px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.review-name { font-size: 0.88rem; font-weight: 700; }
.review-via  { font-size: 0.75rem; color: var(--grey-400); }

.reviews-google-badge {
  text-align: center;
  margin-top: 40px;
}
.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 100px;
  padding: 10px 24px;
  box-shadow: var(--shadow-sm);
}
.google-logo { font-size: 1.1rem; font-weight: 800; }
.google-logo span:nth-child(1) { color: #4285F4; }
.google-logo span:nth-child(2) { color: #EA4335; }
.google-logo span:nth-child(3) { color: #FBBC05; }
.google-logo span:nth-child(4) { color: #4285F4; }
.google-logo span:nth-child(5) { color: #34A853; }
.google-logo span:nth-child(6) { color: #EA4335; }
.google-score { font-weight: 800; font-size: 1.1rem; }
.google-count { font-size: 0.82rem; color: var(--grey-400); }

/* ── GC BANNER ────────────────────────────────────────────────── */
#gc-banner {
  background: var(--charcoal);
  padding: 28px 0;
  border-top: 3px solid var(--red);
}
.gc-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.gc-text h4 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.gc-text p  { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.gc-cta a {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.gc-cta a:hover { color: var(--red); }

/* ── CTA SECTION ──────────────────────────────────────────────── */
#cta-section {
  background: var(--red);
  padding: 80px 0;
  text-align: center;
}
#cta-section h2 { color: var(--white); }
#cta-section p  { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin: 16px auto 36px; max-width: 520px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.btn-white:hover { background: var(--warm-white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* ── FOOTER ───────────────────────────────────────────────────── */
#site-footer {
  background: var(--charcoal);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img { height: 48px; margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.7; }

.footer-col h5 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--red); }

.footer-contact p { color: rgba(255,255,255,0.5); font-size: 0.88rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-contact a { color: rgba(255,255,255,0.8); }
.footer-contact a:hover { color: var(--red); }

.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--red); color: var(--red); background: rgba(186,6,6,0.1); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.3); }
.footer-bottom a:hover { color: var(--red); }

/* ── STICKY MOBILE CALL BUTTON ────────────────────────────────── */
#mobile-cta {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--red);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(186,6,6,0.5);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-4px); }
}

/* ── SCROLL ANIMATIONS ────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.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; }

/* ── INTERIOR PAGES ───────────────────────────────────────────── */
.page-hero {
  padding: 140px 0 80px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.page-hero h1 { color: var(--white); }
.page-hero .breadcrumb { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,0.4); font-size: 0.82rem; margin-bottom: 16px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.4); }
.page-hero .breadcrumb a:hover { color: var(--red); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.6); }

.content-wrap { max-width: 820px; margin: 0 auto; }
.content-wrap h2 { margin: 48px 0 16px; }
.content-wrap h3 { margin: 32px 0 12px; }
.content-wrap p  { margin-bottom: 16px; }
.content-wrap ul { margin: 16px 0 24px 20px; list-style: disc; }
.content-wrap ul li { margin-bottom: 8px; color: var(--grey-600); }

/* Service page specific */
.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.feature-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border-left: 4px solid var(--red);
}
.feature-card h4 { margin-bottom: 8px; }
.feature-card p  { font-size: 0.88rem; }

/* ── ESTIMATE FORM ────────────────────────────────────────────── */
.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.form-label span { color: var(--red); }

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--red);
}
.form-textarea { min-height: 120px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-submit { width: 100%; padding: 16px; font-size: 1rem; justify-content: center; }

.form-note { text-align: center; color: var(--grey-400); font-size: 0.8rem; margin-top: 12px; }

/* ── SERVICE AREA PAGE ────────────────────────────────────────── */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin: 40px 0;
}
.city-chip {
  background: var(--warm-white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition);
}
.city-chip::before { content: ''; width: 8px; height: 8px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.city-chip:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.city-chip:hover::before { background: var(--white); }

/* ── 404 PAGE ─────────────────────────────────────────────────── */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.error-number {
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  opacity: 0.15;
  position: absolute;
}
.error-content { position: relative; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid  { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { max-width: 500px; margin: 0 auto; }
  .about-badge { right: 0; bottom: -16px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

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

  /* Header */
  .site-nav { display: none; position: fixed; inset: 0; flex-direction: column; justify-content: center; background: var(--charcoal); z-index: 999; gap: 4px; }
  .site-nav.open { display: flex; }
  .nav-link { font-size: 1.2rem; padding: 14px 24px; }
  .nav-toggle { display: flex; z-index: 1001; }

  /* Hero */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }

  /* Stats */
  .stat-item { padding: 12px 24px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-bottom: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: span 1; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Mobile CTA */
  #mobile-cta { display: flex; align-items: center; gap: 10px; }

  /* Form */
  .form-wrap { padding: 28px 20px; }
  .form-row  { grid-template-columns: 1fr; }

  /* About */
  .about-values { grid-template-columns: 1fr; }
}

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