/* ============================================================
   AMA United Company — style.css
   ============================================================ */

/* 1. RESET & ROOT VARIABLES */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0D0D0D;
  --bg2:       #141414;
  --bg3:       #1A1A1A;
  --red:       #D41F1F;
  --red-dark:  #A81818;
  --white:     #FFFFFF;
  --sub:       rgba(255,255,255,0.6);
  --sub2:      rgba(255,255,255,0.35);
  --border:    rgba(255,255,255,0.08);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --clip-btn:  polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --sp-section: 96px 48px;
  --sp-section-m: 64px 24px;
  --radius: 4px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ── Scroll progress bar ── */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--red);
  z-index: 9999;
  transition: width 0.1s linear;
  will-change: width;
}

/* ============================================================
   2. TYPOGRAPHY
   ============================================================ */
.section-label {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block;
  width: 32px; height: 2px;
  background: var(--red); flex-shrink: 0;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.01em;
}

.section-title em { color: var(--red); font-style: normal; }

.section-sub {
  color: var(--sub); font-size: 18px;
  max-width: 620px; margin-top: 16px; line-height: 1.7;
}

/* ============================================================
   3. BUTTONS
   ============================================================ */
.btn-primary, .btn-outline, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 28px;
  clip-path: var(--clip-btn);
  transition: var(--transition); will-change: transform;
  cursor: pointer; border: none; outline: none;
}

.btn-primary {
  background: var(--red); color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent; color: var(--white);
  box-shadow: inset 0 0 0 2px var(--red);
}
.btn-outline:hover {
  background: var(--red); color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent; color: var(--red);
  padding: 12px 0;
  clip-path: none;
  letter-spacing: 0.08em;
}
.btn-ghost::after { content: ' →'; }
.btn-ghost:hover { color: var(--white); }

/* ============================================================
   4. NAVIGATION
   ============================================================ */
#nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  display: flex; align-items: center; gap: 32px;
  padding: 0 48px; height: 72px;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  will-change: transform;
}

#nav.scrolled {
  height: 60px;
  background: rgba(13,13,13,0.97);
}

.nav-logo {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.nav-logo img { height: 38px; width: auto; }
.nav-logo-text {
  display: flex; flex-direction: column;
  font-family: var(--font-head); font-weight: 700;
  line-height: 1.15;
}
.nav-logo-text span:first-child { font-size: 16px; letter-spacing: 0.05em; }
.nav-logo-text span:last-child  { font-size: 11px; letter-spacing: 0.15em; color: var(--sub); text-transform: uppercase; }

.nav-links {
  display: flex; align-items: center; gap: 28px;
  margin-left: auto;
}
.nav-links > a, .nav-drop-toggle {
  font-family: var(--font-head); font-weight: 600;
  font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sub); transition: color 0.2s;
  cursor: pointer; white-space: nowrap;
}
.nav-links > a:hover,
.nav-drop-toggle:hover,
.nav-links > a.active { color: var(--white); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 12px); left: -16px;
  background: #181818; border: 1px solid var(--border);
  min-width: 220px; padding: 8px 0;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: var(--transition);
}
.nav-dropdown:hover .nav-drop-menu {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.nav-drop-menu a {
  display: block; padding: 10px 20px;
  font-size: 14px; font-family: var(--font-body);
  color: var(--sub); transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-drop-menu a:hover { color: var(--white); background: rgba(212,31,31,0.1); }

.nav-cta {
  flex-shrink: 0; margin-left: 16px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--red); color: var(--white);
  padding: 10px 22px;
  clip-path: var(--clip-btn);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  margin-left: auto; padding: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 72px; left: 0; right: 0;
  background: #181818; border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0;
  z-index: 999; max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { max-height: 480px; }
.mobile-menu a {
  padding: 16px 24px; font-family: var(--font-head); font-weight: 600;
  font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--sub); border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,0.04); }

/* ============================================================
   5. HERO (Full screen — home page)
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: flex-start;
  padding: 120px 48px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: -10% 0; z-index: 0;
  overflow: hidden;
}

/* Photo slides */
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  will-change: transform, opacity;
}
.hero-slide.active { opacity: 1; animation: kenBurns1 9s ease-in-out forwards; }

