/* ========================================
   Boulder Legacies — Design System
   Brand: #4B9CD3 (steel blue) + #e94edc (magenta/pink)
   Vibe: premium-luxury
   Font: Playfair Display (headings) + Lato (body)
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.7; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Custom Properties --- */
:root {
  --primary: #4B9CD3;
  --primary-light: #6BB0DD;
  --primary-dark: #3A7FB3;
  --secondary: #e94edc;
  --secondary-light: #F076E6;
  --secondary-dark: #C73DBB;
  --accent: #4B9CD3;
  --accent-light: #6BB0DD;
  --gold: #C9A96E;
  --gold-light: #D4BA87;
  --bg: #FFFFFF;
  --bg-alt: #F7F7F8;
  --bg-dark: #0D1117;
  --bg-dark-alt: #161B22;
  --bg-charcoal: #1C2128;
  --text: #1A1A1A;
  --text-light: #4B5563;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --white: #FFFFFF;
  --error: #DC2626;
  --success: #16A34A;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Helvetica Neue', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.25rem;
  --fs-5xl: 4rem;
  --radius: 0px;
  --radius-sm: 0px;
  --radius-lg: 0px;
  --shadow: none;
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
  --max-width: 1200px;
  --section-pad: 6rem;
  --header-height: 90px;
  --transition: 0.3s ease;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; color: var(--text); }
h1 { font-size: var(--fs-4xl); margin-bottom: 1rem; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-3xl); margin-bottom: 0.75rem; }
h3 { font-size: var(--fs-2xl); margin-bottom: 0.5rem; }
h4 { font-size: var(--fs-xl); margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--text-light); }
strong { font-weight: 700; color: var(--text); }
em { font-style: italic; }
.lead { font-size: var(--fs-lg); line-height: 1.8; color: var(--text-light); max-width: 800px; }
.section-title { font-size: var(--fs-3xl); margin-bottom: 0.5rem; }
.section-subtitle { color: var(--text-muted); font-size: var(--fs-md); max-width: 640px; margin-bottom: 3rem; }
.section-label { display: inline-block; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--secondary); margin-bottom: 0.75rem; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.75); }
.section--dark .section-label { color: var(--secondary-light); }
.section--dark .section-subtitle { color: rgba(255,255,255,0.6); }
.section--charcoal { background: var(--bg-charcoal); color: var(--white); }
.section--charcoal h2, .section--charcoal h3, .section--charcoal h4 { color: var(--white); }
.section--charcoal p { color: rgba(255,255,255,0.75); }
.section--charcoal .section-label { color: var(--gold); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

/* --- Skip Link --- */
.skip-link { position: absolute; top: -100%; left: 1rem; padding: 0.75rem 1.5rem; background: var(--primary); color: var(--white); z-index: 9999; font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* --- Header --- */
.header { position: sticky; top: 0; z-index: 1000; background: var(--bg-dark); border-bottom: 1px solid rgba(255,255,255,0.08); transition: box-shadow var(--transition); }
.header--scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: var(--header-height); }
.header-brand { display: flex; align-items: center; gap: 1rem; }
.logo { height: 60px; width: auto; }
.nav-menu { display: flex; align-items: center; }
.nav-list { display: flex; gap: 0.25rem; align-items: center; }
.nav-link { padding: 0.5rem 0.85rem; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; color: rgba(255,255,255,0.7); letter-spacing: 0.04em; text-transform: uppercase; transition: color var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { font-weight: 700; color: var(--primary-light); font-size: var(--fs-sm); white-space: nowrap; letter-spacing: 0.02em; }
.header-phone:hover { color: var(--white); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); position: relative; transition: var(--transition); }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; width: 24px; height: 2px; background: var(--white); transition: var(--transition); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle--active span { background: transparent; }
.nav-toggle--active span::before { top: 0; transform: rotate(45deg); }
.nav-toggle--active span::after { top: 0; transform: rotate(-45deg); }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 2rem; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; transition: all var(--transition); min-height: 48px; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn--primary { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn--primary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); color: var(--white); }
.btn--secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--secondary:hover { background: var(--primary); color: var(--white); }
.btn--white { background: transparent; color: var(--white); border-color: var(--white); }
.btn--white:hover { background: var(--white); color: var(--bg-dark); }
.btn--dark { background: var(--bg-dark); color: var(--white); border-color: var(--bg-dark); }
.btn--dark:hover { background: var(--bg-charcoal); border-color: var(--bg-charcoal); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--bg-dark); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn--sm { padding: 0.5rem 1.25rem; font-size: var(--fs-xs); min-height: 40px; }
.btn--lg { padding: 1.1rem 2.75rem; font-size: var(--fs-base); }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* --- Hero --- */
.hero { position: relative; overflow: hidden; padding: 7rem 0 6rem; background: var(--bg-dark); min-height: 560px; display: flex; align-items: center; }
.hero--home { min-height: 520px; padding: 5rem 0 4rem; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,17,23,0.82) 0%, rgba(13,17,23,0.55) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero h1 { color: var(--white); font-size: clamp(2.25rem, 5vw, 3.75rem); margin-bottom: 1.5rem; line-height: 1.1; }
.hero h1 span { color: var(--primary); }
.hero p { color: rgba(255,255,255,0.8); font-size: var(--fs-lg); margin-bottom: 2.5rem; max-width: 560px; line-height: 1.8; }
.hero .section-label { color: var(--secondary-light); margin-bottom: 1rem; }
.hero .breadcrumbs { margin-bottom: 1.5rem; }
.hero--inner { min-height: auto; padding: 4.5rem 0 3.5rem; }

