/* ============================================================
   ZYAA INSTALLATION — style.css
   Premium Commercial Website
   Colors: Deep Navy · Burgundy · Antique Gold · Parchment · Charcoal
   Typography: Playfair Display + Inter
   ============================================================ */

/* --- DESIGN TOKENS --- */
:root {
  /* Core palette */
  --navy:          #0D1B2A;
  --navy-mid:      #152638;
  --navy-light:    #1E3A52;
  --burgundy:      #6B1F2A;
  --burgundy-light:#8B3040;
  --gold:          #B8934A;
  --gold-light:    #D4AB6A;
  --gold-pale:     #F0E4C8;
  --parchment:     #F7F2E8;
  --parchment-mid: #EDE5D0;
  --cream:         #FAFAF7;
  --charcoal:      #2C3440;
  --text-dark:     #1A1A2E;
  --text-mid:      #4A5568;
  --text-light:    #718096;
  --white:         #FFFFFF;
  --border:        rgba(13,27,42,0.1);
  --border-gold:   rgba(184,147,74,0.3);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-pad:   104px;
  --nav-height:    72px;
  --top-bar-height:38px;
  --header-total:  calc(var(--nav-height) + var(--top-bar-height));

  /* Effects */
  --shadow-sm:   0 1px 4px rgba(13,27,42,0.08);
  --shadow-md:   0 4px 16px rgba(13,27,42,0.12);
  --shadow-lg:   0 12px 40px rgba(13,27,42,0.16);
  --shadow-xl:   0 24px 64px rgba(13,27,42,0.2);

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --transition:  all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width:   1240px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* --- SKIP LINK (ADA) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--navy);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* --- UTILITY --- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.section { padding: var(--section-pad) 0; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 0;
}

.section-header-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  gap: 8px;
}

.btn-lg { padding: 16px 36px; font-size: 0.95rem; }

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--burgundy-light);
  border-color: var(--burgundy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  outline: none;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  outline: none;
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--burgundy);
  color: var(--white);
  transform: translateY(-2px);
  outline: none;
}

.btn-full { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
}

/* Top bar */
.header-top {
  background: var(--navy);
  height: var(--top-bar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-text {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}

.header-top-cta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: color 0.2s;
}
.header-top-cta:hover { color: var(--white); }

/* Main nav */
.nav-wrap {
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: var(--nav-height);
  border-bottom: 1px solid rgba(184,147,74,0.15);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled .nav-wrap {
  background: rgba(13,27,42,0.99);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.logo-primary {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
}
.logo-secondary {
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 3px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links > li > a {
  font-size: 0.825rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links > li > a:hover,
.nav-links > li > a:focus-visible {
  color: var(--gold-light);
  background: rgba(255,255,255,0.06);
  outline: none;
}

.nav-arrow { font-size: 0.65rem; opacity: 0.6; }

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--navy-mid);
  border: 1px solid rgba(184,147,74,0.15);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 180px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 10;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  font-size: 0.825rem;
  color: rgba(255,255,255,0.75);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.dropdown li a:hover { background: rgba(255,255,255,0.08); color: var(--gold-light); }

/* Nav CTA */
.nav-cta {
  background: var(--burgundy) !important;
  color: var(--white) !important;
  padding: 9px 18px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--burgundy-light) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-total);
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,0.95) 0%,
    rgba(21,38,56,0.88) 40%,
    rgba(107,31,42,0.25) 100%
  );
}

/* Architectural grid — signature element */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,147,74,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,147,74,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Gold accent line on left edge */
.hero::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--gold), var(--burgundy), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 60px 28px 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero-text { max-width: 720px; }

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 40px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,147,74,0.2);
  border-radius: var(--radius-md);
  padding: 20px 0;
  width: fit-content;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

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

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {}

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

.about-img-placeholder {
  background: var(--navy);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid rgba(184,147,74,0.2);
}
.about-img-placeholder svg { width: 64px; height: 64px; color: var(--gold); opacity: 0.4; }
.about-img-placeholder p { font-size: 0.8rem; color: rgba(255,255,255,0.3); letter-spacing: 0.05em; }

.about-accent-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--burgundy);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-md);
}
.about-accent-card strong { font-size: 1rem; font-weight: 700; color: var(--white); }
.about-accent-card span { font-size: 0.7rem; color: rgba(255,255,255,0.65); letter-spacing: 0.1em; text-transform: uppercase; }

.about-content {}

.about-lead {
  font-size: 1.08rem;
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 16px;
  font-weight: 400;
}

