/* =================================================================
   MERIDIAN HEATING & AIR — DESIGN SYSTEM
   Shared stylesheet for all pages
   ================================================================= */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand palette — deep navy + cooling blue + alert orange */
  --navy: #0b1f3a;
  --navy-dark: #071529;
  --navy-light: #142e54;
  --blue: #1e6fd1;
  --blue-light: #3b8eea;
  --blue-pale: #e8f1fc;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-pale: #fff7ed;

  /* Neutrals */
  --ink: #0f172a;
  --slate: #475569;
  --slate-light: #64748b;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --white: #ffffff;

  /* Type scale */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;

  /* Spacing + radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08);
  --shadow: 0 4px 16px rgba(15,23,42,0.10);
  --shadow-lg: 0 20px 40px rgba(15,23,42,0.15);

  /* Layout */
  --container: 1200px;
  --container-narrow: 960px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { text-decoration: none; color: var(--blue); }
a:hover { color: var(--blue-light); }
img { max-width: 100%; display: block; }
ul, ol { margin-left: 1.2rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

/* =================================================================
   LAYOUT
   ================================================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

/* =================================================================
   TOP BAR
   ================================================================= */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  padding: 8px 0;
  font-weight: 500;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.topbar-left span { margin-right: 18px; }
.topbar-left svg { display: inline-block; vertical-align: middle; margin-right: 4px; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar-right a { color: var(--orange); font-weight: 600; }
.topbar-right a:hover { color: var(--white); }
@media (max-width: 640px) {
  .topbar-left { display: none; }
  .topbar-right { width: 100%; justify-content: space-between; }
}

/* =================================================================
   NAV
   ================================================================= */
.nav {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 3px solid var(--orange);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--navy); text-transform: uppercase; letter-spacing: 0.02em;
}
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.logo-text { line-height: 1; }
.logo-text small {
  display: block; font-size: 0.65rem; color: var(--slate);
  letter-spacing: 0.18em; font-weight: 500;
}
.nav-links {
  display: flex; gap: 28px; margin: 0; list-style: none;
  align-items: center;
}
.nav-links li { margin: 0; }
.nav-links a {
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
  position: relative; padding: 6px 0;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--orange);
}
.nav-cta {
  background: var(--orange); color: var(--white) !important;
  padding: 12px 22px !important; border-radius: var(--radius);
  font-weight: 700 !important; transition: all 0.2s;
}
.nav-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; flex-direction: column; justify-content: center;
  gap: 5px; padding: 0;
}
.nav-toggle span {
  display: block; width: 24px; height: 3px; background: var(--navy);
  transition: all 0.3s; border-radius: 2px;
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: -12px;
  background: var(--white); box-shadow: var(--shadow-lg);
  border-radius: var(--radius); padding: 12px; margin-top: 8px;
  min-width: 260px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s;
  list-style: none;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { margin: 0; }
.dropdown a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 500; color: var(--ink);
}
.dropdown a:hover { background: var(--blue-pale); color: var(--blue); }

@media (max-width: 960px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; bottom: 0; width: 300px;
    background: var(--white); flex-direction: column; padding: 80px 32px;
    transition: right 0.3s; box-shadow: var(--shadow-lg); align-items: flex-start;
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .dropdown { position: static; box-shadow: none; padding: 0 0 0 16px; margin: 0; opacity: 1; visibility: visible; transform: none; }
}

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: all 0.2s; text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--orange); color: var(--white);
  box-shadow: 0 4px 14px rgba(249,115,22,0.4);
}
.btn-primary:hover {
  background: var(--orange-dark); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,0.5);
}
.btn-secondary {
  background: var(--white); color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy); color: var(--white);
}
.btn-ghost {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: var(--white); color: var(--navy); border-color: var(--white);
}
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  min-height: 640px;
  display: flex; align-items: center;
  color: var(--white);
  overflow: hidden;
  padding: 80px 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,31,58,0.88) 0%, rgba(11,31,58,0.70) 50%, rgba(30,111,209,0.65) 100%);
  z-index: 1;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--white); margin-bottom: 20px; text-transform: uppercase; }
