/* Base */
:root {
  --bg: #F3F2EB;
  --surface: #FCFBF7;
  --text: #23261F;
  --muted: #5A5E53;
  --accent: #56651E;
  --accent-text: #FCFBF7;
  --plate-bg: #23261F;
  --plate-text: #F3F2EB;
  --line: #DCDAD0;
  --radius-card: 8px;
  --radius-btn: 999px;
  --shadow-soft: 0 1px 2px rgb(35 38 31 / .06), 0 12px 32px rgb(35 38 31 / .08);
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --pad-side: clamp(16px, 4vw, 40px);
  --sec-gap: clamp(64px, 9vw, 128px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 4.6vw + 0.6rem, 4.6rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.8rem, 3rem); line-height: 1.15; margin: 0 0 16px; }
h3 { font-size: clamp(1.2rem, 1vw + 0.6rem, 1.5rem); margin: 0 0 10px; }

p { max-width: 68ch; margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; object-fit: cover; }

ul, ol { padding-left: 1.3em; }

.wrapInner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--pad-side);
  padding-right: var(--pad-side);
}

.skipLink {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-text);
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s ease;
}
.skipLink:focus { top: 12px; }

/* Layout */
.block {
  padding-block: clamp(8px, 1vw, 16px);
  margin-block: clamp(40px, 5.5vw, 72px);
}

.block:nth-of-type(even) {
  background:
    radial-gradient(120% 60% at 20% 0%, rgb(86 101 30 / .05), transparent 60%),
    linear-gradient(178deg, var(--surface) 0%, #F0EFE6 100%);
}

.block:nth-of-type(even)::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 26px;
  background: radial-gradient(50% 100% at 50% 100%, var(--bg) 98%, transparent 100%);
  transform: translateY(-100%);
  pointer-events: none;
}

.block { position: relative; }

main { overflow: hidden; }

/* Announcement */
.announceBar {
  background: var(--plate-bg);
  color: var(--plate-text);
  font-size: .9rem;
  padding: 8px 0;
  text-align: center;
}
.announceBar p { max-width: none; margin: 0; }

/* Header */
.topBar {
  position: sticky;
  top: 12px;
  z-index: 95;
  padding: 8px 0;
}

.topBarInner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-soft);
  padding: 10px 14px;
  max-width: 860px;
  margin: 0 auto;
}

.brandMark {
  font-weight: 750;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  font-size: 1rem;
  line-height: 1.3;
  justify-self: center;
}

.footArea .brandMark { font-size: 1.05rem; text-align: left; justify-self: start; margin: 0 0 14px; }

/* Menu button */
.menuBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius-btn);
  min-height: 44px;
  padding: 0 16px;
  font: 600 .95rem var(--font-body);
  color: var(--text);
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.menuBtn:hover { background: rgb(86 101 30 / .08); }
.menuBtn:active { transform: translateY(1px); }
.menuBtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.menuBtnBox {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}
.menuBtnBox::before,
.menuBtnBox::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.menuBtnBox::before { top: -6px; }
.menuBtnBox::after { top: 6px; }

/* Fullscreen nav */
.fullNav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--plate-bg);
  color: var(--plate-text);
  display: flex;
  align-items: center;
  padding: 112px 0 48px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.fullNav.isOpen { opacity: 1; visibility: visible; transform: translateY(0); }

.fullNavList {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 8px;
}

.fullNavLink {
  display: inline-block;
  color: var(--plate-text);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 650;
  text-decoration: none;
  padding: 6px 0;
  position: relative;
}
.fullNavLink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: width .3s ease;
}
.fullNavLink:hover::after,
.fullNavLink:focus-visible::after,
.fullNavLink[aria-current="page"]::after { width: 100%; }

.fullNavContacts { font-size: 1rem; }
.fullNavContacts ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fullNavContacts a { color: var(--plate-text); }