.about-content p {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 28px 0 32px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
}
.highlight-item svg { width: 16px; height: 16px; color: var(--burgundy); flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--parchment); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107,31,42,0.15);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--burgundy);
  margin-bottom: 18px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries { background: var(--navy); }
.industries .section-eyebrow { color: var(--gold-light); }
.industries .section-heading { color: var(--white); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.industry-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,147,74,0.15);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.industry-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(184,147,74,0.35);
  transform: translateY(-4px);
}

.industry-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin: 0 auto 16px;
}

.industry-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us { background: var(--cream); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.why-heading { font-size: clamp(1.9rem, 3vw, 2.5rem); }

.why-lead {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 32px;
}

.btn-why { margin-top: 8px; }

.why-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.why-check {
  width: 24px;
  height: 24px;
  background: var(--burgundy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.why-check svg { width: 12px; height: 12px; color: var(--white); }

.why-item h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.why-item p {
  font-size: 0.825rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.certifications { background: var(--parchment); }

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.cert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.cert-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--navy);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
  margin: 0 auto 20px;
}
.cert-badge--gold { background: var(--gold); }
.cert-badge--terracotta { background: #C0674A; }

.cert-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.cert-card p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.7; }

/* ============================================================
   SERVICE AREA
   ============================================================ */
.coverage { background: var(--cream); }

.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.state-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.state-card:hover {
  border-color: var(--burgundy);
  background: var(--parchment);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.state-abbr {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1;
}
.state-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-mid);
}
.state-hq {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--parchment-mid);
  padding: 2px 8px;
  border-radius: 20px;
}

.coverage-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
}
.coverage-note a { color: var(--burgundy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   QUOTE FORM
   ============================================================ */
.quote-section { background: var(--navy); }
.quote-section .section-eyebrow { color: var(--gold-light); }
.quote-section .section-heading { color: var(--white); }
.quote-section p { color: rgba(255,255,255,0.65); }

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.quote-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.qf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}
.qf-item svg { width: 18px; height: 18px; color: var(--gold-light); flex-shrink: 0; }

.quote-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-xl);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact { background: var(--parchment); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-left p { color: var(--text-mid); line-height: 1.75; margin-bottom: 28px; }

.contact-info-blocks { display: flex; flex-direction: column; gap: 20px; }

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }

.ci-icon {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 18px; height: 18px; color: var(--gold); }

.contact-info-item strong { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); margin-bottom: 2px; }
.contact-info-item span { font-size: 0.9rem; color: var(--text-mid); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   SHARED FORM STYLES
   ============================================================ */
.contact-form, .quote-form { display: flex; flex-direction: column; gap: 18px; }

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

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.req { color: #C0392B; }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--parchment);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group 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='%23718096' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(107,31,42,0.08);
  background: var(--white);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.08);
}

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

.form-legal {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: -6px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: #f0faf4;
  border: 1px solid #68c88a;
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.form-success.visible { display: flex; }
.form-success svg { width: 20px; height: 20px; color: #2a7a4a; flex-shrink: 0; }
.form-success p { font-size: 0.875rem; font-weight: 500; color: #2a7a4a; margin: 0; }

optgroup { font-weight: 700; color: var(--navy); font-size: 0.8rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  padding: 80px 0 0;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-tagline {
  font-style: italic;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-creds {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-creds span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(184,147,74,0.5);
}

.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-h4-second { margin-top: 28px; }

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li, .footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-states {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-right { font-size: 0.72rem !important; letter-spacing: 0.05em; color: rgba(184,147,74,0.4) !important; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-scroll span { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .about-grid { gap: 48px; }
  .why-grid { grid-template-columns: 1fr 1.3fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .quote-grid { grid-template-columns: 1fr; gap: 48px; }
  .quote-form-wrap { padding: 36px; }
}

@media (max-width: 900px) {
  :root { --section-pad: 72px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-items { grid-template-columns: 1fr; }
  .header-top { display: none; }
  :root { --header-total: var(--nav-height); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    border-top: 1px solid rgba(184,147,74,0.1);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 13px 16px; font-size: 0.95rem; }
  .nav-cta { text-align: center; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; background: rgba(255,255,255,0.04); margin-top: 4px; box-shadow: none; border: none; }

  .hero-headline { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .hero-stats { width: 100%; justify-content: center; }
  .hero-stat { padding: 0 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; max-width: 340px; }

  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .states-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row-2 { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .quote-form-wrap { padding: 24px; }
  .contact-form-wrap { padding: 24px; }
}

@media (max-width: 480px) {
  .states-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat-divider { width: 100%; height: 1px; }
}
