/* ==========================================================
   ЁЛКИ 71 — design tokens (AI-RULES v3 §0.3)
   Pair: Oswald / Golos Text — condensed, poster-like (market energy)
   Palette: warm off-white + forest ink + burnt amber accent
   ========================================================== */
/* self-hosted fonts: no third-party requests (works behind whitelists) */
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/golos-text-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/golos-text-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/golos-text-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/oswald-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/oswald-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/oswald-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body:    "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;

  --color-bg:      #F6F2EA;
  --color-bg-alt:  #ECE5D6;
  --color-ink:     #16241D;
  --color-ink-70:  rgba(22, 36, 29, .74);
  --color-ink-55:  rgba(22, 36, 29, .66); /* ≥4.5:1 on --color-bg */
  --color-accent:  #8F5320;               /* 5.5:1 on --color-bg, text-safe */
  --color-accent-on-dark: #D39A5E;        /* amber for use on --color-ink */
  --color-line:    rgba(22, 36, 29, .16);
  --color-on-dark: #F6F2EA;
  --color-on-dark-70: rgba(246, 242, 234, .76);
  --color-on-dark-55: rgba(246, 242, 234, .62);
  --color-line-on-dark: rgba(246, 242, 234, .2);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius-pill: 999px;

  --sp-1: 8px;  --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 48px; --sp-6: 64px; --sp-7: 96px; --sp-8: 144px;

  --side: clamp(20px, 5vw, 64px);
  --measure: 56ch;
  --header-h: 100px;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute;
  left: var(--sp-2); top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--color-on-dark);
  color: var(--color-ink);
  border-radius: var(--radius-pill);
  font-size: 14px;
}
.skip-link:focus { top: var(--sp-2); }

/* ---------- grain — §10 numeric reference: 4-8% opacity ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 140px 140px;
}

/* ---------- type scale ---------- */
h1, h2, h3, .logo__word { font-family: var(--font-display); font-weight: 400; }

/* uppercase Cyrillic Ё/Й carry diacritics above cap height — keep a hair more leading than Latin */
h1 {
  font-size: clamp(2.3rem, min(7.4vw, 7.6svh), 6.8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  hyphens: none;
}
h2 {
  font-size: clamp(2.1rem, 4.8vw, 3.8rem);
  line-height: 1.14;
  letter-spacing: -0.008em;
  text-transform: uppercase;
  text-wrap: balance;
  hyphens: none;
}
h3 {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  font-weight: 500;
  text-transform: uppercase;
  text-wrap: balance;
  hyphens: none;
}
p { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.6; text-wrap: pretty; }

.label {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-ink-55);
  margin: 0 0 var(--sp-2);
}

.text-link {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-underline-offset 320ms var(--ease);
}
.text-link:hover { text-underline-offset: 6px; }
/* inline padding widens the tap area to 44px without moving the line */
.text-link { padding-block: 13px; }
h3 .text-link { color: inherit; }
.product h3 a { transition: color 320ms var(--ease); }
.product h3 a:hover { color: var(--color-accent); }
.info__link { margin-top: var(--sp-3); }
.info .text-link { color: var(--color-accent-on-dark); }

/* ---------- motion: staggered rise (only when JS is running) ---------- */
.js .rise {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(14px);
  transition:
    opacity 900ms var(--ease) var(--d, 0ms),
    transform 900ms var(--ease) var(--d, 0ms),
    filter 900ms var(--ease) var(--d, 0ms);
}
.js .rise.is-in { opacity: 1; transform: none; filter: blur(0); }
/* failsafe: the first screen must never stay blank, even if the script never runs */
.js .site-header .rise, .js .hero .rise, .js .pb-hero .rise { animation: riseFailsafe 1ms linear 2600ms forwards; }
@keyframes riseFailsafe { to { opacity: 1; transform: none; filter: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; transform: none; filter: none; transition: none; }
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
}