/* --- Hero Badges --- */
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2.5rem; }
.hero-badge { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 1.25rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); font-size: var(--fs-sm); font-weight: 700; }
.hero-badge svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--primary-light); }

/* --- Trust Bar --- */
.trust-bar { background: var(--bg-dark-alt); border-bottom: 1px solid rgba(255,255,255,0.06); }
.trust-bar-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 2.5rem; padding: 1.25rem 1.5rem; max-width: var(--max-width); margin: 0 auto; }
.trust-item { display: flex; align-items: center; gap: 0.75rem; font-size: var(--fs-sm); color: rgba(255,255,255,0.55); white-space: nowrap; font-weight: 400; letter-spacing: 0.02em; }
.trust-item strong { color: var(--primary-light); font-size: var(--fs-lg); font-weight: 900; }
.trust-item svg { width: 22px; height: 22px; color: var(--secondary); flex-shrink: 0; }

/* --- Breadcrumbs --- */
.breadcrumbs { font-family: var(--font-body); font-size: var(--fs-sm); color: rgba(255,255,255,0.5); }
.breadcrumbs a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs .current { color: rgba(255,255,255,0.8); }
.breadcrumbs span { margin: 0 0.4rem; }
/* Light background breadcrumbs (blog articles, legal pages) */
.breadcrumbs--light { color: var(--text-muted); }
.breadcrumbs--light a { color: var(--text-muted); }
.breadcrumbs--light a:hover { color: var(--primary); }
.breadcrumbs--light .current { color: var(--text); }

/* --- Cards --- */
.card { background: var(--white); overflow: hidden; border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.card-body { padding: 1.75rem; }
.card-body h3 { font-size: var(--fs-lg); margin-bottom: 0.5rem; }
.card-body p { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 1rem; }
.card-link { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; color: var(--secondary); display: inline-flex; align-items: center; gap: 0.35rem; letter-spacing: 0.04em; text-transform: uppercase; }
.card-link:hover { gap: 0.6rem; color: var(--secondary-dark); }
.card-link::after { content: '\2192'; }

/* Dark card variant */
.card--dark { background: var(--bg-dark-alt); border-color: rgba(255,255,255,0.08); }
.card--dark h3 { color: var(--white); }
.card--dark p { color: rgba(255,255,255,0.65); }
.card--dark:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.3); }

/* --- Service Cards --- */
.service-card { background: var(--white); border: 1px solid var(--border); padding: 2.5rem 2rem; transition: all var(--transition); position: relative; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card__icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: rgba(75,156,211,0.08); margin-bottom: 1.5rem; }
.service-card__icon svg { width: 28px; height: 28px; color: var(--primary); }
.service-card h3 { font-size: var(--fs-xl); margin-bottom: 0.75rem; }
.service-card p { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 1.25rem; }

