@import url("../fonts/fonts.css");
@import url("motion.css");

:root {
  --bg: #0b0b0c;
  --bg-2: #101011;
  --card: #161617;
  --card-2: #1b1b1c;
  --line: rgba(244, 239, 232, .1);
  --line-strong: rgba(244, 239, 232, .18);
  --cream: #f4efe8;
  --cream-2: #e7e0d6;
  --muted: #9a9389;
  --wine: #6b2432;
  --wine-hover: #822c3d;
  --gold: #c8b48a;
  --gold-2: #d9c9a4;
  --paper: #f3eee7;
  --ink: #1c1814;
  --ink-muted: #6e675e;
  --max: 1180px;
  --header: 72px;
  --display: "Varela Round", Nunito, Montserrat, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 14px;
  --r-sm: 8px;
  --z-header: 40;
  --z-chrome: 50;
  --z-overlay: 60;
  --z-cookie: 66;
  --z-modal: 80;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

html, body { min-height: 100%; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--cream);
  font-family: Nunito, Montserrat, system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--wine); color: var(--cream); }

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

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.serif { font-family: var(--display); }

h1, h2, .display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .02em;
  font-synthesis: none;
}

h3 {
  font-family: Nunito, Montserrat, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -.02em;
}

h1, h2, h3 { margin: 0; }

h1 { font-size: clamp(36px, 4.6vw, 52px); line-height: 1.08; }
h2 { font-size: clamp(30px, 3.8vw, 42px); line-height: 1.12; }
h3 { font-size: 18px; line-height: 1.25; }

.lead {
  margin: 16px 0 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}

.muted { color: var(--muted); }
.muted a { color: var(--gold); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: calc(var(--header) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo img {
  height: 30px;
  width: auto;
  display: block;
}
.site-footer .logo img,
.age-box .logo img { height: 34px; }
.header-cta { margin-left: 4px; min-height: 38px; padding: 0 16px; font-size: 13px; white-space: nowrap; }

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}

.menu a { color: color-mix(in srgb, var(--cream) 72%, transparent); transition: color .2s var(--ease); }
.menu a:hover,
.menu a.is-active { color: var(--cream); }
.menu a.btn { color: var(--cream); }

.age-badge {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  padding-left: 8px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--cream);
  position: relative;
  margin: auto;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  white-space: nowrap;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.btn:hover { border-color: var(--cream-2); }
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--wine);
  border-color: var(--wine);
}
.btn-primary:hover { background: var(--wine-hover); border-color: var(--wine-hover); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--cream);
}
.link svg { width: 14px; height: 14px; stroke: var(--gold); }

/* Icons in gold rings */
.ico {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--gold);
}
.ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ico-lg { width: 72px; height: 72px; }
.ico-lg svg { width: 28px; height: 28px; }
.ico svg text { fill: currentColor; stroke: none; font-size: 5.2px; font-weight: 700; font-family: Nunito, Montserrat, system-ui, sans-serif; }

