/* ═══════════════════════════════════════════════
   RIDGELINE EXTERIORS — GLOBAL STYLES
   Rook Media Demo Site | ridgelineexteriors.com
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700;800&family=Source+Sans+3:wght@300;400;600&display=swap');

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --slate:       #2C3E50;
  --forest:      #1A2E1A;
  --cream:       #F8F5F0;
  --sage:        #5C7A5C;
  --amber:       #C8861A;
  --amber-hover: #A86E14;
  --white:       #FFFFFF;
  --text-dark:   #1C1C1C;
  --text-mid:    #4A4A4A;
  --text-dim:    #787878;
  --border:      #E2DDD8;
  --shadow:      rgba(44,62,80,0.12);

  --font-heading: 'Raleway', sans-serif;
  --font-body:    'Source Sans 3', sans-serif;

  --nav-height: 72px;
  --transition: 0.25s ease;
  --radius:     8px;
}

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

/* ── LAYOUT UTILITIES ── */
.container      { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 5%; }
.section-pad    { padding: 100px 5%; }

.text-amber  { color: var(--amber); }
.text-slate  { color: var(--slate); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }

/* ── BASE TYPOGRAPHY ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

/* ── DEMO BANNER ── */
#demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--amber);
  color: var(--white);
  text-align: center;
  padding: 7px 20px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
#demo-banner a {
  color: var(--white);
  text-decoration: underline;
  margin-left: 6px;
}

/* ── PAGE TRANSITION ── */
#page-transition {
  position: fixed;
  inset: 0;
  background: var(--slate);
  z-index: 99999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
}
#page-transition.hidden { opacity: 0; pointer-events: none; }

/* ── NAV ── */
#main-nav {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--white);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}
#main-nav.scrolled {
  box-shadow: 0 2px 24px var(--shadow);
  border-bottom-color: var(--border);
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.nav-logo .logo-primary {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.1;
}
.logo-ridgeline {
  font-weight: 800;
  color: var(--slate);
}
.logo-exteriors {
  font-weight: 300;
  color: var(--slate);
}
.nav-logo .logo-sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.nav-logo:hover .logo-ridgeline,
.nav-logo:hover .logo-exteriors {
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-underline-offset: 3px;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  padding: 4px 0;
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width var(--transition);
}
.nav-link:hover::after { width: 100%; }
.nav-link.has-dropdown { cursor: default; }
.nav-link.has-dropdown .drop-arrow {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.65rem;
  transition: transform var(--transition);
}
.nav-item-dropdown:hover .drop-arrow { transform: rotate(180deg); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-phone {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
}
.nav-phone:hover { color: var(--amber); }

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--amber);
  transition: width 0.1s linear;
}

/* ── DROPDOWNS ── */
.nav-item-dropdown {
  position: relative;
}
.nav-item-dropdown::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: -20px;
  right: -20px;
  height: 12px;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(44,62,80,0.18);
  padding: 1.25rem;
  min-width: 520px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(-6px);
}
.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.dropdown-col-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.dropdown-col-title.amber { color: var(--amber); }
.dropdown-col ul { display: flex; flex-direction: column; gap: 0.15rem; }
.dropdown-col ul li a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 5px 8px;
  border-radius: 5px;
  transition: background var(--transition), color var(--transition);
}
.dropdown-col ul li a:hover {
  background: var(--cream);
  color: var(--slate);
}

