/* ==========================================================================
   Cleaning by Cleici — styles
   Palette: layered colored paper — sand (bg) · terracotta (clay) · olive ·
            forest (brand) · yellow (single pop accent)
   Type:    Bricolage Grotesque (display) · Figtree (body)
   ========================================================================== */

/* Sampled from the reference photo: cardstock sheets on a studio-gray backdrop */
:root {
  --sand: #DDD9CF;
  --paper: #EFEDE3;
  --terracotta: #BC8A6E;
  --olive: #8E9A76;
  --olive-soft: #D6DCC6;
  --olive-mist: #C6CEB0;
  --sky: #9BBFD6;
  --forest: #16362C;
  --forest-deep: #0F241C;
  --yellow: #D9D825;
  --white: #FBFAF4;
  --ink: #1F221C;
  --ink-soft: #5A5D52;
  --line: #C9C6BB;
  --line-strong: #ABA89A;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-full: 999px;

  /* Directional paper shadows — light from the top-left, cool slate like the reference */
  --shadow-sm: 2px 3px 7px rgba(58, 66, 82, 0.1), 7px 12px 26px rgba(58, 66, 82, 0.11);
  --shadow-lg: 4px 6px 14px rgba(58, 66, 82, 0.12), 20px 34px 70px rgba(58, 66, 82, 0.22);

  --space-section: clamp(4rem, 9vw, 7rem);
  --container: 72rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
}

/* Faint paper-grain overlay for a tactile cardstock feel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.26;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

input, button, select, textarea { font: inherit; color: inherit; }

a { color: var(--forest); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--forest-deep);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.6vw + 1rem, 4.35rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 2.6vw + 1rem, 2.75rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }

p { text-wrap: pretty; }

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container-narrow { max-width: 50rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--forest-deep);
  color: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--yellow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.btn svg { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover { background: var(--forest-deep); box-shadow: var(--shadow-lg); }

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--line-strong);
}

.btn-ghost:hover { border-color: var(--forest); background: var(--olive-soft); }

.btn-sun {
  background: var(--yellow);
  color: var(--forest-deep);
}

.btn-sun:hover { background: #C9C81C; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn-sm { min-height: 2.6rem; padding: 0.45rem 1.2rem; font-size: 0.9375rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(219, 217, 211, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--forest-deep);
}

.wordmark-badge {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  background: var(--forest);
  color: var(--yellow);
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(251, 250, 244, 0.2),
    inset 0 -2px 3px rgba(0, 0, 0, 0.28),
    1px 2px 4px rgba(58, 66, 82, 0.25);
}

.wordmark-badge svg { width: 1.35rem; height: 1.35rem; }

.wordmark-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-links { display: none; gap: 1.75rem; }

.nav-links a {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 180ms ease;
}

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

@media (min-width: 48rem) {
  .nav-links { display: flex; }
}

@media (max-width: 22.5rem) {
  .nav { gap: 0.5rem; }
  .wordmark-badge { width: 2rem; height: 2rem; }
  .wordmark-text { font-size: 0.875rem; }
  .nav .btn-sm { padding-inline: 0.8rem; font-size: 0.875rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(4rem, 8vw, 6.5rem);
}

/* Background video: poster-only on phones and under reduced motion (see script.js) */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--sand) url("assets/hero-poster.jpg") center / cover no-repeat;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dense only behind the headline (left), near-transparent over the footage (right) */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(219, 217, 211, 0.92) 0%, rgba(219, 217, 211, 0.75) 34%, rgba(219, 217, 211, 0.38) 64%, rgba(219, 217, 211, 0.08) 100%),
    linear-gradient(180deg, rgba(22, 54, 44, 0.1) 0%, rgba(219, 217, 211, 0) 28%, rgba(219, 217, 211, 0) 70%, var(--sand) 98%);
}

/* Narrow screens: text spans the full width — denser wash behind the headline, footage clear below */
@media (max-width: 47.99rem) {
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(219, 217, 211, 0.86) 0%, rgba(219, 217, 211, 0.66) 45%, rgba(219, 217, 211, 0.34) 74%, var(--sand) 96%);
  }
}

/* Soft paper-tone halo keeps the headline legible over the lighter scrim */
.hero h1,
.hero-sub {
  text-shadow: 0 1px 2px rgba(219, 217, 211, 0.9), 0 2px 26px rgba(219, 217, 211, 0.7);
}

.hero-sparkles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  width: clamp(1.1rem, 2.2vw, 1.75rem);
  height: auto;
}