/* ---------- focus ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero a:focus-visible, .site-header a:focus-visible, .site-header button:focus-visible,
.mobile-menu a:focus-visible, .info a:focus-visible, .site-footer a:focus-visible,
.action-bar a:focus-visible {
  outline-color: var(--color-accent-on-dark);
}

/* ---------- header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: var(--header-h);
  padding: 0 var(--side);
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--color-on-dark);
}
.site-header.is-stuck {
  position: fixed;
  min-height: 84px;
  background: rgba(22, 36, 29, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: headerIn 520ms var(--ease);
}
@keyframes headerIn { from { transform: translateY(-100%); } to { transform: none; } }

.logo { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.logo__mark { width: 48px; height: auto; filter: brightness(0) invert(1); }
.logo__word { font-size: 36px; line-height: 1; letter-spacing: -0.01em; color: var(--color-on-dark); }
.site-footer .logo { gap: 10px; }
.site-footer .logo__mark { width: 24px; }
.site-footer .logo__word { font-size: 18px; }

.logo__city {
  display: none;
  padding-left: 12px;
  margin-left: 2px;
  border-left: 1px solid var(--color-line-on-dark);
  font-size: 13px;
  line-height: 1;
  color: var(--color-on-dark-70);
  white-space: nowrap;
}
@media (min-width: 480px) { .site-header .logo__city { display: inline-block; } }
@media (min-width: 900px) and (max-width: 1679px) { .site-header .logo__city { display: none; } }

.site-nav { display: none; gap: var(--sp-4); margin: 0 auto 0 var(--sp-5); }
.site-nav a {
  position: relative;
  font-size: 14px;
  padding: 10px 0;
  color: var(--color-on-dark-70);
  transition: color 320ms var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease);
}
.site-nav a:hover { color: var(--color-on-dark); }
.site-nav a:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: var(--sp-3); }
.site-header__phone {
  display: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-on-dark);
  padding: 10px 0;
}
.site-header .header-cta { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px 0 12px;
  font-size: 14px;
  color: var(--color-on-dark);
}
.menu-toggle__bars, .menu-toggle__bars::before {
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 420ms var(--ease);
}
.menu-toggle__bars { transform: translateY(-3px); }
.menu-toggle__bars::before { content: ""; position: absolute; left: 0; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(-6px) rotate(-90deg); }

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .site-header .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}
/* 1340: below that the phone collides with the last nav item */
@media (min-width: 1340px) {
  .site-header__phone { display: inline-block; }
}

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: calc(var(--header-h) + var(--sp-4)) var(--side) calc(var(--sp-5) + env(safe-area-inset-bottom, 0px));
  background: var(--color-ink);
  color: var(--color-on-dark);
  overflow-y: auto;
  animation: menuIn 420ms var(--ease);
}
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  font-family: var(--font-display);
  font-size: clamp(30px, 9vw, 44px);
  line-height: 1.1;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-line-on-dark);
}
.mobile-menu__actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
.mobile-menu__phone { font-size: 18px; font-weight: 500; padding: 8px 0; }
@media (min-width: 900px) { .mobile-menu { display: none !important; } }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { position: fixed; background: transparent; animation: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- buttons (CTA-01..07) ---------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 620ms var(--ease);
}
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn__label { position: relative; z-index: 2; transition: color 320ms var(--ease); }
.btn__arrow { position: relative; z-index: 2; transition: transform 520ms var(--ease); }
.btn:hover .btn__arrow { transform: translateY(3px); }
.btn__fill {
  position: absolute; inset: 0;
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease);
}
.btn:hover .btn__fill { transform: scaleX(1); }
.btn:active { transform: scale(.98); }

/* solid dark — on light surfaces */
.btn--solid { background: var(--color-ink); color: var(--color-on-dark); }
.btn--solid .btn__fill { background: var(--color-accent); }

