/* ============================================================
   FORZA VIVA — Milano editorial redesign prototype
   Palette: ivory / espresso / bronze / bordeaux
   Type: Prata (display) · Golos Text (UI) · Italianno (accent)
   ============================================================ */

:root {
  --ivory: #F6F1E7;
  --ivory-soft: #EFE8D9;
  --paper: #FCFAF5;
  --espresso: #241B12;
  --umber: #52422E;
  --bronze: #8A6520;
  --bronze-soft: #C9A96A;
  --bordeaux: #7E2D35;
  --white: #FFFFFF;
  --shadow: 0 24px 60px -28px rgba(36, 27, 18, .45);
  --ease-out: cubic-bezier(.22, .8, .3, 1);
  --nav-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Golos Text', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--espresso);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.serif { font-family: 'Prata', serif; font-weight: 400; }
.hand { font-family: 'Italianno', cursive; font-weight: 400; }

.container { width: min(1280px, 92vw); margin-inline: auto; }

/* ---------- top ribbon ---------- */
.ribbon {
  background: var(--espresso);
  color: rgba(246, 241, 231, .85);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
  position: relative;
  z-index: 60;
}
.ribbon b { color: var(--bronze-soft); font-weight: 500; }

/* ---------- navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: transform .45s var(--ease-out), top .35s var(--ease-out), background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
  background: transparent;
}
/* высота промо-полосы считается в js — на мобиле она в две строки */
body.has-ribbon .nav { top: var(--ribbon-h, 38px); }
/* полоса уехала при прокрутке — шапка прилипает к самому верху, без зазора */
body.has-ribbon .nav.is-top { top: 0; }

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--nav-h);
  gap: 24px;
}
/* шапка шире основной сетки — меню и иконки ближе к краям страницы */
.nav .container { width: min(1800px, 96vw); }

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 17.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--espresso);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-sale { color: var(--bordeaux); }

.brand { text-align: center; color: var(--espresso); transition: color .35s; }
.brand .brand-word {
  font-size: 27px;
  letter-spacing: .34em;
  text-indent: .34em;
  line-height: 1;
  display: block;
  white-space: nowrap;
}
.brand .brand-sub {
  font-size: 9.5px;
  letter-spacing: .52em;
  text-indent: .52em;
  text-transform: uppercase;
  opacity: .75;
  display: block;
  margin-top: 5px;
}

