:root {
  --ink: #1f1b17;
  --muted: #70665c;
  --paper: #fffaf2;
  --soft: #f3eadc;
  --line: #dfd0bb;
  --gold: #a66a13;
  --gold-dark: #744708;
  --green: #345a41;
  --blue: #1f3d59;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(35, 25, 14, .14);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(255, 250, 242, .93);
  border-bottom: 1px solid rgba(166, 106, 19, .18);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 24px);
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(166, 106, 19, .32);
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: #42372c;
}

nav a {
  text-decoration: none;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(166, 106, 19, .28);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.menu-toggle::before {
  content: "☰";
  margin-right: 7px;
  font-size: 18px;
  line-height: 1;
}

.site-header.menu-open .menu-toggle::before { content: "×"; }

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.nav-cta,
.button.primary {
  background: var(--gold);
  color: var(--white);
}

.button.ghost {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .55);
  color: var(--white);
}

.button.secondary {
  background: var(--soft);
  border-color: var(--line);
  color: var(--ink);
}

.next-cta {
  min-width: 190px;
  min-height: 52px;
  box-shadow: 0 12px 26px rgba(166, 106, 19, .24);
}

.submit-cta {
  min-width: 210px;
  font-weight: 700;
}

.button:hover,
.nav-cta:hover { transform: translateY(-1px); }

.button.wide { width: 100%; }

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold-dark);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #211b17;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.58) saturate(.92);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 13, 8, .78), rgba(18, 13, 8, .28) 58%, rgba(18, 13, 8, .16));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(42px, 8vh, 86px) clamp(18px, 6vw, 84px);
  color: var(--white);
}

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