.sparkle-1 { top: 16%; right: 12%; }
.sparkle-2 { top: 52%; right: 30%; width: clamp(0.8rem, 1.4vw, 1.1rem); opacity: 0.85; }
.sparkle-3 { top: 30%; right: 44%; width: clamp(0.7rem, 1.2vw, 1rem); opacity: 0.5; }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 72rem;
}

.hero h1 {
  max-width: 15ch;
  margin-top: 1.1rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--forest);
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-size: 100% 0.13em;
  background-position: 0 94%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-sub {
  max-width: 34rem;
  margin-top: 1.4rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
  margin-top: 2.6rem;
  padding: 0;
  list-style: none;
}

.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(242, 236, 221, 0.92);
  box-shadow: 1px 2px 5px rgba(58, 66, 82, 0.16);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.trust-chips svg { width: 1rem; height: 1rem; color: var(--forest); }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }

.section-tint { background: linear-gradient(180deg, var(--paper) 0%, var(--sand) 100%); }

/* Terracotta paper block — headings/text switch to deep forest for contrast */
.section-terracotta { background: linear-gradient(180deg, var(--terracotta) 0%, #B2825F 100%); }

/* Clay and sage sections sit on the backdrop like cut sheets of cardstock */
.section-terracotta,
.section-olive {
  margin-inline: clamp(0.75rem, 2.5vw, 2.5rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.section-terracotta h2,
.section-terracotta .eyebrow,
.section-terracotta .placeholder-note,
.section-terracotta .placeholder-note::before { color: var(--forest-deep); }

.section-terracotta .placeholder-box {
  border-color: rgba(15, 36, 28, 0.4);
  background: repeating-linear-gradient(-45deg, rgba(239, 237, 227, 0.4) 0 14px, rgba(239, 237, 227, 0.24) 14px 28px);
}

/* Sage paper block — the green card from the reference */
.section-olive { background: linear-gradient(180deg, var(--olive) 0%, #85906C 100%); }

.section-olive h2,
.section-olive .eyebrow,
.section-olive .about-text > p:last-child,
.section-olive .placeholder-note,
.section-olive .placeholder-note::before { color: var(--forest-deep); }

.section-olive .placeholder-box {
  border-color: rgba(15, 36, 28, 0.4);
  background: repeating-linear-gradient(-45deg, rgba(239, 237, 227, 0.4) 0 14px, rgba(239, 237, 227, 0.24) 14px 28px);
}

.section-head { max-width: 42rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }

.section-head h2 { margin-top: 0.9rem; }

.section-sub {
  margin-top: 0.9rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: 1.1rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-full);
  background: var(--sky);
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow:
    inset 1px 2px 3px rgba(58, 66, 82, 0.3),
    inset -1px -2px 2px rgba(255, 255, 255, 0.45);
}

.step:last-child .step-num { background: var(--yellow); color: var(--forest-deep); }

.step h3 { margin-bottom: 0.4rem; }

.step p { color: var(--ink-soft); font-size: 0.975rem; }

@media (min-width: 40rem) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64rem) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.service-card-deep {
  background: linear-gradient(160deg, #EDDCCC 0%, var(--paper) 55%);
}

.service-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.6rem;
}

.service-price {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.service-price strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--forest-deep);
}

.service-desc { color: var(--ink-soft); margin-bottom: 1.2rem; }

.checklist-lead {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.4rem;
}

.checklist {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  list-style: none;
  margin-bottom: 1.4rem;
}

.checklist li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.985rem;
}

.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--yellow);
  transform: rotate(45deg) translateY(-1px);
}

@media (min-width: 30rem) {
  .checklist { grid-template-columns: 1fr 1fr; }
}

.service-foot {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.addons {
  margin-top: 1.25rem;
  padding: clamp(1.4rem, 3vw, 1.9rem) clamp(1.6rem, 3vw, 2.25rem);
  background: var(--olive-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.addons h3 { font-size: 1.1rem; }

.addons-note {
  font-size: 0.925rem;
  color: var(--ink-soft);
  margin: 0.2rem 0 0.9rem;
}

.addons-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.addons-list li {
  padding: 0.45rem 1rem;
  background: var(--paper);
  border-radius: var(--radius-full);
  box-shadow: 1px 2px 4px rgba(58, 66, 82, 0.14);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Estimate calculator ---------- */
.calc {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 60rem) {
  .calc { grid-template-columns: 1.15fr 1fr; }
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.calc-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 30rem) {
  .calc-row { grid-template-columns: 1fr 1fr; }
}

.stepper label,
.segmented legend,
.freq legend {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.6rem;
  color: var(--forest-deep);
}

.stepper-controls {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper);
}

.step-btn {
  display: grid;
  place-items: center;
  width: 3rem;
  min-height: 3rem;
  border: 0;
  background: var(--olive-soft);
  color: var(--forest);
  cursor: pointer;
  transition: background-color 160ms ease;
}

.step-btn:hover { background: var(--olive-mist); }

.step-btn svg { width: 1.1rem; height: 1.1rem; }

.stepper-controls input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--forest-deep);
  background: var(--paper);
  -moz-appearance: textfield;
  appearance: textfield;
}

.stepper-controls input::-webkit-outer-spin-button,
.stepper-controls input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper-controls input:focus-visible { outline-offset: -3px; }

.segmented { border: 0; padding: 0; }

.segmented-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.35rem;
  background: var(--olive-soft);
  border-radius: var(--radius-md);
}