.nav-icons { display: flex; gap: 8px; justify-content: flex-end; }
.nav-icons a, .nav-burger {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  color: var(--espresso);
  border-radius: 50%;
  transition: background .25s, color .25s;
  position: relative;
}
.nav-icons a:hover { background: rgba(36, 27, 18, .08); }
.nav-icons svg { width: 25px; height: 25px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.cart-count {
  position: absolute;
  top: 4px; right: 2px;
  min-width: 20px; height: 20px;
  background: var(--bordeaux);
  color: #fff;
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 20px;
  text-align: center;
  padding-inline: 5px;
}

/* сердечко из итальянского флага между FORZA и VIVA */
.brand-heart {
  display: inline-block;
  width: .82em; height: .82em;
  margin: 0 .04em 0 -.08em;
  vertical-align: -.08em;
  overflow: visible;
}

/* прилипшая или ушедшая с hero шапка — матовая, иначе текст читается сквозь меню */
.nav.is-solid,
.nav.is-top {
  background: rgba(246, 241, 231, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: rgba(36, 27, 18, .1);
  box-shadow: 0 12px 34px -24px rgba(36, 27, 18, .5);
}

/* hidden when scrolling down */
.nav.is-hidden { transform: translateY(calc(-100% - 40px)); }

.nav-burger { display: none; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: '';
  display: block;
  width: 20px; height: 1.6px;
  background: currentColor;
  position: relative;
  transition: transform .3s;
}
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 70;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  padding: 26px 8vw 40px;
  transform: translateX(105%);
  transition: transform .5s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: none; }
.mobile-menu .mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-menu .mm-close { font-size: 30px; line-height: 1; color: var(--espresso); }
.mobile-menu nav a {
  display: block;
  font-family: 'Prata', serif;
  font-size: clamp(26px, 7vw, 34px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(36, 27, 18, .08);
}
.mobile-menu nav a small {
  font-family: 'Italianno', cursive;
  font-size: .72em;
  color: var(--bronze);
  margin-left: 14px;
}
.mobile-menu .mm-foot { margin-top: auto; padding-top: 34px; font-size: 14px; color: var(--umber); }

/* ---------- hero: editorial split ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  overflow: hidden;
  color: var(--espresso);
  background: var(--ivory);
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 70px) 5vw 120px 6.5vw;
  position: relative;
}
.hero-left::before {
  content: 'FV';
  position: absolute;
  top: 44%; left: 55%;
  transform: translate(-50%, -50%);
  font-family: 'Prata', serif;
  font-size: 30vw;
  line-height: .8;
  color: rgba(138, 101, 32, .06);
  pointer-events: none;
}
.hero-photo {
  position: relative;
  overflow: hidden;
  height: 100svh;
}
.hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.07);
  animation: heroZoom 8s var(--ease-out) forwards;
}
@keyframes heroZoom { to { transform: scale(1.001); } }
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(36, 27, 18, .1), rgba(36, 27, 18, 0) 24%);
}
.hero-content { position: relative; z-index: 2; }
.hero-kicker {
  font-size: clamp(36px, 4.6vw, 58px);
  color: var(--bronze);
  margin-bottom: 10px;
  display: block;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.06;
  letter-spacing: .012em;
  max-width: 14ch;
  text-wrap: balance;
}
.hero-sub {
  margin-top: 20px;
  max-width: 44ch;
  font-size: clamp(15px, 1.5vw, 17.5px);
  color: var(--umber);
}
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 13.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.6; transition: transform .3s; }
.btn:hover svg { transform: translateX(4px); }
.btn-solid { background: var(--ivory); color: var(--espresso); }
.btn-solid:hover { background: var(--bronze-soft); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .6); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .12); }
.btn-bronze { background: var(--espresso); color: var(--ivory); }
.btn-bronze:hover { background: var(--bronze); }
.btn-ghost-dark { border: 1px solid rgba(36, 27, 18, .45); color: var(--espresso); }
.btn-ghost-dark:hover { border-color: var(--espresso); background: rgba(36, 27, 18, .06); }

/* hero load animation */
.hero-content > * { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease-out) forwards; }
.hero-content > :nth-child(1) { animation-delay: .15s; }
.hero-content > :nth-child(2) { animation-delay: .3s; }
.hero-content > :nth-child(3) { animation-delay: .45s; }
.hero-content > :nth-child(4) { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* marquee */
.marquee {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  overflow: hidden;
  background: var(--espresso);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  padding: 13px 0 13px 34px;
  white-space: nowrap;
}
.marquee span::after { content: '◆'; margin-left: 34px; font-size: 8px; color: var(--bronze-soft); vertical-align: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section scaffolding ---------- */
section { padding: 92px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 46px;
}
.section-head .eyebrow {
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--bronze);
  display: block;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: .01em;
  max-width: 21ch;
}
.section-link {
  flex-shrink: 0;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--umber);
  border-bottom: 1px solid var(--bronze-soft);
  padding-bottom: 5px;
  transition: color .25s, border-color .25s;
}
.section-link:hover { color: var(--bronze); border-color: var(--bronze); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- categories editorial grid ---------- */
.cats { padding-top: 100px; }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 18px;
}
.cat-card {
  position: relative;
  overflow: hidden;
  background: var(--ivory-soft);
  grid-row: span 2;
}
.cat-card.tall { grid-row: span 3; }
.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1.1s var(--ease-out);
}
.cat-card img.pos-b { object-position: center 78%; }
.cat-card:hover img { transform: scale(1.055); }
.cat-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 14, 8, 0) 46%, rgba(20, 14, 8, .58) 100%);
  transition: opacity .4s;
}
.cat-label {
  position: absolute;
  left: 22px; right: 22px; bottom: 18px;
  z-index: 2;
  color: var(--white);
}
.cat-label .it {
  font-family: 'Italianno', cursive;
  font-size: 30px;
  line-height: 1;
  color: var(--bronze-soft);
  display: block;
  transform: translateY(6px);
  opacity: .85;
  transition: transform .45s var(--ease-out), opacity .45s;
}
.cat-card:hover .cat-label .it { transform: none; opacity: 1; }
.cat-label .ru {
  font-size: 15.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-label .ru::after {
  content: '→';
  font-size: 15px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .35s, transform .35s var(--ease-out);
}
.cat-card:hover .cat-label .ru::after { opacity: 1; transform: none; }

/* ---------- promo split ---------- */
.promo { background: var(--ivory-soft); }
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.promo-card {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}
.promo-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 1.2s var(--ease-out);
}
.promo-card:hover img { transform: scale(1.045); }
.promo-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 14, 8, .04) 40%, rgba(20, 14, 8, .62) 100%);
}
.promo-body { position: relative; z-index: 2; padding: 34px; }
.promo-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  background: var(--bordeaux);
  padding: 7px 14px;
  margin-bottom: 16px;
}
.promo-tag.gold { background: var(--bronze); }
.promo-body h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; max-width: 17ch; }
.promo-body p { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .85); max-width: 40ch; }
.promo-body .btn { margin-top: 22px; padding: 13px 24px; }