.dropdown-menu.locations-menu {
  min-width: 380px;
}
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0.2rem;
}
.locations-grid a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-mid);
  padding: 5px 8px;
  border-radius: 5px;
  transition: background var(--transition), color var(--transition);
}
.locations-grid a:hover {
  background: var(--cream);
  color: var(--slate);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--amber);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  height: 48px;
  padding: 0 1.75rem;
  border-radius: 24px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--amber-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(200,134,26,0.32);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  height: 48px;
  padding: 0 1.75rem;
  border-radius: 24px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--amber);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  height: 48px;
  padding: 0 1.75rem;
  border-radius: 24px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-slate {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--slate);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  height: 48px;
  padding: 0 1.75rem;
  border-radius: 24px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-slate:hover {
  background: #3d566e;
  transform: translateY(-2px);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  background: var(--amber);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  height: 38px;
  padding: 0 1.25rem;
  border-radius: 16px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-nav:hover {
  background: var(--amber-hover);
  transform: translateY(-2px);
}

/* ── TRUST STRIP ── */
#trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 28px 5%;
}
.trust-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background var(--transition);
}
.trust-item:hover { background: var(--cream); }
.trust-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--amber);
}
.trust-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate);
}
.trust-text span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── SERVICES SECTION ── */
#services {
  background: var(--cream);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--shadow);
  border-color: var(--amber);
}
.service-card-num {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 1rem;
}
.service-icon {
  width: 48px;
  height: 48px;
  color: var(--slate);
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-size: 1.15rem;
  color: var(--slate);
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.service-card .learn-more {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.service-card .learn-more:hover { gap: 8px; }

/* ── PROCESS SECTION ── */
#process { background: var(--white); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 1rem;
  margin-top: 3rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--amber), var(--sage));
}
.process-step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 56px;
  height: 56px;
  background: var(--slate);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--slate);
  position: relative;
  z-index: 1;
}
.process-step h4 {
  color: var(--slate);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.process-step p { font-size: 0.83rem; }

/* ── WHY RIDGELINE ── */
#why-section { background: var(--cream); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
.stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 600;
}
.stat-sublabel {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}
.why-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.why-card {
  background: var(--white);
  border-left: 4px solid var(--slate);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.75rem;
  box-shadow: 0 2px 12px var(--shadow);
}
.why-card h3 {
  font-size: 1rem;
  color: var(--slate);
  margin-bottom: 0.6rem;
}
.why-card p { font-size: 0.88rem; }

/* ── TESTIMONIALS ── */
#testimonials {
  background: var(--slate);
  padding: 100px 5%;
}
#testimonials .section-label { color: var(--amber); }
#testimonials h2 { color: var(--white); }
.testimonial-carousel {
  position: relative;
  margin-top: 3rem;
}
.testimonial-track {
  overflow: hidden;
}
.testimonial-slide {
  display: none;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.testimonial-slide.active { display: block; }
.testimonial-quote {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--amber);
  font-size: 0.95rem;
}
.testimonial-stars {
  color: var(--amber);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  font-size: 1rem;
}
.carousel-btn:hover { background: var(--amber); }
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}
.carousel-dot.active {
  background: var(--amber);
  width: 24px;
  border-radius: 4px;
}

/* ── GALLERY ── */
#gallery { background: var(--white); }
.gallery-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.gallery-tab {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 16px;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
}
.gallery-tab.active,
.gallery-tab:hover {
  background: var(--slate);
  color: var(--white);
  border-color: var(--slate);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}
.gallery-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  background: var(--cream);
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow);
}
.gallery-card-img {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e4de 0%, #d6d0c8 100%);
}
.gallery-card-body {
  padding: 1rem 1.25rem;
}
.gallery-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sage);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.gallery-card h4 {
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 0.2rem;
}
.gallery-card span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── SERVICE AREA ── */
#service-area { background: var(--cream); }
.city-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.city-badge {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  transition: all var(--transition);
}
.city-badge:hover {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
  transform: translateY(-2px);
}

/* ── COMMERCIAL DIVISION ── */
#commercial-division {
  background: var(--forest);
  border-top: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  padding: 100px 5%;
}
#commercial-division .section-label { color: var(--amber); }
#commercial-division h2 { color: var(--white); }
#commercial-division p { color: rgba(255,255,255,0.75); }
.comm-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.comm-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.comm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(200,134,26,0.2);
  border-color: rgba(200,134,26,0.4);
}
.comm-card-icon {
  width: 44px;
  height: 44px;
  color: var(--amber);
  margin-bottom: 1rem;
}
.comm-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.comm-card p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.comm-card .learn-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.comm-card .learn-more:hover { gap: 8px; }
.comm-cta-band {
  margin-top: 3rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.comm-cta-band p {
  max-width: 600px;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ── FAQ ── */
#faq-section { background: var(--white); }
.faq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--cream); }
.faq-question[aria-expanded="true"] { background: var(--cream); }
.faq-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--amber);
  line-height: 1;
  transition: transform var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 1.25rem 1rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── CONTACT SECTION ── */
