:root {
  --ink: #17201b;
  --muted: #5b675f;
  --line: #d7dfd9;
  --soft: #f3f6f1;
  --paper: #fffdf8;
  --green: #2f6d4d;
  --green-dark: #1f4f38;
  --blue: #365f75;
  --gold: #b8863b;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 32, 27, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 32, 27, 0.1);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
}

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

.nav a,
.top-call {
  text-decoration: none;
}

.top-call {
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(660px, calc(92vh - 72px));
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 22, 17, 0.78), rgba(10, 22, 17, 0.48) 42%, rgba(10, 22, 17, 0.16)),
    url("assets/hero-home-cleaning.webp") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(0deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0));
  content: "";
}

.hero-content {
  align-self: center;
  width: min(780px, 100%);
  padding: clamp(50px, 8vw, 96px) clamp(20px, 5vw, 72px) clamp(78px, 10vw, 112px);
  color: var(--white);
}

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

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.35rem, 5.1vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: -36px auto 0;
  width: min(1120px, calc(100% - 36px));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-strip span {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 14px;
  background: var(--white);
  color: var(--green-dark);
  text-align: center;
  font-weight: 800;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 112px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.45fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.section p,
.service-grid p,
.faq-grid p,
.checklist li {
  color: var(--muted);
}

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

.service-grid article,
.faq-grid article {
  min-height: 146px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.about {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  grid-template-areas:
    "owner about"
    "owner checklist";
  gap: 18px;
  align-items: stretch;
}

.owner-profile {
  grid-area: owner;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.owner-profile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.owner-profile figcaption {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.owner-profile strong {
  font-size: 1.15rem;
}

.owner-profile span {
  color: var(--muted);
}

.about-card,
.checklist,
.pricing,
.areas,
.estimate {
  border-radius: 8px;
}

.about-card {
  grid-area: about;
  padding: clamp(28px, 5vw, 54px);
  color: var(--white);
  background: var(--blue);
}

.about-card .eyebrow {
  color: #f0cf92;
}

.about-card p {
  color: rgba(255, 255, 255, 0.86);
}

.checklist {
  grid-area: checklist;
  padding: clamp(26px, 4vw, 42px);
  background: var(--soft);
}

.checklist ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.checklist li + li {
  margin-top: 10px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.price-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}

.price-row:first-child {
  border-top: 0;
}

.price-row.header {
  color: var(--white);
  background: var(--green-dark);
  font-weight: 800;
}

.areas {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  padding: clamp(36px, 6vw, 60px);
  background: var(--soft);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 12px;
}

.area-list span {
  padding: 12px 14px;
  border: 1px solid rgba(47, 109, 77, 0.26);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 800;
}

.estimate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto clamp(56px, 8vw, 92px);
  padding: clamp(28px, 5vw, 54px);
  color: var(--white);
  background: var(--green-dark);
}

.estimate p {
  color: rgba(255, 255, 255, 0.84);
}

.estimate .eyebrow {
  color: #f0cf92;
}

.estimate-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
}

.footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 70px;
  }

  .trust-strip,
  .split,
  .about,
  .areas,
  .estimate {
    grid-template-columns: 1fr;
  }

  .about {
    grid-template-areas:
      "owner"
      "about"
      "checklist";
  }

  .trust-strip {
    margin-top: -24px;
  }

  .estimate-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(2.1rem, 10.8vw, 3.15rem);
  }

  .brand span:last-child {
    font-size: 0.95rem;
  }

  .top-call {
    padding: 9px 12px;
  }

  .hero-content {
    padding-top: 56px;
    padding-right: 20px;
    padding-bottom: 68px;
    padding-left: 20px;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .service-grid,
  .faq-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}