/* ---------- products ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  row-gap: 42px;
}
.prod-card { position: relative; }
.prod-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper);
}
.prod-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .9s var(--ease-out);
}
.prod-card:hover .prod-media img { transform: scale(1.05); }
.prod-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--espresso);
  color: var(--ivory);
}
.prod-badge.sale { background: var(--bordeaux); }
.prod-fav {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--espresso);
  background: rgba(252, 250, 245, .8);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s, transform .3s, color .3s;
}
.prod-card:hover .prod-fav { opacity: 1; transform: none; }
.prod-fav:hover { color: var(--bordeaux); }
.prod-fav svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.prod-quick {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 2;
  padding: 13px;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: rgba(252, 250, 245, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--espresso);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s, transform .35s var(--ease-out), background .3s, color .3s;
}
.prod-quick:hover { background: var(--espresso); color: var(--ivory); }
.prod-card:hover .prod-quick { opacity: 1; transform: none; }
.prod-meta { padding: 16px 4px 0; }
.prod-name {
  font-size: 15px;
  color: var(--espresso);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-it { font-size: 13px; color: var(--umber); opacity: .75; margin-top: 2px; }
.prod-price { margin-top: 8px; font-size: 16.5px; font-weight: 600; letter-spacing: .02em; }
.prod-price .old {
  font-weight: 400;
  font-size: 14px;
  color: var(--umber);
  text-decoration: line-through;
  margin-left: 10px;
  opacity: .7;
}
.prod-price .sale-now { color: var(--bordeaux); }

/* ---------- quote band ---------- */
.quote-band {
  background: var(--espresso);
  color: var(--ivory);
  text-align: center;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.quote-band::before {
  content: 'FV';
  position: absolute;
  font-family: 'Prata', serif;
  font-size: 46vw;
  line-height: .8;
  color: rgba(246, 241, 231, .035);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.quote-band .hand { font-size: clamp(44px, 7vw, 76px); color: var(--bronze-soft); display: block; }
.quote-band p.tr { margin-top: 10px; font-size: 14px; letter-spacing: .26em; text-transform: uppercase; color: rgba(246, 241, 231, .6); }
/* полупрозрачный слоган бренда в баннере */
.qb-slogan {
  display: block;
  position: relative;
  margin-top: 40px;
  font-size: clamp(22px, 3.4vw, 46px);
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, .21);
}
.qb-slogan::before,
.qb-slogan::after {
  content: '';
  position: absolute;
  top: 50%;
  width: clamp(30px, 7vw, 110px);
  height: 1px;
  background: rgba(201, 169, 106, .28);
}
.qb-slogan::before { right: calc(50% + clamp(150px, 22vw, 330px)); }
.qb-slogan::after { left: calc(50% + clamp(150px, 22vw, 330px)); }

/* ---------- assurances ---------- */
.assure { padding: 76px 0; }
.assure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 28px;
}
.assure-item { text-align: center; }
.assure-item svg {
  width: 30px; height: 30px;
  stroke: var(--bronze);
  fill: none;
  stroke-width: 1.3;
  margin: 0 auto 16px;
}
.assure-item h4 { font-size: 15.5px; letter-spacing: .06em; font-weight: 600; margin-bottom: 6px; }
.assure-item p { font-size: 14px; color: var(--umber); max-width: 26ch; margin-inline: auto; }