.hero h1 span.accent { color: var(--orange); }
.hero-sub {
  font-size: 1.2rem; color: rgba(255,255,255,0.92);
  max-width: 620px; margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: rgba(255,255,255,0.9);
}
.hero-trust-item strong { color: var(--white); font-size: 1.05rem; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(249,115,22,0.18); color: var(--orange);
  padding: 8px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 700;
  border: 1px solid rgba(249,115,22,0.4);
  margin-bottom: 20px; letter-spacing: 0.04em; text-transform: uppercase;
}
.hero-badge .dot {
  width: 8px; height: 8px; background: var(--orange); border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* =================================================================
   TRUST / BADGES BAR
   ================================================================= */
.trust-bar {
  background: var(--gray-50); padding: 36px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px; align-items: center;
}
.trust-item {
  text-align: center;
  color: var(--slate); font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.trust-item strong {
  display: block; font-size: 1.8rem; color: var(--navy);
  font-family: var(--font-display); margin-bottom: 4px;
  letter-spacing: -0.02em;
}

/* =================================================================
   SECTION TITLES
   ================================================================= */
.section-title { text-align: center; margin-bottom: 56px; }
.section-title .eyebrow {
  display: inline-block; color: var(--orange);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.85rem; margin-bottom: 12px;
}
.section-title h2 { margin-bottom: 12px; text-transform: uppercase; }
.section-title p {
  color: var(--slate); font-size: 1.1rem;
  max-width: 640px; margin: 0 auto;
}

/* =================================================================
   SERVICE CARDS
   ================================================================= */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.3s;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.service-card-image {
  height: 200px; background-size: cover; background-position: center;
  position: relative;
}
.service-card-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,31,58,0.6) 100%);
}
.service-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 10px; text-transform: uppercase; }
.service-card p { color: var(--slate); margin-bottom: 18px; flex: 1; }
.service-card-link {
  color: var(--blue); font-weight: 700; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 6px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.service-card-link:hover { gap: 10px; }

/* =================================================================
   WHY CHOOSE / FEATURE GRID
   ================================================================= */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.feature {
  text-align: left; padding: 32px; background: var(--white);
  border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
  transition: all 0.3s;
}
.feature:hover {
  border-color: var(--orange); box-shadow: var(--shadow);
}
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature h3 { margin-bottom: 10px; text-transform: uppercase; }
.feature p { color: var(--slate); font-size: 0.95rem; }

/* =================================================================
   SPLIT / TWO COLUMN
   ================================================================= */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split-image {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; background-size: cover; background-position: center;
}
.split h2 { text-transform: uppercase; margin-bottom: 20px; }
.split .eyebrow {
  color: var(--orange); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; font-size: 0.85rem; margin-bottom: 12px;
  display: inline-block;
}

/* =================================================================
   CHECKLIST
   ================================================================= */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px; font-size: 1rem;
}
.checklist li::before {
  content: ''; flex-shrink: 0; width: 22px; height: 22px;
  background: var(--blue); color: var(--white);
  border-radius: 50%; margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
}

/* =================================================================
   TESTIMONIALS
   ================================================================= */
.testimonials-bg { background: var(--navy); color: var(--white); }
.testimonials-bg h2, .testimonials-bg .section-title p { color: var(--white); }
.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial {
  background: var(--navy-light); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid rgba(255,255,255,0.1);
}
.testimonial-stars {
  color: var(--orange); margin-bottom: 16px; font-size: 1.1rem;
  letter-spacing: 2px;
}
.testimonial-text {
  color: rgba(255,255,255,0.9); font-size: 1rem; margin-bottom: 20px;
  line-height: 1.7; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--orange) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1.1rem;
}
.testimonial-name { color: var(--white); font-weight: 700; font-size: 0.95rem; }
.testimonial-meta { color: rgba(255,255,255,0.6); font-size: 0.82rem; }

/* =================================================================
   CTA SECTION
   ================================================================= */
.cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white); padding: 72px 0; text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; text-transform: uppercase; }
.cta-section p {
  color: rgba(255,255,255,0.95); font-size: 1.15rem;
  max-width: 640px; margin: 0 auto 28px;
}
.cta-section .btn { background: var(--white); color: var(--orange-dark); }
.cta-section .btn:hover { background: var(--navy); color: var(--white); }
.cta-section .btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.cta-section .btn-ghost:hover { background: var(--white); color: var(--orange-dark); }

/* =================================================================
   PROCESS STEPS
   ================================================================= */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px; counter-reset: step;
}
.step {
  background: var(--white); padding: 32px 28px;
  border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
  position: relative; counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -18px; left: 24px;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  color: var(--white); background: var(--navy);
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--white); box-shadow: var(--shadow-sm);
}
.step h3 { margin-top: 20px; margin-bottom: 10px; text-transform: uppercase; }
.step p { color: var(--slate); font-size: 0.95rem; }

