:root {
  --bg: #f4f1ea;
  --paper: #fffdf8;
  --ink: #202124;
  --muted: #666b70;
  --line: #d8d0c2;
  --dark: #191b1d;
  --dark-soft: #25282b;
  --accent: #d8a22a;
  --accent-strong: #b76f21;
  --green: #2f6d59;
  --blue: #3f6578;
  --shadow: 0 18px 48px rgba(28, 27, 24, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

.mobile-break {
  display: none;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(32, 33, 36, 0.09);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 224px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #1e1d1a;
  background: var(--accent);
  border: 2px solid #1e1d1a;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand-text span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
}

.main-nav a {
  color: #303337;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--accent-strong);
}

.header-phone {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #171717;
  background: var(--accent);
  border: 1px solid #a7771d;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 14, 16, 0.88) 0%, rgba(12, 14, 16, 0.66) 46%, rgba(12, 14, 16, 0.28) 100%),
    linear-gradient(0deg, rgba(12, 14, 16, 0.7) 0%, rgba(12, 14, 16, 0.08) 40%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 150px 0 42px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.48;
}

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

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #161512;
  background: var(--accent);
  border-color: #b38320;
  box-shadow: 0 12px 24px rgba(216, 162, 42, 0.22);
}

.btn-primary:hover {
  background: #e3b13f;
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.btn-full {
  width: 100%;
}

.hero-facts {
  max-width: 980px;
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-facts div {
  min-height: 116px;
  padding: 20px;
  background: rgba(17, 18, 20, 0.72);
}

.hero-facts dt {
  margin: 0 0 8px;
  font-size: 29px;
  font-weight: 800;
  line-height: 1;
}

.hero-facts dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.proof-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid div {
  min-height: 108px;
  padding: 22px 24px;
  border-left: 1px solid var(--line);
}

.proof-grid div:last-child {
  border-right: 1px solid var(--line);
}

.proof-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
}

.proof-grid strong {
  font-size: 18px;
}

.section {
  padding: 86px 0;
}

.section-muted {
  background: #e9e4d8;
}

.section-dark {
  color: #f7f2e8;
  background: var(--dark);
}

.section-dark .section-kicker,
.section-dark h2 {
  color: #f7f2e8;
}

.two-columns,
.price-layout,
.faq-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 44px;
  align-items: start;
}

.section-copy h2,
.section-head h2,
.price-copy h2,
.process-layout h2,
.faq-layout h2,
.contact-copy h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

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

.note-panel,
.calc-card,
.lead-form {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.note-panel h3,
.calc-card h3,
.lead-form h3 {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.2;
}

.note-panel ul {
  margin: 0;
  padding-left: 19px;
  color: #3f4246;
}

.note-panel li + li {
  margin-top: 9px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

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

.service-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(32, 33, 36, 0.12);
  border-radius: var(--radius);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.price-list {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  background: var(--paper);
}

.price-list div + div {
  border-top: 1px solid var(--line);
}

.price-list strong {
  white-space: nowrap;
}

.calc-card {
  position: sticky;
  top: 100px;
}

.calc-card label,
.lead-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #3a3d40;
  font-weight: 700;
}

.calc-card input,
.calc-card select,
.lead-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bfb6a6;
  border-radius: var(--radius);
}

.calc-card fieldset {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.calc-card legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.check-row,
.agree-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  margin: 9px 0 0 !important;
  font-weight: 400 !important;
}

.check-row input,
.agree-row input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.calc-result {
  display: block;
  margin: 18px 0 10px;
  padding: 18px;
  color: #163328;
  background: rgba(47, 109, 89, 0.13);
  border: 1px solid rgba(47, 109, 89, 0.24);
  border-radius: var(--radius);
  font-size: 24px;
  font-weight: 800;
}

.calc-note,
.form-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 44px;
  align-items: start;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 178px;
  padding: 22px;
  background: var(--dark-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.process-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-weight: 800;
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.process-list p {
  margin: 0;
  color: rgba(247, 242, 232, 0.72);
}

.works-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 20px;
}

.works-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.works-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.works-grid figure:first-child img {
  aspect-ratio: 1.8 / 1;
}

.works-grid figcaption {
  padding: 14px 16px 16px;
  color: #4d5053;
  font-size: 14px;
}

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

.region-grid span {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 11px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.contact-section {
  padding: 88px 0;
  color: #f8f3ea;
  background:
    linear-gradient(90deg, rgba(25, 27, 29, 0.95), rgba(25, 27, 29, 0.76)),
    url("../img/contact-bg.jpg") center / cover;
}

.contact-copy p {
  color: rgba(248, 243, 234, 0.74);
}

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

.contact-section .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.lead-form {
  color: var(--ink);
}

.agree-row a {
  color: var(--accent-strong);
}

.site-footer {
  padding: 34px 0 90px;
  color: rgba(255, 255, 255, 0.76);
  background: #111315;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr;
  gap: 28px;
}

.footer-grid strong,
.footer-grid a {
  color: #fff;
  font-weight: 800;
}

.footer-grid p,
.footer-grid span {
  display: block;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.mobile-callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  grid-template-columns: 1fr 1fr;
  padding: 8px;
  gap: 8px;
  background: rgba(255, 253, 248, 0.96);
  border-top: 1px solid var(--line);
}

.mobile-callbar a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
}

.mobile-callbar a:first-child {
  color: #111;
  background: var(--accent);
}

.mobile-callbar a:last-child {
  border: 1px solid var(--line);
}

@media (max-width: 1060px) {
  .header-inner {
    gap: 16px;
  }

  .main-nav {
    gap: 14px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .service-grid,
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .works-grid figure:first-child img,
  .works-grid img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 70px;
    justify-content: space-between;
  }

  .brand {
    min-width: 0;
  }

  .brand-text span {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-phone {
    display: none;
  }

  .main-nav {
    position: fixed;
    inset: 70px 0 0;
    display: none;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 18px 12px 90px;
    background: var(--paper);
    border-top: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 16px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-inner {
    padding: 52px 0 28px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 17px;
    overflow-wrap: break-word;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .hero-facts div {
    min-height: auto;
    padding: 16px;
  }

  .proof-grid,
  .two-columns,
  .price-layout,
  .process-layout,
  .faq-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .section-copy h2,
  .section-head h2,
  .price-copy h2,
  .process-layout h2,
  .faq-layout h2,
  .contact-copy h2 {
    font-size: 31px;
  }

  .calc-card {
    position: static;
  }

  .process-list,
  .service-grid,
  .region-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 64px 0;
  }

  .mobile-callbar {
    display: grid;
  }
}

@media (max-width: 480px) {
  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: 30px;
    max-width: 340px;
  }

  .mobile-break {
    display: block;
  }

  .hero-lead {
    font-size: 16px;
    max-width: 340px;
  }

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

  .hero-actions {
    margin-top: 22px;
  }

  .hero-facts {
    margin-top: 22px;
  }

  .hero-facts div {
    padding: 12px 16px;
  }

  .hero-facts dt {
    font-size: 25px;
    margin-bottom: 5px;
  }

  .hero-facts dd {
    font-size: 13px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
  }

  .note-panel,
  .calc-card,
  .lead-form {
    padding: 22px;
  }

  .price-list div {
    display: grid;
    gap: 4px;
  }
}