/* Buttons */
.pillBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-btn);
  background: var(--accent);
  color: var(--accent-text);
  font: 600 1rem var(--font-body);
  text-decoration: none;
  border: 1px solid var(--accent);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .25s ease, transform .15s ease, box-shadow .25s ease;
  isolation: isolate;
}
.pillBtn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(20 24 12 / .35);
  transform: translateY(101%);
  transition: transform .25s ease;
  z-index: -1;
}
.pillBtn:hover { background: var(--accent); color: var(--accent-text); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.pillBtn:hover::before { transform: translateY(0); }
.pillBtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.pillBtn:active { transform: translateY(0); box-shadow: none; }

.pillBtnGhost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.pillBtnGhost::before { background: var(--accent); }
.pillBtnGhost:hover { color: var(--accent-text); }

/* Hero */
.heroSplit { padding-top: 0; margin-top: clamp(16px, 2vw, 24px); }

.heroGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

.heroTint {
  background:
    linear-gradient(160deg, rgb(86 101 30 / .10), rgb(86 101 30 / .03)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(48px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.heroLead { font-size: clamp(1.05rem, .6rem + .8vw, 1.35rem); }

.heroMedia { display: grid; gap: 20px; align-content: start; }
.heroMedia > img {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}
.heroMedia > img:first-child { aspect-ratio: 1 / 1; }

.formCard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-soft);
}
.formCardTitle { margin-bottom: 8px; }

/* Accent typography */
.mark {
  color: var(--accent);
  font-weight: 650;
  border-left: 4px solid var(--accent);
  padding-left: 16px;
}

/* Cards & steps */
.stepGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 40px 0 36px;
}

.stepCard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.stepCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.stepNum {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  font-weight: 750;
  color: var(--accent);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.block > .wrapInner > img {
  width: 100%;
  max-height: 460px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

/* Tabs */
.tabsWrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 18px;
}

.tabBtn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: 600 .95rem var(--font-body);
  border-radius: var(--radius-btn);
  min-height: 44px;
  padding: 0 20px;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.tabBtn:hover { background: rgb(86 101 30 / .08); transform: translateY(-1px); }
.tabBtn:active { transform: translateY(0); }
.tabBtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tabBtn[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}

.tabPanel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 32px);
}

.serviceList { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }

