/* ============================================
   Compass Exteriors — styles.css
   Brand Font: Montserrat | Colors: #F5A623, #2E86C1
   ============================================ */

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Brand Colors */
  --gold: #F5A623;
  --gold-dark: #d4900e;
  --gold-light: #ffc75f;
  --blue: #2E86C1;
  --blue-dark: #1a5f8b;
  --blue-light: #5ba3d9;
  --dark: #1a1a1a;
  --dark-2: #2a2a2a;
  --dark-3: #333;
  --white: #FFFFFF;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--gray-100);
  --text: var(--dark);
  --text-muted: var(--gray-500);
  --text-light: var(--gray-600);
  --border: var(--gray-200);
  --card-bg: var(--white);
  --card-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 4px 12px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
  --header-bg: rgba(255,255,255,0.97);
  --header-border: var(--gray-200);
  --footer-bg: var(--dark);
  --footer-text: var(--gray-300);
  --overlay: rgba(0,0,0,0.55);
  --input-bg: var(--white);
  --input-border: var(--gray-300);

  /* Spacing */
  --section-py: clamp(3rem, 6vw, 5rem);
  --container-px: clamp(1rem, 4vw, 2rem);
  --container-max: 1200px;

  /* Radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.25s var(--ease);
}

/* === DARK MODE === */
[data-theme="dark"] {
  --bg: #0f0f0f;
  --bg-alt: #1a1a1a;
  --text: #e5e5e5;
  --text-muted: #888;
  --text-light: #999;
  --border: #333;
  --card-bg: #1e1e1e;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.2);
  --card-shadow-hover: 0 4px 12px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.3);
  --header-bg: rgba(15,15,15,0.97);
  --header-border: #333;
  --overlay: rgba(0,0,0,0.7);
  --input-bg: #1e1e1e;
  --input-border: #444;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover { color: var(--gold); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--gold);
  color: var(--dark);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* === UTILITIES === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.section {
  padding: var(--section-py) 0;
}

.section-alt { background: var(--bg-alt); }

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

.section-title {
  margin-bottom: 0.5rem;
  position: relative;
}

.section-header { margin-bottom: 3rem; }

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0.5rem auto 0;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.3;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,166,35,0.3);
}

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

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--header-border);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-logo img {
  height: 48px;
  width: auto;
}

.header-logo {
  flex-shrink: 0;
}

/* Navigation */
.main-nav { flex: 1; display: flex; justify-content: center; align-items: center; }

.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover { color: var(--gold); background: var(--bg-alt); }

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

.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 24px;
  display: none;
  min-width: 420px;
  z-index: 100;
}

.has-dropdown:hover .mega-dropdown,
.has-dropdown .dropdown-toggle[aria-expanded="true"] + .mega-dropdown {
  display: flex;
  gap: 32px;
}

.mega-col { display: flex; flex-direction: column; gap: 4px; }

.mega-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0 12px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.mega-dropdown a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.mega-dropdown a:hover {
  background: var(--bg-alt);
  color: var(--gold);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Call button — Compass Blue everywhere except homepage hero */
.btn-outline-light[href^="tel:"] {
  background: var(--blue) !important;
  color: #fff !important;
  border-color: var(--blue) !important;
}
.btn-outline-light[href^="tel:"]:hover {
  background: var(--blue-dark) !important;
  border-color: var(--blue-dark) !important;
}
/* Exception: homepage hero Call button stays outline */
.hero-cta-group .btn-outline-light[href^="tel:"] {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.4) !important;
}
.hero-cta-group .btn-outline-light[href^="tel:"]:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: #fff !important;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}
.header-phone:hover { color: var(--gold); }

.header-cta {
  font-size: 0.82rem;
  padding: 10px 20px;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--transition);
}
.theme-toggle:hover { background: var(--bg-alt); color: var(--gold); }

.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  width: min(380px, 90vw);
  height: 100%;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-nav-overlay.active .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-logo { height: 36px; }