/* solid light — on dark surfaces and photos */
.btn--light { background: var(--color-on-dark); color: var(--color-ink); }
.btn--light .btn__fill { background: var(--color-accent); }
.btn--light:hover .btn__label, .btn--light:hover .btn__arrow { color: var(--color-on-dark); }

/* hairline — fill rises from the bottom, border is swallowed by the fill */
.btn--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--color-line);
  color: var(--color-ink);
}
.btn--ghost .btn__fill {
  background: var(--color-ink);
  transform: scaleY(0);
  transform-origin: bottom;
}
.btn--ghost:hover .btn__fill { transform: scaleY(1); }
.btn--ghost:hover .btn__label { color: var(--color-on-dark); }

/* hairline on dark surfaces */
.btn--ghost-dark {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--color-line-on-dark);
  color: var(--color-on-dark);
}
.btn--ghost-dark .btn__fill {
  background: var(--color-on-dark);
  transform: scaleY(0);
  transform-origin: bottom;
}
.btn--ghost-dark:hover .btn__fill { transform: scaleY(1); }
.btn--ghost-dark:hover .btn__label { color: var(--color-ink); }

@media (hover: none) {
  .btn--ghost-dark:hover .btn__fill { transform: scaleY(0); }
  .btn--ghost-dark:hover .btn__label { color: inherit; }
  .btn:hover .btn__fill { transform: scaleX(0); }
  .btn--ghost:hover .btn__fill { transform: scaleY(0); }
  .btn--ghost:hover .btn__label { color: inherit; }
  .btn--light:hover .btn__label { color: inherit; }
}

.reassurance {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-ink-55);
}

/* ---------- HERO — scheme C, 60/40 split ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--color-ink);
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-4) var(--side) var(--sp-5);
  color: var(--color-on-dark);
}
.hero__label { color: var(--color-on-dark-55); }

.hero__heading {
  color: var(--color-on-dark);
  margin-bottom: var(--sp-3);
}

.hero__sub {
  max-width: 44ch;
  color: var(--color-on-dark-70);
  margin-bottom: var(--sp-4);
}

.hero__price {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--color-line-on-dark);
  max-width: 440px;
}
.hero__price-num {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-accent-on-dark);
  white-space: nowrap;
}
.hero__price-note {
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-on-dark-55);
}

.hero__actions .reassurance { color: var(--color-on-dark-55); }
/* three actions: catalog is the main one, order and call sit beside it */
.hero__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__btn-main { flex: 1 1 100%; }
.hero__buttons .btn--ghost-dark { flex: 1 1 0; padding-inline: 16px; }
@media (min-width: 560px) {
  .hero__buttons { gap: 12px; }
  .hero__btn-main, .hero__buttons .btn--ghost-dark { flex: 0 0 auto; padding-inline: 30px; }
}

.hero__media {
  position: relative;
  order: -1;
  flex: 0 0 auto;
  height: 34svh;
  min-height: 220px;
  overflow: hidden;
  background: #2a3a31;
}
.hero__media picture { display: block; height: 100%; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  transition: transform 1800ms var(--ease);
}
.hero.is-ready .hero__media picture { display: block; height: 100%; }
.hero__media img { transform: none; }
/* soft seam so the header reads over the photo on mobile */
.hero__media::after {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(22,36,29,.6) 0%, rgba(22,36,29,0) 100%);
}

@media (min-width: 860px) {
  .hero { flex-direction: row; height: 100svh; min-height: 620px; }
  /* the text column is 60% wide: size the heading by that, or the longest line wraps and pushes the block under the header */
  .hero__heading { font-size: clamp(2.3rem, min(5vw, 7.2svh), 6.8rem); }
  .hero__content {
    flex: 0 0 60%;
    min-width: 0;
    padding: calc(var(--header-h) + var(--sp-4)) var(--side) 112px;
  }
  .hero__media { order: 0; flex: 0 0 40%; height: auto; min-height: 0; }
  .hero__media::after { height: 120px; }
}

