/* ============================================================
   FIERRO CONSTRUCTION LLC — Premium Redesign
   fierroclv.com | NV License #0093351
   ============================================================ */

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

/* ── Variables ── */
:root {
  --ink:          #090909;
  --dark-1:       #111111;
  --dark-2:       #181818;
  --dark-3:       #222222;
  --dark-4:       #2c2c2c;
  --border-dark:  #333333;
  --mid:          #555555;
  --gray:         #888888;
  --silver:       #b8b4af;
  --border-light: #ddd9d3;
  --platinum:     #e5e1db;
  --cream:        #f0ece6;
  --off-white:    #f8f5f0;
  --white:        #ffffff;

  --blue-950:     #0d1f35;
  --blue-900:     #111e30;
  --blue-800:     #152840;
  --blue:         #1c3a5e;
  --blue-600:     #244d7a;
  --blue-500:     #2d619d;
  --blue-muted:   #c8d5e4;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Space Grotesk', 'Helvetica Neue', sans-serif;

  --max-w:        1280px;
  --px:           clamp(20px, 5vw, 80px);
  --transition:   all .28s cubic-bezier(.25,.46,.45,.94);
  --radius:       2px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--dark-3);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; border: none; outline: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { line-height: 1.7; font-weight: 300; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: var(--transition);
  border-radius: var(--radius);
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); border: 1px solid var(--blue); }
.btn-primary:hover { background: var(--blue-600); border-color: var(--blue-600); }
.btn-outline-white { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.45); }
.btn-outline-white:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.75); }
.btn-outline-dark { background: transparent; color: var(--dark-3); border: 1px solid var(--border-dark); }
.btn-outline-dark:hover { background: var(--dark-3); color: var(--white); }
.btn-lg { padding: 17px 36px; font-size: .8rem; }
.btn-sm { padding: 11px 22px; font-size: .72rem; }

/* ── Section Label ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}
.section-label.light { color: var(--blue-muted); }
.section-label.light::before { background: var(--blue-muted); }

/* ── Focus Accessibility ── */
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  transition: background .4s ease, padding .3s ease;
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(9,9,9,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; gap: 32px; }
.header-logo { flex-shrink: 0; }
.header-logo img { height: 48px; width: auto; }

.header-nav { display: flex; align-items: center; gap: 6px; margin-left: 16px; }
.header-nav > a {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .5px;
  color: rgba(255,255,255,.82);
  padding: 8px 12px;
  transition: color .2s;
  white-space: nowrap;
}
.header-nav > a:hover { color: var(--white); }

/* Dropdown */
.nav-has-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .5px;
  color: rgba(255,255,255,.82);
  padding: 8px 12px;
  transition: color .2s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}
.nav-dropdown-toggle:hover { color: var(--white); }
.nav-dropdown-toggle svg { width: 11px; height: 11px; transition: transform .25s; }
.nav-has-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--dark-1);
  border: 1px solid var(--border-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-has-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: .78rem;
  font-weight: 400;
  color: rgba(255,255,255,.7);
  border-bottom: 1px solid var(--border-dark);
  transition: color .2s, background .2s, padding-left .2s;
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { color: var(--white); background: rgba(255,255,255,.04); padding-left: 26px; }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 16px; margin-left: auto; flex-shrink: 0; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  white-space: nowrap;
  transition: color .2s;
}
.header-phone:hover { color: var(--white); }
.header-phone svg { width: 14px; height: 14px; flex-shrink: 0; }

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