.serviceRow {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.serviceRow:last-child { border-bottom: 0; }
.serviceRow p { margin: 0; max-width: 62ch; }

.serviceNum {
  font-size: clamp(1.4rem, 1.8vw, 2rem);
  font-weight: 750;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Pricing */
.priceList { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }

.priceRow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.priceRow:first-child { border-radius: var(--radius-card) var(--radius-card) 0 0; }
.priceRow:last-child { border-radius: 0 0 var(--radius-card) var(--radius-card); border-bottom: 1px solid var(--line); }

.priceVal { color: var(--muted); font-weight: 600; text-align: right; }

/* Dark plate */
.darkPlate {
  background: var(--plate-bg);
  color: var(--plate-text);
  border-radius: var(--radius-card);
  padding: clamp(26px, 4vw, 48px);
  max-width: 860px;
}
.darkPlate h2 { color: var(--plate-text); }
.darkPlate a { color: #C9D68A; }
.darkPlate p { color: var(--plate-text); }

.contactPlate { max-width: none; }

.contactLinks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; }
.contactLinks span { color: #A9ADA0; margin-right: 6px; }

/* FAQ */
.faqList { display: grid; gap: 12px; margin-top: 24px; max-width: 760px; }

.faqItem {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 4px 20px;
  transition: box-shadow .25s ease;
}
.faqItem[open] { box-shadow: var(--shadow-soft); }

.faqItem summary {
  cursor: pointer;
  font-weight: 650;
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faqItem summary::-webkit-details-marker { display: none; }
.faqItem summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 750;
  font-size: 1.3rem;
}
.faqItem[open] summary::after { content: "–"; }
.faqItem summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.faqItem p { margin: 0 0 16px; color: var(--muted); }

/* Form */
.leadForm { display: grid; gap: 20px; margin-top: 16px; }

.fieldRow { display: grid; gap: 6px; }

.fieldLabel { font-weight: 600; font-size: .95rem; }

.fieldInput {
  font: 400 1rem var(--font-body);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.fieldInput::placeholder { color: #6E7264; opacity: 1; }
.fieldInput:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(86 101 30 / .2); }

.fieldArea { min-height: 120px; resize: vertical; }

.fieldCheck { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.fieldCheck input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; accent-color: var(--accent); }
.fieldCheck label { max-width: 60ch; line-height: 1.5; }

.formNote { color: var(--muted); font-size: .9rem; margin: 0; }

.formSubmit { justify-self: start; }
.formSubmit.isSending { opacity: .7; pointer-events: none; }

.fieldError { color: #8C2F1E; font-size: .9rem; font-weight: 600; margin: 0; }
.fieldRow .fieldError { order: 3; }
.fieldInput.fieldError { border-color: #8C2F1E; }

/* Footer */
.footArea {
  background: var(--plate-bg);
  color: var(--plate-text);
  margin-top: var(--sec-gap);
  padding-block: clamp(48px, 6vw, 80px) 24px;
}
.footArea address { font-style: normal; }
.footArea address p { color: var(--plate-text); margin: 0 0 10px; font-size: .95rem; }
.footArea address p:first-of-type { color: #C4C7BB; }

.footGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.footCol .fullNavContacts,
.footCol ul { display: grid; gap: 8px; }

.footCol ul { list-style: none; padding: 0; margin: 0; }
.footCol a { color: var(--plate-text); text-decoration: none; }
.footCol a:hover { text-decoration: underline; }
.footCol a:focus-visible { outline: 2px solid #C9D68A; outline-offset: 2px; }

.footCopy {
  color: #A9ADA0;
  font-size: .9rem;
  border-top: 1px solid #3C4034;
  padding-top: 20px;
  margin: 40px 0 0;
  max-width: none;
}

/* Inner pages */
.pageHead { padding-block: clamp(32px, 5vw, 64px) 0; }
.pageLead { color: var(--muted); font-size: clamp(1.05rem, .6rem + .8vw, 1.3rem); max-width: 60ch; }

.textBody { max-width: 760px; }
.textBody h2 { margin-top: 40px; }
.textBody ol, .textBody ul { margin: 0 0 16px; }
.textBody table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .95rem;
}
.textBody th, .textBody td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.textBody th { font-weight: 650; }
.textBody th[scope="row"] { width: 38%; }

.keyBox {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  margin-bottom: 32px;
  max-width: 760px;
}

.confirmWrap { text-align: left; }

.notFoundWrap { min-height: 55vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.notFoundWrap h1 { font-size: clamp(4rem, 12vw, 8rem); margin: 0; color: var(--accent); }

/* Reveal */
html.jsOn .revealOnScroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
html.jsOn .revealOnScroll.revealed {
  opacity: 1;
  transform: none;
}

/* Breakpoints */
@media (min-width: 480px) {
  .heroGrid { gap: 32px; }
  .stepGrid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 640px) {
  .fullNavList { gap: 14px; }
  .contactLinks { grid-template-columns: 1fr 1fr; }
  .footGrid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .heroGrid { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
  .formCard { grid-column: 1 / -1; max-width: 640px; }
  .priceRow { padding: 18px 8px; }
}

@media (min-width: 1024px) {
  .stepGrid { grid-template-columns: repeat(4, 1fr); }
  .heroMedia { grid-template-columns: 1fr; }
  .heroGrid > .heroMedia { display: grid; gap: 20px; }
  .footGrid { grid-template-columns: 2fr 1fr 1fr; }
  .contactPlate .contactLinks { grid-template-columns: 1fr; }
}

@media (min-width: 1280px) {
  .wrapInner { padding-left: 0; padding-right: 0; }
  .heroGrid { grid-template-columns: 1fr 1fr; }
  .formCard { max-width: none; }
}

@media (max-height: 600px) {
  .fullNav { align-items: flex-start; padding-top: 112px; padding-bottom: 32px; overflow-y: auto; }
  .fullNavLink { font-size: 1.3rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.jsOn .revealOnScroll {
    opacity: 1;
    transform: none;
  }
  .fullNav { transition: none; }
}

/* Section intro */
.block > .wrapInner > h2 + p {
  max-width: 56ch;
  margin-top: 16px;
}

.block > .wrapInner > img {
  margin-top: 32px;
}

/* Small screens */
@media (max-width: 479px) {
  h1 {
    font-size: clamp(32px, 8vw, 44px);
    hyphens: auto;
  }
  .topBarInner {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }
  .topBar .pillBtn {
    white-space: nowrap;
    font-size: .85rem;
    min-height: 44px;
    padding: 0 14px;
  }
  .menuBtnLabel { display: none; }
  .menuBtn { padding: 0 12px; }
  .brandMark { font-size: .85rem; }
}

/* Menu open state */
.menuBtn[aria-expanded="true"] .menuBtnBox { background: transparent; }
.menuBtnBox::before,
.menuBtnBox::after { transition: transform .25s ease; }
.menuBtn[aria-expanded="true"] .menuBtnBox::before { transform: translateY(6px) rotate(45deg); }
.menuBtn[aria-expanded="true"] .menuBtnBox::after { transform: translateY(-6px) rotate(-45deg); }
.fullNav > .wrapInner { margin-top: auto; margin-bottom: auto; }
.topBar .pillBtn:focus-visible { outline-color: #C9D68A; }
.menuBtn[aria-expanded="true"]:hover { background: rgb(86 101 30 / .12); }
