:root {
  --red: #d91515;
  --red-dark: #9e0f0f;
  --cream: #fff0b7;
  --cream-soft: #fff8df;
  --paper: #fffdf6;
  --ink: #1f1a17;
  --muted: #5c5148;
  --line: rgba(31, 26, 23, 0.14);
  --shadow: 0 18px 40px rgba(31, 26, 23, 0.2);
  --avito: #00aaff;
  --whatsapp: #25d366;
  --telegram: #229ed9;
  --max: #005bff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

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

.narrow {
  width: min(920px, calc(100% - 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 253, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-width: 0;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
}

.header-actions,
.hero-actions,
.map-actions,
.copy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.header-actions {
  justify-content: flex-end;
}

.small-button,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.small-button {
  min-height: 36px;
  padding: 7px 10px;
  font-size: 13px;
}

.button {
  min-width: 145px;
  padding: 12px 16px;
  font-size: 16px;
}

.button:hover,
.small-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.primary {
  background: var(--red);
  color: #fff;
}

.channel-avito {
  background: var(--avito);
  color: #06131b;
}

.channel-whatsapp {
  background: var(--whatsapp);
  color: #082213;
}

.channel-telegram {
  background: var(--telegram);
  color: #fff;
}

.channel-max {
  background: var(--max);
  color: #fff;
}

.channel-call {
  background: #fff;
  color: var(--ink);
}

.route,
.ghost {
  background: #fff;
}

.hero {
  position: relative;
  min-height: 78svh;
  isolation: isolate;
  color: #fff;
  background: #231a16;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(28, 18, 14, 0.92) 0%, rgba(28, 18, 14, 0.65) 45%, rgba(28, 18, 14, 0.18) 100%), url("images/hero-wood-waste.jpg");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 110px;
  background: linear-gradient(180deg, rgba(35, 26, 22, 0), rgba(35, 26, 22, 0.8));
  content: "";
}

.hero-inner {
  width: min(850px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(58px, 9svh, 92px) 0 42px;
}

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

.eyebrow {
  display: inline-block;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--cream);
  border-radius: 6px;
}

.section-kicker.light {
  color: var(--cream);
}

h1,
h2 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(38px, 11vw, 82px);
  font-weight: 1000;
  text-wrap: balance;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

h2 {
  max-width: 860px;
  font-size: clamp(30px, 7vw, 58px);
  font-weight: 1000;
}

.hero-lead {
  max-width: 690px;
  margin: 18px 0 24px;
  color: #fff7dd;
  font-size: clamp(18px, 4.8vw, 25px);
  font-weight: 750;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}

.phone-line {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 24px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: clamp(18px, 4.8vw, 24px);
  font-weight: 1000;
}

.phone-line a {
  color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.fact-strip {
  padding: 14px 0;
  background: var(--cream);
  border-block: 2px solid var(--ink);
}

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

.facts span {
  padding: 10px;
  color: #fff;
  background: var(--red);
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 950;
  text-align: center;
  box-shadow: 3px 3px 0 var(--ink);
}

.section {
  padding: clamp(46px, 8vw, 86px) 0;
}

.cream {
  background: var(--cream-soft);
}

.grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.two-column .grid {
  align-items: start;
}

p {
  margin: 14px 0 0;
  font-size: 18px;
}

.notice {
  padding: 14px;
  background: var(--cream);
  border-left: 8px solid var(--red);
  font-weight: 850;
}

.check-list,
.warning-list,
.size-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.warning-list li,
.size-list li {
  position: relative;
  padding-left: 28px;
  font-size: 18px;
  font-weight: 750;
}

.check-list li::before,
.size-list li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  width: 18px;
  height: 18px;
  background: var(--red);
  border: 2px solid var(--ink);
  border-radius: 4px;
  content: "";
}

.warning-list li::before {
  position: absolute;
  top: 0.46em;
  left: 0;
  width: 16px;
  height: 4px;
  background: var(--cream);
  content: "";
}

.photo-panel img,
.admin-photo img {
  width: 100%;
  height: auto;
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-panel {
  margin: 0;
}

.tag-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 14px 16px;
  background: #fff;
  border: 2px solid var(--ink);
  border-left: 10px solid var(--red);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
}

.video-frame {
  position: relative;
  margin-top: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.warning,
.final-cta {
  color: #fff;
  background: var(--red-dark);
}

.warning p,
.final-cta p {
  color: #fff7dd;
}

.split-lists {
  display: grid;
  gap: 30px;
}

.size-list li {
  padding: 13px 14px 13px 42px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.size-list li::before {
  top: 17px;
  left: 14px;
}

.address {
  margin-top: 10px;
  font-size: clamp(24px, 6vw, 42px);
  font-weight: 1000;
}

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

.admin-section {
  background: #f3eee4;
}

.admin-photo {
  margin: 22px 0 18px;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 58px;
  padding: 14px 14px 14px 66px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 850;
}

.steps li::before {
  position: absolute;
  top: 10px;
  left: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  content: counter(steps);
  counter-increment: steps;
  font-weight: 1000;
}

.message-section {
  background: var(--paper);
}

.copy-box {
  display: grid;
  gap: 14px;
}

textarea {
  width: 100%;
  min-height: 196px;
  padding: 16px;
  resize: vertical;
  color: var(--ink);
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 8px;
  font: 800 17px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  box-shadow: 6px 6px 0 var(--ink);
}

button {
  cursor: pointer;
  font-family: inherit;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

details {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 8px;
}

summary {
  padding: 16px 18px;
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
}

.final-cta {
  padding: clamp(50px, 9vw, 90px) 0;
}

.final-cta h2 {
  color: #fff;
}

.final-cta .hero-actions {
  margin-top: 24px;
}

.final-phone {
  margin-top: 18px;
  margin-bottom: 0;
}

.site-footer {
  padding: 22px 0;
  color: #fff7dd;
  background: #1f1a17;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  font-weight: 800;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 8px 12px;
  }

  .brand {
    width: 100%;
    justify-content: space-between;
    font-size: 14px;
  }

  .header-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .small-button {
    min-height: 32px;
    padding: 6px 7px;
    width: 100%;
    font-size: 12px;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-bg {
    background-image: linear-gradient(180deg, rgba(28, 18, 14, 0.94) 0%, rgba(28, 18, 14, 0.7) 54%, rgba(28, 18, 14, 0.26) 100%), url("images/hero-wood-waste.jpg");
    background-position: center top;
  }

  .hero-inner {
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(32px, 8.6vw, 42px);
  }

  .hero-lead {
    margin: 12px 0 14px;
    font-size: 18px;
  }

  .phone-line {
    margin-bottom: 16px;
    padding: 8px 10px;
    font-size: 17px;
  }

  .hero-actions,
  .map-actions,
  .copy-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero .hero-actions,
  .final-cta .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero .hero-actions .route,
  .final-cta .hero-actions .channel-call {
    grid-column: 1 / -1;
  }

  .button {
    min-width: 0;
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (min-width: 620px) {
  .facts {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

@media (min-width: 860px) {
  .hero-inner {
    margin-left: max(32px, calc((100vw - 1120px) / 2));
  }

  .grid,
  .split-lists {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  }

  .message-section .grid {
    grid-template-columns: 0.72fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