/* --- Split Sections --- */
.split-img { position: relative; overflow: hidden; aspect-ratio: 4/3; }

/* --- Image System --- */
.card-img, .img-wrap, .split-img, .gallery-item { position: relative; overflow: hidden; }
.img-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); color: var(--text-muted); font-size: var(--fs-sm); text-align: center; padding: 1rem; }
.img-real { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 0.4s ease; }
.img-real.loaded { opacity: 1; }
.card-img .img-real, .split-img .img-real, .gallery-item .img-real { position: absolute; top: 0; left: 0; }

/* --- Stats / Metrics Bar --- */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 2.5rem 1.5rem; border-right: 1px solid rgba(255,255,255,0.06); }
.stat-item:last-child { border-right: none; }
.stat-item__number { display: block; font-family: var(--font-heading); font-size: var(--fs-4xl); font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 0.5rem; }
.stat-item__label { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.45); }

/* --- Process Steps --- */
.process-steps { counter-reset: step; }
.process-step { display: flex; gap: 2rem; margin-bottom: 3rem; align-items: flex-start; }
.process-step__number { counter-increment: step; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; min-width: 60px; background: var(--bg-dark); color: var(--primary-light); font-family: var(--font-heading); font-weight: 900; font-size: var(--fs-xl); }
.process-step__number::before { content: counter(step, decimal-leading-zero); }
.process-step__content h3 { font-size: var(--fs-xl); margin-bottom: 0.5rem; }
.process-step__content p { font-size: var(--fs-sm); margin-bottom: 0; color: var(--text-muted); }

/* Process step card variant — vertical layout for grid contexts */
.process-step--card { flex-direction: column; gap: 1.25rem; text-align: center; align-items: center; margin-bottom: 0; }
.process-step--card .process-step__number { margin: 0 auto; }
.process-step--card .process-step__content h3 { font-size: var(--fs-lg); }

/* Dark process steps */
.section--dark .process-step__number { background: rgba(255,255,255,0.06); color: var(--primary-light); }

/* --- Feature / Checklist --- */
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.5rem 0; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: var(--fs-sm); color: var(--text-light); line-height: 1.6; }
.feature-list li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--primary); margin-top: 2px; }
.checklist { list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.6rem 0; font-size: var(--fs-base); color: var(--text-light); border-bottom: 1px solid var(--border-light); }
.checklist li:last-child { border-bottom: none; }
.checklist li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--primary); margin-top: 3px; }