/* ---------- footer ---------- */
footer {
  background: var(--espresso);
  color: rgba(246, 241, 231, .78);
}
.foot-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 46px;
  padding: 78px 0 60px;
}
.foot-brand .brand-word { font-size: 25px; letter-spacing: .3em; color: var(--ivory); display: block; }
.foot-brand .hand { font-size: 33px; color: var(--bronze-soft); display: block; margin: 10px 0 16px; }
.foot-brand p { font-size: 14px; max-width: 30ch; }
.foot-col h5 {
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--bronze-soft);
  margin-bottom: 20px;
  font-weight: 500;
}
.foot-col a { display: block; font-size: 14.5px; padding: 5.5px 0; transition: color .25s; }
.foot-col a:hover { color: var(--ivory); }
.foot-sub p { font-size: 14px; margin-bottom: 16px; }
.sub-form { display: flex; border-bottom: 1px solid rgba(246, 241, 231, .35); }
.sub-form input {
  flex: 1;
  background: none;
  border: 0;
  color: var(--ivory);
  font: inherit;
  font-size: 14.5px;
  padding: 11px 0;
}
.sub-form input::placeholder { color: rgba(246, 241, 231, .45); }
.sub-form input:focus { outline: none; }
.sub-form button {
  color: var(--bronze-soft);
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color .25s;
}
.sub-form button:hover { color: var(--ivory); }
.foot-contacts { margin-top: 22px; font-size: 14.5px; }
.foot-contacts a { display: block; padding: 3px 0; color: var(--ivory); }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(246, 241, 231, .25);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: border-color .3s, background .3s;
}
.foot-social a:hover { border-color: var(--bronze-soft); background: rgba(201, 169, 106, .12); }
.foot-social svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.foot-bottom {
  border-top: 1px solid rgba(246, 241, 231, .12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(246, 241, 231, .5);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav { background: rgba(246, 241, 231, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: rgba(36, 27, 18, .1); }
  .hero { grid-template-columns: 1fr; }
  .hero-photo { height: 58svh; order: -1; }
  .hero-photo img { animation: none; transform: none; }
  .hero-left { padding: 46px 6vw 96px; }
  .hero-left::before { display: none; }
  .nav-links { display: none; }
  .nav-burger { display: grid; place-items: center; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .brand .brand-word { font-size: 22px; }
  .nav-icons a:not(.keep-m) { display: none; }
  .promo-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .cat-label { left: 14px; right: 14px; bottom: 12px; }
  .cat-label .it { font-size: 24px; }
  .cat-label .ru { font-size: 12.5px; letter-spacing: .08em; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; row-gap: 30px; }
  .prod-quick { display: none; }
  .prod-fav { opacity: 1; transform: none; background: rgba(252, 250, 245, .9); }
  .hero-content { padding-bottom: 92px; }
  .assure-grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .foot-main { grid-template-columns: 1fr; gap: 34px; padding: 56px 0 40px; }
  .ribbon { font-size: 10.5px; letter-spacing: .08em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-content > * { opacity: 1; transform: none; }
}

/* ================= v2: анти-шаблон editorial ================= */

/* видео в hero */
.hero-photo video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* вертикальный номер страницы у секций */
.pgnum {
  position: absolute;
  top: 96px;
  right: calc((100vw - min(1280px, 92vw)) / 2 - 8px);
  writing-mode: vertical-rl;
  font-family: 'Prata', serif;
  font-size: 13px;
  letter-spacing: .34em;
  color: var(--umber);
  opacity: .55;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pgnum::before { content: ''; width: 1px; height: 44px; background: var(--bronze-soft); }

/* огромное рукописное слово-фон секции */
.wm {
  position: absolute;
  z-index: 0;
  font-family: 'Italianno', cursive;
  font-size: clamp(90px, 15vw, 210px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(138, 101, 32, .35);
  pointer-events: none;
  white-space: nowrap;
}
.cats .wm { top: 6px; right: -2%; }
/* Novita — над новинками и повыше; Saldi — внизу, под карточкой с реальными скидками */
section#new .wm { top: -78px; left: 3%; z-index: 1; }
.promo { padding-bottom: 188px; }
.promo .wm {
  top: auto;
  bottom: 8px;
  right: 4%;
  left: auto;
  font-size: clamp(84px, 11vw, 152px);
}
.cats .container, .promo .container, section#new .container { position: relative; z-index: 1; }

/* рукописное подчёркивание-мазок */
.brush {
  position: relative;
  display: inline-block;
}
.brush::after {
  content: '';
  position: absolute;
  left: -2%;
  bottom: -.14em;
  width: 104%;
  height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 28' preserveAspectRatio='none'%3E%3Cpath d='M4 20 C 60 10, 150 8, 216 14' fill='none' stroke='%238A6520' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M8 24 C 80 16, 170 15, 205 19' fill='none' stroke='%238A6520' stroke-width='3' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* кнопка-бирка (swing tag) */
.tag-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--espresso);
  color: var(--ivory);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 17px 28px 17px 44px;
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 22px 100%, 0 50%);
  transition: background .3s, transform .35s var(--ease-out);
  transform-origin: 12px 50%;
}
.tag-btn::before {
  content: '';
  position: absolute;
  left: 16px; top: 50%;
  width: 9px; height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 0 0 2.5px rgba(246, 241, 231, .35);
}
.tag-btn:hover { background: var(--bronze); transform: rotate(-3.5deg); }
.tag-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }
/* нитка бирки */
.tag-wrap { position: relative; display: inline-block; }
.tag-wrap::before {
  content: '';
  position: absolute;
  left: -26px; top: 50%;
  width: 30px; height: 22px;
  border: 1.6px solid var(--bronze-soft);
  border-right: 0;
  border-bottom: 0;
  border-radius: 100% 0 0 0;
  transform: translateY(-92%) rotate(-8deg);
  pointer-events: none;
}

/* журнальная плашка тиража в футере */
.edition {
  font-family: 'Prata', serif;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, .5);
}

@media (max-width: 860px) {
  .pgnum { display: none; }
  .wm { font-size: clamp(70px, 19vw, 120px); }
}

/* v2 fix: якорь для absolute-декора секций */
.cats, .promo, section#new { position: relative; overflow-x: clip; }

/* ================= v3: лукбук, печать, свотчи ================= */

/* вращающаяся печать на hero */
.seal {
  position: absolute;
  left: calc(52% - 64px); bottom: 54px;
  mix-blend-mode: difference;
  width: 128px; height: 128px;
  z-index: 5;
  animation: sealspin 22s linear infinite;
  filter: drop-shadow(0 6px 24px rgba(36,27,18,.35));
}
@keyframes sealspin { to { transform: rotate(360deg); } }
.seal text {
  font-family: 'Golos Text', sans-serif;
  font-size: 10.2px;
  letter-spacing: .32em;
  text-transform: uppercase;
  fill: var(--ivory);
}
.seal .inner { fill: none; stroke: rgba(246,241,231,.7); stroke-width: 1; }
.seal .fv { font-family: 'Prata', serif; font-size: 30px; letter-spacing: .06em; fill: var(--ivory); }

/* лукбук: список категорий с hover-превью */
.lookbook { padding: 100px 0 120px; position: relative; overflow-x: clip; }
.lb-list { position: relative; z-index: 2; }
.lb-row {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 3vw, 34px);
  padding: 8px 0;
  border-bottom: 1px solid rgba(36, 27, 18, .14);
  position: relative;
  transition: padding .35s var(--ease-out);
}
.lb-item:first-child .lb-row { border-top: 1px solid rgba(36, 27, 18, .14); }
.lb-row .idx {
  font-family: 'Golos Text', sans-serif;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--bronze);
  min-width: 34px;
}
.lb-row .nm {
  font-family: 'Prata', serif;
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 1.22;
  color: var(--espresso);
  transition: transform .4s var(--ease-out), color .3s;
}
.lb-row .it {
  font-family: 'Italianno', cursive;
  font-size: clamp(22px, 2.6vw, 36px);
  color: var(--bronze);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity .35s, transform .45s var(--ease-out);
}
.lb-row .cnt {
  margin-left: auto;
  font-family: 'Golos Text', sans-serif;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--umber);
  opacity: .7;
  white-space: nowrap;
}
.lb-row .arr {
  width: 30px; height: 30px;
  flex: 0 0 auto;
  align-self: center;
  opacity: 0;
  transform: translateX(-10px) rotate(-45deg);
  transition: opacity .3s, transform .4s var(--ease-out);
  stroke: var(--espresso);
  fill: none;
  stroke-width: 1.6;
}
.lb-row:hover { padding-left: 14px; }
.lb-row:hover .nm { color: var(--bronze); }
.lb-row:hover .it { opacity: 1; transform: none; }
.lb-row:hover .arr { opacity: 1; transform: rotate(-45deg); }
/* плавающее фото-превью */
.lb-preview {
  position: fixed;
  z-index: 60;
  width: clamp(210px, 21vw, 300px);
  aspect-ratio: 3 / 4.1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transform: scale(.88) rotate(3deg);
  transition: opacity .28s, transform .38s var(--ease-out);
  box-shadow: 0 34px 70px -26px rgba(36, 27, 18, .55);
  border: 6px solid #FCFAF5;
}
.lb-preview img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.lb-preview.on { opacity: 1; transform: scale(1) rotate(1.5deg); }
.lb-preview img { opacity: 0; transition: opacity .2s; }
.lb-preview img.show { opacity: 1; }