/* ── Mobile Overlay ── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 8999;
  display: flex;
  flex-direction: column;
  padding: 100px var(--px) 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
  overflow-y: auto;
}
.mobile-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-nav a {
  display: block;
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color .2s, padding-left .2s;
}
.mobile-nav a:first-child { border-top: 1px solid var(--border-dark); }
.mobile-nav a:hover { color: var(--white); padding-left: 12px; }
.mobile-nav a.mobile-sub {
  font-size: clamp(.88rem, 2.5vw, 1.05rem);
  font-weight: 400;
  color: rgba(255,255,255,.45);
  padding-left: 20px;
}
.mobile-nav a.mobile-sub:hover { color: rgba(255,255,255,.8); padding-left: 30px; }
.mobile-nav a.mobile-cta { color: var(--blue-muted); font-weight: 600; border-top: none; border-bottom: none; margin-top: 20px; }
.mobile-overlay-contact { margin-top: auto; padding-top: 40px; }
.mobile-overlay-contact a {
  display: block;
  font-size: .88rem;
  font-weight: 400;
  color: rgba(255,255,255,.42);
  margin-bottom: 6px;
  transition: color .2s;
}
.mobile-overlay-contact a:hover { color: rgba(255,255,255,.8); }
.mobile-overlay-contact p { font-size: .72rem; color: rgba(255,255,255,.25); margin-top: 12px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark-1);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(9,9,9,.72) 0%,
    rgba(9,9,9,.38) 48%,
    rgba(9,9,9,.88) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(56px, 10vh, 100px);
  max-width: 860px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-muted);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--blue-muted);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8.5vw, 7.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-headline em { font-style: italic; color: var(--blue-muted); }
.hero-sub {
  font-size: clamp(.9rem, 1.6vw, 1.05rem);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,.68);
  max-width: 580px;
  margin-bottom: 40px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; }
.hero-trust-item {
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .8px;
  color: rgba(255,255,255,.45);
}
.hero-trust-divider { width: 1px; height: 12px; background: rgba(255,255,255,.18); }

/* ── Trust Bar ── */
.trust-bar {
  background: var(--dark-2);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.trust-bar-inner { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.trust-bar-inner::-webkit-scrollbar { display: none; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 32px;
  border-right: 1px solid var(--border-dark);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-item:last-child { border-right: none; }
.trust-item-icon { color: var(--blue-muted); flex-shrink: 0; }
.trust-item-icon svg { width: 18px; height: 18px; }
.trust-item-text { font-size: .75rem; font-weight: 500; color: rgba(255,255,255,.6); letter-spacing: .5px; }
.trust-item-text strong { display: block; color: rgba(255,255,255,.88); font-weight: 600; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section-light { background: var(--off-white); padding: clamp(64px, 10vw, 110px) 0; }
.section-white { background: var(--white); padding: clamp(64px, 10vw, 110px) 0; }
.section-cream { background: var(--cream); padding: clamp(64px, 10vw, 110px) 0; }
.section-dark { background: var(--dark-1); padding: clamp(64px, 10vw, 110px) 0; }
.section-ink { background: var(--ink); padding: clamp(64px, 10vw, 110px) 0; }

/* ── Section Header ── */
.section-header { margin-bottom: clamp(40px, 6vw, 64px); }
.section-header.centered { text-align: center; }
.section-header.centered .section-label { justify-content: center; }
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; color: var(--dark-1); }
.section-title.on-dark { color: var(--white); }
.section-desc { margin-top: 16px; font-size: clamp(.88rem, 1.5vw, 1rem); font-weight: 300; color: var(--mid); max-width: 560px; line-height: 1.7; }
.section-desc.on-dark { color: rgba(255,255,255,.55); }
.section-header.centered .section-desc { margin-inline: auto; }

/* ── Grid Helpers ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.col-2-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.col-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 80px; align-items: center; }
.col-2-3 { display: grid; grid-template-columns: 2fr 3fr; gap: 80px; align-items: center; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-light);
}
.service-card {
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--dark-3); }
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.service-card-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 3px solid transparent;
  transition: border-color .3s;
}
.service-card:hover .service-card-body { border-top-color: var(--blue); }
.service-card-num { font-size: .68rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-500); margin-bottom: 10px; }
.service-card-title { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; color: var(--dark-1); margin-bottom: 10px; line-height: 1.2; }
.service-card-text { font-size: .88rem; font-weight: 300; color: var(--mid); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  transition: gap .2s;
}
.service-card-link:hover { gap: 14px; }
.service-card-link svg { width: 14px; height: 14px; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-text-block .big-stat {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 400;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}
.about-text-block .big-stat-label {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
}
.about-text-block p { font-size: clamp(.88rem, 1.5vw, 1rem); color: var(--dark-3); margin-bottom: 18px; }
.about-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
}
.about-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-grid .photo-tall { grid-row: span 2; aspect-ratio: 2/3; }
.about-photo-grid .photo-sq { aspect-ratio: 4/3; }
.creds-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border-light); }
.cred-item { font-size: .78rem; font-weight: 400; color: var(--gray); letter-spacing: .3px; }
.cred-item strong { display: block; font-size: .88rem; font-weight: 600; color: var(--dark-1); margin-bottom: 2px; }

/* ============================================================
   FEATURED PROJECTS (homepage)
   ============================================================ */
.projects-grid-home {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 340px 260px;
  gap: 6px;
}
.project-thumb { position: relative; overflow: hidden; background: var(--dark-3); cursor: pointer; }
.project-thumb:first-child { grid-row: span 2; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.25,.46,.45,.94); }
.project-thumb:hover img { transform: scale(1.06); }
.project-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,9,9,.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .3s;
}
.project-thumb:hover .project-thumb-overlay { opacity: 1; }
.project-thumb-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity .3s, transform .3s;
}
.project-thumb:hover .project-thumb-info { opacity: 1; transform: translateY(0); }
.project-thumb-cat { font-size: .62rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-muted); margin-bottom: 4px; }
.project-thumb-title { font-size: .92rem; font-weight: 600; color: var(--white); }