.hero .eyebrow { color: #f1c47a; }

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 { font-size: clamp(48px, 8vw, 104px); }
h2 { font-size: clamp(32px, 4.6vw, 58px); }
h3 { font-size: 24px; }

.hero-copy p:not(.eyebrow):not(.quick-note) {
  max-width: 620px;
  font-size: clamp(18px, 2vw, 23px);
}

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

.quick-note {
  display: inline-flex;
  margin-top: 18px;
  padding: 9px 12px;
  border-left: 3px solid #f1c47a;
  background: rgba(255, 255, 255, .12);
  font-weight: 800;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-band div {
  padding: 28px clamp(18px, 4vw, 48px);
  background: var(--white);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.trust-band span { color: var(--muted); }

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.section-copy {
  max-width: 620px;
}

.section-copy p,
.response-section p,
.contact-section p,
.seo-text p {
  color: var(--muted);
  font-size: 18px;
}

.image-pair {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 16px;
  align-items: end;
}

.image-pair img,
.service-grid img,
.gallery img,
.quote-hero img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-pair img {
  aspect-ratio: 4 / 5;
  height: 100%;
}

.image-pair img:last-child { margin-top: 0; }

.response-section {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(280px, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: #16281e;
  color: var(--white);
}

.response-section h2 { max-width: 620px; }
.response-section p { margin: 0; color: rgba(255, 255, 255, .78); }

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

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

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

.service-grid img {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  box-shadow: none;
}

.service-grid h3,
.service-grid p {
  padding: 0 22px;
}

.service-grid h3 { margin-top: 22px; }
.service-grid p { margin-bottom: 24px; color: var(--muted); }
.service-grid .text-link {
  margin: 0 22px 24px;
}

.seo-link-section {
  padding-top: 0;
}

.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.seo-link-grid a {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(35, 25, 14, .08);
}

.gallery-section { background: var(--soft); }

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

.gallery img {
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 470px);
  gap: clamp(26px, 6vw, 70px);
  align-items: start;
}

.contact-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 34px 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.quote-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .8fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background: linear-gradient(135deg, #fffaf2, #efe2ce);
}

.quote-hero p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 19px;
}

.quote-hero .quick-note {
  background: var(--white);
  color: var(--ink);
  border-left-color: var(--gold);
}

.quote-hero img { aspect-ratio: 4 / 3; }

.quote-response {
  padding-top: 46px;
  padding-bottom: 46px;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  gap: 28px;
  width: min(1160px, calc(100% - 36px));
  margin: clamp(42px, 7vw, 84px) auto;
}

.form-aside {
  position: sticky;
  top: 98px;
  align-self: start;
  padding: 28px;
  background: #1f1b17;
  color: var(--white);
  border-radius: 8px;
}

.form-aside p { color: rgba(255, 255, 255, .72); }

.progress {
  height: 8px;
  margin-top: 28px;
  background: rgba(255, 255, 255, .16);
  border-radius: 999px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--gold);
  transition: width .25s ease;
}

.step-label {
  margin-bottom: 0;
  font-weight: 800;
}

.quote-form {
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-step { display: none; }
.form-step.active { display: block; }

legend {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cfc0ad;
  border-radius: 6px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

textarea { resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(166, 106, 19, .28);
  border-color: var(--gold);
}

.field-note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

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

.budget-field {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.budget-field p {
  margin: 0;
  font-weight: 750;
}

.budget-ranges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.budget-ranges label {
  position: relative;
  min-height: 44px;
  margin: 0;
  cursor: pointer;
}

.budget-ranges input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.budget-ranges span {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf8;
  color: var(--ink);
  font-weight: 750;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.budget-ranges input:focus-visible + span {
  outline: 2px solid rgba(166, 106, 19, .28);
  outline-offset: 2px;
}

.budget-ranges input:checked + span {
  border-color: var(--gold);
  background: #fff5df;
  color: var(--gold-dark);
  box-shadow: inset 0 0 0 1px rgba(166, 106, 19, .18), 0 8px 22px rgba(116, 71, 8, .1);
}

.dynamic-panel {
  padding: 18px;
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dynamic-panel h3 {
  margin: 14px 0 14px;
  font-size: 22px;
}

.dynamic-panel h3:first-child { margin-top: 0; }

.choice-row,
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

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

.choice-row label,
.checkbox-grid label {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-weight: 650;
}

.choice-row input,
.checkbox-grid input {
  width: auto;
  min-height: auto;
}

.nested-panel {
  margin: 10px 0 16px;
  padding: 16px;
  border-left: 3px solid var(--gold);
  background: var(--white);
}

.muted { color: var(--muted); }

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.confirmation {
  margin: 24px 0 0;
  padding: 16px;
  border-radius: 8px;
  background: #edf7ef;
  color: #244a2e;
  font-weight: 800;
}

.seo-text {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto clamp(56px, 8vw, 96px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.seo-text h2 {
  font-size: clamp(26px, 4vw, 42px);
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background: linear-gradient(135deg, #fffaf2, #efe2ce);
}

.seo-hero h1 {
  max-width: 920px;
  font-size: clamp(42px, 6vw, 82px);
}

.seo-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.seo-hero img,
.seo-aside img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.seo-hero img {
  aspect-ratio: 4 / 3;
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(28px, 5vw, 72px);
  width: min(1180px, calc(100% - 36px));
  margin: clamp(52px, 8vw, 96px) auto;
}

.seo-article h2 {
  margin-top: 38px;
  font-size: clamp(28px, 4vw, 44px);
}

.seo-article h2:first-of-type {
  margin-top: 0;
}

.seo-article p {
  color: var(--muted);
  font-size: 18px;
}

.seo-aside {
  display: grid;
  gap: 18px;
  align-self: start;
  position: sticky;
  top: 96px;
}

.seo-aside img {
  aspect-ratio: 4 / 5;
}

.seo-aside .contact-card h2 {
  font-size: 30px;
}

.seo-faq {
  padding: clamp(52px, 8vw, 94px) clamp(18px, 5vw, 72px);
  background: var(--soft);
}

.seo-faq > h2,
.seo-faq > .eyebrow {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 28px auto 0;
}

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

.faq-grid h3 {
  font-size: 22px;
}

.faq-grid p {
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header {
    position: sticky;
    align-items: center;
    flex-direction: row;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header nav {
    display: none;
    position: fixed;
    top: 72px;
    right: 18px;
    width: min(280px, calc(100vw - 36px));
    max-height: calc(100dvh - 88px);
    padding: 10px;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(255, 250, 242, .98);
    border: 1px solid rgba(166, 106, 19, .22);
    border-radius: 8px;
    box-shadow: var(--shadow);
    z-index: 110;
  }

  .site-header.menu-open nav {
    display: grid;
  }

  .site-header nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border: 1px solid rgba(166, 106, 19, .18);
    border-radius: 6px;
    background: var(--white);
    text-align: center;
    white-space: normal;
  }

  .site-header nav a.nav-cta {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
  }

  .trust-band,
  .split,
  .service-grid,
  .seo-link-grid,
  .contact-section,
  .quote-hero,
  .seo-hero,
  .seo-layout,
  .faq-grid,
  .form-shell,
  .response-section {
    grid-template-columns: 1fr;
  }

  .response-section .button { width: 100%; }
  .form-aside { position: static; }
  .seo-aside { position: static; }
  .budget-ranges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img { grid-column: span 1 !important; }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    gap: 12px;
    padding: 10px 14px;
  }

  .site-header nav {
    top: 66px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100dvh - 78px);
  }

  .brand span { font-size: 18px; }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: auto;
    padding-top: 380px;
    align-items: end;
  }

  .hero > img {
    height: 100%;
    object-position: center;
  }

  .hero-copy {
    width: calc(100% - 32px);
    margin: 0 16px 28px;
  }

  h1 { font-size: clamp(42px, 13vw, 58px); }
  h2 { font-size: clamp(30px, 10vw, 42px); }
  h3 { font-size: 22px; }

  .hero-copy p:not(.eyebrow):not(.quick-note),
  .quote-hero p:not(.eyebrow),
  .seo-hero p:not(.eyebrow),
  .section-copy p,
  .response-section p,
  .contact-section p,
  .seo-article p,
  .seo-text p {
    font-size: 16px;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
  }

  .image-pair,
  .field-grid,
  .choice-row,
  .checkbox-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .budget-ranges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery img {
    aspect-ratio: 4 / 5 !important;
  }

  .image-pair img:last-child { margin-top: 0; }

  .section,
  .quote-hero,
  .seo-hero,
  .seo-faq {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .trust-band div {
    padding: 20px 16px;
  }

  .service-grid h3,
  .service-grid p {
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-grid .text-link {
    margin-left: 16px;
    margin-right: 16px;
  }

  .quote-hero,
  .seo-hero {
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .quote-hero img,
  .seo-hero img {
    aspect-ratio: 4 / 3;
  }

  .form-shell,
  .seo-layout,
  .seo-text {
    width: calc(100% - 24px);
  }

  .quote-form,
  .form-aside,
  .dynamic-panel,
  .nested-panel,
  .contact-card,
  .faq-grid article {
    padding: 18px;
  }

  .choice-row label,
  .checkbox-grid label {
    align-items: flex-start;
  }

  .form-actions {
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .brand span {
    font-size: 16px;
  }

  nav {
    font-size: 13px;
  }

  .hero {
    padding-top: 330px;
  }

  .quick-note {
    display: flex;
    width: 100%;
  }

  legend {
    font-size: 30px;
  }
}
