:root {
  /* Neutrals — warm plaster tones */
  --ink: #17130d;
  --ink-soft: #3a352c;
  --muted: #756e61;
  --paper: #f6f1e9;
  --cream: #fffdf8;
  --plaster: #efe9dd;
  --surface: #ffffff;
  --line: rgba(23, 19, 13, 0.1);
  --line-soft: rgba(23, 19, 13, 0.06);

  /* Brand accents */
  --orange: #f26a1b;
  --orange-deep: #d5551a;
  --amber: #ffb454;
  --teal: #12a594;
  --teal-deep: #0b6b60;
  --lime: #d3e24f;

  /* Gradients */
  --grad-warm: linear-gradient(135deg, #ffa24d 0%, #f26a1b 52%, #d5551a 100%);
  --grad-ink: linear-gradient(160deg, #211b12 0%, #14100b 100%);
  --grad-text: linear-gradient(120deg, #f26a1b 0%, #ffb454 100%);

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(23, 19, 13, 0.06);
  --shadow-md: 0 14px 40px rgba(23, 19, 13, 0.1);
  --shadow-lg: 0 30px 80px rgba(23, 19, 13, 0.16);
  --shadow-glow: 0 18px 44px rgba(242, 106, 27, 0.32);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Theming surfaces (overridden in dark mode) */
  --surface-2: #f4f1ea;
  --input-bg: #faf8f3;
  --header-bg: rgba(255, 253, 248, 0.72);
  --header-bg-solid: rgba(255, 253, 248, 0.9);
  --ghost-bg: rgba(255, 255, 255, 0.65);
  --glass-bg: rgba(255, 255, 255, 0.68);
  --glass-border: rgba(255, 255, 255, 0.7);
  --switch-off: #d6d1c5;
  --feature-icon-bg: linear-gradient(135deg, #e6f4f0, #d3ece6);
  --hero-shade:
    linear-gradient(
      90deg,
      rgba(246, 241, 233, 0.97) 0%,
      rgba(246, 241, 233, 0.9) 34%,
      rgba(246, 241, 233, 0.35) 62%,
      rgba(23, 19, 13, 0.06) 100%
    ),
    linear-gradient(180deg, rgba(23, 19, 13, 0.05), rgba(23, 19, 13, 0.2));
  --hero-shade-mobile:
    linear-gradient(180deg, rgba(246, 241, 233, 0.98) 0%, rgba(246, 241, 233, 0.84) 50%, rgba(246, 241, 233, 0.42) 100%),
    rgba(246, 241, 233, 0.2);
}

[data-theme="dark"] {
  --ink: #f4eee4;
  --ink-soft: #d7cfc1;
  --muted: #9c9385;
  --paper: #131009;
  --cream: #fffdf8;
  --plaster: #191510;
  --surface: #1e1a13;
  --line: rgba(255, 255, 255, 0.11);
  --line-soft: rgba(255, 255, 255, 0.06);

  /* Brighter accents for readable text on dark surfaces */
  --teal-deep: #46cfbc;
  --orange-deep: #ff8a4d;

  --surface-2: #241f18;
  --input-bg: #221e17;
  --header-bg: rgba(30, 26, 19, 0.72);
  --header-bg-solid: rgba(30, 26, 19, 0.92);
  --ghost-bg: rgba(255, 255, 255, 0.06);
  --glass-bg: rgba(30, 26, 19, 0.6);
  --glass-border: rgba(255, 255, 255, 0.12);
  --switch-off: #3c362c;
  --feature-icon-bg: linear-gradient(135deg, #143d38, #0f2f2b);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);

  --hero-shade:
    linear-gradient(
      90deg,
      rgba(19, 16, 9, 0.96) 0%,
      rgba(19, 16, 9, 0.88) 36%,
      rgba(19, 16, 9, 0.45) 64%,
      rgba(19, 16, 9, 0.1) 100%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
  --hero-shade-mobile:
    linear-gradient(180deg, rgba(19, 16, 9, 0.97) 0%, rgba(19, 16, 9, 0.86) 50%, rgba(19, 16, 9, 0.5) 100%),
    rgba(0, 0, 0, 0.2);
}

html {
  color-scheme: light;
}

[data-theme="dark"] {
  color-scheme: dark;
}

/* Dark-mode component tweaks */
[data-theme="dark"] .nav-cta,
[data-theme="dark"] .brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .segmented input:checked + span {
  background: var(--grad-warm);
  color: #fff;
}

[data-theme="dark"] .hero-estimate {
  background: rgba(15, 12, 7, 0.86);
}

[data-theme="dark"] .hero-image {
  filter: brightness(0.8);
}

[data-theme="dark"] .case-shot {
  filter: brightness(0.85);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

body::selection {
  color: var(--ink);
  background: var(--lime);
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: -0.03em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad-warm);
  box-shadow: 0 0 14px rgba(242, 106, 27, 0.6);
  transition: width 0.1s linear;
}

/* Reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  z-index: 40;
  top: 16px;
  left: 50%;
  width: min(1200px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 10px 10px 16px;
  background: var(--header-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow:
    0 10px 30px rgba(23, 19, 13, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(140%);
  transition:
    top 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease);
}

.site-header.is-scrolled {
  top: 10px;
  background: var(--header-bg-solid);
  box-shadow: var(--shadow-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--cream);
  background: var(--grad-ink);
  border-radius: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-weight: 700;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.74rem;
}

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

.desktop-nav a {
  position: relative;
  padding: 9px 14px;
  color: var(--ink-soft);
  font-weight: 500;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.desktop-nav a:hover {
  color: var(--ink);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.desktop-nav a.is-active {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}

.nav-cta {
  color: var(--cream);
  background: var(--grad-ink);
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button svg,
.nav-cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}

.button.primary:hover svg,
.nav-cta:hover svg {
  transform: translateX(3px);
}

.button.primary {
  color: #fff;
  background: var(--grad-warm);
  box-shadow: var(--shadow-glow);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(242, 106, 27, 0.4);
}

.button.ghost {
  color: var(--ink);
  background: var(--ghost-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.button.ghost:hover {
  transform: translateY(-2px);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.button.full {
  width: 100%;
}

/* Theme toggle */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--ink);
  background: var(--ghost-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background 0.25s ease,
    color 0.25s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  background: var(--surface);
}

.theme-toggle svg {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    opacity 0.3s var(--ease),
    transform 0.4s var(--ease);
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--ghost-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 39;
  top: 74px;
  left: 50%;
  width: min(1200px, calc(100% - 28px));
  transform: translateX(-50%) translateY(-12px);
  display: grid;
  gap: 6px;
  padding: 14px;
  background: var(--header-bg-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mobile-menu a:not(.button) {
  padding: 13px 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.mobile-menu a:not(.button):hover {
  background: rgba(242, 106, 27, 0.08);
}

.mobile-menu .button {
  margin-top: 6px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 800px;
  isolation: isolate;
  overflow: hidden;
  background: #d9d2c5;
}

.hero-image,
.hero-shade,
.hero-aurora {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
  transform: scale(1.04);
}

.hero-shade {
  z-index: -2;
  background: var(--hero-shade);
}

.hero-aurora {
  z-index: -1;
  filter: blur(60px);
  opacity: 0.55;
}

.hero-aurora .blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.blob-1 {
  top: -6%;
  left: -4%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(242, 106, 27, 0.55), transparent 70%);
  animation: float1 16s ease-in-out infinite;
}

.blob-2 {
  bottom: -12%;
  left: 22%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(18, 165, 148, 0.4), transparent 70%);
  animation: float2 20s ease-in-out infinite;
}

.blob-3 {
  top: 12%;
  right: 8%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 180, 84, 0.45), transparent 70%);
  animation: float3 18s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 30px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-36px, -24px); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-28px, 34px); }
}

.hero-inner {
  width: min(1200px, calc(100% - 28px));
  min-height: 800px;
  margin: 0 auto;
  padding: 150px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 400px);
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-copy {
  max-width: 640px;
  animation: rise 0.9s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 7px 14px 7px 12px;
  color: var(--teal-deep);
  background: rgba(18, 165, 148, 0.1);
  border: 1px solid rgba(18, 165, 148, 0.2);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(18, 165, 148, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(18, 165, 148, 0.2); }
  50% { box-shadow: 0 0 0 7px rgba(18, 165, 148, 0.08); }
}

h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  line-height: 0.98;
}

