:root {
  --ink: #321817;
  --muted: #705d59;
  --line: #ead8d2;
  --paper: #fffaf7;
  --soft: #f8ebe6;
  --maple: #b42126;
  --maple-dark: #7f171b;
  --gold: #c48937;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(80, 24, 22, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 250, 247, 0.92);
  border-bottom: 1px solid rgba(234, 216, 210, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--maple);
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
}

.phone-link {
  color: var(--maple-dark);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 74px));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("assets/moving-hero.png") center / cover no-repeat;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 250, 247, 0.98) 0%, rgba(255, 250, 247, 0.82) 38%, rgba(255, 250, 247, 0.08) 72%),
    linear-gradient(0deg, rgba(80, 24, 22, 0.25), rgba(80, 24, 22, 0.04));
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 76px);
  padding: 92px 0 110px;
}

.eyebrow,
.label {
  display: block;
  margin: 0 0 8px;
  color: var(--maple);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 590px;
  color: #38524b;
  font-size: clamp(1.03rem, 2vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--maple);
  box-shadow: 0 10px 28px rgba(180, 33, 38, 0.28);
}

.button.secondary {
  color: var(--maple-dark);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(180, 33, 38, 0.28);
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-contact > div {
  min-width: 0;
  padding: 22px clamp(18px, 4vw, 52px);
  background: var(--white);
}

.quick-contact a {
  overflow-wrap: anywhere;
  font-weight: 800;
  text-decoration: none;
}

.section,
.quote-section {
  padding: clamp(64px, 10vw, 120px) clamp(18px, 5vw, 72px);
}

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

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

.intro-grid article,
.quote-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(80, 24, 22, 0.07);
}

.intro-grid article {
  padding: 26px;
}

.intro-grid p,
.quote-copy p,
.quote-copy li,
.estimate-panel p,
.form-status {
  color: var(--muted);
}

.reviews {
  background: var(--soft);
  padding-top: clamp(44px, 6vw, 72px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.reviews .section-heading {
  margin-bottom: 20px;
}

.review-carousel {
  overflow: hidden;
}

.review-track {
  display: flex;
  transition: transform 360ms ease;
  will-change: transform;
}

.review-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  flex: 0 0 100%;
}

.review-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(80, 24, 22, 0.06);
}

.review-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.review-meta {
  font-size: 0.82rem;
  font-weight: 800;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--white);
  background: var(--maple-dark);
  border-radius: 8px;
}

.platform-badge.xhs {
  background: var(--maple);
}

.review-shot {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
}

.review-date {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.review-copy {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.translation {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

figcaption {
  margin-top: auto;
  font-size: 0.92rem;
}

.review-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.review-nav {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--maple-dark);
  font-size: 1.25rem;
  cursor: pointer;
}

.review-nav:disabled {
  opacity: 0.4;
  cursor: default;
}

.review-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.review-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d9bbb4;
  cursor: pointer;
}

.review-dot.is-active {
  width: 28px;
  background: var(--maple);
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 30px;
  background: linear-gradient(var(--maple), var(--maple)) 0 0.7em / 16px 3px no-repeat;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.field,
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field.full,
.estimate-panel,
.full-button,
.submit-error,
.success-panel {
  grid-column: 1 / -1;
}

label,
legend {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--ink);
  background: #f8faf6;
  border: 1px solid #cddbd3;
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(180, 33, 38, 0.18);
  border-color: var(--maple);
}

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

.segmented label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #cddbd3;
  border-radius: 8px;
  background: #f8faf6;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
}

.segmented input {
  width: auto;
  min-height: auto;
  margin: 0 8px 0 0;
}

.estimate-panel {
  padding: 20px;
  border: 1px solid rgba(180, 33, 38, 0.26);
  border-radius: 8px;
  background: #fff1ed;
}

.estimate-panel strong {
  display: block;
  margin-bottom: 5px;
  color: var(--maple-dark);
  font-size: 2rem;
  line-height: 1.1;
}

.estimate-panel p {
  margin-bottom: 0;
}

.success-panel {
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(180, 33, 38, 0.26);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.submit-error {
  margin: 0;
  padding: 14px 16px;
  color: #7c241f;
  background: #fff0ed;
  border: 1px solid #f2b7ac;
  border-radius: 8px;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.success-panel h2 {
  margin-bottom: 12px;
}

.success-panel a {
  color: var(--maple-dark);
  font-weight: 850;
}


.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: #dce5df;
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 250, 247, 0.98) 0%, rgba(255, 250, 247, 0.86) 62%, rgba(255, 250, 247, 0.2) 100%),
      linear-gradient(0deg, rgba(80, 24, 22, 0.28), rgba(80, 24, 22, 0.02));
  }

  .hero-content {
    margin: 0 auto;
    padding: 72px 0 230px;
  }

  .quick-contact,
  .intro-grid,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .quote-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.9rem;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-bottom: 190px;
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 3.7rem);
  }

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

  .review-page {
    gap: 8px;
  }

  .review-card {
    padding: 5px;
  }

  .estimate-panel strong {
    font-size: 1.65rem;
  }
}