@keyframes kenBurns1 {
  from { transform: scale(1)    translate(0,    0);    }
  to   { transform: scale(1.12) translate(-2%, -1.5%); }
}
@keyframes kenBurns2 {
  from { transform: scale(1.08) translate(1%,  0);   }
  to   { transform: scale(1)    translate(-1%, 1.5%); }
}
@keyframes kenBurns3 {
  from { transform: scale(1)    translate(-1%, 1%);  }
  to   { transform: scale(1.12) translate(2%,  -1%); }
}

/* Dark overlay + red accent + subtle grid */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.52) 55%, rgba(0,0,0,0.35) 100%),
    radial-gradient(ellipse at 20% 60%, rgba(212,31,31,0.14) 0%, transparent 55%);
}
.hero-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg,  transparent 0px, transparent 59px, rgba(255,255,255,0.012) 60px),
    repeating-linear-gradient(90deg, transparent 0px, transparent 59px, rgba(255,255,255,0.012) 60px);
}

.hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  width: 100%; gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero-spline {
  flex: 0 0 460px;
  height: 500px;
}

.hero-spline spline-viewer {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 1100px) {
  .hero-spline { flex: 0 0 380px; height: 420px; }
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 800; line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero h1 em { color: var(--red); font-style: normal; }

.hero-sub {
  color: var(--sub); font-size: 19px; line-height: 1.7;
  max-width: 560px; margin-bottom: 40px;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 60px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 40px;
  border-top: 1px solid var(--border); padding-top: 40px;
}
.hero-stat { text-align: left; }
.hero-stat .stat-num {
  font-family: var(--font-head); font-size: 40px; font-weight: 800;
  color: var(--white); line-height: 1;
}
.hero-stat .stat-num span { color: var(--red); }
.hero-stat .stat-label {
  font-size: 13px; color: var(--sub); letter-spacing: 0.05em; margin-top: 4px;
}

/* Page Hero (interior pages) */
.page-hero {
  position: relative; min-height: 50vh;
  display: flex; align-items: flex-end;
  padding: 100px 48px 60px;
  overflow: hidden;
  background: linear-gradient(160deg, #0d0d0d 0%, #141414 100%);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(212,31,31,0.15) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800; line-height: 1.0;
  margin-bottom: 12px;
}
.breadcrumb {
  font-size: 13px; color: var(--sub); letter-spacing: 0.05em;
}
.breadcrumb a { color: var(--red); }
.breadcrumb a:hover { color: var(--white); }

/* ============================================================
   6. SECTIONS LAYOUT
   ============================================================ */
.section { padding: var(--sp-section); }
.section--dark  { background: var(--bg2); }
.section--darker { background: var(--bg3); }
.section--alt   { background: var(--bg); }

.container { max-width: 1200px; margin: 0 auto; }

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-label { justify-content: center; }
.section-header.center .section-sub { margin: 16px auto 0; }

/* ============================================================
   7. SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.service-card {
  position: relative; overflow: hidden;
  min-height: 400px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px;
  background: var(--bg3);
  cursor: pointer;
  transition: var(--transition);
  will-change: transform;
}
.service-card:hover { transform: scale(1.01); }

.service-card-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.service-card:hover .service-card-bg { transform: scale(1.08); }

.service-card-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  transition: var(--transition);
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(168,24,24,0.7) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
}

.service-card-content { position: relative; z-index: 2; }
.service-card-tag {
  font-size: 11px; font-family: var(--font-head); font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--red); margin-bottom: 8px;
}
.service-card h3 {
  font-family: var(--font-head); font-size: 28px; font-weight: 800;
  line-height: 1.1; margin-bottom: 10px;
}
.service-card-desc {
  font-size: 15px; color: var(--sub); line-height: 1.6;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.service-card:hover .service-card-desc { max-height: 120px; opacity: 1; }
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); margin-top: 14px;
  transition: gap 0.2s;
}
.service-card:hover .service-card-link { gap: 10px; color: var(--white); }

/* Service card background photos */
.service-card--fence .service-card-bg {
  background-image: url('../assets/fencing/fence-1-hybrid-grey.jpg');
  background-position: center 30%;
}
.service-card--commercial .service-card-bg {
  background-image: url('../assets/commercial/commercial-1-chainlink-gate.jpg');
}
.service-card--deck .service-card-bg {
  background-image: url('../assets/decks/deck-2-composite-lights.jpg');
  background-position: center 40%;
}
.service-card--interlock .service-card-bg {
  background-image: url('../assets/renovations/reno-1-bathroom-marble.jpg');
  background-position: center 20%;
}

/* ============================================================
   8. ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-text p {
  color: var(--sub); line-height: 1.75; font-size: 16px; margin-bottom: 24px;
}
.about-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 36px;
}
.about-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--sub); font-weight: 500;
}
.about-feature::before {
  content: '✓';
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex-shrink: 0;
  background: rgba(212,31,31,0.15); border: 1px solid rgba(212,31,31,0.3);
  color: var(--red); font-size: 12px; font-weight: 700;
}
.about-visual {
  position: relative;
}
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--red); padding: 20px 24px;
  clip-path: var(--clip-btn);
  text-align: center;
}
.about-badge .badge-num {
  font-family: var(--font-head); font-size: 42px; font-weight: 800; line-height: 1;
}
.about-badge .badge-text {
  font-size: 12px; letter-spacing: 0.1em; opacity: 0.85; text-transform: uppercase;
}

/* ============================================================
   9. WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.why-card {
  background: var(--bg3); padding: 40px 32px;
  border: 1px solid var(--border);
  transition: var(--transition); will-change: transform;
  position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px; background: var(--red);
  transition: width 0.4s ease;
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(212,31,31,0.3); }
.why-card:hover::before { width: 100%; }
.why-card-icon {
  font-size: 32px; margin-bottom: 20px;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,31,31,0.1); border: 1px solid rgba(212,31,31,0.2);
}
.why-card h3 {
  font-family: var(--font-head); font-size: 22px; font-weight: 800;
  margin-bottom: 12px;
}
.why-card p { color: var(--sub); font-size: 15px; line-height: 1.65; }

/* ============================================================
   10. PROCESS STEPS
   ============================================================ */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 1px; background: var(--border);
}
.process-step {
  padding: 0 24px; text-align: center;
  position: relative;
}
.step-num {
  width: 56px; height: 56px; margin: 0 auto 24px;
  background: var(--bg); border: 2px solid var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 20px; font-weight: 800;
  color: var(--red); position: relative; z-index: 1;
}
.process-step h3 {
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  margin-bottom: 10px;
}
.process-step p { color: var(--sub); font-size: 14px; line-height: 1.6; }

/* ============================================================
   11. TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tcard {
  background: var(--bg3); padding: 36px;
  border: 1px solid var(--border);
  transition: var(--transition); will-change: transform;
  position: relative;
}
.tcard:hover { transform: translateY(-6px); border-color: rgba(212,31,31,0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.tcard-stars { color: var(--red); font-size: 18px; margin-bottom: 20px; letter-spacing: 2px; }
.tcard-quote {
  color: var(--sub); font-size: 15px; line-height: 1.75;
  font-style: italic; margin-bottom: 24px;
}
.tcard-quote::before { content: '\201C'; color: var(--red); font-size: 28px; line-height: 0; vertical-align: -12px; margin-right: 4px; }
.tcard-author {
  font-family: var(--font-head); font-weight: 700;
  font-size: 14px; letter-spacing: 0.05em;
}
.tcard-location { font-size: 13px; color: var(--sub2); margin-top: 2px; }

/* ============================================================
   12. GALLERY GRID
   ============================================================ */
.gallery-filter {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px;
}
.gallery-filter button {
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 9px 20px; background: var(--bg3);
  color: var(--sub); border: 1px solid var(--border);
  clip-path: var(--clip-btn);
  transition: var(--transition);
}
.gallery-filter button:hover,
.gallery-filter button.active { background: var(--red); color: var(--white); border-color: var(--red); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative; overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4/3;
}
.gallery-item img,
.gallery-item .img-placeholder {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  aspect-ratio: unset;
}
.gallery-item:hover img,
.gallery-item:hover .img-placeholder { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(212,31,31,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-overlay span {
  font-size: 28px; font-weight: 700; color: white;
  font-family: var(--font-head);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item-label {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  font-size: 12px; font-family: var(--font-head); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--sub);
}

/* Lightbox */
#lightbox {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
#lightbox.open { opacity: 1; pointer-events: all; }
#lightbox img {
  max-width: 90vw; max-height: 90vh; object-fit: contain;
}
#lightbox-close {
  position: absolute; top: 24px; right: 32px;
  font-size: 32px; color: var(--white); cursor: pointer;
  line-height: 1;
}
#lightbox-close:hover { color: var(--red); }

/* ============================================================
   13. BLOG CARDS
   ============================================================ */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-grid--2col { grid-template-columns: repeat(2, 1fr); }

.blog-card {
  background: var(--bg3); border: 1px solid var(--border);
  overflow: hidden; transition: var(--transition);
  will-change: transform; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(212,31,31,0.25); }

.blog-card-img {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9;
}
.blog-card-img .img-placeholder {
  width: 100%; height: 100%; aspect-ratio: unset;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card-cat {
  position: absolute; top: 14px; left: 14px;
  font-size: 11px; font-family: var(--font-head); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--red); color: var(--white);
  padding: 4px 10px;
  clip-path: var(--clip-btn);
}

.blog-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card-date { font-size: 12px; color: var(--sub2); margin-bottom: 10px; }
.blog-card-title {
  font-family: var(--font-head); font-size: 20px; font-weight: 700;
  line-height: 1.25; margin-bottom: 12px; color: var(--white);
}
.blog-card:hover .blog-card-title { color: var(--red); }
.blog-card-excerpt { color: var(--sub); font-size: 14px; line-height: 1.65; flex: 1; }
.blog-card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px;
  font-size: 13px; font-family: var(--font-head); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--red);
  transition: gap 0.2s;
}
.blog-card-link:hover { gap: 10px; }