/* шрифтовая контурная бегущая строка между секциями */
.type-marquee {
  overflow: hidden;
  padding: 34px 0 10px;
  background: var(--ivory);
}
.type-marquee .tm-track {
  display: flex;
  width: max-content;
  animation: mq 30s linear infinite;
  align-items: baseline;
}
.type-marquee span {
  font-family: 'Prata', serif;
  font-size: clamp(54px, 8vw, 110px);
  line-height: 1;
  padding-right: 48px;
  white-space: nowrap;
  color: var(--espresso);
}
.type-marquee span.ol {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--bronze);
}
.type-marquee span.hand-mq {
  font-family: 'Italianno', cursive;
  font-size: clamp(44px, 6.4vw, 88px);
  color: var(--bronze);
}
@keyframes mq { to { transform: translateX(-50%); } }

/* свотчи цветов на товарах */
.swatches { display: flex; gap: 6px; margin-top: 9px; }
.swatches i {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(36, 27, 18, .22);
  transition: transform .25s var(--ease-out);
}
.prod-card:hover .swatches i { transform: translateY(-2px); }
.swatches i:nth-child(2) { transition-delay: .04s; }
.swatches i:nth-child(3) { transition-delay: .08s; }

/* большая контурная подпись в футере */
.foot-big {
  font-family: 'Prata', serif;
  font-size: clamp(52px, 9vw, 150px);
  line-height: 1;
  text-align: center;
  letter-spacing: .1em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 241, 231, .3);
  padding: 20px 0 44px;
  user-select: none;
  white-space: nowrap;
}
.foot-big b { color: rgba(246,241,231,.92); -webkit-text-stroke: 0; font-weight: 400; }