/* =================================================================
   FAQ ACCORDION
   ================================================================= */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); margin-bottom: 12px;
  overflow: hidden; transition: all 0.2s;
}
.faq-item:hover { border-color: var(--blue); }
.faq-item.open { box-shadow: var(--shadow); border-color: var(--blue); }
.faq-q {
  width: 100%; padding: 22px 28px;
  background: transparent; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left; font-family: var(--font-body);
  font-size: 1.05rem; font-weight: 600; color: var(--navy);
}
.faq-q::after {
  content: '+'; font-size: 1.6rem; font-weight: 300;
  color: var(--blue); transition: transform 0.2s;
  line-height: 1; flex-shrink: 0; margin-left: 16px;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  padding: 0 28px;
}
.faq-item.open .faq-a { max-height: 1000px; padding-bottom: 24px; }
.faq-a p { color: var(--slate); margin-bottom: 12px; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  background: var(--navy-dark); color: rgba(255,255,255,0.75);
  padding: 72px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .logo { color: var(--white); margin-bottom: 16px; }
.footer .logo-text small { color: rgba(255,255,255,0.5); }
.footer-about p { font-size: 0.9rem; margin-bottom: 20px; max-width: 320px; }
.footer h4 {
  color: var(--white); font-family: var(--font-display);
  text-transform: uppercase; font-size: 1rem; margin-bottom: 20px;
  letter-spacing: 0.06em;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 12px; font-size: 0.82rem; color: rgba(255,255,255,0.5);
}
.footer-contact-item {
  display: flex; gap: 10px; margin-bottom: 10px; font-size: 0.9rem;
  align-items: flex-start;
}
.footer-contact-item svg {
  flex-shrink: 0; margin-top: 2px; color: var(--orange);
}

/* =================================================================
   STICKY MOBILE CALL BAR
   ================================================================= */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--navy); padding: 10px;
  display: none; gap: 8px; z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.mobile-cta-bar a {
  flex: 1; padding: 14px 10px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 0.95rem; text-align: center;
}
.mobile-cta-bar .call-btn { background: var(--orange); color: var(--white); }
.mobile-cta-bar .quote-btn { background: var(--blue); color: var(--white); }
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 72px; }
}

/* =================================================================
   PAGE HERO (non-homepage)
   ================================================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white); padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,111,209,0.25) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .breadcrumbs {
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.page-hero .breadcrumbs a { color: var(--orange); }
.page-hero h1 {
  color: var(--white); margin-bottom: 16px; text-transform: uppercase;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}
.page-hero p {
  color: rgba(255,255,255,0.9); font-size: 1.15rem; max-width: 680px;
}
.page-hero .eyebrow {
  color: var(--orange); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; font-size: 0.85rem; margin-bottom: 12px;
  display: inline-block;
}

/* =================================================================
   FORMS
   ================================================================= */
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-weight: 600; margin-bottom: 6px;
  color: var(--navy); font-size: 0.92rem;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--gray-300); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.2s;
  background: var(--white); color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,111,209,0.15);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--white); padding: 36px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid var(--gray-200);
}
.form-card h3 { margin-bottom: 8px; text-transform: uppercase; }
.form-card .form-intro { color: var(--slate); margin-bottom: 24px; }

/* =================================================================
   BEFORE/AFTER SLIDER
   ================================================================= */
.ba-slider {
  position: relative; max-width: 900px; margin: 0 auto;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 16/10;
  cursor: ew-resize; user-select: none;
}
.ba-slider img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 4px; background: var(--white);
  transform: translateX(-50%); pointer-events: none;
}
.ba-handle::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); transform: translate(-50%, -50%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3Cpolyline points='9 18 15 12 9 6' transform='translate(6 0)'/%3E%3C/svg%3E");
  background-size: 28px; background-position: center; background-repeat: no-repeat;
}
.ba-label {
  position: absolute; top: 16px; padding: 6px 14px;
  font-weight: 700; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--white);
  background: rgba(11,31,58,0.85); border-radius: var(--radius-sm);
  z-index: 3; pointer-events: none;
}
.ba-label.before { left: 16px; }
.ba-label.after { right: 16px; background: rgba(30,111,209,0.9); }

/* =================================================================
   COST CALCULATOR
   ================================================================= */
.calc {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--gray-200);
}
.calc h3 { margin-bottom: 8px; text-transform: uppercase; }
.calc .calc-intro { color: var(--slate); margin-bottom: 28px; }
.calc-result {
  margin-top: 28px; padding: 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white); border-radius: var(--radius);
  text-align: center;
}
.calc-result small {
  display: block; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.78rem; color: rgba(255,255,255,0.8); margin-bottom: 8px;
}
.calc-result strong {
  display: block; font-family: var(--font-display);
  font-size: 2.5rem; color: var(--orange); line-height: 1;
  margin-bottom: 8px;
}
.calc-result span {
  font-size: 0.85rem; color: rgba(255,255,255,0.8);
}