/* Blog Post Article */
.blog-post {
  max-width: 800px; margin: 0 auto; padding: 80px 48px;
}
.blog-post-meta {
  display: flex; gap: 16px; align-items: center;
  margin-bottom: 32px; flex-wrap: wrap;
}
.blog-post-cat {
  font-size: 12px; font-family: var(--font-head); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--red); color: var(--white);
  padding: 5px 12px; clip-path: var(--clip-btn);
}
.blog-post-date { font-size: 14px; color: var(--sub2); }
.blog-post h1 {
  font-family: var(--font-head); font-size: clamp(32px, 5vw, 52px);
  font-weight: 800; line-height: 1.1; margin-bottom: 32px;
}
.blog-post-img { margin-bottom: 48px; }
.blog-post h2 {
  font-family: var(--font-head); font-size: 26px; font-weight: 700;
  margin: 40px 0 16px; color: var(--white);
}
.blog-post h3 {
  font-family: var(--font-head); font-size: 20px; font-weight: 700;
  margin: 28px 0 12px; color: var(--white);
}
.blog-post p { color: var(--sub); line-height: 1.8; margin-bottom: 20px; font-size: 16px; }
.blog-post ul, .blog-post ol {
  color: var(--sub); padding-left: 24px; margin-bottom: 20px; line-height: 1.8;
}
.blog-post li { margin-bottom: 8px; }
.blog-post strong { color: var(--white); }