@media (max-width: 860px) {
  .lb-preview { display: none; }
  .lb-row .it { display: none; }
  .lb-row .arr { opacity: .8; transform: rotate(-45deg); }
  .seal { width: 84px; height: 84px; left: auto; right: 14px; bottom: auto; top: 44svh; }
}

/* ================= v4: правки по ТЗ заказчицы (30.07) ================= */

/* имиджевая бегущая лента фотографий (после тёмной бегущей строки) */
.photostrip {
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid rgba(36, 27, 18, .08);
}
.ps-track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding: 10px;
  animation: psmove 58s linear infinite reverse;
}
.photostrip:hover .ps-track { animation-play-state: paused; }
.ps-figure {
  position: relative;
  flex: 0 0 auto;
  width: clamp(146px, 15.2vw, 238px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ivory-soft);
}
.ps-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1.1s var(--ease-out);
}
.ps-figure:hover img { transform: scale(1.06); }
@keyframes psmove { to { transform: translateX(calc(-50% - 5px)); } }

/* раскрывающиеся подкатегории в лукбуке */
button.lb-row {
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.lb-plus {
  width: 26px; height: 26px;
  flex: 0 0 auto;
  align-self: center;
  stroke: var(--umber);
  fill: none;
  stroke-width: 1.5;
  opacity: .45;
  transition: opacity .3s, stroke .3s;
}
.lb-row:hover .lb-plus { opacity: 1; stroke: var(--bronze); }
.lb-plus .v { transition: transform .4s var(--ease-out); transform-origin: 12px 12px; }
.lb-item.is-open .lb-plus .v { transform: scaleY(0); }
.lb-item.is-open .lb-plus { opacity: 1; stroke: var(--bronze); }
.lb-item.is-open .lb-row .nm { color: var(--bronze); }

.lb-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height .55s var(--ease-out);
  border-bottom: 1px solid rgba(36, 27, 18, .14);
}
.lb-sub-in {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  column-gap: 44px;
  padding: 14px 0 24px clamp(20px, 4vw, 62px);
}
.lb-sub a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: 'Prata', serif;
  font-size: clamp(15px, 1.45vw, 19.5px);
  color: var(--umber);
  padding: 9px 0;
  transition: color .25s, padding-left .3s var(--ease-out);
}
.lb-sub a::before {
  content: '';
  width: 14px; height: 1px;
  background: var(--bronze-soft);
  flex: 0 0 auto;
  transform: translateY(-.34em);
  transition: width .3s var(--ease-out);
}
.lb-sub a:hover { color: var(--bronze); padding-left: 6px; }
.lb-sub a:hover::before { width: 22px; }
.lb-sub a span {
  margin-left: auto;
  font-family: 'Golos Text', sans-serif;
  font-size: 12.5px;
  letter-spacing: .1em;
  opacity: .55;
}