h1 .accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-text {
  max-width: 540px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 10px 16px 10px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.rating-stars {
  color: var(--amber);
  font-size: 1rem;
  letter-spacing: 2px;
}

.rating-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.rating-copy strong {
  font-size: 0.94rem;
}

.rating-copy span {
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin: 40px 0 0;
}

.hero-metrics div {
  min-height: 100px;
  padding: 18px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.hero-metrics div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.hero-metrics dt {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-metrics dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Hero estimate card */
.hero-estimate {
  align-self: center;
  padding: 26px;
  background: rgba(20, 16, 11, 0.82);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  animation: rise 1s var(--ease) 0.15s both;
}

.estimate-head,
.estimate-line,
.estimate-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.estimate-head {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.estimate-head strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.estimate-head span,
.estimate-line span,
.estimate-total span {
  color: rgba(255, 253, 248, 0.66);
}

.estimate-line {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.estimate-line strong {
  font-weight: 600;
}

.estimate-total {
  padding-top: 18px;
}

.estimate-total strong {
  font-family: "Space Grotesk", sans-serif;
  color: var(--lime);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-estimate p {
  margin: 16px 0 0;
  color: rgba(255, 253, 248, 0.6);
  font-size: 0.86rem;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--grad-ink);
  color: var(--cream);
  overflow: hidden;
}

.trust-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at 20% 0%,
    rgba(242, 106, 27, 0.14),
    transparent 60%
  );
  pointer-events: none;
}

.strip-item {
  position: relative;
  min-height: 132px;
  padding: 28px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.strip-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.strip-item strong,
.strip-item span {
  display: block;
}

.strip-item strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
}

.strip-item span {
  margin-top: 8px;
  color: rgba(255, 253, 248, 0.6);
  font-size: 0.92rem;
}

/* ---------- Sections ---------- */
.section {
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
  padding: 104px 0;
}

#calculator,
#price,
#process,
#cases,
#lead {
  scroll-margin-top: 100px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-heading .eyebrow {
  color: var(--orange-deep);
  background: rgba(242, 106, 27, 0.1);
  border-color: rgba(242, 106, 27, 0.2);
}

.section-heading h2,
.lead-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.03;
}

.section-heading p:not(.eyebrow),
.lead-copy p {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.feature-card {
  position: relative;
  min-height: 268px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--teal-deep);
  background: var(--feature-icon-bg);
  border-radius: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.feature-card h3,
.timeline h3,
.case-body h3 {
  margin: 24px 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.feature-card p,
.timeline p,
.case-body p {
  margin: 0;
  color: var(--muted);
}

/* Calculator & process shared band */
.calculator-section,
.process-section {
  position: relative;
  width: 100%;
  background: var(--plaster);
  padding-block: 104px;
  padding-inline: max(14px, calc((100% - 1200px) / 2));
  overflow: hidden;
}

.calculator-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(242, 106, 27, 0.12), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.calculator-section .section-heading,
.process-section .section-heading {
  width: min(780px, 100%);
}

.calculator {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.calc-form,
.calc-result {
  padding: 34px;
}

.calc-form {
  display: grid;
  gap: 24px;
}

.field {
  display: grid;
  gap: 12px;
}

.field span,
.segmented legend,
.switch span:last-child,
.lead-form span {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.field input[type="number"],
.lead-form input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input[type="number"]:focus,
.lead-form input:focus {
  background: var(--surface);
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 106, 27, 0.14);
}

input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  border-radius: 999px;
  outline: 0;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: #fff;
  border: 3px solid var(--orange);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  box-shadow: 0 0 0 6px rgba(242, 106, 27, 0.16);
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: #fff;
  border: 3px solid var(--orange);
  border-radius: 50%;
  cursor: pointer;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.segmented legend {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.segmented label {
  min-width: 0;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: grid;
  min-height: 48px;
  place-items: center;
  padding: 0 8px;
  font-weight: 500;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.segmented span:hover {
  border-color: rgba(242, 106, 27, 0.5);
}

.segmented input:checked + span {
  color: #fff;
  background: var(--grad-ink);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.segmented input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(242, 106, 27, 0.2);
}

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

.switch {
  display: inline-grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-ui {
  position: relative;
  width: 50px;
  height: 29px;
  background: var(--switch-off);
  border-radius: 999px;
  transition: background 0.25s ease;
}

.switch-ui::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 21px;
  height: 21px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(23, 19, 13, 0.2);
  transition: transform 0.25s var(--ease);
}

.switch input:checked + .switch-ui {
  background: var(--teal);
}

.switch input:checked + .switch-ui::after {
  transform: translateX(21px);
}

/* Calc result panel */
.calc-result {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: var(--cream);
  background: var(--grad-ink);
  overflow: hidden;
}

.calc-result::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(242, 106, 27, 0.35), transparent 70%);
  pointer-events: none;
}

.result-label {
  position: relative;
  color: rgba(255, 253, 248, 0.6);
  font-weight: 600;
}

.result-total {
  position: relative;
  display: block;
  margin-top: 12px;
  font-family: "Space Grotesk", sans-serif;
  background: linear-gradient(120deg, #d3e24f, #ffb454);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.result-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.result-meta span {
  padding: 8px 12px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.86rem;
}

.breakdown {
  position: relative;
  margin: 30px 0 0;
}

.breakdown div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.breakdown dt {
  color: rgba(255, 253, 248, 0.62);
}

.breakdown dd {
  margin: 0;
  font-weight: 700;
}

.calc-result > p {
  position: relative;
  margin: 24px 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 0.9rem;
}

.calc-result .button {
  position: relative;
  margin-top: auto;
}

/* ---------- Price table ---------- */
.price-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.price-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.5fr;
  gap: 20px;
  align-items: center;
  min-height: 74px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.price-row:not(.price-head):hover {
  background: rgba(242, 106, 27, 0.04);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span[role="cell"]:first-child {
  font-weight: 600;
  color: var(--ink);
}

.price-head {
  min-height: 54px;
  color: var(--muted);
  background: var(--surface-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-row strong {
  font-family: "Space Grotesk", sans-serif;
  color: var(--teal-deep);
  font-size: 1.14rem;
  text-align: right;
  letter-spacing: -0.02em;
}

.note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  min-height: 240px;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.timeline li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--grad-warm);
  border-radius: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

/* ---------- Cases ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.case-shot {
  height: 230px;
  background-image:
    linear-gradient(180deg, rgba(23, 19, 13, 0), rgba(23, 19, 13, 0.2)),
    url("site-assets/hero-plaster.png");
  background-size: cover;
  transition: transform 0.6s var(--ease);
}

.case-card:hover .case-shot {
  transform: scale(1.06);
}

.case-shot-one {
  background-position: 48% 48%;
}

.case-shot-two {
  background-position: 18% 76%;
}

.case-shot-three {
  background-position: 82% 42%;
}

.case-body {
  padding: 24px;
}

.case-body h3 {
  margin-top: 0;
}

.case-body strong {
  display: inline-block;
  margin-top: 18px;
  font-family: "Space Grotesk", sans-serif;
  color: var(--teal-deep);
  font-size: 1.26rem;
  letter-spacing: -0.02em;
}

/* ---------- Reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.review-stars {
  color: var(--amber);
  font-size: 1.05rem;
  letter-spacing: 3px;
}

.review-card blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.62;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
}

.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.avatar-1 {
  background: linear-gradient(135deg, #ff9a4d, #f26a1b);
}

.avatar-2 {
  background: linear-gradient(135deg, #17c0ad, #0b6b60);
}

.avatar-3 {
  background: linear-gradient(135deg, #7d74ff, #a45cff);
}

.author-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.author-meta strong {
  font-size: 0.98rem;
}

.author-meta small {
  color: var(--muted);
  font-size: 0.84rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(242, 106, 27, 0.45);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  letter-spacing: -0.02em;
}

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

.faq-item summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -3px;
  border-radius: var(--radius);
}

.faq-mark {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(242, 106, 27, 0.1);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

.faq-item[open] .faq-mark {
  transform: rotate(180deg);
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s var(--ease);
}

.faq-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-mark::after {
  opacity: 0;
}

.faq-answer {
  padding: 0 26px 24px;
}

.faq-answer p {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
}

.faq-item[open] .faq-answer {
  animation: faqReveal 0.35s var(--ease);
}

@keyframes faqReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Lead ---------- */
.lead-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 440px);
  gap: 56px;
  width: min(1200px, calc(100% - 28px));
  margin: 32px auto 0;
  padding: 64px;
  color: var(--cream);
  background:
    linear-gradient(100deg, rgba(20, 16, 11, 0.96), rgba(20, 16, 11, 0.78)),
    url("site-assets/hero-plaster.png");
  background-position: center;
  background-size: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.lead-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(242, 106, 27, 0.35), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.lead-copy {
  position: relative;
  align-self: center;
}

.lead-copy .eyebrow {
  color: var(--lime);
  background: rgba(211, 226, 79, 0.12);
  border-color: rgba(211, 226, 79, 0.25);
}

.lead-copy p {
  color: rgba(255, 253, 248, 0.7);
}

.lead-form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
  padding: 40px 0 44px;
  color: var(--muted);
}

.site-footer a {
  color: var(--teal-deep);
  font-weight: 600;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .desktop-nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 120px;
    align-items: start;
  }

  .hero-shade {
    background: var(--hero-shade-mobile);
  }

  .hero-metrics,
  .trust-strip,
  .feature-grid,
  .calculator,
  .timeline,
  .case-grid,
  .review-grid,
  .lead-section {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .case-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strip-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .strip-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 80px 0;
  }

  .calculator-section,
  .process-section {
    padding-block: 80px;
    padding-inline: 16px;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 20px);
    gap: 10px;
    padding: 8px 8px 8px 12px;
  }

  .brand small {
    display: none;
  }

  .hero-inner {
    width: calc(100% - 24px);
    padding: 104px 0 36px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .hero-metrics div:first-child {
    grid-column: 1 / -1;
  }

  .feature-grid,
  .case-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .hero-estimate,
  .calc-form,
  .calc-result,
  .lead-form {
    padding: 22px;
  }

  .segmented,
  .form-row,
  .price-row {
    grid-template-columns: 1fr;
  }

  .segmented span {
    justify-content: start;
    padding-left: 16px;
  }

  .price-row {
    gap: 6px;
    min-height: 0;
    padding: 16px 20px;
  }

  .price-head {
    display: none;
  }

  .price-row strong {
    text-align: left;
  }

  .section {
    width: calc(100% - 24px);
    padding: 64px 0;
  }

  .lead-section {
    width: calc(100% - 24px);
    padding: 28px;
    margin-top: 8px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 24px);
  }
}