.mobile-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text);
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  flex: 1;
}
.mobile-nav-links > a,
.mobile-nav-links > details > summary {
  padding: 14px 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  display: block;
  cursor: pointer;
  list-style: none;
  font-family: 'Montserrat', sans-serif;
}
.mobile-nav-links > a:hover,
.mobile-nav-links > details > summary:hover { color: var(--gold); }

.mobile-dropdown > a {
  display: block;
  padding: 10px 0 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

.mobile-nav-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
  padding-top: 72px;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 177.78vh;
  height: 56.25vw;
  transform: translate(-50%, -50%);
  border: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem var(--container-px);
  max-width: 860px;
}

.hero-logo {
  height: clamp(60px, 10vw, 100px);
  margin: 0 auto 1.5rem;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.9);
  font-weight: 400;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 24px);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.hero-badges img {
  height: clamp(40px, 7vw, 65px);
  width: auto;
  opacity: 0.95;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: nowrap;
}

/* === PAGE HERO === */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
  margin-top: 72px;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.65) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem var(--container-px);
}
.page-hero-content h1 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page-hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
}

/* === SPLIT CONTENT === */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split-content.reverse .split-image { order: 2; }
.split-content.reverse .split-text { order: 1; }

.split-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.split-text h2 { margin-bottom: 1rem; }
.split-text .btn { margin-top: 1.5rem; }

/* Check List */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Stat Row */
.stat-row {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* === SERVICE GRID === */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
  color: var(--text);
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card-body {
  padding: 1.25rem;
  flex: 1;
}
.service-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.service-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* === TEAM GRID === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  text-align: center;
  padding-bottom: 1.5rem;
}
.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.team-card h3 {
  margin-top: 1.25rem;
  padding: 0 1rem;
}
.team-role {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.team-card > p:last-child {
  padding: 0 1.25rem;
  font-size: 0.92rem;
  color: var(--text-light);
}

/* Values */
.values-list { margin-top: 1rem; }
.value-item { margin-bottom: 1.25rem; }
.value-item h3 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

/* Warranty Badges */
.warranty-badges {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.warranty-badges img {
  height: 180px;
  width: 180px;
  object-fit: contain;
}
@media (max-width: 600px) {
  .warranty-badges { gap: 1.5rem; }
  .warranty-badges img { height: 130px; width: 130px; }
}

/* === CTA STRIP === */
.cta-strip {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-inner h2 {
  color: var(--white);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-bottom: 0.25rem;
}
.cta-inner p {
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* === PROJECT GALLERY === */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--dark);
}
.project-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.project-card:hover img { transform: scale(1.05); }

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--white);
}
.project-info h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.project-info p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

/* === REVIEWS === */
.reviews-header { margin-bottom: 3rem; }
.reviews-score { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.reviews-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}
.stars-large {
  font-size: 2rem;
  color: #F5A623;
  letter-spacing: 4px;
}
.reviews-count {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
}

.review-stars {
  color: #F5A623;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.review-author strong {
  display: block;
  font-size: 0.9rem;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.review-badge svg { flex-shrink: 0; }

/* === BLOG === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
}
.blog-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card-body {
  padding: 1.25rem;
}
.blog-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.blog-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.blog-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.blog-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.estimate-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  background: var(--input-bg);
  color: var(--text);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46,134,193,0.15);
}

.form-success {
  text-align: center;
  padding: 3rem 2rem;
}
.form-success h3 {
  margin: 1rem 0 0.5rem;
  color: #34A853;
}

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.contact-info-card h3 {
  margin-bottom: 1.25rem;
}

.contact-detail {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 12px;
  row-gap: 2px;
  align-items: start;
  margin-bottom: 1.25rem;
}
.contact-detail svg { color: var(--gold); margin-top: 2px; grid-column: 1; grid-row: 1 / 10; }
.contact-detail br { display: none; }
.contact-detail strong { font-size: 0.85rem; line-height: 1.4; grid-column: 2; }
.contact-detail a,
.contact-detail span { font-size: 0.92rem; color: var(--text-light); line-height: 1.4; grid-column: 2; }

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}
.contact-social a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.contact-social a:hover { color: var(--gold); }

/* === SERVICE AREAS === */
#city-list-by-region h3 {
  font-size: 1.2rem;
  color: var(--gold);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.city-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
}

