/* ==========================================================================
   UNLTD Handyman — Modern Design System & Stylesheet
   Serving Emily, MN & The Greater Brainerd Lakes Area
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #0f172a;          /* Slate 900 */
  --primary-light: #1e293b;    /* Slate 800 */
  --primary-subtle: #334155;   /* Slate 700 */
  --brand-orange: #f97316;     /* Vibrant Amber/Orange */
  --brand-orange-dark: #ea580c;/* Darker Orange for hover */
  --brand-orange-light: #ffedd5;
  --accent-gold: #f59e0b;
  --accent-blue: #0284c7;
  --accent-green: #10b981;
  --accent-green-bg: #ecfdf5;
  
  /* Neutral Grays */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-inverse: #ffffff;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.09), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.06);
  --shadow-glow: 0 0 25px rgba(249, 115, 22, 0.35);

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

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Layout */
  --container-max: 1200px;
  --container-narrow: 840px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 70px; /* Space for mobile sticky CTA bar */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: var(--brand-orange-dark);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

a:hover {
  color: var(--brand-orange);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.25rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.25rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 1.5vw + 0.2rem, 1.45rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #0b1120 0%, #1e293b 100%);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.announcement-badge {
  background: rgba(249, 115, 22, 0.2);
  color: #fdba74;
  border: 1px solid rgba(249, 115, 22, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.announcement-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.announcement-contact a {
  color: #ffffff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.announcement-contact a:hover {
  color: var(--brand-orange);
}

.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-orange);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.showcase-img-box {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #1e293b;
}

.showcase-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-img-box img {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-title span {
  color: var(--brand-orange);
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--brand-orange-dark);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--brand-orange);
  border-radius: var(--radius-full);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid var(--border-medium);
  transition: all 0.2s ease;
}

.nav-phone-btn:hover {
  background: #ffffff;
  border-color: var(--brand-orange);
  color: var(--brand-orange-dark);
  box-shadow: var(--shadow-sm);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary);
}

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fb923c 0%, var(--brand-orange) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.btn-secondary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--primary-light);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: #ffffff;
  border: 2px solid var(--border-medium);
  color: var(--primary);
}

.btn-outline-dark:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange-dark);
  background: var(--brand-orange-light);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-orange {
  background: rgba(249, 115, 22, 0.12);
  color: var(--brand-orange-dark);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.badge-green {
  background: var(--accent-green-bg);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #090e17 0%, #0f172a 45%, #1e293b 100%);
  color: #ffffff;
  padding: 80px 0 90px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0) 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, rgba(2, 132, 199, 0) 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  margin-bottom: 18px;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero h1 span.highlight {
  background: linear-gradient(120deg, #fdba74 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.18rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-orange);
  flex-shrink: 0;
}

/* Hero Quick Estimate Card (Side Card) */
.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hero-card-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
}

.rating-stars {
  color: #fbbf24;
}

.hero-card-features {
  list-style: none;
  margin-bottom: 24px;
}

.hero-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  color: #e2e8f0;
}

.hero-card-features li:last-child {
  border-bottom: none;
}