#contact-section { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--slate);
  box-shadow: 0 0 0 3px rgba(44,62,80,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-demo-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  font-style: italic;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}
.contact-info-card h3 {
  color: var(--slate);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}
.contact-info-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-item p {
  font-size: 0.88rem;
  margin-bottom: 0;
}
.what-to-expect {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.what-to-expect h4 {
  color: var(--slate);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.expect-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 0.45rem;
}
.expect-item::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── FINAL CTA BAND ── */
#contact-cta {
  background: var(--slate);
  padding: 80px 5%;
  text-align: center;
}
#contact-cta h2 { color: var(--white); margin-bottom: 1rem; }
#contact-cta p  { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 2.5rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
#main-footer { font-family: var(--font-body); }
.footer-top {
  background: var(--slate);
  border-bottom: 2px solid var(--amber);
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo-block .footer-logo-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.footer-logo-block .footer-logo-name .f-thin { font-weight: 300; }
.footer-logo-block .footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}
.footer-top-right {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-align: right;
}
.footer-top-right strong { color: var(--amber); display: block; }

.footer-cols {
  background: var(--cream);
  padding: 60px 5%;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--amber);
}
.footer-col p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: var(--text-mid);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-mid);
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--amber); padding-left: 4px; }
.footer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.5rem 0;
}
.footer-cert {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate);
  margin-top: 0.5rem;
  margin-right: 0.4rem;
}

.footer-bottom {
  background: var(--slate);
  padding: 1.25rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  margin: 0;
}
.footer-badges {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.footer-rook-bar {
  background: var(--text-dark);
  padding: 10px 5%;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.footer-rook-bar a {
  color: var(--amber);
  font-weight: 600;
}
.footer-rook-bar a:hover { text-decoration: underline; }

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--slate);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 8000;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background var(--transition);
  border: 2px solid rgba(200,134,26,0.4);
  pointer-events: none;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover { background: var(--amber); }

/* ── STICKY ESTIMATE BANNER ── */
#sticky-banner {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background: var(--slate);
  border-top: 2px solid var(--amber);
  z-index: 8500;
  padding: 14px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transition: bottom 0.4s ease;
}
#sticky-banner.visible { bottom: 0; }
.sticky-banner-text {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-heading);
}
.sticky-banner-dismiss {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color var(--transition);
}
.sticky-banner-dismiss:hover { color: var(--white); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--slate);
  padding: 140px 5% 70px;
  margin-top: 32px;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span { color: var(--amber); }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p  { color: rgba(255,255,255,0.75); max-width: 640px; font-size: 1.05rem; }

/* ── SECTION HEADERS ── */
.section-header {
  margin-bottom: 1rem;
}
.section-header h2 { margin-top: 0.4rem; }
.section-header p { max-width: 640px; margin-top: 0.75rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin-left: auto; margin-right: auto; }

/* ── COMMERCIAL PAGES ── */
.spec-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.spec-item {
  text-align: center;
  padding: 1rem;
  background: var(--white);
  border-radius: 8px;
}
.spec-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--amber);
}
.spec-item span { font-size: 0.82rem; color: var(--text-mid); }

.content-section { background: var(--white); padding: 80px 5%; }
.content-section.alt { background: var(--cream); }
.content-block { max-width: 1200px; margin: 0 auto; }
.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.checklist li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.comparison-table th {
  background: var(--slate);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  padding: 10px 14px;
  text-align: left;
}
.comparison-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.87rem;
  color: var(--text-mid);
}
.comparison-table tr:nth-child(even) td { background: var(--cream); }

.related-services {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.related-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), border-color var(--transition);
  background: var(--white);
}
.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber);
}
.related-card h4 { color: var(--slate); margin-bottom: 0.4rem; font-size: 0.95rem; }
.related-card p { font-size: 0.82rem; margin-bottom: 0.75rem; }
.related-card a { font-size: 0.85rem; font-weight: 600; color: var(--amber); }

