@charset "UTF-8";

@font-face {
  font-family: 'Sofia Sans Extra Condensed';
  src: url('/fonts/sofia-sans-extra-condensed.ttf') format('truetype');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Golos Text';
  src: url('/fonts/golos-text.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fff7e6;
  --ink: #2b0d18;
  --teal: #fa6bc0;
  --teal-dark: #3b1722;
  --brand-pink: #fa6bc0;
  --red: #fecfe9;
  --red-dark: #f9b8dd;
  --red-text: #a7095d;
  --mist: #ffe2ec;
  --cookie-shadow-rgb: 187 140 39;
  --line: #d7b9b8;
  --white: #fff7e6;
  --focus: #2457d6;
  --page: min(1240px, calc(100vw - 56px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-sticky: 20;
  --z-backdrop: 40;
  --z-modal: 50;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 400 1rem/1.55 'Golos Text', sans-serif;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 16px; top: 12px; transform: translateY(-160%); z-index: 100; background: var(--white); padding: 12px 16px; }
.skip-link:focus { transform: none; }
.container { width: var(--page); margin-inline: auto; }
.reading { max-width: 72ch; }
.section { padding-block: clamp(72px, 9vw, 136px); }
.section-tight { padding-block: clamp(48px, 6vw, 88px); }
.section-teal, .section-mist, .section-red { color: var(--ink); background: var(--bg); }
.display, h1, h2, h3 {
  margin: 0;
  font-family: 'Sofia Sans Extra Condensed', sans-serif;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(3.6rem, 9vw, 6rem); font-weight: 760; }
h2 { font-size: clamp(3rem, 6vw, 5.25rem); font-weight: 730; }
h3 { font-size: clamp(1.9rem, 3vw, 2.75rem); font-weight: 700; }
p { text-wrap: pretty; }
.lede { max-width: 66ch; font-size: clamp(1.08rem, 1.6vw, 1.35rem); line-height: 1.45; }
.muted { color: oklch(0.38 0.035 195); }
.section-teal .muted { color: var(--ink); }
.site-footer .muted { color: oklch(0.9 0.02 190); }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 12px 22px;
  color: var(--ink);
  background: var(--red);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}
.button:hover { background: var(--red-dark); }
.button:active { transform: translateY(1px); }
.button-secondary { color: var(--ink); background: transparent; border-color: var(--ink); }
.button-secondary:hover { color: var(--white); background: var(--ink); }
.button-light { color: var(--teal-dark); background: var(--white); }
.button-light:hover { color: var(--white); background: var(--teal-dark); }
.button[disabled] { opacity: 0.58; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.site-header { position: relative; z-index: var(--z-sticky); border-bottom: 1px solid var(--line); background: color-mix(in oklch, var(--white) 96%, transparent); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { font: 760 2rem/0.86 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -0.02em; text-decoration: none; max-width: 180px; }
.wordmark span { color: var(--red-text); }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 40px); }
.site-nav[hidden] { display: flex !important; }
.site-nav a { font-weight: 650; text-decoration: none; }
.site-nav a:not(.button):hover { color: var(--red-text); }
.menu-button { display: none; min-width: 48px; min-height: 48px; border: 2px solid var(--ink); border-radius: 8px; background: var(--white); font-weight: 700; }

.hero { min-height: min(820px, calc(100vh - 84px)); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: stretch; overflow: hidden; }
.hero-copy { padding: clamp(56px, 7vw, 108px) max(24px, calc((100vw - min(1440px, calc(100vw - 48px))) / 2)); padding-right: clamp(28px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.hero-copy p { margin: 28px 0 34px; }
.hero-copy h1 { animation: hero-copy 700ms var(--ease) both; }
.hero-copy .lede { animation: hero-copy 700ms 80ms var(--ease) both; }
.hero-copy .actions { animation: hero-copy 700ms 150ms var(--ease) both; }
.hero-price { margin-top: 32px; display: flex; gap: 32px; font-weight: 700; }
.hero-price { animation: hero-copy 700ms 220ms var(--ease) both; }
.hero-price strong { display: block; white-space: nowrap; font: 800 clamp(2rem, 3vw, 3rem)/1 'Golos Text', sans-serif; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.03em; color: var(--red-text); }
.hero-image { position: relative; min-height: 500px; background: var(--teal); overflow: hidden; }
.hero-image picture, .hero-image img { width: 100%; height: 100%; }
.hero-image img { object-fit: cover; object-position: center; clip-path: inset(7% 7% 7% 7% round 12px); animation: hero-image 900ms var(--ease) both; }
.hero-image::after { content: 'ПЕЧАТЬ ВАШЕГО МАКЕТА'; position: absolute; right: 18px; bottom: 22px; color: var(--white); font: 700 clamp(1.4rem, 2.2vw, 2.4rem)/1 'Sofia Sans Extra Condensed'; writing-mode: vertical-rl; }
@keyframes hero-image { from { clip-path: inset(48% 7% 48% 7% round 12px); filter: saturate(.7); } }
@keyframes hero-copy { from { opacity: .64; filter: blur(3px); transform: translateY(12px); } }

.direction-list { margin-top: 48px; border-top: 2px solid currentColor; }
.direction-item { display: grid; grid-template-columns: minmax(220px,.7fr) 1.3fr auto; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid currentColor; }
.direction-item p { margin: 0; max-width: 58ch; }
.direction-item a { font-weight: 700; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-heading p { max-width: 50ch; margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px) clamp(18px, 2.5vw, 36px); }
.product-card { display: flex; flex-direction: column; min-width: 0; }
.product-card:nth-child(4n+2), .product-card:nth-child(4n+4) { padding-top: 42px; }
.product-card-media { aspect-ratio: 1 / 1.08; overflow: hidden; background: var(--mist); border-radius: 12px; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.product-card:hover img { transform: scale(1.035); }
.product-card h3 { margin-top: 18px; font-size: clamp(1.7rem, 2.4vw, 2.35rem); }
.product-card h3 a { text-decoration: none; }
.product-card p { margin: 12px 0 18px; }
.product-card .product-delivery { margin-top: -8px; color: var(--ink); font-size: .92rem; opacity: .76; }
.product-card-footer { margin-top: auto; display: flex; justify-content: space-between; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; }
.product-price { font-weight: 750; white-space: nowrap; }
.product-card .button { min-height: 48px; padding: 10px 15px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 44px; }
.filter { min-height: 48px; border: 2px solid var(--teal); border-radius: 8px; padding: 9px 16px; color: var(--teal-dark); background: var(--white); font-weight: 700; cursor: pointer; }
.filter[aria-pressed='true'], .filter:hover { color: var(--white); background: var(--teal); }

.facts-band { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid color-mix(in oklch, var(--white) 35%, transparent); border-bottom: 1px solid color-mix(in oklch, var(--white) 35%, transparent); }
.fact { padding: 36px clamp(20px, 3vw, 46px); border-right: 1px solid color-mix(in oklch, var(--white) 35%, transparent); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font: 760 clamp(2.7rem, 5vw, 5.2rem)/.9 'Sofia Sans Extra Condensed', sans-serif; }
.fact span { display: block; margin-top: 10px; }
.benefit-illustration,
.step-illustration { display: block; width: min(100%, 180px); height: auto; object-fit: contain; }
.benefit-illustration { margin-bottom: 30px; }
.production-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 9vw, 140px); align-items: start; }
.production-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.production-list li { padding: 24px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.08rem, 1.7vw, 1.3rem); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid currentColor; }
.step { padding: 28px clamp(18px, 2.5vw, 38px) 8px 0; border-right: 1px solid currentColor; }
.step:last-child { border-right: 0; padding-right: 0; padding-left: 28px; }
.step:not(:first-child) { padding-left: 28px; }
.step-illustration { margin-bottom: 16px; }

.page-hero { padding-block: clamp(70px, 10vw, 150px); border-bottom: 1px solid var(--line); }
.page-hero .lede { margin: 28px 0 0; }
.page-grid { display: grid; grid-template-columns: minmax(220px,.55fr) minmax(0,1.45fr); gap: clamp(44px, 9vw, 150px); }
.sticky-note { position: sticky; top: 28px; align-self: start; padding: 24px; color: var(--white); background: var(--teal); border-radius: 12px; }
.legal-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.legal-list li { display: grid; grid-template-columns: minmax(150px,.45fr) 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }

.product-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px,.75fr); gap: clamp(44px, 8vw, 120px); align-items: start; }
.product-detail-media { position: sticky; top: 24px; background: var(--mist); border-radius: 12px; overflow: hidden; }
.product-detail-media img { width: 100%; aspect-ratio: 1/1.06; object-fit: cover; }
.product-detail-copy h1 { margin-bottom: 0; }
.product-description { margin-top: 32px; }
.product-description .lede { margin-bottom: 16px; }
.product-specs { margin: 32px 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.product-specs li { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-calculator { margin-top: 28px; padding: clamp(22px, 3vw, 30px); background: var(--mist); }
.price-calculator h2 { margin-bottom: 24px; font-family: 'Golos Text', sans-serif; font-size: 1.25rem; font-weight: 750; line-height: 1.2; letter-spacing: 0; }
.calculator-quantity,
.calculator-unit-price,
.calculator-total { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.calculator-quantity output { color: var(--red-text); font-size: 1.7rem; font-weight: 800; }
.calculator-range { width: 100%; margin: 14px 0 0; accent-color: var(--red-text); cursor: pointer; }
.calculator-limits { display: flex; justify-content: space-between; margin-top: 2px; font-size: .85rem; }
.calculator-unit-price { margin-top: 24px; }
.calculator-unit-price strong { color: var(--red-text); font-size: 1.25rem; }
.calculator-total { margin-top: 12px; }
.calculator-total strong { color: var(--red-text); font-size: clamp(1.7rem, 3vw, 2.2rem); }
.price-tiers { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: .92rem; text-align: left; }
.price-tiers th,
.price-tiers td { padding: 9px 12px; }
.price-tiers th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.price-tiers tr.is-active { background: var(--red); }
.calculator-order { width: 100%; }
.breadcrumbs { padding: 18px 0; font-size: .9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--red-text); }

.order-dialog { position: absolute; inset: var(--dialog-top, 16px) 0 auto; width: min(860px, calc(100vw - 32px)); max-height: none; margin: 0 auto; border: 0; border-radius: 16px; padding: 0; color: var(--ink); background: var(--white); overflow: visible; }
.order-dialog::backdrop { background: color-mix(in oklch, var(--teal-dark) 78%, transparent); }
.dialog-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px clamp(22px, 3vw, 32px); color: var(--white); background: var(--teal); }
.dialog-head h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: .95; }
.dialog-title p { display: none; }
.dialog-close { flex: 0 0 auto; min-height: 48px; border: 2px solid var(--white); border-radius: 8px; padding: 8px 14px; color: var(--white); background: transparent; font-weight: 700; cursor: pointer; }
.order-form { padding: clamp(24px, 5vw, 48px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; }
.field input:not([type='checkbox']), .field select, .field textarea {
  width: 100%; min-height: 50px; border: 2px solid var(--line); border-radius: 8px; padding: 11px 13px; color: var(--ink); background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: oklch(0.43 0.025 195); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 3px solid color-mix(in oklch, var(--teal) 24%, transparent); outline-offset: 1px; }
.field input[aria-invalid='true'], .field select[aria-invalid='true'], .field textarea[aria-invalid='true'] { border-color: oklch(0.5 0.2 25); outline: 3px solid oklch(0.5 0.2 25 / 18%); outline-offset: 1px; }
.checkbox { display: flex; gap: 12px; align-items: start; }
.checkbox input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--teal); }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.form-actions { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { min-height: 1.6em; margin-top: 18px; font-weight: 650; }
.form-status.is-error { color: oklch(0.45 0.19 28); }
.form-status.is-success { color: oklch(0.38 0.11 150); }

.site-footer { padding-block: 64px 32px; color: var(--white); background: var(--teal-dark); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 28px; }
.footer-nav a { text-decoration-color: color-mix(in oklch, var(--white) 45%, transparent); }
.footer-consent-button {
  width: max-content;
  max-width: 100%;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: color-mix(in oklch, var(--white) 45%, transparent);
  text-underline-offset: .2em;
  cursor: pointer;
}
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid color-mix(in oklch, var(--white) 25%, transparent); display: flex; justify-content: space-between; gap: 24px; font-size: .9rem; }
.footer-developer { display: inline-flex; align-items: center; gap: 10px; padding-right: 8px; color: var(--white); text-decoration: none; }
.footer-developer img { width: 160px; height: auto; }
.not-found { min-height: 68vh; display: grid; place-items: center; text-align: center; }

