:root {
  --navy: #0f2942;
  --navy-deep: #091b2c;
  --gold: #eab308;
  --gold-hover: #ca8a04;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --bg-soft: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background: #ffffff;
  line-height: 1.55;
  padding-bottom: 64px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
}

.brand-accent {
  color: var(--emerald-dark);
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15.5px;
}

.btn-block {
  width: 100%;
}

.btn-gold {
  background: var(--gold);
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.28);
}

.btn-gold:hover {
  background: var(--gold-hover);
}

.btn-emerald {
  background: var(--emerald);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-emerald:hover {
  background: var(--emerald-dark);
}

.btn-outline {
  background: #ffffff;
  color: var(--navy);
  border: 1.5px solid #cbd5e1;
  padding: 12px 18px;
  font-size: 14.5px;
}

.btn-outline:hover {
  border-color: var(--navy);
}

/* Hero */
.hero {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.pill-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
}

.hero-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 26px 24px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(15, 41, 66, 0.08);
}

.mascot-badge {
  display: inline-block;
  background: #ecfdf5;
  color: var(--emerald-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.mascot-avatar {
  margin: 4px auto 8px;
}

.hero-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}

.hero-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.mascot-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.mascot-stats strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
}

.mascot-stats span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}

/* Trust Bar */
.trust-bar {
  background: var(--navy);
  color: #ffffff;
  padding: 22px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--emerald);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 15px;
}

.trust-item span {
  font-size: 12.5px;
  color: #cbd5e1;
}

/* Main Split Section */
.main-section {
  padding: 60px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 41, 66, 0.07);
}

.card-banner-emerald {
  background: var(--emerald-dark);
  color: #ffffff;
  padding: 22px 24px;
  text-align: center;
}

.card-banner-emerald h2 {
  font-size: 22px;
  font-weight: 900;
}

.card-banner-emerald p {
  font-size: 13.5px;
  opacity: 0.92;
  margin-top: 4px;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
  margin-bottom: 6px;
}

select,
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  background: #ffffff;
}

select {
  font-weight: 700;
  color: var(--navy);
}

select:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.estimate-display {
  background: var(--bg-soft);
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

.est-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
}

.est-price {
  font-size: 38px;
  font-weight: 900;
  color: var(--navy);
  margin: 4px 0;
}

.est-savings {
  font-size: 13px;
  font-weight: 700;
  color: var(--emerald-dark);
}

.est-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Reviews */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--emerald-dark);
  margin-bottom: 6px;
}

.section-header-left h2,
.section-header-center h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 8px;
}

.section-header-left p,
.section-header-center p {
  font-size: 15px;
  color: var(--muted);
}

.reviews-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(15, 41, 66, 0.04);
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 2px;
}

.review-tag {
  background: #f1f5f9;
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}

.review-quote {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.review-meta {
  font-size: 13px;
  color: var(--muted);
}

/* Services Grid */
.services-section {
  padding: 60px 0;
  background: var(--bg-soft);
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-tile {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-tile:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
  box-shadow: 0 10px 24px rgba(15, 41, 66, 0.08);
}

.tile-highlight {
  background: #fffbeb;
  border-color: #fcd34d;
}

.tile-icon {
  font-size: 28px;
}

.service-tile h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

.service-tile p {
  font-size: 13.5px;
  color: var(--muted);
  flex-grow: 1;
}

.tile-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--emerald-dark);
}

/* Seasonal Checklist */
.checklist-section {
  padding: 60px 0;
}

.checklist-box {
  background: var(--navy);
  color: #ffffff;
  border-radius: 22px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.checklist-info h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 10px;
}

.checklist-info p {
  color: #cbd5e1;
  font-size: 15px;
  margin-bottom: 20px;
}

.checklist-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#checkedCount {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chk-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
}

.chk-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--emerald);
}

/* Quote Form */
.quote-section {
  padding: 60px 0;
  background: var(--bg-soft);
}

.quote-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 14px 36px rgba(15, 41, 66, 0.08);
}

.quote-header {
  text-align: center;
  margin-bottom: 24px;
}

.quote-header h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-confirmation {
  background: #ecfdf5;
  border: 1.5px solid #6ee7b7;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.form-confirmation h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

/* Areas */
.areas-section {
  padding: 40px 0;
  text-align: center;
}

.areas-section h3 {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
}

.areas-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.areas-pills span {
  background: #f1f5f9;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
}

/* Footer */
.footer {
  background: var(--navy-deep);
  color: #cbd5e1;
  padding: 26px 0;
  font-size: 13.5px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer a {
  color: var(--gold);
  text-decoration: none;
}

/* Sticky Mobile Quick Action Bar */
.mobile-qab {
  display: none;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-grid,
  .split-grid,
  .checklist-box,
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .mobile-qab {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--navy);
    padding: 8px 10px;
    gap: 8px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.16);
  }
  .qab-btn {
    text-align: center;
    padding: 11px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
  }
  .qab-sms {
    background: var(--emerald);
    color: #ffffff;
  }
  .qab-quote {
    background: var(--gold);
    color: #0f172a;
  }
}
/* Moved-up Quote Split Layout */
.quote-split {
  grid-template-columns: 1.15fr 0.85fr;
}
.quote-card-compact {
  max-width: 100%;
  margin: 0;
  padding: 28px;
}
.quote-card-compact .quote-header {
  text-align: left;
  margin-bottom: 18px;
}


/* Exit-Intent Popup */
.exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(9, 27, 44, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.exit-overlay[hidden] {
  display: none;
}
.exit-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border: 2px solid var(--navy);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 22px 50px rgba(9, 27, 44, 0.32);
  animation: modalPop 0.2s ease-out;
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.exit-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.exit-close:hover {
  background: #e2e8f0;
}
.exit-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.exit-modal h3 {
  font-size: 23px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 8px;
}
.exit-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.exit-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.exit-success {
  background: #ecfdf5;
  border: 1.5px solid #6ee7b7;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}
.exit-success h4 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 6px;
}
.exit-success p {
  font-size: 14px;
  color: var(--text);
}


/* Decorative Corner Pandas */
.has-corner-panda {
  position: relative;
}
.panda-corner-quote {
  position: absolute;
  top: -36px;
  right: 22px;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(15, 41, 66, 0.14));
  transform: rotate(6deg);
}
.panda-corner-checklist {
  position: absolute;
  bottom: -14px;
  right: 18px;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
  transform: rotate(-8deg);
}
@media (max-width: 640px) {
  .panda-corner-quote {
    top: -32px;
    right: 14px;
    transform: scale(0.85) rotate(6deg);
  }
  .panda-corner-checklist {
    bottom: -12px;
    right: 10px;
    transform: scale(0.82) rotate(-8deg);
  }
}


/* Mobile Responsive Fixes: Stack Quote & Testimonials cleanly */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
@media (max-width: 860px) {
  .split-grid,
  .split-grid.quote-split,
  .quote-split {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px;
  }
  .quote-card-compact {
    padding: 22px 18px;
  }
  .checklist-box {
    padding: 24px 18px;
  }
  .main-section,
  .services-section,
  .checklist-section {
    padding: 42px 0;
  }
  .hero {
    padding: 36px 0 32px;
  }
}


/* Mobile Scroll-to-Top Floating Pill */
.mobile-top-btn {
  display: none;
}
@media (max-width: 820px) {
  .mobile-top-btn {
    position: fixed;
    right: 14px;
    bottom: 68px;
    z-index: 49;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(9, 27, 44, 0.28);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .mobile-top-btn[hidden] {
    display: none;
  }
  .mobile-top-btn:active {
    transform: scale(0.95);
  }
}