@media (max-width: 640px) {
  .lb-sub-in { grid-template-columns: 1fr; padding-left: 18px; column-gap: 0; }
  .ps-track { gap: 6px; padding: 6px; }
  @keyframes psmove { to { transform: translateX(calc(-50% - 3px)); } }
}

/* v4: мобильная адаптация под новые тексты ТЗ */
@media (max-width: 860px) {
  /* увеличенные иконки шапки — только для десктопа, на мобиле компактнее */
  .nav-icons a, .nav-burger { width: 44px; height: 44px; }
  .nav-icons svg { width: 22px; height: 22px; }
}

@media (max-width: 640px) {
  .brand .brand-word { font-size: 19px; }
  .brand .brand-sub { font-size: 8.5px; letter-spacing: .4em; text-indent: .4em; }

  /* длинные названия категорий из ТЗ: счётчик уходит под название,
     стрелка/плюс остаются справа на первой строке */
  .lb-row { flex-wrap: wrap; align-items: center; gap: 2px 10px; padding: 11px 0; }
  .lb-row .idx { min-width: 24px; font-size: 11px; }
  .lb-row .nm { font-size: clamp(21px, 5.6vw, 30px); line-height: 1.18; flex: 1 1 auto; min-width: 0; }
  .lb-row .cnt { order: 3; flex: 0 0 100%; margin: 0 0 0 34px; font-size: 11.5px; letter-spacing: .12em; opacity: .6; }
  .lb-row .cnt:empty { display: none; }
  .lb-row .arr, .lb-plus { margin-left: auto; width: 22px; height: 22px; }
  .lb-row:hover { padding-left: 0; }
}

/* v4: карточка товара в сетке — кликабельна целиком */
.prod-link { position: absolute; inset: 0; z-index: 1; }

/* ============ v4.1: мобильные дефекты, найденные на телефоне ============ */

@media (max-width: 860px) {
  /* декоративные слова-водяные знаки наезжали на шрифтовую строку и заголовки */
  .wm { font-size: clamp(56px, 14.5vw, 104px); }
  /* на узком экране слова должны влезать целиком, а не срезаться краем */
  .lookbook .wm { top: 16px; left: 3%; right: auto; }
  section#new .wm { top: -26px; right: 3%; left: auto; }
  /* Saldi — под карточкой распродажи, в отбитом снизу поле */
  .promo { padding-bottom: 132px; }
  .promo .wm { top: auto; bottom: 6px; right: 3%; left: auto; font-size: clamp(56px, 14.5vw, 104px); }
}

@media (max-width: 640px) {
  /* hero: между кнопками и бегущей строкой была дыра почти на треть экрана */
  .hero-left { padding: 46px 6vw 58px; }
  .hero-content { padding-bottom: 0; }
  /* нитка кнопки-бирки уходила за левый край и выглядела обрезанной */
  .tag-wrap::before { display: none; }
  /* слоган в тёмном баннере: линии по бокам упирались в края экрана */
  .qb-slogan::before, .qb-slogan::after { display: none; }
  .qb-slogan { margin-top: 26px; letter-spacing: .1em; }
}
