/* Doherty Builders | Premium Architecture & Building CSS */

:root {
  /* Colors */
  --bg-body: #F9F8F6;
  --bg-surface: #FFFFFF;
  --bg-dark: #0F1626;
  --bg-light: #F2EFEA;
  
  --text-main: #2C3539;
  --text-muted: #626A70;
  --text-heading: #0B132B;
  --text-light: #FFFFFF;
  --text-light-muted: rgba(255, 255, 255, 0.7);

  --accent-primary: #1C332A; /* Heritage Green */
  --accent-hover: #13241D;
  --accent-secondary: #C5A880; /* Soft Brass */
  
  --border: rgba(11, 19, 43, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 8rem;

  /* Misc */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 4px 12px rgba(11, 19, 43, 0.04);
  --shadow-md: 0 12px 32px rgba(11, 19, 43, 0.06);
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.1;
  font-weight: 500;
  margin-bottom: var(--sp-sm);
  text-wrap: balance;
}

h1 { font-size: clamp(3rem, 6vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 2vw, 2rem); }
h4 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

p {
  margin-bottom: var(--sp-sm);
  text-wrap: pretty;
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.7;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-light { color: var(--text-light); }
.text-light-muted { color: var(--text-light-muted); }

/* Layout & Utils */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container { padding: 0 3rem; }
}

.section { padding: var(--sp-xl) 0; }
.section-header { margin-bottom: var(--sp-lg); max-width: 680px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { margin-bottom: 1.5rem; }
.section-desc { font-size: 1.15rem; color: var(--text-muted); }

.bg-light { background-color: var(--bg-light); }
.bg-surface { background-color: var(--bg-surface); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-light); }

.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mb-lg { margin-bottom: var(--sp-lg); }

.desktop-only { display: none; }
@media (min-width: 1024px) {
  .desktop-only { display: inline-flex; }
  .mobile-only { display: none; }
}

/* Badges & Buttons */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-heading);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-heading);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-heading);
  border-color: var(--text-heading);
}

.btn-outline:hover {
  background-color: var(--text-heading);
  color: var(--text-light);
}

.btn-sm { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

.center-actions {
  display: flex;
  justify-content: center;
}

/* Animations (Reveal via JS) */
[data-reveal] .fade-up, .fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-reveal].is-visible .fade-up, .fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure JS staggering works or fallback */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ========== HEADER & NAV ========== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: background-color var(--transition), padding var(--transition), border-bottom var(--transition);
  padding: 1.5rem 0;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .header-container { padding: 0 3rem; }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-heading);
}

.logo svg {
  color: var(--accent-primary);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
}

.nav-link:hover { color: var(--accent-primary); }

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-surface);
  min-width: 240px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu,
.dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Invisible bridge so hover doesn't drop */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px; left: 0; right: 0;
  height: 15px;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
  background: var(--bg-light);
  color: var(--accent-primary);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 1rem;
}

.dropdown-all {
  font-weight: 600;
  color: var(--accent-primary) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 1023px) {
  .header-actions .btn { display: none; }
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

.mobile-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-heading);
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-surface);
  z-index: 999;
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-link, .mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 1.25rem;
  font-family: var(--font-heading);
  color: var(--text-heading);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  background: none;
  border-top: none; border-left: none; border-right: none;
  text-align: left;
}

.mobile-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-dropdown-group.is-open .mobile-dropdown-content {
  max-height: 600px;
}

.mobile-dropdown-group.is-open .mobile-dropdown-toggle svg {
  transform: rotate(180deg);
}

.mobile-dropdown-content a {
  display: block;
  padding: 0.75rem 0 0.75rem 1rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.mobile-nav-footer { margin-top: 2rem; }
.mobile-cta { width: 100%; text-align: center; }


/* ========== HERO HOME ========== */
.hero-home {
  position: relative;
  padding: 12rem 0 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15,22,38,0.88) 0%, rgba(15,22,38,0.6) 50%, rgba(15,22,38,0.4) 100%), url('/assets/images/hero-bg.jpg') center/cover no-repeat;
  color: var(--text-light);
}

.hero-home h1 { color: var(--text-light); }
.hero-home .lead { color: rgba(255,255,255,0.8); }
.hero-home .badge { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); color: var(--text-light); }

.hero-home-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-home-container {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

.hero-home-content i {
  color: var(--accent-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}

.hero-home-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
}

@media (max-width: 1023px) {
  .hero-home-visual { display: none; } /* Hide complex visual on mobile to keep it clean */
}

/* Abstract architectural visual */
.arch-visual {
  position: relative;
  width: 100%;
  height: 100%;
}

.arch-shape {
  position: absolute;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.shape-1 {
  width: 70%;
  height: 80%;
  bottom: 0; left: 0;
  border-radius: var(--radius-sm);
  z-index: 2;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230B132B' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1'/%3E%3C/g%3E%3C/svg%3E");
  background-color: var(--bg-surface);
}

.shape-2 {
  width: 60%;
  height: 60%;
  top: 0; right: 0;
  background-color: var(--bg-light);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  z-index: 1;
}

.shape-3 {
  width: 40%;
  height: 40%;
  bottom: 10%; right: -5%;
  background-color: var(--accent-primary);
  border: none;
  border-radius: var(--radius-sm);
  z-index: 3;
}

.arch-badge {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 4;
  border-left: 4px solid var(--accent-secondary);
}

.arch-badge-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-heading);
}

.arch-badge-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ========== TRUST BAR ========== */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 3rem 0;
}

.trust-bar-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .trust-bar-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.trust-divider {
  display: none;
  width: 1px;
  height: 40px;
  background: var(--border);
}