/* ============================================================
   THE FIERRO STANDARD
   ============================================================ */
.standard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,.07);
}
.standard-item {
  padding: 40px 44px;
  border-right: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .25s;
}
.standard-item:hover { background: rgba(255,255,255,.03); }
.standard-item:nth-child(2n) { border-right: none; }
.standard-item:nth-last-child(-n+2) { border-bottom: none; }
.standard-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; color: rgba(255,255,255,.07); line-height: 1; margin-bottom: 12px; }
.standard-title { font-size: 1rem; font-weight: 600; color: rgba(255,255,255,.88); margin-bottom: 8px; }
.standard-desc { font-size: .85rem; font-weight: 300; color: rgba(255,255,255,.42); line-height: 1.6; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.process-step {
  padding: 32px 24px;
  border-right: 1px solid var(--border-light);
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-step-num { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--border-light); line-height: 1; margin-bottom: 14px; }
.process-step-title { font-size: .88rem; font-weight: 600; color: var(--dark-1); margin-bottom: 8px; }
.process-step-desc { font-size: .8rem; font-weight: 300; color: var(--gray); line-height: 1.6; }

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
}
.area-item { background: var(--dark-2); padding: 24px 28px; transition: background .2s; }
.area-item:hover { background: var(--dark-3); }
.area-name { font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.75); margin-bottom: 4px; }
.area-sub { font-size: .72rem; font-weight: 300; color: rgba(255,255,255,.32); }

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ba-pair { background: var(--white); border: 1px solid var(--border-light); overflow: hidden; }
.ba-images { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ba-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.ba-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag {
  position: absolute;
  top: 10px; left: 10px;
  font-size: .6rem; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 8px;
  z-index: 1;
}
.ba-tag.before { background: rgba(9,9,9,.7); color: rgba(255,255,255,.7); }
.ba-tag.after  { background: var(--blue); color: var(--white); }
.ba-info { padding: 20px 22px 24px; }
.ba-title { font-size: .95rem; font-weight: 600; color: var(--dark-1); margin-bottom: 4px; }
.ba-desc { font-size: .82rem; font-weight: 300; color: var(--gray); line-height: 1.5; }

/* ============================================================
   REVIEW CARDS
   ============================================================ */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--dark-2);
  border: 1px solid var(--border-dark);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.review-stars { display: flex; gap: 4px; margin-bottom: 18px; }