/* --- Testimonials --- */
.testimonial-card { background: var(--white); padding: 2.5rem; border: 1px solid var(--border); position: relative; }
.testimonial-card::before { content: '\201C'; position: absolute; top: 0.75rem; left: 1.5rem; font-size: 5rem; color: var(--primary); opacity: 0.1; font-family: Georgia, serif; line-height: 1; }
.stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.star { width: 18px; height: 18px; color: var(--gold); }
.testimonial-text { font-size: var(--fs-base); line-height: 1.8; color: var(--text-light); margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { font-weight: 700; color: var(--text); font-size: var(--fs-sm); }
.testimonial-service { color: var(--text-muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.05em; }
/* Dark variant */
.section--dark .testimonial-card { background: var(--bg-dark-alt); border-color: rgba(255,255,255,0.08); }
.section--dark .testimonial-card::before { color: var(--primary-light); }
.section--dark .testimonial-text { color: rgba(255,255,255,0.75); }
.section--dark .testimonial-author { color: var(--white); }
.section--dark .testimonial-service { color: rgba(255,255,255,0.45); }

/* --- CTA Section --- */
.cta-section { background: var(--bg-dark); padding: 5rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: var(--fs-md); max-width: 600px; margin: 0 auto 2.5rem; }
.cta-section .section-label { color: var(--secondary-light); }

/* --- FAQ Accordion --- */
.faq-item { border: 1px solid var(--border); margin-bottom: 0.5rem; overflow: hidden; background: var(--white); }
.faq-item__question { width: 100%; padding: 1.25rem 1.5rem; text-align: left; font-family: var(--font-body); font-size: var(--fs-base); font-weight: 700; color: var(--text); display: flex; justify-content: space-between; align-items: center; min-height: 48px; background: var(--white); transition: background var(--transition); cursor: pointer; }
.faq-item__question:hover { background: var(--bg-alt); }
.faq-item__icon { font-size: 1.25rem; font-weight: 400; color: var(--secondary); flex-shrink: 0; margin-left: 1rem; transition: transform var(--transition); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 1.5rem; }
.faq-item__answer p { color: var(--text-light); line-height: 1.8; }
.faq-item__answer p:last-child { margin-bottom: 1.25rem; }
.faq-list {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Gallery Grid --- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.gallery-item { aspect-ratio: 4/3; cursor: pointer; }
.gallery-item:hover .img-real { transform: scale(1.05); }
.gallery-item .img-real { transition: transform 0.4s ease; }
/* Gallery images fill container */
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
/* Gallery caption overlay */
.gallery-item__caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: var(--white); font-size: var(--fs-sm); font-weight: 700; opacity: 0; transition: opacity var(--transition); }
.gallery-item:hover .gallery-item__caption { opacity: 1; }

/* --- Signature Series Cards --- */
.signature-card { background: var(--bg-dark-alt); border: 1px solid rgba(255,255,255,0.08); padding: 3rem 2.5rem; text-align: center; transition: all var(--transition); }
.signature-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.signature-card__tier { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 1rem; }
.signature-card h3 { color: var(--white); font-size: var(--fs-2xl); margin-bottom: 0.75rem; }
.signature-card__price { font-family: var(--font-heading); font-size: var(--fs-xl); color: var(--primary-light); margin-bottom: 1.5rem; }
.signature-card p { color: rgba(255,255,255,0.6); font-size: var(--fs-sm); margin-bottom: 2rem; }
.signature-card__features { list-style: none; text-align: left; margin-bottom: 2rem; }
.signature-card__features li { padding: 0.5rem 0; font-size: var(--fs-sm); color: rgba(255,255,255,0.7); border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 0.5rem; }
.signature-card__features li:last-child { border-bottom: none; }
.signature-card__features li svg { width: 16px; height: 16px; color: var(--primary-light); flex-shrink: 0; }
.signature-card--featured { border-color: var(--secondary); position: relative; }
.signature-card--featured::before { content: 'Most Popular'; position: absolute; top: 0; left: 0; right: 0; padding: 0.4rem; background: var(--secondary); color: var(--white); font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; text-align: center; }

/* --- Engineering / Specs Table --- */
.specs-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.specs-table th, .specs-table td { padding: 1rem 1.25rem; text-align: left; font-size: var(--fs-sm); }
.specs-table th { background: var(--bg-dark); color: var(--white); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.specs-table td { border-bottom: 1px solid var(--border); color: var(--text-light); }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:nth-child(even) td { background: var(--bg-alt); }

/* --- Area Page Specifics --- */
.area-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }
.area-stat { text-align: center; padding: 1.75rem; background: var(--bg-alt); }
.area-stat strong { display: block; font-family: var(--font-heading); font-size: var(--fs-2xl); color: var(--primary); }
.area-stat span { font-size: var(--fs-sm); color: var(--text-muted); }
.area-group h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}
.area-group ul {
  list-style: none;
  padding: 0;
}
.area-group ul li {
  margin-bottom: 0.4rem;
}
.area-group ul a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.area-group ul a:hover {
  color: var(--primary);
}

/* --- Blog --- */
.blog-meta { display: flex; align-items: center; gap: 1rem; font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 1.5rem; flex-wrap: wrap; }
.blog-tag { background: rgba(75,156,211,0.1); color: var(--primary-dark); padding: 0.2rem 0.75rem; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-content { max-width: 800px; margin: 0 auto; }
.blog-content h2 { margin-top: 2.5rem; font-size: var(--fs-2xl); }
.blog-content h3 { margin-top: 2rem; font-size: var(--fs-xl); }
.blog-content ul, .blog-content ol { margin: 1rem 0 1rem 1.5rem; color: var(--text-light); }
.blog-content li { margin-bottom: 0.5rem; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.blog-content th, .blog-content td { padding: 0.75rem 1rem; text-align: left; border: 1px solid var(--border); font-size: var(--fs-sm); }
.blog-content th { background: var(--bg-dark); font-weight: 700; color: var(--white); }
.blog-content blockquote { border-left: 4px solid var(--secondary); padding: 1.25rem 1.75rem; margin: 1.5rem 0; background: var(--bg-alt); }
.blog-content blockquote p { color: var(--text); font-style: italic; margin-bottom: 0; }
.blog-content img { width: 100%; margin: 1.5rem 0; }
.blog-author { display: flex; align-items: center; gap: 1.25rem; padding: 2rem; background: var(--bg-alt); border-left: 4px solid var(--primary); margin-top: 3rem; }
.blog-author img { width: 64px; height: 64px; object-fit: cover; }
.blog-author__name { font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.blog-author__bio { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 0; }

/* --- Form Container --- */
.form-container { background: var(--white); padding: 2.5rem; border: 1px solid var(--border); }
.form-container h3 { margin-bottom: 0.5rem; }
.form-container--dark { background: var(--bg-dark-alt); border-color: rgba(255,255,255,0.08); }
.form-container--dark h3 { color: var(--white); }
.form-container--dark p { color: rgba(255,255,255,0.6); }

/* --- Form Fields --- */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.form-group .required { color: var(--error); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.8rem 1rem; font-size: var(--fs-base); font-family: var(--font-body); border: 1px solid var(--border); background: var(--bg); color: var(--text); transition: border-color var(--transition), box-shadow var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(75,156,211,0.12); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { min-height: 120px; resize: vertical; }
/* Dark form variant */
.form-container--dark .form-group label { color: rgba(255,255,255,0.8); }
.form-container--dark .form-group input,
.form-container--dark .form-group textarea,
.form-container--dark .form-group select { background: var(--bg-charcoal); border-color: rgba(255,255,255,0.12); color: var(--white); }
.form-container--dark .form-group input:focus,
.form-container--dark .form-group textarea:focus,
.form-container--dark .form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(75,156,211,0.2); }
.form-container--dark .form-group input::placeholder,
.form-container--dark .form-group textarea::placeholder { color: rgba(255,255,255,0.35); }

/* --- SMS Consent (A2P Compliance) --- */
.sms-consent { margin: 16px 0; }
.sms-consent__label { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.5; color: var(--text-muted); cursor: pointer; margin-bottom: 12px; }
.sms-consent__label input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; accent-color: var(--primary); }
.sms-consent__label a { color: var(--primary); text-decoration: underline; }
/* Dark variant */
.form-container--dark .sms-consent__label { color: rgba(255,255,255,0.45); }
.form-container--dark .sms-consent__label a { color: var(--primary-light); }

/* --- Thank You Message --- */
.thanks-msg { text-align: center; padding: 3rem 2rem; }
.thanks-msg h2 { color: var(--primary); margin-bottom: 1rem; }
.thanks-msg p { font-size: var(--fs-md); color: var(--text-light); }

/* --- Comparison Table --- */
.comparison-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.comparison-table th, .comparison-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); }
.comparison-table th { background: var(--bg-dark); color: var(--white); font-weight: 700; }
.comparison-table tr:nth-child(even) { background: var(--bg-alt); }
/* Dark section table overrides */
.section--dark .comparison-table td { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.08); }
.section--dark .comparison-table tr:nth-child(even) { background: rgba(255,255,255,0.04); }
.section--dark .comparison-table tr:nth-child(odd) td { background: transparent; }
.section--dark .specs-table td { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.08); }
.section--dark .specs-table tr:nth-child(even) td { background: rgba(255,255,255,0.04); }