.hero-card-features .icon-check {
  color: var(--accent-green);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-card-action {
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-action .call-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-card-action .call-number {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fdba74;
  display: block;
}

.hero-card-action .call-sub {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-top: 4px;
}

/* Hero Short for subpages */
.hero-subpage {
  padding: 60px 0 64px;
  background: linear-gradient(135deg, #090e17 0%, #0f172a 60%, #1e293b 100%);
  text-align: center;
}

.hero-subpage h1 {
  color: #ffffff;
  margin-bottom: 14px;
}

.hero-subpage p {
  color: #cbd5e1;
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   Stats Banner
   ========================================================================== */
.stats-banner {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 30px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-orange-light);
  color: var(--brand-orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-info .stat-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.stat-info .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
}

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

.section-dark {
  background-color: var(--primary);
  color: #ffffff;
}

.section-dark h2, .section-dark h3 {
  color: #ffffff;
}

.section-dark p {
  color: #cbd5e1;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-subtitle {
  color: var(--brand-orange-dark);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: inline-block;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.08rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Service Cards Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.service-card:hover::before {
  background: linear-gradient(90deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-orange-light);
  color: var(--brand-orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-card-list {
  list-style: none;
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.service-card-list li {
  font-size: 0.88rem;
  color: var(--text-main);
  padding: 4px 0 4px 20px;
  position: relative;
}

.service-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-orange);
  font-weight: 700;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand-orange-dark);
  margin-top: auto;
}

.service-card-link:hover {
  gap: 10px;
}

/* ==========================================================================
   Project Showcase / Visual Proof
   ========================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.showcase-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.showcase-visual {
  height: 200px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 20px;
  text-align: center;
}

.showcase-visual-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  color: #fde68a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.showcase-icon {
  font-size: 3rem;
  opacity: 0.85;
}

.showcase-body {
  padding: 24px;
}

.showcase-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-orange-dark);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.showcase-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.showcase-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Interactive Quote Estimator Widget
   ========================================================================== */
.estimator-container {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  margin: 40px 0;
}

.estimator-header {
  text-align: center;
  margin-bottom: 32px;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.estimator-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  background: #ffffff;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.estimator-result-card {
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.result-badge {
  display: inline-block;
  background: rgba(249, 115, 22, 0.2);
  color: #fdba74;
  border: 1px solid rgba(249, 115, 22, 0.4);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.result-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.result-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.result-callout {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  border-left: 3px solid var(--brand-orange);
}

.result-callout p {
  font-size: 0.9rem;
  color: #f1f5f9;
  margin: 0;
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Regional Service Areas Matrix (SEO Powerhouse)
   ========================================================================== */
.area-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.area-pill-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s ease;
}

.area-pill-card:hover {
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.area-name {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.area-name .pin-icon {
  color: var(--brand-orange);
  font-size: 1rem;
}

.area-highlight {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.area-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.area-badge-chip {
  background: var(--bg-subtle);
  color: var(--text-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Testimonials & Local Reputation
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.review-stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-quote {
  font-size: 1.02rem;
  color: var(--text-main);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
}

.review-author-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.review-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}

.review-author-location {
  font-size: 0.82rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open],
.faq-item.active {
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle-icon {
  font-size: 1.25rem;
  color: var(--brand-orange-dark);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

/* ==========================================================================
   Conversion CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #ffffff;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 100%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #cbd5e1;
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.cta-btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Contact Page Elements
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.contact-card-box h3 {
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.direct-call-box {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}

.direct-call-box h3 {
  color: #ffffff;
  margin-bottom: 8px;
}

.direct-call-box p {
  color: #ffedd5;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.direct-call-number {
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: rgba(0, 0, 0, 0.15);
  padding: 8px 18px;
  border-radius: var(--radius-md);
}

.direct-call-number:hover {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.25);
}

.contact-features-list {
  list-style: none;
}

.contact-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-features-list li:last-child {
  border-bottom: none;
}

.contact-form-panel {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form-panel p.subhead {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #090e17;
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-brand h3 span {
  color: var(--brand-orange);
}

.footer-brand p {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 320px;
}

.footer-phone-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-phone-highlight:hover {
  color: var(--brand-orange);
  border-color: var(--brand-orange);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--brand-orange);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Mobile Sticky Dual CTA Bar
   ========================================================================== */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px;
  display: flex;
  gap: 10px;
  z-index: 999;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.25);
}

.sticky-mobile-cta .btn-cta-mobile {
  flex: 1;
  padding: 12px 14px;
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.sticky-mobile-cta .btn-call {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
  color: #ffffff;
}

.sticky-mobile-cta .btn-text {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  .announcement-bar {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-medium);
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 10px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-light);
  }

  .nav a.active::after {
    display: none;
  }

  .header-cta .nav-phone-btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

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

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

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

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .estimator-container {
    padding: 24px 18px;
  }
}

/* ===== Device-aware estimate flow =====
   The estimate form + SMS send only work on mobile (sms: links). 
   Show the form on touch devices; on desktop show a Call/SMS fallback instead. */
@media (hover: none), (pointer: coarse) {
  /* touch (mobile/tablet): show form, hide desktop call fallback */
  #estimate-panel { display: block; }
  #desktop-call-panel { display: none; }
}
@media (hover: hover) and (pointer: fine) {
  /* desktop: hide the mobile SMS form, show the call fallback */
  #estimate-panel { display: none; }
  #desktop-call-panel { display: block; }
}