.blog-post-cta {
  margin-top: 56px; padding: 40px;
  background: var(--bg3); border-left: 4px solid var(--red);
}
.blog-post-cta p { color: var(--sub); margin-bottom: 20px; }

/* ============================================================
   14. FAQ ACCORDION
   ============================================================ */
.faq-section { max-width: 860px; margin: 0 auto; }
.faq-category { margin-bottom: 48px; }
.faq-category-title {
  font-family: var(--font-head); font-size: 22px; font-weight: 700;
  color: var(--red); margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  color: var(--white); background: none; border: none; cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--red); }
.faq-q.open { color: var(--red); }
.faq-icon {
  flex-shrink: 0; width: 24px; height: 24px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--red);
  transition: transform 0.3s;
}
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
  color: var(--sub); font-size: 15px; line-height: 1.75;
}
.faq-a.open { max-height: 400px; padding-bottom: 20px; }

/* ============================================================
   15. CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
.contact-info h3 {
  font-family: var(--font-head); font-size: 24px; font-weight: 700;
  margin-bottom: 28px;
}
.contact-item {
  display: flex; gap: 16px; margin-bottom: 24px;
}
.contact-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(212,31,31,0.1); border: 1px solid rgba(212,31,31,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.contact-item-label { font-size: 12px; color: var(--sub2); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 4px; }
.contact-item-val { font-size: 15px; color: var(--white); }
.contact-item-val a { color: var(--white); transition: color 0.2s; }
.contact-item-val a:hover { color: var(--red); }

.contact-hours { margin-top: 32px; }
.contact-hours h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--sub); }
.hours-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--sub); padding: 6px 0; border-bottom: 1px solid var(--border); }

/* Form */
.contact-form form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 12px; font-family: var(--font-head); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sub); }
.form-input, .form-select, .form-textarea {
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--white); font-family: var(--font-body); font-size: 15px;
  padding: 14px 16px; outline: none;
  transition: border-color 0.2s;
  appearance: none; -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--red);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--sub2); }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-select option { background: #1a1a1a; }
.form-textarea { resize: vertical; min-height: 130px; }
.form-submit { margin-top: 8px; width: fit-content; }
.form-success { display: none; background: rgba(212,31,31,0.1); border: 1px solid rgba(212,31,31,0.3); padding: 16px; color: var(--white); font-size: 15px; }
.form-success.show { display: block; }

/* ============================================================
   16. STATS BAR
   ============================================================ */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg3); border: 1px solid var(--border);
}
.stat-item {
  padding: 40px 32px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num-big {
  font-family: var(--font-head); font-size: 52px; font-weight: 800;
  color: var(--white); line-height: 1;
}
.stat-num-big span { color: var(--red); }
.stat-label-big { font-size: 13px; color: var(--sub); letter-spacing: 0.05em; margin-top: 6px; text-transform: uppercase; }

/* ============================================================
   17. FEATURES / OPTIONS GRID
   ============================================================ */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg3); padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.feature-card:hover { border-color: rgba(212,31,31,0.3); transform: translateY(-2px); }