/* ── MOBILE NAV ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

#mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 8800;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
  padding: 100px 5% 3rem;
}
#mobile-menu.open { transform: translateX(0); }
.mobile-nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--slate);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-accordion-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--slate);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: left;
}
.mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-accordion-content.open { max-height: 1000px; }
.mobile-sub-links {
  padding: 0.5rem 0 0.5rem 1rem;
}
.mobile-sub-links a {
  display: block;
  font-size: 1rem;
  color: var(--text-mid);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-sub-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 0.75rem 0 0.25rem;
}
.mobile-menu-bottom {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ── PRECISION CROSSHAIR CURSOR ── */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  * { cursor: none !important; }
  .cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--amber);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%,-50%);
    transition: width 0.15s ease, height 0.15s ease, background 0.15s ease;
    top: 0;
    left: 0;
  }
  .cursor-h {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 1px;
    pointer-events: none;
    z-index: 999998;
    transition: opacity 0.2s ease;
  }
  .cursor-v {
    position: fixed;
    top: 0; left: 0;
    width: 1px;
    height: 100vh;
    pointer-events: none;
    z-index: 999998;
    transition: opacity 0.2s ease;
  }
  .cursor-dot.is-hovering {
    width: 10px;
    height: 10px;
    background: var(--amber);
    box-shadow: 0 0 0 3px rgba(200,134,26,0.25);
  }
  .cursor-h.hide-lines,
  .cursor-v.hide-lines { opacity: 0; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .comm-cards    { grid-template-columns: repeat(2,1fr); }
  .why-cards     { grid-template-columns: 1fr 1fr; }
  .footer-cols   { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(3,1fr); }
  .process-steps::before { display: none; }
}

@media (max-width: 900px) {
  .nav-center, .nav-right { display: none; }
  .hamburger { display: flex; }
  .trust-strip-inner { grid-template-columns: 1fr 1fr; }
  .faq-cols { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  #main-nav { padding: 0 4%; }
}

@media (max-width: 700px) {
  .section-pad { padding: 70px 5%; }
  .services-grid { grid-template-columns: 1fr; }
  .comm-cards { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip-inner { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .comm-cta-band { flex-direction: column; }
  .related-services { grid-template-columns: 1fr; }
  .content-two-col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

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

/* ─── Fix 8 utility classes ─────────────────────────── */
.mobile-close-btn {
  position: absolute;
  top: 100px;
  right: 5%;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--slate);
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.mob-arrow {
  font-size: 0.8rem;
  transition: transform 0.25s ease;
  display: inline-block;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.section-cta-center {
  text-align: center;
  margin-top: 2.5rem;
}

.contact-form-body { margin-top: 2rem; }

.required-star { color: var(--amber); }

.container-centered { text-align: center; }

.footer-hours { margin-top: 1rem; }

.footer-contact-links { margin-top: 1rem; }

.sticky-phone { color: var(--amber); }

.btn-nav-sm { font-size: 0.82rem; }

.stat-number-sm { font-size: 1.6rem; }

.testimonials-heading { color: var(--white); }

/* ─── Fix 8 alias classes (spec names) ──────────────── */
.btn-block { width: 100%; justify-content: center; }
.section-more-link { text-align: center; margin-top: 2.5rem; }
.contact-form-spaced { margin-top: 2rem; }
.req-star { color: var(--amber); }
.text-center { text-align: center; }
.footer-mt { margin-top: 1rem; }
.sticky-tel { color: var(--amber); }

/* allow JS .open class to show .dropdown-menu */
.nav-item-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* =========== DEFENSIVE: DROPDOWNS HIDDEN BY DEFAULT =========== */
.dropdown-menu,
.mega-menu,
.nav-dropdown-content,
.locations-menu,
.services-dropdown {
  display: none;
}
.nav-item-dropdown:hover > .dropdown-menu,
.nav-item-dropdown:focus-within > .dropdown-menu,
.has-dropdown:hover + .dropdown-menu,
.has-dropdown:focus + .dropdown-menu {
  display: block;
}

@media (min-width: 901px) {
  #mobile-menu,
  .mobile-menu,
  .mobile-nav,
  .mobile-accordion-content {
    display: none;
  }
}

#page-transition,
#page-transition.active,
#page-transition.fade-out,
#page-transition.loading {
  pointer-events: none !important;
}