.review-stars svg { width: 15px; height: 15px; fill: var(--blue-muted); }
.review-text { font-size: .9rem; font-weight: 300; color: rgba(255,255,255,.6); line-height: 1.7; flex: 1; margin-bottom: 24px; font-style: italic; }
.review-author { border-top: 1px solid var(--border-dark); padding-top: 18px; }
.review-name { font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.85); }
.review-location { font-size: .75rem; font-weight: 300; color: rgba(255,255,255,.32); margin-top: 3px; }
.review-source { font-size: .65rem; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-muted); margin-top: 6px; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-wrap { background: var(--white); padding: 48px; border: 1px solid var(--border-light); }
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-size: .7rem; font-weight: 500; letter-spacing: 1.8px; text-transform: uppercase; color: var(--dark-3); margin-bottom: 8px; }
.form-control {
  width: 100%;
  padding: 14px 16px;
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 300;
  color: var(--dark-1);
  transition: border-color .2s, background .2s;
}
.form-control:focus { border-color: var(--blue); background: var(--white); outline: none; }
.form-control::placeholder { color: var(--gray); }
textarea.form-control { resize: vertical; min-height: 130px; line-height: 1.6; }
select.form-control { cursor: pointer; appearance: none; 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='%23888' 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-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-file-wrap {
  position: relative;
  border: 1px dashed var(--border-light);
  padding: 24px 20px;
  text-align: center;
  background: var(--off-white);
  transition: border-color .2s, background .2s;
}
.form-file-wrap:hover { border-color: var(--blue); background: var(--white); }
.form-file-wrap input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.form-file-icon { width: 28px; height: 28px; color: var(--gray); margin: 0 auto 8px; }
.form-file-text { font-size: .82rem; font-weight: 300; color: var(--gray); }
.form-note { font-size: .75rem; font-weight: 300; color: var(--gray); margin-top: 20px; line-height: 1.5; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { background: var(--blue-950); padding: clamp(64px, 10vw, 100px) 0; text-align: center; }
.cta-section .section-label { color: var(--blue-muted); justify-content: center; }
.cta-section .section-label::before { background: var(--blue-muted); }
.cta-title { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 400; color: var(--white); line-height: 1.1; margin-bottom: 16px; }
.cta-sub { font-size: clamp(.88rem, 1.5vw, 1.02rem); font-weight: 300; color: rgba(255,255,255,.5); max-width: 540px; margin: 0 auto 40px; line-height: 1.7; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  color: var(--white);
  margin-top: 32px;
  transition: color .2s;
}
.cta-phone:hover { color: var(--blue-muted); }
.cta-phone svg { width: 20px; height: 20px; color: var(--blue-muted); flex-shrink: 0; }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  position: relative;
  min-height: clamp(360px, 55vh, 560px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark-1);
}
.page-header-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(9,9,9,.65) 0%, rgba(9,9,9,.35) 50%, rgba(9,9,9,.84) 100%);
  z-index: 1;
}
.page-header-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(40px, 7vh, 72px);
  width: 100%;
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .8px;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.page-breadcrumb a { transition: color .2s; }
.page-breadcrumb a:hover { color: rgba(255,255,255,.75); }
.page-breadcrumb svg { width: 9px; height: 9px; }
.page-title { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 400; line-height: 1.05; letter-spacing: -.02em; color: var(--white); margin-bottom: 14px; }
.page-subtitle { font-size: clamp(.85rem, 1.5vw, 1rem); font-weight: 300; color: rgba(255,255,255,.55); max-width: 560px; line-height: 1.65; }

/* ── Content Blocks ── */
.content-block { max-width: 700px; }
.content-block p { font-size: clamp(.88rem, 1.5vw, 1rem); color: var(--dark-3); margin-bottom: 18px; }
.content-block p:last-child { margin-bottom: 0; }
.content-block h3 { margin-top: 36px; margin-bottom: 12px; color: var(--dark-1); }
.content-block ul { list-style: none; padding: 0; margin-bottom: 18px; }
.content-block ul li {
  font-size: clamp(.88rem, 1.5vw, 1rem);
  font-weight: 300;
  color: var(--dark-3);
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.55;
}
.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 1px;
  background: var(--blue);
}

/* ── Service Detail Sidebar ── */
.service-layout { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: start; }
.sidebar-box { background: var(--off-white); border: 1px solid var(--border-light); padding: 28px 28px; margin-bottom: 20px; }
.sidebar-box-title { font-size: .68rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-500); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.sidebar-service-links a {
  display: block;
  font-size: .88rem;
  font-weight: 400;
  color: var(--dark-3);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  transition: color .2s, padding-left .2s;
}
.sidebar-service-links a:last-child { border-bottom: none; }
.sidebar-service-links a:hover { color: var(--blue); padding-left: 8px; }
.sidebar-service-links a.active { color: var(--blue); font-weight: 500; }
.sidebar-license { font-size: .78rem; font-weight: 300; color: var(--gray); line-height: 1.7; }
.sidebar-license strong { display: block; font-weight: 600; color: var(--dark-1); margin-bottom: 4px; }

/* ── Service Page Photos ── */
.service-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.service-photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-photo-grid .span-2 { grid-column: span 2; aspect-ratio: 16/7; }

/* ── FAQ ── */
.faq-list { border-top: 1px solid var(--border-light); }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 500;
  color: var(--dark-1);
  transition: color .2s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.faq-question:hover { color: var(--blue); }