@media (min-width: 768px) {
  .trust-divider { display: block; }
}

.trust-stat {
  display: flex;
  flex-direction: column;
}

.trust-stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-heading);
  line-height: 1;
}

.trust-stat-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.trust-stars {
  color: var(--accent-secondary);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-top: 0.25rem;
}

.trust-cert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-heading);
}

.trust-cert svg { color: var(--accent-primary); }

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

.svc {
  background: var(--bg-surface);
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.svc:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 19, 43, 0.15);
}

.svc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.svc-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-muted);
  opacity: 0.5;
}

.svc-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-body);
  border-radius: 50%;
  color: var(--accent-primary);
  transition: all var(--transition);
}

.svc:hover .svc-icon {
  background: var(--accent-primary);
  color: var(--bg-surface);
}

.svc-title { font-size: 1.5rem; margin-bottom: 1rem; }
.svc-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; flex-grow: 1; }

.svc-meta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.svc-arrow { transition: transform 0.2s; color: var(--accent-primary); }
.svc:hover .svc-arrow { transform: translateX(4px); }


/* ========== COST GUIDES ========== */
.cost-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: var(--sp-lg);
}

@media (min-width: 768px) {
  .cost-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .cost-header-content { max-width: 600px; }
  .cost-header .section-desc { margin-bottom: 0; }
}

.cost-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cost-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (min-width: 1024px) {
  .cost-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

.cost-card {
  background: var(--bg-surface);
  padding: 2.5rem 2rem;
  border-top: 4px solid var(--accent-primary);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cost-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cost-card-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-heading);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.cost-card-price small {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.cost-card-title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.cost-card-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; flex-grow: 1; }

.cost-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-primary);
}


/* ========== USPS (Why Us) ========== */
.usp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .usp-layout {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
  }
}

.usp-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.usp-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.05rem;
  color: var(--text-light-muted);
}

.usp-list svg { color: var(--accent-secondary); flex-shrink: 0; margin-top: 2px; }
.usp-list strong { color: var(--text-light); }

.usp-testimonials {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
}

.test-quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.test-author {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

.test-author strong { color: var(--accent-secondary); margin-bottom: 0.2rem; }
.test-author span { color: var(--text-light-muted); }


/* ========== AREAS GRID ========== */
.area-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.area-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.area-link.active {
  background: var(--bg-surface);
  color: var(--text-heading);
}

.area-link.active:hover {
  border-color: var(--text-heading);
  background: var(--text-heading);
  color: var(--text-light);
}

.area-link.inactive {
  background: transparent;
  color: var(--text-muted);
  opacity: 0.6;
  cursor: default;
}


/* ========== CONTACT / FAQ ========== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

/* FAQs */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-heading);
  transition: transform 0.3s ease;
}

.faq-icon::before { top: 9px; left: 0; right: 0; height: 2px; }
.faq-icon::after { top: 0; bottom: 0; left: 9px; width: 2px; }

.faq-trigger[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-trigger[aria-expanded="true"] .faq-icon::before { transform: rotate(180deg); }

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-trigger[aria-expanded="true"] + .faq-content {
  grid-template-rows: 1fr;
}

.faq-inner {
  overflow: hidden;
  color: var(--text-muted);
  padding-bottom: 1.5rem;
  line-height: 1.7;
}

/* Form */
.form-card {
  background: var(--bg-surface);
  padding: 3rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-card h3 { font-size: 2rem; margin-bottom: 0.5rem; }
.form-card p { color: var(--text-muted); margin-bottom: 2rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  margin-bottom: 1.5rem;
}

.lead-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  transition: border-color 0.2s;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--bg-surface);
}

.form-note {
  font-size: 0.8rem !important;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0 !important;
}


/* ========== CTA SECTION ========== */
.cta-section {
  padding: 8rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.cta-section h2 { font-size: clamp(2.5rem, 5vw, 4rem); }


/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light-muted);
  padding: 6rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
}

.logo-light { color: var(--text-light); }
.logo-light svg { color: var(--accent-secondary); }

.footer-desc { margin-top: 1.5rem; max-width: 320px; }

.footer-heading {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a:hover {
  color: var(--accent-secondary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.legal-disclaimer { max-width: 600px; text-align: left; }

/* ========== DARK HEADER (subpages with hero images) ========== */
.header-dark:not(.is-scrolled) .logo { color: var(--text-light); }
.header-dark:not(.is-scrolled) .logo svg { color: var(--accent-secondary); }
.header-dark:not(.is-scrolled) .nav-link { color: rgba(255,255,255,0.85); }
.header-dark:not(.is-scrolled) .nav-link:hover { color: #fff; }
.header-dark:not(.is-scrolled) .mobile-toggle .bar { background: #fff; }
.header-dark:not(.is-scrolled) .dropdown-toggle svg { stroke: rgba(255,255,255,0.85); }

/* ========== INNER PAGE SPECIFICS ========== */
.page-header {
  padding: 12rem 0 6rem;
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.page-header h1 { color: var(--text-light); }
.page-header p {
  color: var(--text-light-muted);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--accent-secondary); }
.breadcrumb span.sep { opacity: 0.5; }

.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* Cost Comparison Blocks */
.cost-comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .cost-comparison {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cost-comparison-col {
  flex: 1;
}

.cost-comparison-col:not(:last-child) {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

@media (min-width: 768px) {
  .cost-comparison-col:not(:last-child) {
    border-bottom: none;
    border-right: 1px solid var(--border);
    padding-bottom: 0;
    padding-right: 2rem;
    margin-right: 2rem;
  }
}

.cost-comp-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-heading);
}

.cost-comp-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.cost-comp-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}