/* Hero home / 404 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: stretch;
  background: #050506;
}
.hero.is-page { min-height: unset; }
.hero-copy {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.hero-copy .wrap {
  width: min(540px, 100%);
  margin: 0 0 0 auto;
  padding: 72px 28px 56px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero.is-page .hero-copy .wrap { min-height: 560px; }
.display {
  margin: 0 0 18px;
  font-size: clamp(64px, 8vw, 96px);
  line-height: .9;
  letter-spacing: -.03em;
  font-weight: 400;
}
.wordmark { letter-spacing: .06em; }
.hero h1 {
  font-size: clamp(40px, 4.8vw, 58px);
  line-height: 1.06;
  max-width: 11em;
  font-weight: 700;
}
.hero .lead { margin-top: 18px; font-size: 15px; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--cream-2);
}
.proof .ico { width: 44px; height: 44px; }
.proof .ico svg { width: 18px; height: 18px; }
.hero-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #000;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.home-block { padding: 80px 0 64px; }
.home-block h2 { margin-bottom: 32px; }
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.duo-card {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 300px;
  overflow: hidden;
  background: #121214;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.duo-card .txt { padding: 32px 18px 24px 28px; display: flex; flex-direction: column; }
.duo-card h3 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 8px;
}
.duo-card .sub {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
}
.duo-card p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.duo-card .link { margin-top: auto; }
.duo-card .pic { position: relative; min-height: 260px; background: #0a0a0b; }
.duo-card .pic > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.why-block { padding-top: 8px; }
.why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: center;
}
.why-item { display: flex; flex-direction: column; align-items: center; }
.why-item .ico { margin-bottom: 4px; }
.why-item h3 { font-size: 16px; margin: 16px 0 8px; font-weight: 600; }
.why-item p { margin: 0; color: var(--muted); font-size: 13px; max-width: 32ch; }

.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.how-item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px 24px;
  background: var(--card);
}
.how-n {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}
.how-item h3 { font-size: 18px; margin: 0 0 8px; font-weight: 600; }
.how-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.formula { text-align: center; }
.formula-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 28px 0 28px;
  text-align: left;
}
.formula-tile {
  position: relative;
  min-height: 220px;
  border-radius: 10px;
  overflow: hidden;
}
.formula-tile img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.formula-tile span {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  display: grid;
  gap: 2px;
  color: #fff;
  text-shadow: 0 1px 8px #000;
}
.formula-tile strong { font-family: Nunito, Montserrat, system-ui, sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.formula-tile em { font-style: normal; font-size: 12px; opacity: .85; }

.home-mat {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.home-mat a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 3 / 4;
}
.home-mat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.about-jump a {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
}
.about-jump a:hover { border-color: var(--gold); color: var(--gold); }
#ingredients,
#quality,
#buy,
#opt { scroll-margin-top: 88px; }

.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.opt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
  background: #4a1822;
}
.opt .copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 56px 8px 56px 0;
  color: var(--cream);
  background: #4a1822 center / cover no-repeat;
  background-position: center 35%;
  isolation: isolate;
}
.opt .copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(74, 24, 34, .58), rgba(74, 24, 34, .42));
  z-index: 0;
}
.opt .copy .wrap {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 24px));
  margin: 0 12px 0 auto;
}
.opt h2 { font-weight: 700; margin-bottom: 16px; color: var(--cream); text-shadow: 0 1px 16px rgba(0,0,0,.45); }
.opt .lead { color: var(--cream-2); max-width: 42ch; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.opt-points {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.opt-points li {
  position: relative;
  padding-left: 18px;
  color: var(--cream-2);
  font-size: 14px;
  line-height: 1.45;
}
.opt-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.opt-form {
  display: flex;
  align-items: center;
  padding: 36px 28px;
}
.opt-form .form-card {
  width: min(440px, 100%);
  margin: 0;
  background: #141416;
  border-color: rgba(244, 239, 232, .12);
}
.opt .form input,
.opt .form select {
  background: #0b0b0c;
}
.opt .legal-check { color: var(--cream-2); }

/* Page intro */
.page-intro { padding: 48px 0 20px; }
.page-intro .lead { max-width: 42ch; }

.crumbs {
  margin: 0 0 18px;
  font-size: 12px;
  color: var(--muted);
}
.crumbs a:hover { color: var(--cream); }

/* Products catalog */
.filters, .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 32px;
}
.pill {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--cream-2);
  cursor: pointer;
  font-size: 13px;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.pill.is-on,
.pill:hover { background: var(--wine); border-color: var(--wine); color: var(--cream); }

.catalog {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-bottom: 36px;
}
.product-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px 18px;
  align-items: center;
  min-height: 188px;
  padding: 14px 22px 14px 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.product-row .shot {
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
}
.product-row .shot img { width: 100%; height: 100%; object-fit: cover; }
.product-row h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
}
.product-row p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--cream-2);
}
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  font-style: normal;
}

.expand-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
  background: var(--paper);
  color: var(--ink);
}
.expand-band .copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 48px;
}
.expand-band .copy .wrap {
  width: 100%;
  margin: 0;
}
.expand-band h2 { color: var(--ink); max-width: 16ch; }
.expand-band p { color: var(--ink-muted); max-width: 34ch; margin: 12px 0 16px; }
.expand-band .visual {
  background: #ece6dc center / cover no-repeat;
}

/* Product detail */
.detail {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  padding: 12px 0 64px;
}
.detail-photo {
  min-height: 520px;
  border-radius: var(--r);
  background: #0a0a0a center / cover no-repeat;
}
.facts { display: grid; gap: 12px; margin: 22px 0 28px; }
.fact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--cream-2);
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
}
.inside { padding: 0 0 56px; }
.inside-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.ing-tile { text-align: center; padding: 8px 6px 16px; }
.ing-tile img,
.ing-photo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 14px;
  border: 1px solid var(--line-strong);
}
.ing-tile h3 { font-size: 16px; margin-bottom: 4px; }
.ing-tile p { margin: 0; font-size: 13px; color: var(--muted); }