.faq-question svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gray); transition: transform .3s, color .2s; }
.faq-item.is-open .faq-question svg { transform: rotate(45deg); color: var(--blue); }
.faq-answer { display: none; padding-bottom: 20px; }
.faq-answer p { font-size: .9rem; font-weight: 300; color: var(--mid); line-height: 1.7; }
.faq-item.is-open .faq-answer { display: block; }

/* ── Gallery Filter ── */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn {
  padding: 9px 20px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.filter-btn:hover { border-color: var(--dark-3); color: var(--dark-1); }
.filter-btn.active { background: var(--dark-1); border-color: var(--dark-1); color: var(--white); }

/* ── Gallery Grid ── */
.gallery-grid { columns: 3; column-gap: 8px; }
.gallery-item { break-inside: avoid; margin-bottom: 8px; position: relative; overflow: hidden; cursor: pointer; background: var(--dark-3); }
.gallery-item img { width: 100%; display: block; transition: transform .5s cubic-bezier(.25,.46,.45,.94); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(9,9,9,.5);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay svg { width: 32px; height: 32px; color: var(--white); }
.gallery-item[data-hidden="true"] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(9,9,9,.96);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox-img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none;
  color: rgba(255,255,255,.7); cursor: pointer;
  transition: color .2s;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-close svg { width: 28px; height: 28px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); border-top: 1px solid var(--border-dark); padding-top: clamp(48px, 8vw, 80px); }
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 40px 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-logo img { height: 52px; width: auto; margin-bottom: 20px; }
.footer-brand-text { font-size: .85rem; font-weight: 300; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-license { font-size: .68rem; font-weight: 400; color: rgba(255,255,255,.25); letter-spacing: .5px; }
.footer-col-title { font-size: .65rem; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.32); margin-bottom: 16px; }
.footer-col a {
  display: block;
  font-style: normal;
  font-size: .82rem;
  font-weight: 300;
  color: rgba(255,255,255,.48);
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: rgba(255,255,255,.82); }
.footer-col address { font-style: normal; font-size: .82rem; font-weight: 300; color: rgba(255,255,255,.4); line-height: 1.6; margin-bottom: 10px; }
.footer-col p { font-size: .82rem; font-weight: 300; color: rgba(255,255,255,.4); margin-bottom: 10px; line-height: 1.5; }
.footer-bottom { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-copyright { font-size: .7rem; font-weight: 300; color: rgba(255,255,255,.22); }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { font-size: .7rem; font-weight: 300; color: rgba(255,255,255,.22); transition: color .2s; }
.footer-legal-links a:hover { color: rgba(255,255,255,.55); }
.footer-credit { width: 100%; text-align: center; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.06); margin-top: 4px; font-size: .65rem; font-weight: 300; letter-spacing: .06em; color: rgba(255,255,255,.18); }
.footer-credit a { color: rgba(255,255,255,.28); text-decoration: none; transition: color .25s ease; }
.footer-credit a:hover { color: var(--blue-muted); }

/* ── Veteran Badge ── */
.veteran-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.1);
  margin-bottom: 20px;
}
.veteran-badge svg { width: 15px; height: 15px; color: var(--blue-muted); }
.veteran-badge-text { font-size: .65rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ── Sticky Phone Bar (mobile) ── */
.sticky-phone-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--blue);
  z-index: 8000;
  height: 56px;
  align-items: stretch;
}
.sticky-phone-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--white);
  text-transform: uppercase;
  transition: background .2s;
}
.sticky-phone-bar a:hover { background: rgba(255,255,255,.1); }
.sticky-phone-bar a:first-child { border-right: 1px solid rgba(255,255,255,.2); }
.sticky-phone-bar svg { width: 16px; height: 16px; }