/* short viewports — keep heading, price and CTA inside the first screen */
/* phones: three hero buttons need the room the photo used to take */
@media (max-width: 859px) {
  .hero__media { height: 24svh; min-height: 140px; }
  .hero__label { margin-bottom: var(--sp-1); }
  .hero__content { padding-top: var(--sp-3); padding-bottom: var(--sp-3); }
  .hero__heading { margin-bottom: var(--sp-2); }
  .hero__sub { margin-bottom: var(--sp-3); }
  .hero__price { margin-bottom: var(--sp-3); padding-top: var(--sp-2); }
  .hero__actions .reassurance { margin-top: 10px; }
}
@media (max-width: 859px) and (max-height: 790px) {
  .hero__media { height: 19svh; min-height: 120px; }
  .hero__sub { display: none; }
}
@media (max-width: 350px) {
  .hero__heading { font-size: 1.9rem; }
  .hero__media { height: 14svh; min-height: 84px; }
  .hero__price-note { font-size: 12px; }
}
@media (min-width: 860px) and (max-height: 780px) {
  .hero__content { padding-top: calc(var(--header-h) + var(--sp-2)); padding-bottom: 80px; }
  .hero__heading { margin-bottom: var(--sp-2); }
  .hero__sub { margin-bottom: var(--sp-3); }
  .hero__price { margin-bottom: var(--sp-3); padding-top: var(--sp-2); }
}
/* narrow two-column layouts wrap the three buttons into two rows — give that row its room back */
@media (min-width: 860px) and (max-width: 1279px) and (max-height: 760px) {
  .hero__sub { display: none; }
}
@media (min-width: 860px) and (max-height: 640px) {
  .hero__content { padding-bottom: 40px; }
  .hero__price { margin-bottom: var(--sp-2); }
  .hero__sub { display: none; }
}

/* ---------- offer strip ---------- */
.strip {
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-6) var(--side);
  border-bottom: 1px solid var(--color-line);
}
@media (min-width: 760px) {
  .strip { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
}
.strip__item { display: flex; gap: var(--sp-2); align-items: baseline; }
.strip__num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  flex: none;
}
.strip__text { font-size: 15px; max-width: 34ch; }
.strip__text strong { font-weight: 500; }
.strip__item:first-child .strip__text strong {
  font-family: var(--font-display);
  font-size: 1.5em;
  line-height: 1;
  color: var(--color-accent);
}

.quiz-cta { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; gap: 12px; }
.quiz-cta .reassurance { flex-basis: 100%; margin-top: 2px; }
.btn__arrow--r { transform: none; }
.btn:hover .btn__arrow--r { transform: translateX(3px); }
.btn--ghost:hover .btn__arrow { color: var(--color-on-dark); }

/* ---------- section shell ---------- */
section { padding: var(--sp-7) var(--side); }
@media (max-width: 640px) {
  section { padding-block: var(--sp-6); }
}
.section-head { max-width: 62ch; margin-bottom: var(--sp-5); }
@media (min-width: 860px) { .section-head { margin-bottom: var(--sp-6); } }
.section-lead { margin-top: var(--sp-3); color: var(--color-ink-70); max-width: var(--measure); }

/* ---------- why — numbered rows, hairline, full-bleed photo ---------- */
.why { background: var(--color-bg-alt); }
.why__layout { display: flex; flex-direction: column; gap: var(--sp-5); }
.why__list { display: flex; flex-direction: column; }
.why__row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--sp-2);
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--color-line);
}
.why__row:last-child { border-bottom: 1px solid var(--color-line); }
.why__index {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-accent);
  padding-top: 4px;
}
.why__body h3 { margin-bottom: 8px; }
.why__body p { max-width: var(--measure); color: var(--color-ink-70); }