/* =================================================================
   BADGES / PILLS
   ================================================================= */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-green { background: #dcfce7; color: #166534; }
.badge-blue { background: var(--blue-pale); color: var(--blue); }
.badge-orange { background: var(--orange-pale); color: var(--orange-dark); }
.badge-red { background: #fee2e2; color: #991b1b; }

/* =================================================================
   BRAND LOGOS STRIP
   ================================================================= */
.brand-strip {
  padding: 40px 0; background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.brand-strip h4 {
  text-align: center; color: var(--slate);
  text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.78rem; font-family: var(--font-body);
  font-weight: 600; margin-bottom: 24px;
}
.brand-logos {
  display: flex; justify-content: space-around; align-items: center;
  flex-wrap: wrap; gap: 32px;
}
.brand-logo {
  font-family: var(--font-display); font-weight: 700;
  color: var(--slate-light); font-size: 1.6rem;
  opacity: 0.7; transition: opacity 0.2s;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.brand-logo:hover { opacity: 1; color: var(--navy); }

/* =================================================================
   PRICING TABLE
   ================================================================= */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.pricing-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200); padding: 36px 28px;
  display: flex; flex-direction: column;
  transition: all 0.3s; position: relative;
}
.pricing-card.featured {
  border-color: var(--orange); transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured::before {
  content: 'Most Popular'; position: absolute; top: -14px;
  left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white);
  padding: 6px 18px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em;
}
.pricing-name { font-family: var(--font-display); font-size: 1.5rem;
  text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.pricing-tagline { color: var(--slate); font-size: 0.92rem; margin-bottom: 22px; }
.pricing-price {
  font-family: var(--font-display); font-size: 3rem; color: var(--navy);
  line-height: 1; margin-bottom: 4px;
}
.pricing-price sup { font-size: 1.3rem; vertical-align: super; color: var(--slate); }
.pricing-price sub { font-size: 0.95rem; color: var(--slate); font-family: var(--font-body); font-weight: 400; }
.pricing-desc { color: var(--slate); font-size: 0.88rem; margin-bottom: 24px; }
.pricing-features { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.pricing-features li {
  padding: 8px 0; border-bottom: 1px solid var(--gray-100);
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.92rem;
}
.pricing-features li::before {
  content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0;
}

/* =================================================================
   CONTENT STYLES (blog, long-form)
   ================================================================= */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 48px 0 20px; text-transform: uppercase; }
.prose h3 { margin: 32px 0 14px; color: var(--navy); text-transform: uppercase; }
.prose p { margin-bottom: 20px; color: #334155; font-size: 1.05rem; line-height: 1.75; }
.prose ul, .prose ol { margin-bottom: 24px; }
.prose li { margin-bottom: 10px; font-size: 1.05rem; color: #334155; }
.prose a { color: var(--blue); text-decoration: underline; font-weight: 500; }
.prose img { border-radius: var(--radius); margin: 32px auto; box-shadow: var(--shadow); }
.prose blockquote {
  border-left: 4px solid var(--orange); padding: 16px 24px;
  background: var(--gray-50); margin: 28px 0;
  font-style: italic; color: var(--slate);
}
.prose table {
  width: 100%; border-collapse: collapse;
  margin: 24px 0; font-size: 0.95rem;
}
.prose table th {
  background: var(--navy); color: var(--white);
  padding: 12px 16px; text-align: left; font-weight: 600;
  text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.04em;
}
.prose table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-200); }
.prose table tr:nth-child(even) td { background: var(--gray-50); }

.blog-meta {
  display: flex; gap: 16px; color: var(--slate);
  font-size: 0.88rem; margin-bottom: 24px; flex-wrap: wrap;
}
.blog-meta span { display: flex; gap: 6px; align-items: center; }

/* =================================================================
   UTILITY
   ================================================================= */
.bg-gray { background: var(--gray-50); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.85); }
.bg-blue-pale { background: var(--blue-pale); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 32px; }

.reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =================================================================
   LOCATION / SERVICE AREA
   ================================================================= */
.location-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-top: 32px;
}
.location-card {
  background: var(--white); padding: 18px 20px;
  border-radius: var(--radius); border: 1px solid var(--gray-200);
  display: flex; justify-content: space-between; align-items: center;
  transition: all 0.2s;
}
.location-card:hover {
  border-color: var(--blue); background: var(--blue-pale);
  transform: translateX(4px);
}
.location-card strong { color: var(--navy); font-size: 0.98rem; }
.location-card small { color: var(--slate); display: block; font-size: 0.82rem; }
.location-card .arrow { color: var(--blue); font-size: 1.3rem; }

/* =================================================================
   ALERT / EMERGENCY BANNER
   ================================================================= */
.alert-banner {
  background: var(--orange); color: var(--white);
  padding: 16px 0; font-weight: 600; text-align: center;
}
.alert-banner a {
  color: var(--white); text-decoration: underline; font-weight: 700;
}