/* ── Scroll to Top ── */
.scroll-top {
  position: fixed;
  bottom: 80px; right: 24px;
  width: 42px; height: 42px;
  background: var(--dark-1);
  border: 1px solid var(--border-dark);
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 7000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  cursor: pointer;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.scroll-top svg { width: 16px; height: 16px; }

/* ── Utilities ── */
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .process-list { grid-template-columns: repeat(3, 1fr); }
  .process-step:nth-child(3) { border-right: none; }
  .process-step { border-bottom: 1px solid var(--border-light); }
  .process-step:nth-last-child(-n+3) { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .projects-grid-home { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 220px 220px; }
  .projects-grid-home .project-thumb:first-child { grid-row: span 1; grid-column: span 2; }
  .service-layout { grid-template-columns: 1fr 280px; gap: 48px; }
}

@media (max-width: 900px) {
  :root { --px: clamp(16px, 4vw, 48px); }
  .header-nav, .header-phone { display: none; }
  .hamburger { display: flex; }
  .header-cta .btn-primary { display: none; }
  .sticky-phone-bar { display: flex; }
  body { padding-bottom: 56px; }
  .col-2-1, .col-3-2, .col-2-3 { grid-template-columns: 1fr; gap: 48px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .standard-grid { grid-template-columns: 1fr; }
  .standard-item { border-right: none; }
  .standard-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.07); }
  .standard-item:last-child { border-bottom: none; }
  .service-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .projects-grid-home { grid-template-columns: 1fr; grid-template-rows: auto; }
  .projects-grid-home .project-thumb { aspect-ratio: 16/9; }
  .projects-grid-home .project-thumb:first-child { grid-row: auto; grid-column: auto; }
}

@media (max-width: 600px) {
  :root { --px: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .ba-grid, .review-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border-light); }
  .process-step:last-child { border-bottom: none; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-trust { display: none; }
  .trust-bar-inner { flex-wrap: wrap; }
  .trust-item { flex: 1 1 50%; border-right: none; border-bottom: 1px solid var(--border-dark); }
  .gallery-grid { columns: 1; }
  .service-photo-grid { grid-template-columns: 1fr; }
  .service-photo-grid .span-2 { grid-column: span 1; aspect-ratio: 4/3; }
  .contact-form-wrap { padding: 28px 20px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 340px; justify-content: center; }
  .about-photo-grid { grid-template-columns: 1fr; }
  .about-photo-grid .photo-tall { aspect-ratio: 16/9; grid-row: auto; }

  /* ── Mobile Footer Redesign ── */
  .site-footer { padding-top: 36px; }

  /* 2-column grid: brand full-width, Services+Company side by side, Contact full-width */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  /* Brand row — logo + license only, no paragraph */
  .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .footer-logo { margin-bottom: 10px; }
  .footer-logo img { height: 36px; }
  .footer-brand-text { display: none; }
  .footer-license { display: block; font-size: .6rem; color: rgba(255,255,255,.4); letter-spacing: .3px; line-height: 1.5; }

  /* Services col (1st .footer-col) and Company col (2nd .footer-col) */
  .footer-top > .footer-col:not(:last-child) {
    padding-bottom: 24px;
  }
  .footer-top > .footer-col:nth-child(2) { padding-right: 12px; }
  .footer-top > .footer-col:nth-child(3) { padding-left: 12px; border-left: 1px solid rgba(255,255,255,.05); }

  /* Contact col — full width, separated */
  .footer-top > .footer-col:last-child {
    grid-column: 1 / -1;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
    margin-bottom: 4px;
  }
  /* Hide the CTA button inside footer contact — sticky bar already handles this on mobile */
  .footer-col .btn { display: none; }

  /* Better contrast on dark mobile background */
  .footer-col-title { color: rgba(255,255,255,.5); margin-bottom: 10px; font-size: .6rem; }
  .footer-col a { color: rgba(255,255,255,.62); margin-bottom: 8px; font-size: .78rem; }
  .footer-col address { color: rgba(255,255,255,.55); font-size: .78rem; }
  .footer-col p { color: rgba(255,255,255,.55); font-size: .78rem; margin-bottom: 8px; }

  /* Footer bottom bar */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 0; }
  .footer-copyright { font-size: .65rem; color: rgba(255,255,255,.4); }
  .footer-legal-links { flex-wrap: wrap; gap: 8px 14px; }
  .footer-legal-links a { font-size: .65rem; color: rgba(255,255,255,.4); }
  .footer-credit { padding: 12px 0 0; font-size: .6rem; color: rgba(255,255,255,.32); }
  .footer-credit a { color: rgba(255,255,255,.44); }

  /* Scroll-to-top: smaller, tucked above sticky bar */
  .scroll-top { width: 36px; height: 36px; bottom: 68px; right: 14px; }
  .scroll-top svg { width: 14px; height: 14px; }
}

@media (max-width: 390px) {
  .hero-headline { font-size: 2.6rem; }
  .areas-grid { grid-template-columns: 1fr; }
  .trust-item { flex: 1 1 100%; }
}