/* --- Divider --- */
.divider { width: 60px; height: 3px; background: var(--secondary); margin: 1.5rem 0; }
.text-center .divider { margin-left: auto; margin-right: auto; }
.section--dark .divider { background: var(--primary-light); }

/* --- Affiliates Section --- */
.affiliates { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; padding: 1.5rem 0; }
.affiliates a { display: flex; align-items: center; gap: 0.75rem; color: rgba(255,255,255,0.5); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.03em; transition: color var(--transition); }
.affiliates a:hover { color: var(--white); }
.affiliates img { height: 32px; width: auto; opacity: 0.5; transition: opacity var(--transition); }
.affiliates a:hover img { opacity: 0.9; }

/* --- Footer --- */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 5rem 0 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer h4 { color: var(--white); font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.footer__brand { max-width: 320px; }
.footer__brand .logo { height: 50px; margin-bottom: 1.25rem; }
.footer__brand p { font-size: var(--fs-sm); line-height: 1.7; color: rgba(255,255,255,0.55); }
.footer__social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer__social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); transition: all var(--transition); }
.footer__social a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.footer__social svg { width: 18px; height: 18px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul a { color: rgba(255,255,255,0.55); font-size: var(--fs-sm); transition: color var(--transition); }
.footer ul a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.85rem; font-size: var(--fs-sm); }
.footer-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--primary-light); }
.footer-contact-item a { color: rgba(255,255,255,0.55); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: var(--fs-xs); color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--white); }
.footer__legal { display: flex; gap: 1.5rem; }