.segment { position: relative; }

.segment input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.segment span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border-radius: 10px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.segment input:checked + span {
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.segment input:focus-visible + span {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

.field-hint {
  margin-top: 0.55rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.freq { border: 0; padding: 0; }

.freq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

@media (min-width: 40rem) {
  .freq-grid { grid-template-columns: repeat(4, 1fr); }
}

.freq-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.95rem 0.9rem 0.85rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--paper);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.freq-card:hover { border-color: var(--forest); }

.freq-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.freq-card:has(input:checked) {
  border-color: var(--forest);
  background: var(--olive-soft);
  box-shadow: inset 0 0 0 1px var(--forest);
}

.freq-card:has(input:focus-visible) {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

.freq-name {
  font-weight: 700;
  font-size: 0.985rem;
  color: var(--forest-deep);
}

.freq-tag {
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.freq-save {
  font-weight: 600;
  color: var(--forest);
}

.freq-badge {
  position: absolute;
  top: -0.7rem;
  left: 0.75rem;
  padding: 0.15rem 0.6rem;
  background: var(--yellow);
  color: var(--forest-deep);
  border-radius: var(--radius-full);
  box-shadow:
    inset 0 1px 2px rgba(58, 66, 82, 0.25),
    1px 2px 3px rgba(58, 66, 82, 0.2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Estimate panel */
.calc-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(1.8rem, 3vw, 2.4rem);
  background: linear-gradient(165deg, var(--forest) 0%, var(--forest-deep) 78%);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.calc-panel-sweep {
  position: absolute;
  top: -40%;
  right: -30%;
  width: 80%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(217, 216, 37, 0.13), transparent 70%);
  pointer-events: none;
}

.panel-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.panel-price {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  margin-top: 0.9rem;
  overflow: hidden;
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.panel-currency { font-size: 2rem; color: rgba(255, 255, 255, 0.75); }

.panel-value {
  font-size: clamp(4rem, 8vw, 5.25rem);
  font-variant-numeric: tabular-nums;
}

/* “Just-cleaned” shine sweeping across the price when it changes */
.panel-price::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-130%) skewX(-18deg);
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.5) 50%, transparent 80%);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .panel-price.shine::after { animation: shine 650ms ease-out; }
}

@keyframes shine {
  from { transform: translateX(-130%) skewX(-18deg); }
  to { transform: translateX(130%) skewX(-18deg); }
}

.panel-meta {
  margin-top: 0.7rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.panel-savings {
  margin-top: 0.45rem;
  min-height: 1.5rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--yellow);
}

.panel-rule {
  margin-block: 1.4rem 1.2rem;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.panel-note {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.panel-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

@media (min-width: 26rem) {
  .panel-ctas { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Before / after + placeholders ---------- */
.placeholder-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: repeating-linear-gradient(-45deg, var(--paper) 0 14px, #E8E5D8 14px 28px);
}

.placeholder-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 26rem;
  margin-inline: auto;
}

.placeholder-note::before {
  content: "Placeholder";
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
}

.placeholder-inline {
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--yellow);
  background: var(--paper);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.ba-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 40rem) {
  .ba-grid { grid-template-columns: 1fr 1fr; }
}

.ba-frame {
  aspect-ratio: 4 / 3;
  position: relative;
  margin: 0;
}

.ba-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.9rem;
  background: var(--forest-deep);
  color: var(--white);
  border-radius: var(--radius-full);
  box-shadow:
    inset 0 1px 0 rgba(251, 250, 244, 0.18),
    1px 2px 4px rgba(58, 66, 82, 0.3);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ba-label-after { background: var(--yellow); color: var(--forest-deep); }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card { min-height: 11rem; margin: 0; }

/* ---------- About ---------- */
.about {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 48rem) {
  .about { grid-template-columns: 2fr 3fr; gap: 3.5rem; }
}

.about-photo { aspect-ratio: 4 / 5; max-width: 24rem; }

.about-text h2 { margin: 0.9rem 0 1.2rem; }

.about-text > p:last-child { color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--forest-deep);
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-md);
}

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

.faq-chevron {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  color: var(--forest);
  transition: transform 220ms ease;
}

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

.faq-item > p {
  padding: 0 1.3rem 1.2rem;
  color: var(--ink-soft);
}

/* ---------- Contact form ---------- */
.section-contact {
  background: linear-gradient(180deg, var(--sand) 0%, var(--olive-mist) 130%);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: clamp(1.6rem, 3.5vw, 2.5rem);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 34rem) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.4rem;
  color: var(--forest-deep);
}

.optional { font-weight: 400; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea { resize: vertical; min-height: 5rem; }

.field input::placeholder,
.field textarea::placeholder { color: #97948A; }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(217, 216, 37, 0.6);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%2316362C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.1rem;
  padding-right: 2.6rem;
}

.form-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.4rem;
}

.form-direct {
  font-size: 0.925rem;
  color: var(--ink-soft);
}

.form-direct a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.82);
  padding-block: 3rem 1.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-brand p { margin-top: 0.8rem; font-size: 0.925rem; }

