:root {
  color-scheme: light;
  --ink: #123d37;
  --ink-soft: #315d55;
  --muted: #64746f;
  --paper: #f7f3ea;
  --paper-strong: #fffaf0;
  --line: #dfd6c5;
  --gold: #d99831;
  --green: #1f6b5f;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Avenir Next", "Segoe UI", Arial, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(247, 243, 234, 0.94);
  border-bottom: 1px solid rgba(18, 61, 55, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  width: min(248px, 48vw);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.header-cta,
.primary-button,
.secondary-button,
.booking-strip a,
.booking-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
}

.header-cta,
.primary-button,
.booking-form button {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 28px rgba(18, 61, 55, 0.18);
}

.secondary-button {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 74px));
  display: flex;
  align-items: center;
  padding: 92px clamp(20px, 6vw, 84px);
  overflow: hidden;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(10, 33, 30, 0.92) 0%, rgba(10, 33, 30, 0.76) 42%, rgba(10, 33, 30, 0.24) 100%),
    url("kitchen-remodel.jpg");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 132px;
  background: linear-gradient(0deg, var(--paper), rgba(247, 243, 234, 0));
  z-index: -1;
}

.hero-content {
  width: min(780px, 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.95;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.hero-metrics div {
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 250, 240, 0.1);
  backdrop-filter: blur(8px);
}

.hero-metrics dt {
  font-size: 1.05rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.booking-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px;
  color: var(--white);
  background: var(--ink);
}

.booking-strip p {
  margin: 0;
  font-weight: 800;
}

.booking-strip a {
  min-height: 42px;
  color: var(--ink);
  background: var(--gold);
}

.section {
  padding: 84px clamp(20px, 6vw, 84px);
  scroll-margin-top: 86px;
}

.intro,
.analysis,
.proof {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.45fr);
  gap: 42px;
  align-items: start;
}

h2 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
}

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

.section p,
.problem-grid p,
.analysis-panel p,
.steps p,
.proof-row span,
.offer-content p,
.booking-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.problem-grid,
.analysis-panel,
.steps,
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.problem-grid article,
.analysis-panel div,
.steps article,
.proof-row div {
  min-height: 100%;
  padding: 24px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.problem-grid span,
.analysis-panel span,
.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-weight: 900;
}

.analysis {
  background: #f1eadc;
}

.analysis-copy p:not(.eyebrow) {
  max-width: 650px;
}

.analysis-panel div {
  position: relative;
  overflow: hidden;
}

.analysis-panel div::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 96px;
  height: 96px;
  border: 18px solid rgba(217, 152, 49, 0.18);
  border-radius: 50%;
}

.analysis-panel span {
  background: var(--gold);
  color: var(--ink);
}

.offer {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
  gap: 48px;
  align-items: center;
  background: #fffaf0;
}

.offer-media {
  min-height: 540px;
  border-radius: 8px;
  background-image: url("kitchen-remodel.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 60px rgba(18, 61, 55, 0.18);
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-soft);
  font-weight: 750;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.48em;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.proof {
  background: var(--ink);
}

.proof h2,
.proof .proof-row strong {
  color: var(--white);
}

.proof-row div {
  background: rgba(255, 250, 240, 0.08);
  border-color: rgba(255, 250, 240, 0.16);
}

.proof-row strong,
.proof-row span {
  display: block;
}

.proof-row span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.process {
  text-align: center;
}

.process h2 {
  margin-right: auto;
  margin-left: auto;
}

.steps {
  margin-top: 34px;
  text-align: left;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: 52px;
  align-items: start;
  padding: 92px clamp(20px, 6vw, 84px);
  background: var(--paper-strong);
  scroll-margin-top: 86px;
}

.meeting-card {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin-top: 30px;
  padding: 22px;
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
}

.meeting-card strong {
  font-size: 1.15rem;
}

.meeting-card span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.meeting-card a {
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 18px;
  align-items: center;
  border-radius: 6px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 900;
}

.booking-form {
  display: grid;
  gap: 22px;
  min-height: 430px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(18, 61, 55, 0.12);
}

.form-progress {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.form-progress div {
  height: 8px;
  overflow: hidden;
  background: #ede4d5;
  border-radius: 999px;
}

.form-progress i {
  display: block;
  width: 12.5%;
  height: 100%;
  background: var(--gold);
  border-radius: inherit;
  transition: width 180ms ease;
}

.form-step {
  display: none;
  min-height: 210px;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-step.is-active {
  display: grid;
  align-content: center;
  gap: 18px;
}

.form-step legend {
  max-width: 720px;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 3.35rem);
  font-weight: 900;
  line-height: 1.04;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfc6b7;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
}

.form-step input,
.form-step select,
.form-step textarea {
  font-size: 1.08rem;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(217, 152, 49, 0.28);
  border-color: var(--gold);
}

.form-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.form-actions button {
  min-height: 48px;
  border-radius: 6px;
  padding: 0 20px;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
}

.back-button {
  color: var(--ink);
  background: #eee5d7;
}

.back-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.next-button,
.submit-button {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 28px rgba(18, 61, 55, 0.18);
}

.next-button,
.submit-button {
  justify-self: stretch;
}

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .intro,
  .analysis,
  .offer,
  .proof,
  .booking-section {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .analysis-panel,
  .steps,
  .proof-row {
    grid-template-columns: 1fr;
  }

  .offer-media {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding: 12px 14px;
  }

  .brand {
    width: min(190px, 52vw);
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 760px;
    padding: 64px 18px 92px;
    background-position: 58% center;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.8rem);
  }

  .hero-actions,
  .booking-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .section,
  .booking-section {
    padding: 64px 18px;
  }

  .booking-form {
    padding: 20px;
  }

  .form-step {
    min-height: 250px;
  }

  .meeting-card a {
    width: 100%;
  }
}