/* --- Reveal Animation --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal--visible { opacity: 1; transform: translateY(0); }

/* --- Utilities --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.section-header {
  margin-bottom: 3rem;
}

/* --- Print Styles --- */
@page { margin: 0; }
@media print {
  body { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .header, .footer, .nav-toggle, .mobile-cta { display: none; }
}

/* --- Responsive: Tablet --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse { direction: ltr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
  :root { --section-pad: 4rem; --header-height: 72px; }
  .logo { height: 48px; }
  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .area-stats { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .trust-bar-inner { justify-content: flex-start; overflow-x: auto; padding: 1rem; gap: 1.5rem; }
  .hero { padding: 5rem 0 4rem; min-height: 420px; }
  .hero--home { min-height: 420px; padding: 4rem 0 3rem; }
  .hero--inner { padding: 3.5rem 0 2.5rem; }
  .process-step { gap: 1.25rem; }
  .process-step__number { width: 48px; height: 48px; min-width: 48px; font-size: var(--fs-lg); }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }
  .signature-card { padding: 2rem 1.5rem; }

  /* Mobile Nav */
  .nav-menu { position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; background: var(--bg-dark); z-index: 10000; transform: translateX(100%); transition: transform var(--transition); padding: 2rem 1.5rem; overflow-y: auto; }
  .nav-menu--open { transform: translateX(0); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link { display: block; padding: 1rem 0; font-size: var(--fs-lg); border-bottom: 1px solid rgba(255,255,255,0.06); min-height: 48px; text-transform: none; letter-spacing: 0; }
  .nav-toggle { display: flex; position: relative; z-index: 10001; }
  .header-phone { display: none; }
  .header-cta-desktop { display: none; }

  /* Mobile CTA bar */
  .mobile-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998; background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,0.1); }
  .mobile-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem; font-weight: 700; font-size: var(--fs-sm); min-height: 56px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; }
  .mobile-cta .mobile-call { background: var(--primary); color: var(--white); }
  .mobile-cta .mobile-quote { background: var(--secondary); color: var(--white); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer__legal { justify-content: center; }
  body { padding-bottom: 56px; }
}

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

/* --- Address Autocomplete Dropdown --- */
.address-dropdown{position:absolute;top:100%;left:0;right:0;z-index:1000;background:#fff;border:1px solid #ddd;border-top:none;box-shadow:0 4px 12px rgba(0,0,0,.1);list-style:none;margin:0;padding:0;max-height:240px;overflow-y:auto}
.address-dropdown__item{padding:10px 14px;cursor:pointer;font-size:14px;line-height:1.4;border-bottom:1px solid #f0f0f0;transition:background .15s}
.address-dropdown__item:last-child{border-bottom:none}
.address-dropdown__secondary{color:#888;font-size:13px}
.address-dropdown__item--active,.address-dropdown__item:hover{background:rgba(75,156,211,0.08)}