.why__photo {
  position: relative;
  margin-inline: calc(var(--side) * -1);
  overflow: hidden;
}
/* height: auto — without it the height="900" attribute beats aspect-ratio and the photo becomes 900px tall on phones */
.why__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 600px) and (max-width: 859px) {
  .why__photo img { aspect-ratio: 16 / 9; }
}
.why__photo figcaption {
  position: absolute;
  left: var(--side); bottom: var(--sp-3);
  font-size: 13px;
  color: var(--color-on-dark);
  text-shadow: 0 1px 12px rgba(0,0,0,.55);
}

@media (min-width: 860px) {
  .why { padding-right: 0; }
  .why .section-head { padding-right: var(--side); }
  .why__layout { flex-direction: row; align-items: stretch; gap: var(--sp-6); }
  .why__list { flex: 1 1 auto; min-width: 0; }
  .why__row { grid-template-columns: 56px 1fr; gap: var(--sp-3); }
  .why__photo { flex: 0 0 40%; margin: 0; }
  .why__photo img { height: 100%; aspect-ratio: auto; min-height: 420px; }
  .why__photo figcaption { left: var(--sp-4); }
}

/* ---------- catalog ---------- */
.catalog__grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .catalog__grid { gap: var(--sp-4); }
}
@media (min-width: 720px) and (max-width: 979px) {
  .product__body { padding: var(--sp-2) var(--sp-2) var(--sp-3); }
  .product__row .btn--sm { width: 100%; padding: 0 12px; font-size: 13px; }
}
.product {
  background: var(--color-bg-alt);
  display: flex;
  flex-direction: column;
}
.product__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: var(--sp-3);
}
/* cut-out shots on white — multiply dissolves the white into the card tone */
.product__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: bottom;
  mix-blend-mode: multiply;
  transform-origin: bottom center;
  transition: transform 800ms var(--ease);
}
.product:hover .product__media img { transform: scale(1.04); }

/* real photo in an interior: fills the frame, no multiply */
.product__media--photo { padding-top: 0; }
.product__media--photo img { object-fit: cover; object-position: center 40%; mix-blend-mode: normal; }

.product__media--soon {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3);
}
.product__soon-icon { color: rgba(22, 36, 29, .28); transition: transform 800ms var(--ease); }
.product:hover .product__soon-icon { transform: translateY(-4px); }
.product__soon-label {
  font-size: 13px;
  color: var(--color-ink-55);
  text-align: center;
  max-width: 22ch;
}
.product__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--sp-3) var(--sp-3) var(--sp-3);
}
.product__desc { color: var(--color-ink-70); margin: 8px 0 var(--sp-3); }
.product__row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--color-line);
}
.product__price {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.catalog__note {
  margin-top: var(--sp-5);
  font-size: 14px;
  color: var(--color-ink-55);
  max-width: 62ch;
}

/* ---------- delivery / payment ---------- */
.info {
  background: var(--color-ink);
  color: var(--color-on-dark);
  display: grid;
  gap: var(--sp-6);
}
@media (min-width: 760px) {
  .info { grid-template-columns: repeat(2, 1fr); }
}
.info__col .label { color: var(--color-on-dark-55); }
.info__col h2 { margin-bottom: var(--sp-3); }
.info__col p { color: var(--color-on-dark-70); max-width: var(--measure); margin-bottom: var(--sp-2); }
.info__extra { margin-top: var(--sp-3); padding-top: var(--sp-2); border-top: 1px solid var(--color-line-on-dark); color: var(--color-on-dark) !important; }
.info__facts { margin-top: var(--sp-3); display: flex; flex-direction: column; gap: 10px; }
.info__facts li {
  font-size: 15px;
  color: var(--color-on-dark);
  padding-left: 22px;
  position: relative;
}
.info__facts li::before {
  content: "";
  position: absolute; left: 0; top: .8em;
  width: 10px; height: 1px;
  background: var(--color-accent-on-dark);
}

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--color-line); max-width: 960px; }
.faq__item { border-bottom: 1px solid var(--color-line); }
.faq__h { font: inherit; text-transform: none; letter-spacing: 0; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 22px 0;
  text-align: left;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.3;
  font-family: var(--font-display);
  font-weight: 400;
  min-height: 44px;
  transition: color 320ms var(--ease);
}
.faq__q:hover { color: var(--color-accent); }
.faq__icon {
  position: relative;
  width: 16px; height: 16px;
  flex: none;
  transition: transform 520ms var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 420ms var(--ease), opacity 420ms var(--ease);
}
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(180deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translateX(-50%) scaleY(0); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 420ms var(--ease), visibility 0s linear 420ms;
}
.faq__a-inner { overflow: hidden; min-height: 0; }
.faq__a p {
  color: var(--color-ink-70);
  max-width: var(--measure);
  padding: 0 var(--sp-5) var(--sp-3) 0;
}
.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 420ms var(--ease), visibility 0s;
}
/* without JS, answers stay readable */
.no-js .faq__a { grid-template-rows: 1fr; visibility: visible; }

