﻿:root {
  --bg: #f5f2ea;
  --paper: #fffaf0;
  --ink: #223127;
  --muted: #66705f;
  --line: #d9d1be;
  --leaf: #456b3d;
  --leaf-dark: #244f33;
  --clay: #a95332;
  --gold: #d69b36;
  --shadow: 0 18px 50px rgba(35, 49, 39, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: var(--leaf-dark);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(245, 242, 234, 0.94);
  border-bottom: 1px solid rgba(217, 209, 190, 0.85);
  backdrop-filter: blur(12px);
}
.brand, .nav, .phone-link, .hero-actions, .intro, .footer, address { display: flex; align-items: center; }
.brand { gap: 10px; min-width: 220px; font-weight: 800; text-decoration: none; }
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #f1d8a9 0 24%, transparent 25%), repeating-radial-gradient(circle at 50% 50%, #8c5536 0 3px, #c98452 4px 7px);
  border: 2px solid #7a452b;
  flex: 0 0 auto;
}
.nav { gap: 22px; color: var(--muted); font-size: 14px; }
.nav a, .phone-link, .footer a { text-decoration: none; }
.nav a:hover, .footer a:hover { color: var(--leaf-dark); }
.phone-link {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--leaf-dark);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: linear-gradient(180deg, #d8e8e3 0%, #f5f2ea 88%);
}
.hero-visual { position: absolute; inset: 0; }
.sun {
  position: absolute;
  right: 12%;
  top: 90px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 28px rgba(214, 155, 54, 0.16);
}
.hill { position: absolute; left: -8%; right: -8%; bottom: 0; height: 44%; border-radius: 50% 50% 0 0 / 74% 74% 0 0; }
.hill-back { bottom: 90px; background: #6b8d63; }
.hill-front { background: #304f38; }
.wood-stack {
  position: absolute;
  right: clamp(24px, 8vw, 150px);
  bottom: 80px;
  width: min(420px, 42vw);
  min-width: 280px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  transform: rotate(-2deg);
}
.wood-stack span, .product-wood::before, .product-wood::after {
  display: block;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, #f0d4a6 0 18%, transparent 19%), repeating-radial-gradient(circle at 50% 50%, #8b5132 0 3px, #c27a45 4px 9px);
  border: 4px solid #6b3c26;
  aspect-ratio: 1.8 / 1;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
}
.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 76px clamp(18px, 6vw, 86px);
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.26);
}
.eyebrow { margin: 0 0 10px; color: var(--clay); font-size: 13px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.hero .eyebrow { color: #f4c76f; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 16px; font-size: clamp(40px, 7vw, 82px); line-height: 0.99; letter-spacing: 0; }
h2 { margin-bottom: 14px; font-size: clamp(30px, 4vw, 48px); line-height: 1.06; letter-spacing: 0; }
h3, .card-title { margin-bottom: 10px; font-size: 23px; }
.card-title { display: block; color: var(--leaf-dark); font-weight: 800; line-height: 1.2; }
.lead { max-width: 650px; font-size: 20px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.primary { background: var(--gold); color: #1f2118; }
.secondary { background: rgba(255, 255, 255, 0.18); color: #fff; border: 1px solid rgba(255, 255, 255, 0.46); }
.hero-actions { gap: 12px; flex-wrap: wrap; }

.section { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 76px 0; }
.intro { justify-content: space-between; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.intro div { display: grid; gap: 4px; }
.intro strong { font-size: 18px; }
.intro span, .section-heading p, .product p, .copy p, .footer p, label, .text-columns p { color: var(--muted); }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.text-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 18px; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product { min-height: 320px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: var(--shadow); }
.product-wood { position: relative; height: 86px; margin-bottom: 24px; }
.product-wood::before, .product-wood::after { content: ""; position: absolute; width: 48%; height: 62px; }
.product-wood::before { left: 0; top: 18px; }
.product-wood::after { left: 38%; top: 0; }
.birch::before, .birch::after { border-color: #e7dfcf; }
.softwood::before, .softwood::after { border-color: #9b6339; }
.product strong { display: inline-block; margin-top: 10px; color: var(--leaf-dark); font-size: 20px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 80px); align-items: center; }
.map-panel {
  position: relative;
  min-height: 430px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(183, 212, 209, 0.92), rgba(240, 219, 174, 0.92)), repeating-linear-gradient(45deg, transparent 0 34px, rgba(69, 107, 61, 0.12) 35px 37px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.map-panel span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fffaf0;
  color: var(--leaf-dark);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.13);
}
.map-panel span:nth-child(1) { left: 42%; top: 40%; }
.map-panel span:nth-child(2) { left: 54%; top: 54%; }
.map-panel span:nth-child(3) { left: 24%; top: 34%; }
.map-panel span:nth-child(4) { left: 12%; top: 18%; }
.map-panel span:nth-child(5) { left: 50%; top: 16%; }
.map-panel span:nth-child(6) { left: 40%; top: 74%; }
.check-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--leaf); }
.check-list li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(38deg); }

.area-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.area-list li {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 250, 240, 0.7);
  font-weight: 700;
}

.order { display: grid; grid-template-columns: minmax(260px, 0.72fr) 1fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.order-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
label { display: grid; gap: 7px; font-size: 14px; font-weight: 700; }
.wide-field, .estimate, .form-button { grid-column: 1 / -1; }
input, select, textarea { width: 100%; border: 1px solid #c9bea8; border-radius: 6px; background: #fff; color: var(--ink); font: inherit; }
input, select { min-height: 46px; padding: 0 12px; }
textarea { padding: 12px; resize: vertical; }
.estimate { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border-radius: 8px; background: #eef3e8; }
.estimate span { color: var(--muted); }
.estimate strong { font-size: 24px; }
.form-button { width: 100%; }

.faq { padding-top: 24px; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 19px; font-weight: 800; }
details p { max-width: 820px; margin: 12px 0 0; color: var(--muted); }

.footer { justify-content: space-between; gap: 24px; padding: 34px clamp(18px, 4vw, 56px); background: #223127; color: #fff; }
.footer p { margin-bottom: 0; color: rgba(255, 255, 255, 0.74); }
address { gap: 18px; font-style: normal; flex-wrap: wrap; }

@media (max-width: 900px) {
  .topbar { align-items: flex-start; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .hero { min-height: 720px; }
  .hero-content { margin-bottom: 44px; }
  .wood-stack { right: 18px; bottom: 250px; width: 300px; }
  .intro, .footer { align-items: flex-start; flex-direction: column; }
  .product-grid, .split, .order, .text-columns { grid-template-columns: 1fr; }
  .order-form { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .brand { min-width: 0; }
  .phone-link { width: 100%; justify-content: center; }
  .hero { min-height: 760px; }
  .lead, .text-columns { font-size: 18px; }
  .button { width: 100%; }
  .sun { right: 26px; top: 92px; width: 84px; height: 84px; }
  .wood-stack { grid-template-columns: repeat(3, 1fr); min-width: 230px; width: 250px; }
  .section { padding: 54px 0; }
  .map-panel { min-height: 360px; }
  .map-panel span { font-size: 13px; }
  .map-panel span:nth-child(1) { left: 36%; top: 40%; }
  .map-panel span:nth-child(2) { left: 42%; top: 56%; }
  .map-panel span:nth-child(3) { left: 14%; top: 34%; }
  .map-panel span:nth-child(4) { left: 8%; top: 18%; }
  .map-panel span:nth-child(5) { left: 44%; top: 16%; }
  .map-panel span:nth-child(6) { left: 24%; top: 76%; }
  .area-list { grid-template-columns: 1fr; }
  .estimate { align-items: flex-start; flex-direction: column; }
}


.wood-guide {
  padding-top: 24px;
}

.wood-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.wood-info {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 360px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffaf0, #f2eadb);
  box-shadow: var(--shadow);
}

.wood-info h3 {
  margin-bottom: 0;
  color: var(--leaf-dark);
}

.wood-info p {
  margin-bottom: 0;
  color: var(--muted);
}

.wood-info ul {
  display: grid;
  gap: 9px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.wood-info li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
}

.wood-info li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.wood-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef3e8;
  color: var(--leaf-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .wood-guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .wood-guide-grid {
    grid-template-columns: 1fr;
  }

  .wood-info {
    min-height: 0;
  }
}