.effects {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.effect {
  text-align: center;
  padding: 8px 4px 4px;
}
.effect .ico { margin: 0 auto 12px; }
.effect p { margin: 0; font-size: 13px; color: var(--cream-2); line-height: 1.35; }

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-bottom: 80px;
}
.inci { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 12px 0 18px; }
[data-inci-full] { display: none; }
[data-inci-full].is-on { display: block; }
.steps { display: grid; gap: 16px; margin-top: 16px; }
.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}
.num {
  font-family: Nunito, Montserrat, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

/* About */
.about-hero {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  align-items: center;
  padding-bottom: 56px;
}
.about-hero .shot {
  min-height: 340px;
  border-radius: var(--r);
  background: #111 center / cover no-repeat;
}
.timeline-band {
  background: var(--paper);
  color: var(--ink);
  padding: 72px 0;
}
.timeline-band h2 { margin-bottom: 36px; }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.year {
  font-size: 28px;
  margin-bottom: 10px;
}
.timeline p { margin: 0; color: var(--ink-muted); font-size: 14px; }

.comfort {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.comfort .shot {
  background: #111 center / cover no-repeat;
  filter: grayscale(1);
}
.comfort .copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0 64px 56px;
}
.checks { display: grid; gap: 12px; margin-top: 22px; }
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.check svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.6; }

/* Ingredients page */
.page-light { background: var(--paper); color: var(--ink); }
.page-light .site-header {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  color: var(--cream);
}
.ing-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 56px 0 40px;
  background: #0d0d0e center / cover no-repeat;
  color: var(--cream);
}
.ing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,.15), rgba(11,11,12,.55) 70%);
}
.ing-hero .wrap { position: relative; z-index: 1; }
.ing-hero .lead { color: var(--cream-2); }

.ing-list { padding: 28px 0 80px; }
.ing-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.ing-row img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
}
.ing-row h3 { font-size: 22px; margin-bottom: 4px; }
.ing-row p { margin: 0; color: var(--muted); max-width: 62ch; }
.page-light .ing-row { border-bottom-color: rgba(28, 24, 20, .08); }
.page-light .ing-row p { color: var(--ink-muted); }

/* Quality */
.q-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
  padding: 12px 0 56px;
}
.q-item h3 { font-size: 16px; margin: 14px 0 6px; }
.q-item p { margin: 0; font-size: 13px; color: var(--muted); }
.q-item .ico { margin: 0 auto; }

.docs { padding-bottom: 80px; }
.docs h2 { margin-bottom: 22px; }
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.doc {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.cert {
  display: block;
  width: 150px;
  height: 210px;
  border-radius: 6px;
  overflow: hidden;
  background: #efeae3;
  border: 1px solid var(--line);
}
.cert img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #f4efe8;
  transition: transform .45s var(--ease);
}
a.cert:hover img { transform: scale(1.04); }
.facts-list {
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.facts-list li {
  padding-left: 18px;
  position: relative;
  color: var(--cream-2);
  font-size: 14px;
}
.facts-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.doc h3 { font-size: 20px; margin-bottom: 6px; }
.doc p { margin: 0 0 14px; font-size: 13px; color: var(--muted); }

/* Partners */
.partners {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 80px;
}
.benefits { display: grid; gap: 22px; margin-top: 28px; }
.benefit { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.benefit h3 { font-size: 18px; margin-bottom: 4px; }
.benefit p { margin: 0; color: var(--muted); font-size: 14px; }

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px 26px;
}
.form-card h3 { font-size: 24px; margin-bottom: 18px; }
.form { display: grid; gap: 12px; }
.field {
  display: grid;
  gap: 6px;
}
.field span { font-size: 12px; color: var(--muted); }
.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--cream);
}
.form textarea { min-height: 96px; resize: vertical; }
.form input::placeholder,
.form textarea::placeholder { color: #6f6a64; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 12px) 20px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.form .btn { margin-top: 6px; width: 100%; }

.form-ok { display: none; color: var(--gold); font-size: 14px; }
.form.is-sent .form-ok { display: block; }
.form.is-sent .btn { pointer-events: none; opacity: .7; }

.form .form-success { display: none; text-align: center; padding: 32px 18px 28px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-2); }
.form.is-sent .form-success { display: block; }
.form.is-sent .field,
.form.is-sent .legal-check,
.form.is-sent .btn,
.form.is-sent .form-ok { display: none; }
.form-success .ico { width: 56px; height: 56px; margin: 0 auto 16px; }
.form-success .ico svg { width: 24px; height: 24px; }
.form-success-title { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--cream); }
.form-success-text { margin: 0; font-size: 14px; color: var(--muted); }