/* ---------- final CTA ---------- */
.cta-final {
  background: var(--color-bg-alt);
  display: grid;
  gap: var(--sp-4);
  align-items: end;
}
@media (min-width: 900px) {
  .cta-final { grid-template-columns: 1.2fr 1fr; gap: var(--sp-6); }
}
.cta-final h2 { max-width: 16ch; margin-bottom: var(--sp-3); font-size: clamp(2.3rem, 5.4vw, 4.6rem); }
.cta-final p { color: var(--color-ink-70); max-width: 42ch; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--color-ink);
  color: var(--color-on-dark);
  padding: var(--sp-6) var(--side) var(--sp-4);
}
.site-footer__top {
  display: grid;
  gap: var(--sp-4);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--color-line-on-dark);
}
@media (min-width: 760px) {
  .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; align-items: start; }
}
.site-footer__copy { margin-top: 12px; font-size: 14px; color: var(--color-on-dark-55); max-width: 32ch; }
.site-footer__nav, .site-footer__contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.site-footer__nav a, .site-footer__contacts a {
  font-size: 15px;
  padding: 8px 0;
  color: var(--color-on-dark-70);
  transition: color 320ms var(--ease);
}
.site-footer__nav a:hover, .site-footer__contacts a:hover { color: var(--color-on-dark); }
.site-footer__contacts .site-footer__phone { font-family: var(--font-display); font-size: 22px; color: var(--color-on-dark); }
.site-footer__legal { margin-top: var(--sp-3); font-size: 13px; color: var(--color-on-dark-55); }

/* ---------- mobile action bar ---------- */
.action-bar {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(22, 36, 29, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px -12px rgba(0,0,0,.45);
  transform: translateY(calc(100% + 24px));
  transition: transform 520ms var(--ease);
}
.action-bar.is-visible { transform: none; }
.action-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-on-dark);
  white-space: nowrap;
}
.action-bar__btn--main { background: var(--color-on-dark); color: var(--color-ink); }
@media (max-width: 400px) {
  .action-bar__btn { padding: 0 16px; }
  .action-bar__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 900px) { .action-bar { display: none; } }
@media (max-width: 899px) {
  .site-footer { padding-bottom: calc(var(--sp-4) + 84px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- hero: delivery line inside the price note ---------- */
.hero__price-note strong { display: inline-block; margin-top: 4px; font-weight: 500; color: var(--color-on-dark); }

/* ---------- how it works ---------- */
.how { background: var(--color-bg); }
.how__steps { display: grid; gap: 0; border-top: 1px solid var(--color-line); counter-reset: none; }
.how__step { padding: var(--sp-4) 0; border-bottom: 1px solid var(--color-line); }
.how__num { display: block; font-family: var(--font-display); font-size: 14px; color: var(--color-accent); margin-bottom: 10px; }
.how__step h3 { margin-bottom: 8px; }
.how__step p { color: var(--color-ink-70); max-width: 34ch; }
@media (min-width: 860px) {
  .how__steps { grid-template-columns: repeat(3, 1fr); column-gap: var(--sp-5); border-bottom: 1px solid var(--color-line); }
  .how__step { border-bottom: 0; padding-right: var(--sp-3); }
  .how__num { font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--color-accent); margin-bottom: var(--sp-2); }
}
.how__promise {
  margin-top: var(--sp-5);
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-4);
  background: var(--color-ink);
  color: var(--color-on-dark);
}
@media (min-width: 760px) { .how__promise { grid-template-columns: 1fr 1fr; gap: var(--sp-6); padding: var(--sp-5); } }
.how__promise-title { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); line-height: 1.15; text-transform: uppercase; margin-bottom: 10px; color: var(--color-accent-on-dark); }
.how__promise-text { color: var(--color-on-dark-70); max-width: 36ch; }