.feature-card h3 {
  font-family: var(--font-head); font-size: 20px; font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p { color: var(--sub); font-size: 14px; line-height: 1.65; }
.feature-card .price-tag {
  display: inline-block; margin-top: 14px;
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  color: var(--red); letter-spacing: 0.05em;
}

/* Materials/Options grid (2-col for service pages) */
.options-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.option-card {
  background: var(--bg3); padding: 36px;
  border: 1px solid var(--border); border-top: 3px solid var(--red);
  transition: var(--transition);
}
.option-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.option-card h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.option-card p { color: var(--sub); font-size: 15px; line-height: 1.65; }
.option-card .price { margin-top: 14px; font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--red); }

/* ============================================================
   18. CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 80px 48px; text-align: center;
  background: linear-gradient(135deg, #1a0808 0%, #0d0d0d 50%, #0a0a0a 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(212,31,31,0.12) 0%, transparent 70%);
}
.cta-banner-content { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-head); font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; margin-bottom: 16px; line-height: 1.1;
}
.cta-banner p { color: var(--sub); font-size: 18px; margin-bottom: 36px; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { font-size: 16px; padding: 16px 36px; }

/* ============================================================
   19. FOOTER
   ============================================================ */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 72px 48px 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px; margin-bottom: 56px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-tagline { font-size: 14px; color: var(--sub); line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-family: var(--font-head); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); padding: 8px 14px;
  border: 1px solid rgba(212,31,31,0.3);
  background: rgba(212,31,31,0.05);
}
.footer-badge::before { content: '★'; font-size: 14px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--sub); transition: var(--transition);
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.footer-nav h4, .footer-contact h4 {
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sub); margin-bottom: 20px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 14px; color: var(--sub); transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }

.footer-contact-item {
  display: flex; gap: 12px; margin-bottom: 16px;
}
.footer-contact-item span:first-child {
  font-size: 14px; color: var(--red); flex-shrink: 0; width: 20px;
}
.footer-contact-item a, .footer-contact-item span:last-child {
  font-size: 14px; color: var(--sub); line-height: 1.5;
}
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--sub2); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--sub2); transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); }

/* ============================================================
   20. FLOATING ELEMENTS
   ============================================================ */
#float-cta {
  position: fixed; bottom: 32px; right: 32px; z-index: 900;
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; pointer-events: none; transform: translateY(20px);
  transition: var(--transition);
}
#float-cta.show { opacity: 1; pointer-events: all; transform: translateY(0); }