.wordmark-light { color: var(--white); }

.wordmark-light .wordmark-badge { background: rgba(255, 255, 255, 0.12); color: var(--yellow); }

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.925rem;
}

.footer-info a { color: var(--white); font-weight: 600; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Compact mobile rhythm ---------- */
@media (max-width: 47.99rem) {
  :root { --space-section: 3rem; }

  body { font-size: 1rem; }

  .hero { padding-block: 3.25rem 2.75rem; }
  .hero h1 { font-size: clamp(2.1rem, 8.5vw, 2.5rem); }
  .hero-sub { margin-top: 1rem; font-size: 1.05rem; }
  .hero-ctas { margin-top: 1.5rem; gap: 0.6rem; }
  .trust-chips { margin-top: 1.75rem; gap: 0.45rem 0.5rem; }
  .trust-chips li { padding: 0.4rem 0.85rem; font-size: 0.85rem; }

  h2 { font-size: clamp(1.6rem, 6.5vw, 1.85rem); }
  .section-head { margin-bottom: 1.75rem; }
  .section-sub { margin-top: 0.6rem; font-size: 1rem; }

  .steps { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .step { padding: 1.15rem 1.1rem 1.1rem; }
  .step-num { width: 2.1rem; height: 2.1rem; margin-bottom: 0.7rem; font-size: 1rem; }
  .step h3 { font-size: 1.1rem; }
  .step p { font-size: 0.9rem; }

  .services-grid, .ba-grid, .reviews-grid { gap: 0.8rem; }
  .service-card { padding: 1.25rem 1.15rem; }
  .checklist { gap: 0.35rem; }
  .addons { margin-top: 0.8rem; padding: 1.15rem; }

  .calc { gap: 0.9rem; }
  .calc-controls { padding: 1.25rem 1.1rem; gap: 1.15rem; }
  .calc-panel { padding: 1.4rem 1.25rem; }
  .panel-value { font-size: 3.4rem; }
  .panel-rule { margin-block: 1rem 0.9rem; }
  .panel-ctas { margin-top: 1.1rem; }

  .about { gap: 1.25rem; }
  .about-photo { aspect-ratio: 3 / 2; max-width: none; }
  .review-card { min-height: 7rem; }

  .faq-list { gap: 0.5rem; }
  .faq-item summary { padding: 0.85rem 1.05rem; font-size: 1rem; }
  .faq-item > p { padding: 0 1.05rem 1rem; }

  .quote-form { padding: 1.25rem 1.1rem; gap: 0.9rem; }
  .form-row { gap: 0.9rem; }

  .site-footer { padding-block: 2.25rem 1.25rem; }
  .footer-inner { gap: 1.25rem; padding-bottom: 1.5rem; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  html.js .reveal.in-view {
    opacity: 1;
    transform: none;
  }

  .sparkle { animation: twinkle 4.5s ease-in-out infinite; }
  .sparkle-2 { animation-delay: 1.4s; }
  .sparkle-3 { animation-delay: 2.6s; }

  @keyframes twinkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
    50% { transform: scale(0.72) rotate(18deg); opacity: 0.45; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
