:root {
  --ink: #1c1917;
  --ink-muted: #57534e;
  --surface: #fafaf9;
  --surface-2: #f5f0e8;
  --elevated: #ffffff;
  --line: #e7e5e4;
  --line-strong: #d6d3d1;
  --accent: #2f5d4e;
  --accent-hover: #264a3f;
  --accent-soft: rgba(47, 93, 78, 0.12);
  --accent-warm: #8b5c3d;
  --gold: #b8956c;
  --hero-deep: #1a2822;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 12px 40px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 24px 64px rgba(28, 25, 23, 0.12);
  --space-section: clamp(3rem, 8vw, 5.5rem);
  /* Legacy aliases for inner pages */
  --navy: var(--hero-deep);
  --coral: var(--accent);
  --bg: var(--surface);
  --white: var(--elevated);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--ink);
  line-height: 1.65;
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(250, 250, 249, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 1;
  max-width: 100%;
  line-height: 0;
  color: var(--ink);
}

.logo-mark {
  height: 40px;
  width: auto;
  display: block;
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}

.logo-footer {
  flex: 0 0 auto;
}

.logo-footer .logo-mark text tspan:nth-child(even) {
  fill: #e7e5e4 !important;
}

.logo-footer .logo-mark text tspan:nth-child(odd) {
  fill: #a8c5b8 !important;
}

.menu-toggle {
  border: 1px solid var(--line);
  background: var(--elevated);
  border-radius: 12px;
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
}

.main-nav {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  display: none;
  background: var(--elevated);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 4%;
  flex-direction: column;
  gap: 0.6rem;
}

.main-nav.open {
  display: flex;
}

.nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nav-trigger {
  background: none;
  border: none;
  text-align: left;
  padding: 0;
  font-weight: 600;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.mega-menu {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 0.6rem;
}

.nav-group.open .mega-menu {
  display: flex;
}

.main-nav a {
  font-weight: 600;
  color: var(--ink-muted);
}

.main-nav a:hover {
  color: var(--accent);
}

.header-phone {
  display: none;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.header-phone:hover {
  color: var(--accent-hover);
}

/* —— Hero (homepage) —— */
.home .hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--hero-deep);
  color: #f5f5f4;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 20% 20%, rgba(47, 93, 78, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 70%, rgba(184, 149, 108, 0.12) 0%, transparent 50%),
    linear-gradient(165deg, #1a2822 0%, #141c18 45%, #0f1612 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 10%;
  right: -20%;
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  border: 1px solid rgba(184, 149, 108, 0.22);
  border-radius: 50%;
  opacity: 0.9;
}

.hero-layout {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  padding: clamp(2.75rem, 7vw, 5.25rem) 0 clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr minmax(200px, 0.38fr);
  }
}

.hero-content {
  max-width: 38rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 149, 108, 0.35);
  background: rgba(184, 149, 108, 0.12);
  color: rgba(250, 250, 249, 0.9);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home .hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6.2vw, 3.9rem);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.1rem;
  color: #fafaf9;
  max-width: 13ch;
}

.home .subheadline {
  max-width: 40rem;
  color: rgba(245, 245, 244, 0.82);
  font-size: 1.07rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(250, 250, 249, 0.92);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.9rem 1.35rem;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.home .btn-primary {
  background: #fafaf9;
  color: var(--hero-deep);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.home .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.home .btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fafaf9;
  background: rgba(255, 255, 255, 0.06);
}

.home .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.home .urgency {
  margin: 1.35rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(184, 149, 108, 0.95);
  letter-spacing: 0.02em;
}

.hero-aside {
  display: none;
}

@media (min-width: 900px) {
  .hero-aside {
    display: block;
  }
}

.hero-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 149, 108, 0.5), transparent);
}

.hero-card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(250, 250, 249, 0.55);
  margin: 0 0 0.35rem;
}

.hero-card-phone {
  font-size: 1.65rem;
  font-weight: 600;
  color: #fafaf9;
  display: inline-block;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.hero-card-phone:hover {
  color: #fff;
}

.hero-card-note {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(245, 245, 244, 0.7);
  line-height: 1.55;
}

.hero-card-meta {
  margin: 0.8rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(245, 245, 244, 0.62);
}

/* Inner pages: compact hero */
body:not(.home) .hero {
  background: var(--hero-deep);
  color: #f5f5f4;
  padding: 4.2rem 0 3rem;
}

body:not(.home) .hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3.5rem);
}

body:not(.home) .subheadline {
  color: rgba(245, 245, 244, 0.8);
  max-width: 720px;
  margin-bottom: 1.5rem;
}

body:not(.home) .btn-primary {
  background: #fafaf9;
  color: var(--hero-deep);
}

body:not(.home) .btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

body:not(.home) .urgency {
  color: rgba(184, 149, 108, 0.95);
}

/* —— Trust strip —— */
.trust-bar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.trust-bar-inner span {
  white-space: nowrap;
}