.city-list-grid a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.city-list-grid a:hover {
  background: var(--bg-alt);
  color: var(--gold);
}

/* === SERVICE PAGE LAYOUT === */
.service-page-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.service-page-main h2 {
  margin-bottom: 1rem;
}
.service-page-main h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.service-page-main h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.content-image {
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  width: 100%;
}

.vimeo-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}
.vimeo-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.service-page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 88px;
}

.sidebar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.sidebar-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  margin-top: 0;
}
.sidebar-card ul {
  list-style: none;
  padding: 0;
}
.sidebar-card ul li {
  padding: 6px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-card ul li:last-child { border: none; }

/* === CITY PAGE === */
.city-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.city-service-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  transition: all var(--transition);
}
.city-service-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.city-nearby {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.city-nearby a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: var(--bg-alt);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.city-nearby a:hover {
  background: var(--gold);
  color: var(--dark);
}

/* City FAQ */
.faq-list { margin-top: 1rem; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  padding: 1rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Montserrat', sans-serif;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  padding: 0 0 1rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* === SHOWCASE / CASE STUDIES (Town Pages) === */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.showcase-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
}
.showcase-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.showcase-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.showcase-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.showcase-info h3 {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.4;
  color: var(--text);
}
.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.showcase-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.showcase-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0 0 1rem;
  line-height: 1.6;
}
.showcase-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  margin-top: auto;
  transition: color var(--transition);
}
.showcase-link:hover {
  color: var(--navy);
  text-decoration: underline;
}
@media (max-width: 600px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .showcase-images img {
    height: 160px;
  }
}

/* === FOOTER === */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: clamp(3rem, 6vw, 4rem) 0 1.5rem;
}

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

.footer-logo {
  height: 48px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}
.footer-social a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--gold); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }

.footer-col p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}
.pplx-link {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.pplx-link:hover { color: rgba(255,255,255,0.6); }

/* === LEAFLET MAP OVERRIDES === */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  font-family: 'Montserrat', sans-serif !important;
}
.leaflet-popup-content {
  margin: 12px 16px !important;
  font-size: 0.9rem !important;
}
.leaflet-popup-content a {
  color: var(--blue);
  font-weight: 600;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-phone span { display: none; }
  .header-cta { display: none; }
  .mobile-toggle { display: flex; }

  .service-page-content {
    grid-template-columns: 1fr;
  }
  .service-page-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-cta-group { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hero-cta-group .btn,
  .hero-cta-group .btn-quote { width: 100%; text-align: center; justify-content: center; box-sizing: border-box; }
}

@media (max-width: 768px) {
  .split-content {
    grid-template-columns: 1fr;
  }
  .split-content.reverse .split-image { order: 0; }
  .split-content.reverse .split-text { order: 0; }

  .split-image img { height: 280px; }

  .stat-row { gap: 1rem; }
  .stat-num { font-size: 1.5rem; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .reviews-grid { grid-template-columns: 1fr; }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
  .cta-actions .btn,
  .cta-actions .btn-quote { width: 100%; text-align: center; justify-content: center; box-sizing: border-box; }

  .page-hero { min-height: 260px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .project-gallery { grid-template-columns: 1fr; }

  #service-areas-map { height: 350px; }
}

@media (max-width: 480px) {
  .header-inner { height: 60px; }
  .header-logo img { height: 36px; }
  .page-hero { margin-top: 60px; }
  .hero-badges img { height: 32px; }
}

/* === SCROLL REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === PREFERS REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}


/* === SCROLLING REVIEWS BANNER === */
.scrolling-reviews-wrap {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  padding: 1.25rem 0;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
}

.scrolling-reviews-track {
  display: flex;
  gap: 20px;
  animation: scrollReviews 45s linear infinite;
  width: max-content;
}

.scrolling-reviews-track:hover {
  animation-play-state: paused;
}

@keyframes scrollReviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.scrolling-review-card {
  flex-shrink: 0;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 280px;
  max-width: 320px;
}

.sr-stars {
  color: #F5A623;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.sr-quote {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.95);
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 10px;
}

.sr-author {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sr-google-g {
  flex-shrink: 0;
}

/* === SMALLER HERO BADGES === */
.hero-badges img {
  height: clamp(30px, 5vw, 48px) !important;
  width: auto;
  opacity: 0.95;
}

/* === DROPDOWN HOVER FIX === */
.has-dropdown .mega-dropdown {
  /* Add invisible bridge to prevent gap hover issue */
  padding-top: 32px;
  margin-top: -8px;
}

.has-dropdown:hover .mega-dropdown {
  display: flex;
  gap: 32px;
}

/* === DARK MODE FIXES === */
[data-theme="dark"] .service-card-body p,
[data-theme="dark"] .blog-card-body p,
[data-theme="dark"] .review-text,
[data-theme="dark"] .lead,
[data-theme="dark"] .section-desc,
[data-theme="dark"] p {
  color: var(--text-muted);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] .service-card-body h3,
[data-theme="dark"] .blog-card-body h3,
[data-theme="dark"] .review-author strong {
  color: var(--text);
}

[data-theme="dark"] .scrolling-review-card {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

[data-theme="dark"] .check-list li {
  color: var(--text);
}

[data-theme="dark"] .stat-label {
  color: var(--text-muted);
}

[data-theme="dark"] .contact-detail span,
[data-theme="dark"] .contact-detail a {
  color: var(--text-muted);
}

[data-theme="dark"] #live-google-reviews {
  background: var(--bg-alt) !important;
}

[data-theme="dark"] .faq-item summary {
  color: var(--text);
}

[data-theme="dark"] .faq-item p {
  color: var(--text-muted);
}

/* === FOOTER RESPONSIVE FIX === */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .scrolling-review-card {
    min-width: 240px;
    max-width: 270px;
  }
}

/* V4: White strip behind badges for visibility */
.hero-badges, .badges-row {
  background: rgba(255,255,255,0.92);
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  margin: 1.5rem auto;
}
.hero-badges img, .badges-row img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* V4 blue Call button rule — superseded by global rule above */

/* V4: Responsive Why Choose grid */
@media (max-width: 768px) {
  #why-choose + p { font-size: 0.95rem; }
  section[aria-labelledby="why-choose"] > .container > div {
    grid-template-columns: 1fr !important;
  }
  .case-study-card { padding: 1rem !important; }
}

/* === FINANCING PAGE === */
.financing-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  border-top: 4px solid var(--gold);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.financing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.financing-card-icon {
  margin-bottom: 1rem;
}
.financing-card-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.financing-card-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.financing-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.financing-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.financing-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
}
.financing-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.financing-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.financing-benefit svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.financing-benefit div {
  font-size: 0.95rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .financing-card { padding: 1.75rem 1.25rem; }
  .financing-card-value { font-size: 2.2rem; }
  .financing-benefit { flex-direction: column; }
}

/* ═══════════════════════════════════════════
   PROJECT DETAIL PAGES — v2.5.0
   ═══════════════════════════════════════════ */

/* Breadcrumb */
.breadcrumb-nav { background: #f4f6f8; padding: 0.75rem 0; border-bottom: 1px solid #e2e6ea; }
.breadcrumb-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 0.25rem; font-size: 0.85rem; flex-wrap: wrap; }
.breadcrumb-list li { display: flex; align-items: center; }
.breadcrumb-list li:not(:last-child)::after { content: '/'; margin: 0 0.5rem; color: #999; }
.breadcrumb-list a { color: var(--blue, #2E86C1); text-decoration: none; }
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list li:last-child { color: #666; }

/* Project hero */
.page-hero--project { min-height: 350px; }
.project-hero-meta { display: flex; gap: 1.5rem; margin-top: 0.75rem; font-size: 1rem; opacity: 0.9; flex-wrap: wrap; }
.project-meta-item { display: flex; align-items: center; gap: 0.35rem; }

/* Project detail grid — main + sidebar */
.project-detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
@media (max-width: 960px) {
  .project-detail-grid { grid-template-columns: 1fr; }
}

/* Project photos */
.project-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.project-photos img { width: 100%; height: 350px; object-fit: cover; border-radius: 8px; }
@media (max-width: 768px) {
  .project-photos { grid-template-columns: 1fr; }
  .project-photos img { height: 260px; }
}

/* Project description */
.project-description h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.project-description p { line-height: 1.8; color: #444; margin-bottom: 1rem; }

/* Project tags section */
.project-tags-section { margin-top: 1.5rem; }
.project-tags-section h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }

/* Project sidebar */
.project-detail-sidebar { position: sticky; top: 2rem; }
.project-sidebar-card { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 10px; padding: 1.5rem; margin-bottom: 1.25rem; }
.project-sidebar-card h3 { font-size: 1.15rem; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--blue, #2E86C1); }
.project-specs { margin: 0; }
.project-specs dt { font-weight: 600; color: #555; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; margin-top: 0.75rem; }
.project-specs dt:first-child { margin-top: 0; }
.project-specs dd { margin: 0.2rem 0 0 0; font-size: 0.95rem; }
.project-specs dd a { color: var(--blue, #2E86C1); text-decoration: none; }
.project-specs dd a:hover { text-decoration: underline; }

.project-sidebar-cta { background: var(--blue, #2E86C1); color: #fff; border-radius: 10px; padding: 1.5rem; margin-bottom: 1.25rem; }
.project-sidebar-cta h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #fff; }
.project-sidebar-cta p { font-size: 0.9rem; margin-bottom: 1rem; opacity: 0.9; }
.project-sidebar-cta .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.project-sidebar-cta .btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

.project-sidebar-badges { display: flex; gap: 1rem; justify-content: center; }

/* Back links */
.project-back-links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; padding: 1rem 0; }
.project-back-link { color: var(--blue, #2E86C1); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.project-back-link:hover { text-decoration: underline; }

/* ─── Projects Hub ─── */
.projects-filter-bar { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; padding: 1rem 1.25rem; background: #f8f9fa; border-radius: 8px; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 0.5rem; }
.filter-group label { font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.filter-select { padding: 0.4rem 0.75rem; border: 1px solid #d1d5db; border-radius: 6px; font-size: 0.9rem; font-family: 'Montserrat', sans-serif; background: #fff; cursor: pointer; }
.filter-count { margin-left: auto; font-weight: 600; color: var(--blue, #2E86C1); font-size: 0.95rem; }
.projects-hub-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .projects-hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .projects-hub-grid { grid-template-columns: 1fr; } }

/* Location link in showcase cards */
.showcase-location { font-size: 0.85rem; color: #666; margin-bottom: 0.25rem; }
.showcase-location a { color: var(--blue, #2E86C1); text-decoration: none; }
.showcase-location a:hover { text-decoration: underline; }

/* Hero subtitle */
.hero-subtitle { font-size: 1.15rem; opacity: 0.9; margin-top: 0.5rem; }

/* Showcase card links (make images clickable) */
.showcase-images a { display: block; }
.showcase-images a img { transition: transform 0.3s ease; }
.showcase-images a:hover img { transform: scale(1.03); }
.showcase-card h3 a { color: inherit; text-decoration: none; }
.showcase-card h3 a:hover { color: var(--blue, #2E86C1); }

/* ─── Warranty Cards ─── */
/* Financing Section */
.financing-section { background: linear-gradient(135deg, #0d2137 0%, #1a3a5c 50%, #0d2137 100%); color: #fff; }
.financing-banner { max-width: 900px; margin: 0 auto; text-align: center; }
.financing-title { font-family: 'Montserrat', sans-serif; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.financing-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 2rem; line-height: 1.6; }
.financing-features { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.financing-feature { display: flex; align-items: center; gap: 0.75rem; text-align: left; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 1rem 1.25rem; min-width: 220px; flex: 1; max-width: 280px; }
.financing-feature-icon { flex-shrink: 0; }
.financing-feature strong { display: block; font-size: 0.95rem; font-weight: 700; color: #fff; }
.financing-feature span { font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.financing-cta { display: inline-block; margin-top: 0.5rem; }
@media (max-width: 768px) { .financing-features { flex-direction: column; align-items: center; } .financing-feature { max-width: 100%; width: 100%; } }

/* Form Privacy Fine Print */
.wpforms-form-privacy {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  line-height: 1.4;
}
.wpforms-form-privacy svg {
  vertical-align: middle;
  margin-right: 0.25rem;
}

/* ─── Instant Roof Quote Button & Modal ─── */
.btn-quote { background: var(--gold); color: #000; font-weight: 700; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: var(--radius, 8px); font-family: 'Montserrat', sans-serif; font-size: 1rem; text-decoration: none; transition: background 0.2s, transform 0.15s; }
.btn-quote:hover { background: var(--gold-dark); transform: translateY(-1px); color: #000; text-decoration: none; }
.btn-quote svg { flex-shrink: 0; }
.hero-cta-group .btn-quote { font-size: 1.05rem; padding: 1rem 1.75rem; }
.cta-actions .btn-quote { font-size: 1rem; padding: 0.85rem 1.5rem; }

/* Quote modal overlay */
.quote-modal-overlay { display: none; position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,0.7); align-items: center; justify-content: center; padding: 1rem; }
.quote-modal-overlay.active { display: flex; }
.quote-modal { background: #fff; border-radius: 16px; width: 100%; max-width: 900px; height: 90vh; max-height: 700px; position: relative; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.quote-modal iframe { width: 100%; height: 100%; border: none; }
.quote-modal-close { position: absolute; top: 12px; right: 12px; z-index: 10; background: rgba(0,0,0,0.6); color: #fff; border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.25rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.quote-modal-close:hover { background: rgba(0,0,0,0.8); }
@media (max-width: 600px) { .quote-modal { height: 95vh; max-height: none; border-radius: 12px; } }

/* ─── Blog Page ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.blog-card-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .blog-card-image img { transform: scale(1.03); }
.blog-card-image-placeholder { display: flex; align-items: center; justify-content: center; background: var(--gray-100); }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta { font-size: 0.8rem; color: var(--gray-500); margin-bottom: 0.5rem; }
.blog-card-title { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.5rem; }
.blog-card-title a { color: var(--dark); text-decoration: none; }
.blog-card-title a:hover { color: var(--blue); }
.blog-card-excerpt { font-size: 0.9rem; color: var(--gray-600); line-height: 1.5; margin-bottom: 1rem; }
.blog-card-link { font-size: 0.85rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.blog-card-link:hover { color: var(--gold); }
.blog-pagination { text-align: center; margin-top: 2rem; }
.blog-pagination .page-numbers { display: inline-block; padding: 0.5rem 1rem; margin: 0 0.25rem; border-radius: var(--radius); text-decoration: none; color: var(--dark); background: var(--gray-100); }
.blog-pagination .page-numbers.current { background: var(--blue); color: #fff; }
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}