.float-call {
  display: flex; align-items: center; gap: 10px;
  background: var(--red); color: var(--white);
  padding: 14px 20px;
  clip-path: var(--clip-btn);
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(212,31,31,0.4);
  transition: var(--transition);
}
.float-call:hover { background: var(--red-dark); transform: translateY(-2px); }

#back-top {
  width: 44px; height: 44px;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--white);
  cursor: pointer; transition: var(--transition);
  align-self: flex-end;
}
#back-top:hover { background: var(--red); border-color: var(--red); }

/* ============================================================
   21. SCROLL REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ============================================================
   22. PLACEHOLDER IMAGES
   ============================================================ */
.img-placeholder {
  width: 100%; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  border: 1px dashed rgba(255,255,255,0.1);
  position: relative; overflow: hidden;
}
.img-placeholder--fence      { background: linear-gradient(135deg, #1a1010 0%, #2c1515 100%); }
.img-placeholder--commercial { background: linear-gradient(135deg, #111820 0%, #1a2535 100%); }
.img-placeholder--deck       { background: linear-gradient(135deg, #111a11 0%, #1a2c1a 100%); }
.img-placeholder--interlock  { background: linear-gradient(135deg, #1a1518 0%, #2c1f28 100%); }
.img-placeholder--reno       { background: linear-gradient(135deg, #1a1a12 0%, #2c2c1a 100%); }
.img-placeholder--blog       { background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2c 100%); }
.img-placeholder--about      { background: linear-gradient(135deg, #141414 0%, #1a1a1a 100%); }

/* ============================================================
   23. MISC UTILITIES
   ============================================================ */
.text-red   { color: var(--red); }
.text-sub   { color: var(--sub); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Areas We Serve grid */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.area-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 28px 24px;
  background: var(--bg3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2px;
  text-decoration: none;
  color: var(--white);
  transition: var(--transition);
  position: relative;
}
a.area-card:hover {
  border-color: var(--red);
  background: rgba(212,31,31,0.06);
  transform: translateY(-3px);
}
.area-card-name {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 800;
  letter-spacing: 0.01em;
}
.area-card-services {
  font-size: 13px; color: var(--sub);
  line-height: 1.5;
}
.area-card-arrow {
  margin-top: 12px;
  font-size: 18px; color: var(--red);
  transition: transform 0.2s;
}
a.area-card:hover .area-card-arrow { transform: translateX(5px); }
@media (max-width: 900px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .areas-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* Service page intro */
.service-intro {
  max-width: 800px; font-size: 18px; color: var(--sub);
  line-height: 1.75; margin-bottom: 0;
}

/* Included list */
.included-list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.included-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px; background: var(--bg3); border: 1px solid var(--border);
}
.included-item::before {
  content: '✓'; flex-shrink: 0;
  width: 28px; height: 28px;
  background: rgba(212,31,31,0.15); border: 1px solid rgba(212,31,31,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-weight: 700; font-size: 14px;
}
.included-item span { font-size: 15px; color: var(--sub); line-height: 1.5; padding-top: 4px; }

/* Areas we serve */
.areas-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.area-tag {
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 16px; background: var(--bg3);
  border: 1px solid var(--border); color: var(--sub);
  clip-path: var(--clip-btn);
  transition: var(--transition);
}
.area-tag:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* Gallery preview section */
.gallery-preview-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 40px;
}

/* ============================================================
   24. RESPONSIVE — 900px
   ============================================================ */
@media (max-width: 900px) {
  :root { --sp-section: 64px 24px; }

  #nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 100px 24px 60px; }
  .hero-stats { gap: 24px; }
  .hero-inner { flex-direction: column; }
  .hero-spline { display: none; }
  .hero-content { max-width: 100%; }

  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-preview-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid--2col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .options-grid { grid-template-columns: 1fr; }
  .included-list { grid-template-columns: 1fr 1fr; }

  .page-hero { padding: 80px 24px 48px; }
  .blog-post { padding: 60px 24px; }
  .cta-banner { padding: 60px 24px; }
}

/* ============================================================
   25. RESPONSIVE — 600px
   ============================================================ */
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-preview-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .features-grid { grid-template-columns: 1fr; }
  .included-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .about-features { grid-template-columns: 1fr; }
  .float-call span { display: none; }
  .float-call { padding: 14px; }
  #float-cta { bottom: 20px; right: 20px; }
}
