/* VITA 500 — стиль сайта.
   Производительность: анимируются только transform и opacity, тяжёлые секции
   получают content-visibility, шрифты лежат на своём сервере. */

/* ---------- шрифты (свои, без обращения к Google) ---------- */
@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/Manrope-400-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/Manrope-400-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: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/Manrope-400-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: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/Manrope-600-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/Manrope-600-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: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/Manrope-600-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: Manrope; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/Manrope-800-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/Manrope-800-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: Manrope; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/Manrope-800-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: Unbounded; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/Unbounded-700-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/Unbounded-700-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: Unbounded; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/Unbounded-700-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 {
  --bg: #0B0B0C;
  --bg-alt: #111013;
  --card: #17161A;
  --ink: #F7F4EE;
  --muted: #9E9A93;
  --line: rgba(247, 244, 238, .12);
  --orange: #FF7A1A;
  --amber: #FFC44D;
  --radius: 18px;
  --wrap: 1180px;
  --font: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: Unbounded, Manrope, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.ic { width: 20px; height: 20px; flex: none; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 60ch; }
.note { color: var(--muted); font-size: 13.5px; margin-top: 28px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 30px; border-radius: 999px; font-weight: 800; font-size: 15px; letter-spacing: .01em;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background-color .25s, border-color .25s, color .25s;
  will-change: transform;
}
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--amber)); color: #17120B; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- шапка ---------- */
.bar {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px;
  height: 72px; padding-inline: max(20px, calc((100vw - var(--wrap)) / 2));
  background: rgba(11, 11, 12, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.bar.scrolled { border-bottom-color: var(--line); }
.logo { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); font-size: 21px; letter-spacing: -.02em; }
.logo span { font-weight: 700; }
.logo b { font-weight: 700; color: var(--orange); }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--ink); }
.bar-side { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav + .bar-side { margin-left: 0; }
.langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.langs a { padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--muted); transition: color .2s, background-color .2s; }
.langs a.on { background: var(--ink); color: var(--bg); }
@media (max-width: 1000px) { .nav { display: none; } }
@media (max-width: 560px) { .hide-sm { display: none; } .bar { height: 64px; gap: 12px; } }

/* ---------- первый экран ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 9vw, 120px); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -30% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(42% 46% at 72% 18%, rgba(255, 122, 26, .30), transparent 70%),
    radial-gradient(38% 42% at 18% 6%, rgba(255, 196, 77, .16), transparent 70%);
  filter: blur(6px);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(36px, 4vw, 58px); margin: 22px 0 24px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); }
.hero .lead { font-size: clamp(16px, 1.6vw, 20px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 44px; }
.stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); margin: 0; padding-top: 28px; border-top: 1px solid var(--line); }
.stats dt { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.stats dt i { font-style: normal; font-size: .45em; color: var(--orange); font-family: var(--font); font-weight: 800; }
.stats dd { margin: 8px 0 0; color: var(--muted); font-size: 13.5px; max-width: 18ch; }
.hero-media { position: relative; display: grid; place-items: center; }
.bottle-stage { perspective: 1100px; display: grid; place-items: center; width: 100%; }
.bottle-art {
  width: min(380px, 88%); height: auto; filter: drop-shadow(0 46px 64px rgba(0, 0, 0, .6));
  animation: float 7s ease-in-out infinite;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  transform-style: preserve-3d;
}
.bottle-stage.tilting .bottle-art { transition: transform .12s linear; }
.sweep { transform: translateX(0); }
.hero-media:hover .sweep { animation: sweep 1.9s cubic-bezier(.4,0,.2,1); }
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(560px); } }
.halo { position: absolute; inset: 12% 18%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 140, 40, .34), transparent 68%); z-index: -1; }
.scroll-hint { position: relative; margin: clamp(30px, 5vw, 60px) auto 0; width: max-content; font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding-bottom: 34px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 26px; background: linear-gradient(var(--orange), transparent); animation: drop 2.2s ease-in-out infinite; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .bottle-art { width: min(220px, 52%); }
}

@keyframes rise { from { transform: translateY(105%); } }
@keyframes float { 50% { transform: translateY(-16px); } }
@keyframes drop { 0%, 100% { transform: scaleY(.3); transform-origin: top; opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- бегущая строка ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; background: var(--bg-alt); }
.marquee-in { display: flex; gap: 28px; width: max-content; animation: slide 32s linear infinite; will-change: transform; }
.marquee span { font-family: var(--display); font-size: clamp(15px, 1.8vw, 22px); white-space: nowrap; }
.marquee i { color: var(--orange); font-style: normal; }
@keyframes slide { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- секции ---------- */
.section { padding: clamp(64px, 9vw, 130px) 0; content-visibility: auto; contain-intrinsic-size: auto 800px; }
.section.alt { background: var(--bg-alt); }
.sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head h2 { font-size: clamp(30px, 4.6vw, 60px); margin: 18px 0 16px; }