.analytics-consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: var(--z-modal);
  width: min(500px, calc(100vw - 48px));
  border: 2px solid var(--ink);
  padding: clamp(20px, 4vw, 28px);
  color: var(--ink);
  background: var(--bg);
}
.analytics-consent h2 { max-width: none; margin-bottom: 14px; font-size: 3rem; }
.analytics-consent p { max-width: 52ch; margin: 0; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.analytics-consent-actions .button { min-width: 140px; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .product-card:nth-child(4n+2), .product-card:nth-child(4n+4) { padding-top: 0; }
  .product-card:nth-child(3n+2) { padding-top: 34px; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(n+3) { margin-top: 44px; }
}

@media (max-width: 900px) {
  :root { --page: min(100% - 32px, 720px); }
  .header-inner { min-height: 72px; }
  .menu-button { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { position: absolute; inset: 72px 0 auto; flex-direction: column; align-items: stretch; padding: 24px 16px 30px; background: var(--white); border-bottom: 2px solid var(--ink); }
  .site-nav[hidden] { display: none !important; }
  .site-nav a { padding: 10px 0; }
  .site-nav .button { margin-top: 8px; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 64px 16px 48px; }
  .hero-image { min-height: 480px; }
  .direction-item { grid-template-columns: 1fr auto; }
  .direction-item p { grid-column: 1/-1; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .product-card:nth-child(3n+2) { padding-top: 0; }
  .product-card:nth-child(even) { padding-top: 28px; }
  .production-layout, .page-grid, .product-detail, .footer-grid { grid-template-columns: 1fr; }
  .sticky-note, .product-detail-media { position: static; }
  .facts-band { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid color-mix(in oklch, var(--white) 35%, transparent); }
  .fact:last-child { border-bottom: 0; }
  .section-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --page: calc(100% - 24px); }
  h1 { font-size: clamp(3.1rem, 18vw, 4.7rem); }
  h2 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .wordmark { font-size: 1.65rem; max-width: 140px; }
  .hero-copy { padding-inline: 12px; }
  .hero-image { min-height: 390px; }
  .hero-price { gap: 18px; flex-wrap: wrap; }
  .actions .button { width: 100%; }
  .direction-item { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card, .product-card:nth-child(even) { padding-top: 0; }
  .product-card-media { aspect-ratio: 1/1; }
  .product-card-footer { align-items: stretch; flex-direction: column; }
  .product-card .button { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:not(:first-child), .step:last-child { margin-top: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid currentColor; }
  .step:last-child { border-bottom: 0; }
  .legal-list li { grid-template-columns: 1fr; gap: 5px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .dialog-head { padding: 16px 18px; }
  .order-form { padding: 22px 18px 30px; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Pink poster system based on the approved references. */
body {
  background: var(--bg);
}

.site-header,
main,
.site-footer {
  width: 100%;
  margin: 0;
}

main { background: var(--bg); }

.section { padding-block: clamp(76px, 9vw, 132px); }
.section-tight { padding-block: clamp(54px, 7vw, 92px); }
.section-teal,
.section-red,
.section-pink,
.section-mist,
.section-blush,
.section-dark { color: var(--ink); background: var(--bg); }
.section-dark .muted,
.section-pink .muted { color: var(--ink); }
main .button-light { color: var(--ink); background: var(--red); }
main .button-light:hover { color: var(--ink); background: var(--red-dark); }

.button {
  min-height: 52px;
  border-radius: 0;
  padding-inline: 24px;
  letter-spacing: .01em;
}
.button-secondary { color: var(--ink); border-color: currentColor; }
.button-light { color: var(--red); background: var(--white); }
.button-light:hover { color: var(--white); background: var(--teal-dark); }

.site-header {
  position: relative;
  z-index: 20;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: var(--bg);
}
.header-inner { min-height: 92px; }
.header-brand { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); min-width: 0; }
.brand-mark {
  display: inline-flex;
  width: clamp(158px, 13vw, 210px);
  flex: 0 1 auto;
  color: var(--brand-pink);
  text-decoration: none;
}
.site-header .brand-mark { width: 100px; color: var(--ink); }
.brand-logo { display: block; width: 100%; height: auto; }
.site-nav { gap: clamp(14px, 1.8vw, 28px); }
.site-nav a { white-space: nowrap; }
.site-header .site-nav .button { min-height: 46px; padding-inline: 18px; }
.site-nav a:not(.button),
.city-picker summary { font-size: .92rem; font-weight: 700; }
.city-picker { position: relative; flex: 0 0 auto; }
.city-picker summary { display: grid; gap: 1px; list-style: none; cursor: pointer; }
.city-picker summary span { font-size: .72rem; font-weight: 500; }
.city-picker summary strong { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; }
.city-picker summary::-webkit-details-marker { display: none; }
.city-picker summary strong::after {
  content: '';
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-right: 2px solid var(--red-text);
  border-bottom: 2px solid var(--red-text);
  transform: translateY(-2px) rotate(45deg);
}
.city-menu {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  z-index: 10;
  width: 240px;
  padding: 14px 18px;
  border: 1px solid var(--red);
  color: var(--ink);
  background: var(--bg);
}
.city-menu a { display: block; padding: 8px 0; }
.menu-button { border-radius: 0; color: var(--ink); background: var(--bg); }

.home-intro {
  position: relative;
  display: grid;
  min-height: clamp(640px, 76vh, 820px);
  padding-block: clamp(108px, 10vw, 154px);
  overflow: hidden;
  align-items: center;
}
.home-intro-grid {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 720px;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(22px, 3vw, 34px);
  text-align: center;
}
.home-intro h1 { max-width: 720px; font-size: clamp(4rem, 6vw, 6rem); line-height: .9; text-wrap: balance; }
.home-intro .lede { max-width: 62ch; margin: 0; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.55; }
.home-order { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 20px; }
.home-order .hero-price { margin-top: 0; }
.home-order .hero-price,
.home-order .actions { justify-content: center; }
.hero-price { margin-top: 28px; }
.hero-price strong { color: var(--red-text); }

.hero-floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-cookie {
  position: absolute;
  width: var(--cookie-size);
  height: var(--cookie-size);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: blur(var(--cookie-blur, 0px)) drop-shadow(0 var(--cookie-shadow-y, 12px) var(--cookie-shadow-blur, 18px) rgb(var(--cookie-shadow-rgb) / var(--cookie-shadow-alpha, 18%)));
  animation: hero-cookie-float 10s ease-in-out infinite;
  will-change: transform;
}
.hero-cookie-leaf { --cookie-size: clamp(280px, 20vw, 420px); --cookie-blur: 1.4px; --cookie-shadow-y: 20px; --cookie-shadow-blur: 28px; --cookie-shadow-alpha: 12%; --tilt: -8deg; --depth: 24; --drift-x: 8px; --drift-y: -58px; top: 14%; left: clamp(20px, 2.5vw, 48px); background-image: url('/images/illustrations/hero-cookie-leaf.webp?v=20260811-2'); opacity: .86; animation-duration: 9.5s; }
.hero-cookie-floral { --cookie-size: clamp(108px, 8vw, 152px); --cookie-shadow-y: 7px; --cookie-shadow-blur: 9px; --cookie-shadow-alpha: 28%; --tilt: 7deg; --depth: 10; --drift-x: -5px; --drift-y: -46px; top: 10%; right: clamp(24px, 8vw, 160px); background-image: url('/images/illustrations/hero-cookie-floral.webp?v=20260811-2'); animation-delay: -1.6s; animation-duration: 7.5s; }
.hero-cookie-winter { --cookie-size: clamp(112px, 8vw, 152px); --cookie-shadow-y: 11px; --cookie-shadow-blur: 14px; --cookie-shadow-alpha: 22%; --tilt: -5deg; --depth: 16; --drift-x: 6px; --drift-y: 48px; bottom: 12%; left: clamp(24px, 9vw, 180px); background-image: url('/images/illustrations/hero-cookie-winter.webp?v=20260811-2'); animation-delay: -3.2s; animation-duration: 8.25s; }
.hero-cookie-hockey { --cookie-size: clamp(180px, 14vw, 270px); --cookie-blur: 1.1px; --cookie-shadow-y: 18px; --cookie-shadow-blur: 24px; --cookie-shadow-alpha: 15%; --tilt: 9deg; --depth: 22; --drift-x: -8px; --drift-y: 54px; right: clamp(20px, 3vw, 60px); bottom: 10%; background-image: url('/images/illustrations/hero-cookie-hockey.webp?v=20260811-2'); opacity: .9; animation-delay: -4.8s; animation-duration: 9s; }
.hero-floaters[data-paused] .hero-cookie,
.hero-floaters[data-hidden] .hero-cookie { animation-play-state: paused; }
@keyframes hero-cookie-float {
  0%, 100% { transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) rotate(var(--tilt)); }
  50% { transform: translate3d(calc(var(--parallax-x, 0px) + var(--drift-x)), calc(var(--parallax-y, 0px) + var(--drift-y)), 0) rotate(calc(var(--tilt) + 2deg)); }
}

.ticker {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--red);
  padding-block: 4px;
  clip-path: polygon(0 4px, 100% 0, 100% calc(100% - 4px), 0 100%);
  color: var(--ink);
  background: var(--red);
}
.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker-move 15s linear infinite;
}
.ticker-copy {
  flex: 0 0 auto;
  padding: 10px 0;
  font: 800 clamp(1.45rem, 2.5vw, 2.25rem)/1 'Sofia Sans Extra Condensed', sans-serif;
}
.ticker-outline { color: var(--red-text); background: var(--bg); }
@keyframes ticker-move { to { transform: translateX(-25%); } }

.centered-heading { justify-content: center; text-align: center; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.category-tile {
  position: relative;
  min-width: 0;
  color: var(--ink);
  background: var(--red);
  text-decoration: none;
}
.category-tile picture,
.category-tile img { width: 100%; }
.category-tile img { aspect-ratio: 1 / 1.18; object-fit: cover; filter: saturate(.88); transition: filter 240ms var(--ease); }
.category-tile:hover img { filter: saturate(1.08); }
.category-tile span { display: grid; gap: 2px; padding: 14px; }
.category-tile strong { font: 760 2rem/.95 'Sofia Sans Extra Condensed', sans-serif; }
.category-tile small { font-size: .82rem; }

.section-heading { border-bottom: 1px solid currentColor; padding-bottom: 18px; }
.product-grid { gap: clamp(34px, 4.6vw, 62px) clamp(18px, 2.4vw, 32px); }
.product-card,
.product-card:nth-child(n) { padding-top: 0; }
.product-card-media { border-radius: 0; background: var(--mist); }
.product-card h3 { font-size: clamp(1.65rem, 2.2vw, 2.2rem); line-height: .98; }
.product-card p { font-size: .94rem; }
.product-card-footer { border-top-color: var(--ink); }
.product-card .button { min-height: 44px; padding: 8px 16px; }
.filter { border-radius: 0; border-color: var(--red-text); color: var(--ink); background: transparent; }
.filter:hover { color: var(--ink); background: var(--red); }
.filter[aria-pressed='true'],
.filter[aria-pressed='true']:hover { color: var(--ink); background: var(--red-dark); }

.facts-band { border-color: currentColor; }
.fact { border-color: var(--line); }
.fact strong { font-size: clamp(3.4rem, 6vw, 6rem); }
.production-list { border-color: currentColor; }
.steps { border-top-width: 1px; }

.page-hero {
  position: relative;
  padding-block: clamp(44px, 6vw, 76px);
  overflow: hidden;
}
.page-hero::after {
  display: none;
}
.page-hero h1 { max-width: 1100px; }
.city-hero .button { margin-top: 30px; }
.sticky-note { border-radius: 0; color: var(--ink); background: var(--red); }
.product-detail-media { border-radius: 0; }

@media (min-width: 821px) {
  .product-detail-copy h1 { font-size: clamp(3.1rem, 4.2vw, 4.25rem); }
  .product-local-section h2 { font-size: clamp(2.65rem, 3.4vw, 3.6rem); }
}

.city-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid currentColor;
}
.city-link-grid > a {
  min-height: 82px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  font: 730 clamp(1.5rem, 2.3vw, 2.2rem)/1 'Sofia Sans Extra Condensed', sans-serif;
  text-align: center;
  text-decoration: none;
}
.city-link-grid > a:last-child { border-right: 0; }
.faq-list { display: grid; gap: clamp(24px, 3vw, 38px); }
.faq-item summary { padding: 0; font-weight: 750; cursor: pointer; }
.faq-item p { max-width: 66ch; margin: 10px 0 0; }

.order-dialog { border-radius: 0; color: var(--ink); background: var(--bg); }
.order-dialog::backdrop { background: rgb(59 23 34 / 82%); }
.dialog-head { color: var(--ink); background: var(--red); }
.dialog-close { border-radius: 0; color: var(--ink); }
.field input:not([type='checkbox']),
.field select,
.field textarea { border-radius: 0; color: var(--ink); background: #fffdf6; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--red); outline-color: rgb(250 107 192 / 30%); }
.checkbox input { accent-color: var(--red); }
.form-status.is-error { color: #a40d3e; }
.form-status.is-success { color: #17673c; }

.site-footer { color: var(--white); background: var(--teal-dark); }
.site-footer .brand-mark { color: var(--white); }
.footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1280px) {
  .hero-cookie-leaf { --cookie-size: clamp(120px, 12vw, 160px); --depth: 14; --drift-y: -48px; top: 68px; left: 18px; }
  .hero-cookie-floral { --cookie-size: clamp(72px, 7vw, 88px); --depth: 8; --drift-y: -46px; top: 62px; right: 24px; }
  .hero-cookie-winter { --cookie-size: clamp(72px, 7vw, 88px); --depth: 10; --drift-y: 46px; bottom: 58px; left: 28px; }
  .hero-cookie-hockey { --cookie-size: clamp(108px, 11vw, 140px); --depth: 14; --drift-y: 48px; right: 20px; bottom: 60px; }
}

@media (max-width: 1100px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .city-link-grid > a:nth-child(3n) { border-right: 0; }
  .home-intro { min-height: 720px; padding-block: 142px; }
  .home-intro-grid { gap: 28px; }
  .home-order { grid-template-columns: 1fr; align-items: center; }
}

@media (max-width: 900px) {
  :root { --page: min(100% - 32px, 720px); }
  .site-nav { color: var(--ink); background: var(--bg); }
  .city-menu { right: auto; left: 0; }
  .city-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-link-grid > a,
  .city-link-grid > a:nth-child(3n) { border-right: 1px solid currentColor; }
  .city-link-grid > a:nth-child(even) { border-right: 0; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-cookie-leaf { --cookie-size: 88px; --depth: 6; --drift-y: -46px; top: 54px; left: 14px; }
  .hero-cookie-floral { --cookie-size: 56px; --depth: 4; --drift-y: -45px; top: 56px; right: 18px; }
  .hero-cookie-winter { --cookie-size: 60px; --depth: 5; --drift-y: 45px; bottom: 52px; left: 20px; }
  .hero-cookie-hockey { --cookie-size: 78px; --depth: 7; --drift-y: 48px; right: 16px; bottom: 54px; }
}

@media (max-width: 560px) {
  :root { --page: calc(100% - 24px); }
  .header-inner { min-height: 72px; }
  .header-inner { gap: 10px; }
  .header-brand { gap: 12px; }
  .brand-mark { width: 146px; }
  .city-picker summary span { display: none; }
  .city-picker summary strong { white-space: nowrap; }
  .city-menu { width: min(250px, calc(100vw - 24px)); }
  .home-intro { min-height: 700px; padding-block: 126px; }
  .home-intro h1 { font-size: clamp(3.35rem, 15vw, 4.35rem); }
  .home-intro .lede { max-width: 34ch; font-size: .98rem; }
  .home-order { grid-template-columns: 1fr; }
  .ticker-track { animation-duration: 10s; }
  .hero-cookie-leaf { --cookie-size: 68px; top: 48px; left: 10px; }
  .hero-cookie-floral { --cookie-size: 52px; top: 50px; right: 12px; }
  .hero-cookie-winter { --cookie-size: 48px; bottom: 50px; left: 14px; }
  .hero-cookie-hockey { --cookie-size: 60px; right: 10px; bottom: 54px; }
  .hero-price { display: grid; grid-template-columns: repeat(2, 1fr); }
  .hero-price strong { font-size: 1.8rem; }
  .category-grid { grid-template-columns: 1fr; }
  .category-tile img { aspect-ratio: 1.25 / 1; }
  .city-link-grid { grid-template-columns: 1fr; }
  .city-link-grid > a,
  .city-link-grid > a:nth-child(n) { min-height: 66px; border-right: 0; }
  .footer-nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation-duration: 18s !important; animation-iteration-count: infinite !important; }
  .hero-cookie { animation-duration: 10s !important; animation-iteration-count: infinite !important; }
}

/* Разделы отделяются воздухом; единственная полоса — бегущая строка. */
.site-header,
.direction-list,
.direction-item,
.product-card-footer,
.facts-band,
.fact,
.production-list,
.production-list li,
.steps,
.step,
.page-hero,
.legal-list,
.legal-list li,
.product-specs,
.product-specs li,
.section-heading,
.city-link-grid,
.city-link-grid > a,
.faq-list,
.faq-item,
.footer-bottom,
.site-nav {
  border: 0;
}

.step:not(:first-child),
.step:last-child { border: 0; }

.ticker { border: 0; }
.section-heading { padding-bottom: 0; }
.facts-band,
.steps { gap: clamp(36px, 6vw, 84px); }
.fact,
.step,
.step:not(:first-child),
.step:last-child { padding-inline: 0; }
.product-specs,
.production-list,
.legal-list { display: grid; gap: 18px; }
.product-specs li,
.production-list li,
.legal-list li { padding-block: 0; }
.city-link-grid { gap: 24px; }

.form-privacy { margin: 0 0 0 30px; font-size: .9rem; font-weight: 400; }
.policy-page .page-hero { padding-block: clamp(42px, 6vw, 72px); }
.policy-page .page-hero h1 { max-width: 920px; font-size: clamp(3.1rem, 5vw, 4.8rem); }
.legal-policy { max-width: 78ch; }
.legal-policy h2 { margin: clamp(56px, 7vw, 84px) 0 20px; font-size: clamp(2.25rem, 3.5vw, 3.3rem); }
.legal-policy h3 { margin: 32px 0 12px; font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1; }
.legal-policy p { margin: 0 0 18px; }
.legal-policy ul,
.legal-policy ol { display: grid; gap: 10px; margin: 0 0 24px; padding-left: 1.25rem; }

@media (max-width: 560px) {
  .form-privacy { margin-left: 28px; }
  .policy-page .page-hero h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
}

/* Статичная бумажная текстура без тяжёлой фоновой анимации. */
.site-header { background: transparent; }
.home-page { isolation: isolate; }
.home-page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: url('/images/ui/grain-white.png?v=20260810-18') 0 0 / 128px 128px repeat;
  opacity: .16;
}
.home-page .site-header { position: relative; z-index: var(--z-sticky); }
.home-page main,
.home-page .site-footer { position: relative; z-index: 1; }
.home-page main,
.home-page main section { background: transparent; }

.contact-phone,
.footer-phone { white-space: nowrap; font-weight: 750; }
.footer-contacts { display: grid; gap: 8px; max-width: 480px; margin-top: 16px; font-style: normal; }
.footer-phone { font-size: 1.1rem; }
.footer-email { width: max-content; max-width: 100%; overflow-wrap: anywhere; }

@media (max-width: 1080px) {
  .header-inner { position: relative; min-height: 80px; }
  .menu-button { display: inline-flex; flex: 0 0 auto; margin-left: auto; align-items: center; justify-content: center; background: var(--red); }
  .header-inner > #site-navigation {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: var(--z-sticky);
    width: 100vw;
    transform: translateX(-50%);
  }
  .site-nav {
    position: static;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 18px max(16px, calc((100vw - var(--page)) / 2)) 24px;
    color: var(--ink);
    background: var(--red);
  }
  .site-nav[hidden] { display: none !important; }
  .site-nav a { padding: 10px 0; }
  .site-nav .button { margin-top: 8px; background: var(--bg); }
  .home-page .site-header { z-index: var(--z-sticky); }
}

@media (max-width: 900px) {
  .section { padding-block: clamp(48px, 8vw, 64px); }
  .section-heading { gap: 10px; margin-bottom: clamp(28px, 5vw, 38px); }

  .facts-band { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 3vw, 28px); }
  .fact { min-width: 0; padding-block: 0; }
  .benefit-illustration { width: clamp(76px, 18vw, 128px); margin-bottom: 18px; }
  .fact strong { font-size: clamp(2.25rem, 7vw, 3.2rem); }
  .fact span { margin-top: 6px; font-size: clamp(.75rem, 2vw, .95rem); }

  .steps { column-gap: clamp(20px, 5vw, 36px); row-gap: clamp(44px, 7vw, 56px); }
  .step,
  .step:not(:first-child),
  .step:last-child,
  .step:nth-child(n+3) { margin-top: 0; padding-block: 0; }
  .step-illustration { width: clamp(104px, 24vw, 150px); margin-bottom: 14px; }
  .step h3 { margin-bottom: 10px; }
  .step p { margin: 0; }
}

@media (max-width: 560px) {
  .section { padding-block: 44px; }
  h2 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .section-heading { margin-bottom: 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analytics-consent { left: 16px; bottom: 16px; width: calc(100vw - 32px); }
  .analytics-consent-actions { display: grid; grid-template-columns: 1fr; }
  .analytics-consent-actions .button { width: 100%; }
}

@media (max-width: 399px) {
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .step-illustration { width: 112px; }
}