.legal-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.legal-check input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin-top: 2px;
  accent-color: var(--wine);
}
.legal-check a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.form-note { margin: 0; font-size: 12px; color: var(--muted); }
.form-note a { color: var(--gold); }

/* Store locator */
.store { padding-bottom: 80px; }
.cities { margin-top: 0; }
.locator {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  margin-top: 18px;
}
.shops {
  background: #f4efe8;
  color: var(--ink);
  border-radius: var(--r);
  overflow: hidden;
}
.shop {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(28,24,20,.08);
  font-size: 14px;
}
.shop:last-of-type { border-bottom: 0; }
.shop b { display: block; font-weight: 500; margin-bottom: 4px; }
.shop .addr { color: var(--ink-muted); font-size: 13px; }
.shop .hours { color: var(--ink-muted); font-size: 13px; align-self: center; }
.map {
  position: relative;
  min-height: 360px;
  border-radius: var(--r);
  overflow: hidden;
  background: #ddd6c8 center / cover no-repeat;
}
.map-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50% 50% 50% 0;
  background: #5a1f2c;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 6px 14px rgba(90, 31, 44, .35);
}
.shops .btn {
  color: var(--ink);
  border-color: rgba(28, 24, 20, .28);
  margin: 10px 16px 16px;
}

/* Contacts */
.contacts { padding-bottom: 80px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 16px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px;
  min-height: 168px;
}
.contact-card h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
}
.contact-card > p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.contact-card > a, .vcard {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-top: 8px;
  color: var(--cream-2);
  overflow-wrap: anywhere;
}
.contact-card > a svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.contact-card > a .ico { width: 36px; height: 36px; }
.contact-card > a .ico svg { width: 15px; height: 15px; }
.contact-card .form { margin-top: 8px; }
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-card.wide {
  min-height: 180px;
  background:
    linear-gradient(180deg, rgba(11,11,12,.35), rgba(11,11,12,.55)),
    url("../images/droplets-dark.png") center / cover;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 22px;
  background: #080809;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr minmax(200px, 1.15fr);
  gap: 28px;
  align-items: start;
}
.footer-legal {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-age {
  display: inline-flex;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--gold);
}
.footer-title {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7a746c;
  margin-bottom: 14px;
}
.footer-links { display: grid; gap: 8px; font-size: 13px; color: #b8b1a8; }
.footer-links a:hover { color: var(--cream); }
.notice {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--cream-2);
  max-width: 18em;
}
.copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #6a645c;
}
.copy a { color: #8a837a; }
.copy a:hover { color: var(--cream); }

/* Age gate */
.age-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(5, 5, 6, .82);
}
.copy .site-footer__dev{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}
.copy .site-footer__dev .site-footer__dev-logo{
    display: block;
    height: 10px;
    width: auto;
}
.age-modal.is-on { display: grid; }
.age-box {
  width: min(440px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #141414;
  border: 1px solid #3d342c;
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
}
.age-box h2 { font-size: 28px; margin: 8px 0 12px; }
.age-box .actions { display: flex; justify-content: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

/* Materials gallery */
.materials {
  padding: 72px 0 96px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--header);
}
.materials h2 { margin-bottom: 8px; }
.materials .lead { max-width: 46ch; margin-bottom: 28px; }
.mat-wrap { position: relative; }
.mat-check { position: absolute; opacity: 0; pointer-events: none; }
.mat-limiter {
  max-height: 590px;
  overflow: hidden;
  position: relative;
}
.mat-check:checked ~ .mat-limiter { max-height: none; overflow: visible; }
.mat-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg-2) 78%);
  pointer-events: none;
}
.mat-check:checked ~ .mat-limiter .mat-fade { display: none; }
.mat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
}
.mat-item {
  display: block;
  grid-column: span 3;
  overflow: hidden;
  border-radius: 6px;
  background: #111;
  position: relative;
}
.mat-item.s2 { grid-column: span 2; }
.mat-item.s3 { grid-column: span 3; }
.mat-item.s4 { grid-column: span 4; }
.mat-item.s5 { grid-column: span 5; }
.mat-item.s6 { grid-column: span 6; }
.mat-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform .55s var(--ease), filter .4s var(--ease);
}
.mat-item.s5 img,
.mat-item.s6 img { height: 260px; }
.mat-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.0);
  transition: background .35s var(--ease);
}
.mat-item:hover img { transform: scale(1.05); }
.mat-item:hover::after { background: rgba(107, 36, 50, .18); }
.mat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.mat-more {
  cursor: pointer;
}
.mat-more::before { content: "Смотреть все рекламные материалы"; }
.mat-check:checked ~ .mat-actions .mat-more::before { content: "Свернуть"; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 96;
  background: rgba(8, 8, 9, .96);
  display: grid;
  place-items: center;
  padding: 56px 72px;
}
.lightbox[hidden] { display: none !important; }
.lightbox img {
  max-width: min(1080px, 100%);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 6px;
}
.lightbox button {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: rgba(11,11,12,.7);
  color: var(--cream);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.lightbox [data-lb-close] { top: 18px; right: 18px; }
.lightbox [data-lb-prev] { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox [data-lb-next] { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox button:hover { border-color: var(--gold); color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Empty */
.empty {
  display: none;
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  color: var(--muted);
  text-align: center;
}
.empty.is-on { display: block; }

/* Responsive */
@media (max-width: 980px) {
  .hero,
  .catalog,
  .expand-band,
  .detail,
  .split-2,
  .about-hero,
  .comfort,
  .partners,
  .locator,
  .contact-grid,
  .contact-split,
  .doc-grid,
  .q-grid,
  .inside-grid,
  .effects,
  .timeline,
  .footer-grid,
  .duo,
  .duo-card,
  .why,
  .how,
  .opt {
    grid-template-columns: 1fr;
  }
  .hero-copy .wrap {
    margin: 0 auto;
    padding: 28px 0 40px;
    width: min(var(--max), calc(100% - 48px));
    min-height: unset;
  }
  .hero-media { min-height: 420px; order: -1; }
  .hero { min-height: unset; }
  .comfort .copy { padding: 48px 24px; }
  .formula-grid { grid-template-columns: repeat(3, 1fr); }
  .home-mat { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
  .opt .copy { padding: 40px 0; min-height: 320px; }
  .opt .copy .wrap {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
  }
  .opt-form { padding: 8px 24px 40px; justify-content: center; }
  .opt-form .form-card { width: min(var(--max), 100%); }
  .effects { grid-template-columns: repeat(3, 1fr); }
  .inside-grid { grid-template-columns: repeat(2, 1fr); }
  .q-grid { grid-template-columns: 1fr 1fr; }
  .product-row { grid-template-columns: 120px 1fr; }
  .duo-card .pic { order: -1; min-height: 220px; }
}

@media (max-width: 760px) {
  :root { --header: 64px; }
  .wrap { width: calc(100% - 32px); }
  .nav { gap: 12px; }
  .menu-toggle { display: grid; }
  .menu {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: calc(var(--header) + env(safe-area-inset-top, 0px));
    background: #0d0d0e;
    border-bottom: 1px solid var(--line);
    padding: 16px 20px calc(22px + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .menu.is-open { display: flex; }
  .logo { order: 1; }
  .age-badge { order: 2; margin-left: auto; padding-left: 0; }
  .header-cta {
    order: 3;
    margin-left: 0;
    min-height: 44px;
    padding: 0 12px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .menu-toggle { order: 4; margin-left: auto; }
  .menu { order: 5; }
  .menu.is-open a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-block: 8px;
  }
  .formula-grid { grid-template-columns: repeat(2, 1fr); }
  .home-mat { grid-template-columns: repeat(2, 1fr); }
  .display { font-size: clamp(48px, 18vw, 64px); }
  .proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 28px;
  }
  .proof-item { font-size: 13px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 140px; }
  .product-row { grid-template-columns: 1fr; text-align: left; padding: 16px; }
  .product-row .shot { height: 220px; width: 100%; }
  .timeline, .footer-grid, .contact-grid, .doc-grid { grid-template-columns: 1fr; }
  .q-grid, .inside-grid, .effects { grid-template-columns: 1fr 1fr; }
  .ico-lg { width: 56px; height: 56px; }
  .ico-lg svg { width: 22px; height: 22px; }
  .why-item h3 { font-size: 15px; }
  .detail-photo { min-height: 280px; }
  .about-hero .shot { min-height: 220px; }
  .footer-legal { grid-column: 1 / -1; }
  .copy { flex-direction: column; }
  .shops .shop { grid-template-columns: 1fr; }
  .mat-item,
  .mat-item.s2,
  .mat-item.s3,
  .mat-item.s4,
  .mat-item.s5,
  .mat-item.s6 { grid-column: span 6; }
  .mat-item img,
  .mat-item.s5 img,
  .mat-item.s6 img { height: 180px; }
  .lightbox { padding: 64px 12px 24px; }
  .lightbox [data-lb-prev] { left: 8px; }
  .lightbox [data-lb-next] { right: 8px; }
  .mat-actions { flex-direction: column; align-items: stretch; }
  .mat-actions .btn { width: 100%; }
  .chrome-stack {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
  .opt .copy .wrap { width: calc(100% - 32px); }
  .opt .copy { min-height: 280px; padding: 36px 0 28px; }
  .opt .copy::after {
    background: rgba(74, 24, 34, .55);
  }
  .opt-form { padding: 0 16px 32px; }
  .why-item p { max-width: none; }
  .hero h1 { max-width: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: #0b0b0c; backdrop-filter: none; }
  .opt .copy::after { background: #4a1822; }
}

/* Legal pages */
.legal-page { padding: 48px 0 80px; }
.legal-page .wrap { max-width: 760px; }
.legal-page h1 { margin-bottom: 12px; }
.legal-page h2 { font-size: 26px; margin: 32px 0 12px; }
.legal-page p, .legal-page li { color: var(--cream-2); font-size: 15px; line-height: 1.7; }
.legal-page ul { padding-left: 18px; }
.legal-page .lead { max-width: 62ch; margin-bottom: 28px; }

/* Chrome: to-top, FAB, cookie, feedback modal */
.chrome-stack {
  position: fixed;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(22px, env(safe-area-inset-bottom, 0px));
  z-index: var(--z-chrome);
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
}
body.cookie-on .chrome-stack { bottom: 118px; }
.to-top,
.fab-toggle,
.fab-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #161617;
  color: var(--gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  transition: transform .45s var(--ease), background .45s var(--ease), opacity .45s var(--ease), visibility .45s;
}
.to-top svg,
.fab-toggle svg,
.fab-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.to-top { opacity: 0; visibility: hidden; pointer-events: none; }
.to-top.is-on { opacity: 1; visibility: visible; pointer-events: auto; }
.to-top:hover,
.fab-toggle:hover,
.fab-link:hover { background: var(--wine); color: var(--cream); border-color: var(--wine); transform: translateY(-2px); }
.fab { position: relative; }
.fab-toggle {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--cream);
}
.fab-panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .45s var(--ease), visibility .4s;
}
.fab.is-open .fab-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.fab-link { width: 44px; height: 44px; }

.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: var(--z-cookie);
  display: none;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  background: #141416;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.cookie-bar.is-on { display: grid; }
.cookie-bar p { margin: 0; font-size: 13px; color: var(--cream-2); max-width: 62ch; }
.cookie-bar a { color: var(--gold); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { min-height: 40px; padding: 0 14px; font-size: 12px; }

.cookie-set,
.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 4);
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(5, 5, 6, .72);
}
.cookie-set.is-on,
.feedback-modal.is-on { display: grid; }
.cookie-box,
.feedback-box {
  width: min(440px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #141414;
  border: 1px solid #3d342c;
  border-radius: 12px;
  padding: 28px 24px 22px;
}
.feedback-box { width: min(480px, 100%); }
.cookie-box h2,
.feedback-box h2 { font-size: 28px; margin-bottom: 10px; }
.cookie-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cookie-row p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.cookie-row input { width: 18px; height: 18px; accent-color: var(--wine); }
.cookie-row input:disabled { opacity: .55; }
.cookie-set .actions,
.feedback-box .actions { display: flex; gap: 8px; margin-top: 18px; }

@media (max-width: 760px) {
  .cookie-bar { grid-template-columns: 1fr; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom, 0px)); }
  body.cookie-on .chrome-stack { bottom: calc(168px + env(safe-area-inset-bottom, 0px)); }
  .hero h1 { font-size: 32px; }
  .hero-media { min-height: max(280px, 52vw); }
  .pill { min-height: 44px; }
  .form input,
  .form select,
  .form textarea { font-size: 16px; }
  .mat-wrap { overflow-x: clip; }
  main { overflow-x: clip; }
  .cookie-actions .btn { min-height: 44px; }
}