/* фрукты */
.fruits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fruit { margin: 0; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-align: center; }
.fruit-ic { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%; background: rgba(255, 122, 26, .12); color: var(--orange); }
.fruit-ic .ic { width: 30px; height: 30px; }
.fruit .count { display: block; font-family: var(--display); font-size: clamp(44px, 6vw, 76px); line-height: 1; font-variant-numeric: tabular-nums; }
.fruit figcaption { margin-top: 10px; color: var(--muted); font-weight: 600; }
@media (max-width: 720px) { .fruits { grid-template-columns: 1fr; } .fruit { display: flex; align-items: center; gap: 20px; text-align: left; padding: 20px; } .fruit-ic { margin: 0; } .fruit .count { font-size: 40px; } }

/* карточки состава */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: clamp(24px, 3vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.04), transparent); }
.card .big { display: block; font-family: var(--display); font-size: clamp(30px, 3.4vw, 44px); color: var(--orange); line-height: 1; }
.card h3 { font-size: 20px; margin: 16px 0 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* плитки «почему» */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .3s; }
.tile:hover { border-color: rgba(255, 122, 26, .5); transform: translateY(-3px); }
.tile .num { font-family: var(--display); font-size: 13px; color: var(--orange); }
.tile h3 { font-size: 19px; margin: 14px 0 10px; }
.tile p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .tiles { grid-template-columns: 1fr; } }

/* чипы */
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.chips li { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }
.chips .ic { width: 18px; height: 18px; color: var(--orange); }

/* партнёрам */
.partners-grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.steps { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 18px; }
.steps b { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 122, 26, .12); color: var(--orange); font-family: var(--display); }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.terms > div { background: var(--bg); padding: 18px 20px; }
.terms dt { color: var(--muted); font-size: 13px; }
.terms dd { margin: 6px 0 0; font-weight: 700; }
.form-card { position: sticky; top: 96px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: var(--card); }
.form-card > h3 { font-size: 24px; }
.form-card > p { color: var(--muted); font-size: 15px; margin: 10px 0 22px; }
form { display: grid; gap: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f span { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
.f span em { font-style: normal; font-weight: 400; opacity: .75; }
.f input, .f select, .f textarea {
  width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255, 255, 255, .03); color: var(--ink); font: 15px var(--font); transition: border-color .2s, box-shadow .2s;
}
.f textarea { height: auto; padding: 14px 16px; resize: vertical; }
.f select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; }
.f select option { background: var(--card); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 122, 26, .16); }
.err { color: #ff8a80; font-size: 14px; }
.form-ok { text-align: center; padding: 30px 0 10px; }
.ok-ic { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: rgba(255, 122, 26, .14); color: var(--orange); }
.ok-ic .ic { width: 30px; height: 30px; }
.form-ok h3 { font-size: 24px; margin-bottom: 10px; }
.form-ok p { color: var(--muted); }
@media (max-width: 960px) { .partners-grid { grid-template-columns: 1fr; } .form-card { position: static; } }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } .terms { grid-template-columns: 1fr; } }

/* вопросы */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-family: var(--display); font-size: clamp(17px, 2vw, 21px); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 18px; height: 18px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; inset: 50% 0 auto; height: 2px; background: var(--orange); border-radius: 2px; transition: transform .3s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { color: var(--muted); padding: 0 40px 26px 0; }

/* контакты и подвал */
.contacts-grid { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.c-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.c-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.c-list li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.c-list .ic { color: var(--orange); }
.c-list small { display: block; color: var(--muted); font-size: 13px; }
.c-list b { font-size: 17px; }
@media (max-width: 860px) { .contacts-grid { grid-template-columns: 1fr; } }
.foot { border-top: 1px solid var(--line); padding: 50px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--bg-alt); }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot p { color: var(--muted); font-size: 13.5px; margin-top: 12px; max-width: 46ch; }
.foot-right { text-align: right; }
.foot-right .langs { display: inline-flex; margin-bottom: 14px; }
@media (max-width: 620px) { .foot-right { text-align: left; } }

/* ---------- появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translate3d(0, 18px, 0); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.8,.2,1) var(--d, 0ms), transform .7s cubic-bezier(.2,.8,.2,1) var(--d, 0ms); }
.no-js .reveal, .no-io .reveal { opacity: 1; transform: none; }

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

.highlight { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 14px 22px; border-radius: 999px; background: rgba(255, 122, 26, .12); color: var(--amber); font-weight: 700; font-size: 15px; }
.highlight .ic { width: 18px; height: 18px; color: var(--orange); }

/* ---------- фотографии продукта ---------- */
.photo-art { width: min(500px, 96%); height: auto; justify-self: center; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6)); animation: float 7s ease-in-out infinite; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.bottle-stage.tilting .photo-art { transition: transform .12s linear; }
.hero-media.has-photo .halo { inset: 10% 14%; }
picture { display: contents; }
@media (max-width: 900px) { .photo-art { width: min(340px, 78%); } }