.trust-sep {
  color: var(--line-strong);
  font-weight: 300;
  letter-spacing: 0;
}

/* —— Sections —— */
.section {
  padding: var(--space-section) 0;
}

.section.alt {
  background: var(--surface);
}

.section-light {
  background: var(--surface-2);
}

.section-white {
  background: var(--elevated);
}

.section-dark {
  background: var(--ink);
  color: #e7e5e4;
}

.section-coral {
  background: linear-gradient(180deg, #f0ebe3 0%, var(--surface-2) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  border-left: none;
  padding-left: 0;
  position: relative;
}

.home h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin-top: 0.85rem;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  border-radius: 2px;
}

.home .section-dark h2 {
  color: #fafaf9;
}

.home .section-dark h2::after {
  background: linear-gradient(90deg, var(--gold), rgba(168, 197, 184, 0.8));
}

.home-steps .card h3 {
  color: var(--accent);
  font-size: 1.05rem;
}

.home-steps .card p {
  color: var(--ink-muted);
  margin: 0;
  font-size: 0.98rem;
}

h2 {
  line-height: 1.2;
  margin: 0 0 0.9rem;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

h3 {
  line-height: 1.25;
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
}

.home .card h3 {
  font-family: var(--font-body);
}

.step-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.prose p {
  margin: 0 0 1rem;
}

.prose {
  max-width: 44rem;
}

.card-grid,
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card {
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.card-link:hover {
  border-color: rgba(47, 93, 78, 0.35);
  box-shadow: var(--shadow-md);
}

.pricing {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--ink-muted);
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

/* Pricing table + quote + reviews (homepage) */
.pricing-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.pricing-table th {
  background: var(--ink);
  color: #fafaf9;
  text-align: left;
  padding: 1rem 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pricing-table td {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: var(--elevated);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:nth-child(even) td {
  background: var(--surface);
}

.pricing-cards {
  display: none;
}

.quote-section .quote-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: var(--elevated);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.quote-section .quote-form {
  display: grid;
  gap: 0.9rem;
}

.quote-section .quote-form input,
.quote-section .quote-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: var(--surface);
  color: var(--ink);
}

.quote-section .quote-form input:focus,
.quote-section .quote-form select:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.quote-section .quote-form button {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-top: 0.25rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.quote-section .quote-form button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.quote-section .quote-note {
  text-align: center;
  margin-top: 1.1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.review-card {
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
}

.review-name {
  color: var(--accent);
  font-weight: 600;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.reviews-cta {
  margin-top: 1.25rem;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

@media (min-width: 980px) {
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .hero-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .hero-points span {
    font-size: 0.77rem;
  }

  .pricing-table-wrap {
    display: none;
  }

  .pricing-cards {
    display: grid;
    gap: 0.85rem;
  }

  .pricing-card {
    background: var(--elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1rem 1.15rem;
    box-shadow: var(--shadow-sm);
  }

  .pricing-card .label {
    display: block;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.92rem;
  }

  .pricing-card .value {
    color: var(--accent);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }

  .quote-section .quote-wrap {
    padding: 1.5rem;
  }
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  background: var(--elevated);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-body);
}

.about-panel {
  max-width: 44rem;
  margin: 0 auto;
  background: linear-gradient(145deg, #292524 0%, #1c1917 100%);
  color: #e7e5e4;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-lg);
}

.about-panel h2 {
  color: #fafaf9;
  margin-bottom: 1rem;
}

.about-panel h2::after {
  display: none;
}

.about-panel p:last-child {
  margin-bottom: 0;
}

/* —— Footer —— */
.site-footer {
  background: #1c1917;
  color: #d6d3d1;
  padding: 2.5rem 0 5.75rem;
  font-size: 0.98rem;
}

.site-footer a {
  color: #a8c5b8;
}

.site-footer a:hover {
  color: #fafaf9;
}

.site-footer strong {
  color: #fafaf9;
}

/* —— Mobile CTA —— */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
}

.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 1.05rem 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  white-space: nowrap;
}

.mobile-cta a:first-child {
  background: var(--accent);
}

.mobile-cta a:last-child {
  background: var(--ink);
}

/* —— Desktop nav —— */
@media (min-width: 980px) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    display: flex !important;
    position: static;
    border: 0;
    padding: 0;
    flex-direction: row;
    gap: 1.1rem;
    background: transparent;
    align-items: center;
  }

  .nav-group {
    position: relative;
  }

  .nav-group .mega-menu {
    position: absolute;
    top: 125%;
    left: 0;
    min-width: 280px;
    padding: 0.85rem;
    background: var(--elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }

  .nav-group:hover .mega-menu {
    display: flex;
  }

  .header-phone {
    display: inline-flex;
    margin-left: auto;
  }

  .card-grid,
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mobile-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 767px) {
  .logo-mark {
    height: 32px;
  }
}

/* Non-home h2 accent bar (inner pages) */
body:not(.home) h2 {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}