/* ---------- comparison: market vs Ёлки 71 ---------- */
.compare { max-width: 880px; margin-bottom: var(--sp-6); border-top: 1px solid var(--color-line); }
.compare__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); padding: 18px 0; border-bottom: 1px solid var(--color-line); align-items: baseline; }
.compare__row--head { padding: 14px 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-ink-55); }
.compare__row--head span:last-child { color: var(--color-accent); }
.compare__old { color: var(--color-ink-55); text-decoration: line-through; text-decoration-color: rgba(22,36,29,.28); text-decoration-thickness: 1px; }
.compare__new { font-weight: 500; }
.compare p, .compare span { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.4; }
.compare__row--head span { font-size: 12px; line-height: 1.4; }
@media (max-width: 480px) { .compare__row { gap: var(--sp-2); } }

/* ---------- delivery zones ---------- */
.zones { margin: 0 0 var(--sp-3); border-top: 1px solid var(--color-line-on-dark); }
.zones__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-2); padding: 14px 0; border-bottom: 1px solid var(--color-line-on-dark); }
.zones dt { color: var(--color-on-dark-70); font-size: 15px; }
.zones dd { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); text-align: right; color: var(--color-on-dark); }
.zones__row:first-child dd { color: var(--color-accent-on-dark); }

/* ---------- for companies ---------- */
.corp { display: grid; gap: var(--sp-3); align-items: center; padding-block: var(--sp-6); border-top: 1px solid var(--color-line); }
@media (min-width: 860px) { .corp { grid-template-columns: 1.4fr 1fr; gap: var(--sp-6); } .corp__action { justify-self: end; } }
.corp h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 10px; }
.corp p:not(.label) { color: var(--color-ink-70); }

/* ---------- final CTA facts ---------- */
.cta-final__facts { margin-top: var(--sp-3); display: flex; flex-wrap: wrap; gap: 8px 28px; }
.cta-final__facts li { font-family: var(--font-display); font-size: clamp(18px, 2vw, 24px); text-transform: uppercase; color: var(--color-ink); }
.cta-final__facts li:first-child { color: var(--color-accent); }
.zones__row:last-child dd { font-family: var(--font-body); font-size: 15px; color: var(--color-on-dark-70); }
@media (max-width: 480px) { .corp h2 { font-size: 1.6rem; } }

@media (max-width: 480px) {
  .logo { gap: 10px; }
  .logo__mark { width: 40px; }
  .logo__word { font-size: 30px; }
  :root { --header-h: 84px; }
}

/* ---------- pihta price tables ---------- */
.pihta { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--color-line); scroll-margin-top: 80px; }
.pihta__head { margin-bottom: var(--sp-4); }
.pihta__head .label { margin-bottom: 8px; }
.pihta__title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.1; }
.pihta__tables { display: grid; gap: var(--sp-5); }
@media (min-width: 760px) { .pihta__tables { grid-template-columns: 1fr 1fr; gap: var(--sp-6); align-items: start; } }
.price-table { width: 100%; border-collapse: collapse; }
.price-table caption { text-align: left; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; padding-bottom: 12px; }
.price-table thead th { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-ink-55); text-align: left; padding: 10px 0; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.price-table thead th:last-child, .price-table td { text-align: right; }
.price-table tbody th { font-weight: 400; text-align: left; padding: 14px 0; border-bottom: 1px solid var(--color-line); color: var(--color-ink-70); }
.price-table td { padding: 14px 0; border-bottom: 1px solid var(--color-line); font-family: var(--font-display); font-size: 22px; white-space: nowrap; }
.price-table tbody tr:hover th, .price-table tbody tr:hover td { color: var(--color-accent); }

/* ---------- contact chooser ---------- */
body.contact-open { overflow: hidden; }
.contact { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.contact[hidden] { display: none; }
.contact__backdrop { position: absolute; inset: 0; background: rgba(22, 36, 29, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 420ms var(--ease); }
.contact__sheet {
  position: relative;
  width: 100%; max-width: 520px;
  max-height: 100%; overflow-y: auto;
  padding: var(--sp-5) var(--sp-4) calc(var(--sp-4) + env(safe-area-inset-bottom, 0px));
  background: var(--color-bg);
  transform: translateY(40px); opacity: 0;
  transition: transform 520ms var(--ease), opacity 420ms var(--ease);
}
.contact.is-open .contact__backdrop { opacity: 1; }
.contact.is-open .contact__sheet { transform: none; opacity: 1; }
@media (min-width: 640px) {
  .contact { align-items: center; padding: var(--sp-4); }
  .contact__sheet { padding: var(--sp-5); }
}
.contact__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--color-ink-70); transition: color 320ms var(--ease), transform 520ms var(--ease); }
.contact__close:hover { color: var(--color-ink); transform: rotate(90deg); }
.contact__title { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: var(--sp-4); }
.contact__list { display: flex; flex-direction: column; border-top: 1px solid var(--color-line); }
.contact__item { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: var(--sp-2); min-height: 72px; padding: 0 var(--sp-2); border-bottom: 1px solid var(--color-line); transition: color 320ms var(--ease); }
.contact__fill { position: absolute; inset: 0; z-index: -1; background: var(--color-ink); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease); }
.contact__item:hover, .contact__item:focus-visible { color: var(--color-on-dark); }
.contact__item:hover .contact__fill, .contact__item:focus-visible .contact__fill { transform: scaleX(1); }
.contact__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; }
.contact__name { flex: 1; font-family: var(--font-display); font-size: 24px; text-transform: uppercase; }
.contact__arrow { flex: none; transition: transform 520ms var(--ease); }
.contact__item:hover .contact__arrow { transform: translateX(4px); }
.contact__foot { margin-top: var(--sp-3); font-size: 14px; color: var(--color-ink-70); }
@media (hover: none) { .contact__item:hover { color: inherit; } .contact__item:hover .contact__fill { transform: scaleX(0); } }

/* header text can sit on the photo: keep it readable without a dark overlay */
.site-nav a, .site-header__phone { text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }
@media (min-width: 900px) and (max-width: 1279px) { .site-nav { gap: var(--sp-3); margin-left: var(--sp-4); } }

/* ---------- trees at customers' homes — full-bleed strip ---------- */
.homes { padding-bottom: 0; }
.homes__strip {
  display: flex;
  gap: 2px;
  margin-inline: calc(var(--side) * -1);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.homes__strip::-webkit-scrollbar { display: none; }
.homes__item { flex: 0 0 68vw; scroll-snap-align: start; overflow: hidden; background: #2a3a31; }
.homes__item img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 800ms var(--ease); }
.homes__item:hover img { transform: scale(1.04); }
@media (min-width: 640px) { .homes__item { flex-basis: 38vw; } }
@media (min-width: 1000px) {
  .homes__strip { overflow: visible; }
  .homes__item { flex: 1 1 0; }
}

.pihta__note { margin-top: var(--sp-4); max-width: var(--measure); color: var(--color-ink-70); }
