/* =========================================================
   Editorial clinic style · Inter Tight + Playfair Display
   Accent colour depends on the portal: women = orange, men = blue
   ========================================================= */
:root {
  --ink: #111418;
  --ink-2: #2a2f36;
  --muted: #6a717c;
  --bg: #f6f4f0;
  --surface: #ffffff;
  --surface-2: #efece6;
  --line: #e3dfd8;
  --line-2: #cfc9bf;
  --ok: #1d8a55;
  --bad: #c43b32;
  --w: #ee7a2b; --w-ink: #c95d12; --w-soft: #fdeee2;
  --m: #2459d6; --m-ink: #1a43a8; --m-soft: #e5edfc;
  --accent: var(--w); --accent-ink: var(--w-ink); --accent-soft: var(--w-soft);
  --r: 22px; --r-sm: 14px;
  --shadow: 0 1px 2px rgba(17,20,24,.04), 0 10px 30px -18px rgba(17,20,24,.25);
  --mq-h: 34px; --header-h: 72px; --top: calc(var(--mq-h) + var(--header-h));
  --sans: 'Inter Tight', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}
body.portal-m { --accent: var(--m); --accent-ink: var(--m-ink); --accent-soft: var(--m-soft); }
body.no-marquee { --mq-h: 0px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 16px); }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .45em; line-height: 1.05; letter-spacing: -.03em; font-weight: 600; }
h1 { font-size: clamp(40px, 6vw, 80px); }
h2 { font-size: clamp(32px, 4.2vw, 56px); }
h3 { font-size: 22px; letter-spacing: -.02em; }
em.acc, .acc { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
body.portal-w .only-m, body.portal-m .only-w { display: none !important; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section + .section { padding-top: 0; }
.section__head { margin-bottom: 40px; max-width: 760px; }
.section__head.row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; max-width: none; }
.section__head h2 { margin: 0 0 14px; }
.section__head p { color: var(--muted); font-size: 18px; margin: 0; max-width: 620px; }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head.center p { margin-inline: auto; }
.eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.row { display: flex; align-items: center; }
.gap { gap: 10px; }
.hp { position: absolute; left: -9999px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.link-arrow:hover { color: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1.5px solid transparent; border-radius: 999px; padding: 15px 26px; font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn--primary, .btn--orange { background: var(--accent); color: #fff; }
.btn--primary:hover, .btn--orange:hover { background: var(--accent-ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.btn.is-added { background: var(--ok); border-color: var(--ok); color: #fff; }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); transition: border-color .2s; }
.icon-btn:hover { border-color: var(--ink); }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }

/* ============ entry gate ============ */
.gate { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 1fr 1fr; background: #3b4550; color: #fff; overflow: hidden; }
.gate[hidden] { display: none; }
.gate__half { position: relative; overflow: hidden; }
.gate__half img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1.2s cubic-bezier(.2,1,.3,1), filter .6s; }
.gate__half--w { background: linear-gradient(160deg, #8b97a3, #4b5560); }
.gate__half--m { background: linear-gradient(200deg, #7f8c99, #3e4852); }
.gate.hover-w .gate__half--w img, .gate.hover-m .gate__half--m img { transform: scale(1.04); }
.gate.hover-w .gate__half--m img, .gate.hover-m .gate__half--w img { filter: brightness(.7) saturate(.8); }
.gate::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20,26,34,.55), rgba(20,26,34,.25) 40%, rgba(20,26,34,.55)); }
.gate__center { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.gate__logo { position: absolute; top: 28px; left: 50%; translate: -50% 0; }
.gate .eyebrow { color: rgba(255,255,255,.85); }
.gate h1 { color: #fff; font-size: clamp(40px, 5.6vw, 76px); margin-bottom: 18px; }
.gate h1 .acc { color: #fff; }
.gate__text { max-width: 520px; font-size: 18px; color: rgba(255,255,255,.88); margin-bottom: 26px; }
.gate__hint { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.gate__confirm { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; cursor: pointer; margin-bottom: 26px; }
.gate__confirm input { appearance: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin: 0; display: grid; place-items: center; cursor: pointer; }
.gate__confirm input:checked { background: #fff; box-shadow: inset 0 0 0 4px #3b4550; }
.gate__btns { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.gate__btn { min-width: 210px; padding: 16px 28px; border-radius: 999px; border: 0; color: #fff; font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: opacity .3s, transform .2s, background .2s; }
.gate__btn--w { background: var(--w); }
.gate__btn--m { background: var(--m); }
.gate__btn:disabled { opacity: .45; cursor: not-allowed; }
.gate__btn:not(:disabled):hover { transform: translateY(-2px); }
.gate__foot { position: absolute; bottom: 24px; left: 0; right: 0; z-index: 2; text-align: center; font-size: 14px; color: rgba(255,255,255,.8); }
.gate__foot a { text-decoration: underline; text-underline-offset: 3px; color: #fff; }

/* ============ marquee ============ */
.marquee { overflow: hidden; background: var(--ink); color: #fff; height: var(--mq-h); display: flex; align-items: center; font-size: 13px; font-weight: 500; }
.marquee--top { position: fixed; top: 0; left: 0; right: 0; z-index: 60; }
.marquee--bottom { background: var(--accent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee--bottom .marquee__track { animation-direction: reverse; }
.marquee__track span { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; white-space: nowrap; }
.marquee__track span::after { content: '✦'; color: var(--accent); font-size: 11px; }
.marquee--bottom .marquee__track span::after { color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ header ============ */
.site-header { position: fixed; top: var(--mq-h); left: 0; right: 0; z-index: 50; background: rgba(246,244,240,.86); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid var(--line); }
.site-header__bar { width: min(1240px, 100% - 40px); margin-inline: auto; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; width: auto; }
.logo__mark { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; flex: none; position: relative; }
.logo__mark::before { content: ''; width: 9px; height: 16px; border: 1.5px solid currentColor; border-top-width: 4px; border-top-color: var(--accent); border-radius: 2px 2px 3px 3px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text b { font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.logo__text small { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: var(--surface-2); }
.nav a.is-active { color: var(--accent); }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.portal-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.portal-switch button { border: 0; background: transparent; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); }
body.portal-w .portal-switch [data-portal="w"] { background: var(--w); color: #fff; }
body.portal-m .portal-switch [data-portal="m"] { background: var(--m); color: #fff; }
.burger { display: none; }

/* ============ hero ============ */
.hero { position: relative; padding: calc(var(--top) + 40px) 0 72px; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -10%; top: -10%; width: 70%; height: 120%; background: radial-gradient(closest-side, var(--accent-soft), transparent 70%); z-index: -1; transition: background .4s; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; min-height: 560px; }
.hero h1 { margin-bottom: 22px; }
.hero__bullets { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.hero__bullets li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.hero__bullets li::before { content: ''; width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__note { margin-top: 22px; font-size: 13px; color: var(--muted); }
.hero__stage { position: relative; height: 560px; display: grid; place-items: center; }
.hero__disc { position: absolute; width: min(520px, 92%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, var(--accent-soft) 60%, transparent 72%); }
.hero__vial { position: absolute; inset: 9% 0; z-index: 2; }
.hero__vial img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 40px rgba(17,20,24,.18)); }
.hero__model { position: relative; z-index: 2; width: 100%; height: 100%; background: transparent; --poster-color: transparent; }

/* ============ products ============ */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .3s, transform .3s, border-color .3s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line-2); }
.pcard__media { position: relative; aspect-ratio: 4/3.4; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.pcard__media::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff, transparent 70%); }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,1,.3,1); }
.pcard__media img.is-png, .pcard__media img.is-placeholder { inset: 12% 0 10%; height: 78%; object-fit: contain; filter: drop-shadow(0 18px 20px rgba(17,20,24,.16)); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard__cat { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.pcard__name { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.pcard__form { color: var(--muted); font-size: 14px; }
.pcard__price { margin-top: 12px; font-size: 18px; font-weight: 600; }
.pcard__actions { display: flex; gap: 8px; margin-top: 16px; }
.pcard__actions .btn { flex: 1; }
.pcard__sub { color: var(--muted); font-size: 14px; margin: 0; }
.badge-hit { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em; padding: 6px 10px; border-radius: 999px; }
.price { font-size: 20px; font-weight: 600; white-space: nowrap; }
.in-stock { color: var(--ok); font-weight: 500; }
.out-stock { color: var(--muted); }

.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.cat-tabs button { border: 1px solid var(--line-2); background: transparent; padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; transition: background .2s, color .2s, border-color .2s; }
.cat-tabs button small { color: var(--muted); font-size: 12px; }
.cat-tabs button:hover { border-color: var(--ink); }
.cat-tabs button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-tabs button.is-on small { color: rgba(255,255,255,.7); }
[data-tab-panel][hidden] { display: none; }

/* feature cards */
.features { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 16px; }
.features--3 { grid-template-columns: repeat(3, 1fr); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.feature__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; font-family: var(--serif); font-style: italic; font-size: 20px; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.split-head h2 { margin: 0; }
.split-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* spotlight with portal photo */
.spot { display: grid; grid-template-columns: 420px 1fr; gap: 48px; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 20px; }
.spot--rev { grid-template-columns: 1fr 420px; }
.spot--rev .spot__photo { order: 2; }
.spot__photo { position: relative; border-radius: 24px; overflow: hidden; min-height: 460px; background: linear-gradient(160deg, var(--accent-soft), var(--surface-2)); }
.spot__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.spot__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; text-align: center; padding: 20px; }
.spot__ph svg { width: 90px; height: 90px; stroke-width: 1; opacity: .35; margin: 0 auto 10px; display: block; }
.spot__body { padding: 28px 20px 28px 0; display: flex; flex-direction: column; }
.spot--rev .spot__body { padding: 28px 0 28px 20px; }
.spot__body h2 { margin-bottom: 10px; }
.spot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; padding-top: 28px; border-top: 1px solid var(--line); flex: 1; }
.spot__cols h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.spot__cols p { color: var(--ink-2); font-size: 15px; margin: 0; }
.spot__body .btn { align-self: flex-start; }

/* category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s; }
.cat-card:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); transform: translateY(-2px); }
.cat-card__media { position: relative; aspect-ratio: 1.25; background: var(--surface-2); overflow: hidden; }
.cat-card__media > img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-card__media > img.vial { position: absolute; top: 14%; bottom: 10%; left: 50%; translate: -50% 0; height: 76%; width: auto; max-width: 60%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(17,20,24,.16)); transition: transform .6s cubic-bezier(.2,1,.3,1); }
.cat-card:hover .cat-card__media > img.vial { transform: rotate(-8deg) translateY(-4px); }
.cat-card:hover .cat-card__media > img.photo { transform: scale(1.05); }
.cat-card__info { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; }
.cat-card__info b { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; }
.cat-card__info small { color: var(--muted); }
.cat-card__go { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: background .2s, color .2s, border-color .2s; }
.cat-card:hover .cat-card__go { background: var(--accent); border-color: var(--accent); color: #fff; }

/* steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.step__num { font-family: var(--serif); font-style: italic; font-size: 56px; line-height: 1; color: var(--accent); margin-bottom: 24px; display: block; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font-size: 26px; font-weight: 300; color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0 0 22px; max-width: 640px; }

.disclaimer { border-top: 1px solid var(--line-2); padding-top: 28px; font-size: 13px; color: var(--muted); max-width: 900px; }
.disclaimer b { display: block; color: var(--ink); margin-bottom: 6px; font-size: 14px; }

/* reviews */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }
.rcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.rcard__head { display: flex; align-items: center; gap: 12px; }
.rcard__head div { flex: 1; display: flex; flex-direction: column; }
.rcard__head small { color: var(--muted); font-size: 13px; }
.rcard__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 19px; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.stars { color: var(--line-2); font-size: 16px; letter-spacing: 1px; white-space: nowrap; }
.stars i { font-style: normal; }
.stars .on { color: var(--accent); }
.rcard__text { flex: 1; margin: 0; font-size: 16px; color: var(--ink-2); }
.rcard__photos { display: flex; gap: 8px; flex-wrap: wrap; }
.rcard__photos img { width: 70px; height: 70px; object-fit: cover; border-radius: 12px; }
.rcard__product { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.rcard__product img { width: 34px; height: 42px; object-fit: contain; }
.rcard__product span { flex: 1; display: flex; flex-direction: column; }
.rcard__product small { color: var(--muted); font-size: 12px; }
.rcard__product:hover b { color: var(--accent); }
.arc__nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.arc__nav:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* contacts block + forms */
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: clamp(28px, 5vw, 56px); }
.contact-card__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 36px; }
.contact-form { display: grid; gap: 16px; }
.contact-form__title { font-weight: 600; font-size: 18px; margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid--tight { gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field input, .field textarea, .field select { border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 14px 16px; background: var(--bg); font-size: 15px; outline: none; transition: border .2s, box-shadow .2s, background .2s; width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.contact-form .btn { justify-self: start; }
.notice { padding: 13px 16px; border-radius: var(--r-sm); font-weight: 500; }
.notice--ok { background: #e3f4ea; color: var(--ok); }
.notice--err { background: #fbe9e7; color: var(--bad); }
.contacts-grid { display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: start; }
.card-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.contact-info { padding: 28px; display: grid; gap: 18px; }
.contact-info__row { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__row i { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.contact-info__row small { display: block; color: var(--muted); font-size: 13px; }
.contact-info .btn { width: 100%; white-space: normal; }
.map { margin-top: 20px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); height: 440px; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); margin-top: 40px; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; padding: 64px 0 40px; }
.site-footer .logo { color: #fff; }
.site-footer .logo__text small { color: rgba(255,255,255,.55); }
.site-footer__brand p { color: rgba(255,255,255,.55); margin-top: 18px; font-size: 14px; max-width: 300px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer__col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.5); font-weight: 600; margin-bottom: 6px; }
.site-footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__copy { border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: 13px; margin: 0; padding: 22px 0 30px; }

/* inner pages */
.page-top { padding: calc(var(--top) + 40px) 0 clamp(64px, 8vw, 100px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs b { color: var(--ink); font-weight: 500; }
.crumbs i { font-style: normal; opacity: .5; }
.list-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.list-head h1 { margin: 0; font-size: clamp(36px, 5vw, 64px); }
.catalog-bar { display: flex; gap: 10px; margin: 8px 0 28px; }
.search { flex: 1; position: relative; }
.search svg { position: absolute; left: 20px; top: 50%; translate: 0 -50%; color: var(--muted); }
.search input { width: 100%; border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 16px 20px 16px 52px; font-size: 16px; outline: none; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.filters-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 0 24px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 600; }
.filters { display: none; gap: 8px; flex-wrap: wrap; margin: -12px 0 28px; }
.filters.is-open { display: flex; }
.filters a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 500; font-size: 14px; background: var(--surface); }
.filters a:hover { border-color: var(--ink); }
.back-panel { display: inline-flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.back-panel a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 500; font-size: 14px; background: var(--surface); }
.back-panel a:hover { border-color: var(--ink); }
.back-panel small { color: var(--muted); margin-left: 4px; }
.back-panel a span { display: inline-flex; gap: 4px; align-items: baseline; }
.sort select { border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px; background: var(--surface); font-weight: 500; }
.empty { text-align: center; padding: 56px 20px; color: var(--muted); background: var(--surface); border-radius: var(--r); border: 1px dashed var(--line-2); }

/* product page */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.gallery { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1; background: var(--surface-2); border: 1px solid var(--line); }
.gallery::before { content: ''; position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle, #fff, var(--accent-soft) 55%, transparent 72%); }
.gallery .badge-hit { top: 18px; left: 18px; }
.gallery__track { position: relative; display: flex; height: 100%; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.gallery__slide { flex: 0 0 100%; display: grid; place-items: center; padding: 9%; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__slide { position: relative; }
.gallery__slide.is-png img { position: absolute; inset: 9% 12%; width: 76%; height: 82%; object-fit: contain; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(17,20,24,.18)); }
.gallery__slide.is-photo { padding: 0; }
.gallery__nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; }
.gallery__nav--prev { left: 16px; } .gallery__nav--next { right: 16px; }
.gallery__dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.gallery__dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: rgba(17,20,24,.2); transition: width .3s, background .3s; }
.gallery__dots button.is-on { width: 24px; background: var(--ink); }
@keyframes float { 0%,100% { transform: translateY(-12px); } 50% { transform: translateY(12px); } }
.product__info h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 10px; }
.product__sub { font-size: 19px; color: var(--muted); margin-bottom: 12px; }
.product__form { display: inline-block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.rating-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.rating-link span:last-child { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.benefits { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.benefits li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.benefits li::before { content: ''; width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.doses { margin: 24px 0 8px; }
.doses__label { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; margin-bottom: 10px; display: block; }
.doses__list { display: flex; flex-wrap: wrap; gap: 8px; }
.doses__list label { cursor: pointer; }
.doses__list input { position: absolute; opacity: 0; pointer-events: none; }
.doses__list span { display: inline-flex; flex-direction: column; padding: 12px 18px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--surface); min-width: 110px; transition: border-color .2s, background .2s; }
.doses__list span b { font-size: 17px; font-weight: 600; }
.doses__list span small { color: var(--muted); font-size: 13px; }
.doses__list input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.doses__list input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.buy { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 18px; }
.buy .price { font-size: 34px; margin-right: auto; letter-spacing: -.02em; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: var(--surface); }
.qty button { width: 40px; height: 46px; border: 0; background: transparent; font-size: 20px; }
.qty input { width: 36px; text-align: center; border: 0; font-weight: 600; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stock-note { margin-top: 12px; font-size: 14px; }
.tabs { margin-top: 72px; }
.tabs__nav { display: flex; gap: 28px; border-bottom: 1px solid var(--line-2); margin-bottom: 30px; }
.tabs__nav a { padding: 14px 0; font-weight: 500; font-size: 18px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs__nav a.is-on, .tabs__nav a:hover { color: var(--ink); border-color: var(--accent); }
.tabs__nav a sup { color: var(--accent); }
.desc { max-width: 820px; font-size: 18px; color: var(--ink-2); }
.reviews-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.reviews-list { display: grid; gap: 14px; }
.review-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; position: sticky; top: calc(var(--top) + 20px); }
.review-form h3 { margin: 0; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input input { display: none; }
.rating-input label { font-size: 30px; color: var(--line-2); cursor: pointer; line-height: 1; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--accent); }
.rating-summary { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rating-summary b { font-family: var(--serif); font-size: 46px; line-height: 1; font-weight: 400; }

/* cart */
.cart { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; }
.cart-list { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto auto 40px; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 18px; }
.cart-item img { width: 76px; height: 76px; object-fit: contain; border-radius: 14px; background: var(--surface-2); }
.cart-item a { font-weight: 600; }
.cart-item .remove { border: 0; background: none; color: var(--muted); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.cart-item .remove:hover { background: #fbe9e7; color: var(--bad); }
.checkout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; position: sticky; top: calc(var(--top) + 20px); }
.checkout__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; font-weight: 500; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.checkout__total b { font-size: 30px; font-weight: 600; }

.thanks { max-width: 640px; margin: 0 auto; text-align: center; padding: 30px 0; }
.thanks img { max-width: 320px; margin: 0 auto 24px; border-radius: var(--r); }
.thanks .vial { width: 100px; margin: 0 auto 24px; animation: float 5s ease-in-out infinite; }
.article { max-width: 780px; margin: 0 auto; font-size: 18px; color: var(--ink-2); }
.article img.cover { border-radius: var(--r); margin-bottom: 28px; width: 100%; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s; }
.post-card:hover { box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 16/10; background: var(--surface-2); position: relative; overflow: hidden; display: block; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__ph { position: absolute; inset: 0; background: radial-gradient(circle at 70% 40%, var(--accent-soft), var(--surface-2) 70%); }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.post-card__body small { color: var(--accent); font-weight: 600; font-size: 13px; }
.post-card__body b { font-size: 20px; font-weight: 600; line-height: 1.25; }
.post-card__body span { color: var(--muted); font-size: 15px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 160%; z-index: 90; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; font-weight: 500; transition: translate .4s cubic-bezier(.3,1.4,.5,1), visibility 0s .4s; max-width: calc(100% - 32px); visibility: hidden; }
.toast.is-on { translate: -50% 0; visibility: visible; transition: translate .4s cubic-bezier(.3,1.4,.5,1); }
.toast a { color: #fff; margin-left: 10px; text-decoration: underline; font-weight: 600; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* responsive */
@media (max-width: 1100px) {
  .nav a { padding: 8px 10px; font-size: 14px; }
  .features { grid-template-columns: 1fr 1fr; }
  .cat-grid, .product-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .spot, .spot--rev { grid-template-columns: 340px 1fr; }
  .spot--rev .spot__photo { order: 0; }
  .spot--rev .spot__body { padding: 28px 20px 28px 0; }
  .site-footer__inner { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; --mq-h: 30px; }
  .burger { display: grid; }
  .nav { position: fixed; top: calc(var(--top) + 8px); left: 12px; right: 12px; flex-direction: column; align-items: stretch; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 16px; }
  .gate { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__stage { height: 340px; order: -1; }
  .product-grid, .product-grid--4 { grid-template-columns: 1fr 1fr; }
  .features, .features--3, .steps-grid { grid-template-columns: 1fr 1fr; }
  .split-head, .faq { grid-template-columns: 1fr; gap: 16px; }
  .spot, .spot--rev { grid-template-columns: 1fr; }
  .spot__photo { min-height: 360px; }
  .spot__body, .spot--rev .spot__body { padding: 10px 6px 16px; }
  .spot__cols { grid-template-columns: 1fr; gap: 16px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .product, .reviews-wrap, .cart, .contacts-grid, .grid-2 { grid-template-columns: 1fr; }
  .review-form, .checkout { position: static; }
  .hscroll { grid-auto-columns: 85%; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .map { height: 320px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .site-header__bar { width: calc(100% - 32px); }
  .logo__text small { display: none; }
  .portal-switch button { padding: 6px 10px; }
  .gate { grid-template-columns: 1fr 1fr; }
  .gate__btns { flex-direction: column; width: 100%; max-width: 320px; gap: 12px; }
  .gate__btn { min-width: 0; width: 100%; }
  .gate__confirm { font-size: 15px; }
  .product-grid, .product-grid--4 { grid-template-columns: 1fr; }
  .features, .features--3, .steps-grid, .cat-grid, .grid-3 { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card__info { padding: 12px; }
  .cat-card__go { display: none; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 64px 1fr 36px; }
  .cart-item img { width: 64px; height: 64px; }
  .cart-item .qty, .cart-item .ci-sum { grid-column: 2; }
  .cart-item .remove { grid-row: 1; grid-column: 3; }
  .buy .price { width: 100%; }
  .catalog-bar { flex-direction: column; }
  .filters-btn { padding: 14px 24px; justify-content: center; }
  .doses__list span { min-width: 0; }
}

/* ============ hero v4: split headline + 3D vial ============ */
.btn--deep { background: var(--accent-ink); color: #fff; }
.btn--deep:hover { background: var(--ink); }
.hx { position: relative; padding: calc(var(--top) + 18px) 0 64px; overflow: hidden; background: radial-gradient(60% 70% at 50% 42%, #fff 0%, var(--accent-soft) 55%, var(--bg) 100%); transition: background .4s; }
.hx__eyebrow { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.hx__grid { display: grid; grid-template-columns: 1fr minmax(240px, 25vw) 1fr; grid-template-rows: 1fr auto; column-gap: 0; align-items: center; min-height: clamp(520px, 44vw, 680px); }
.hx__title { display: contents; }
.hx__t1, .hx__t2 { grid-row: 1; position: relative; z-index: 1; font-size: clamp(56px, 8.2vw, 132px); line-height: .9; margin: 0; align-self: center; }
.hx__t1 { grid-column: 1; justify-self: end; text-align: right; font-family: var(--sans); font-weight: 500; letter-spacing: -.055em; color: var(--accent); margin-right: -4vw; transition: color .4s; }
.hx__t2 { grid-column: 3; justify-self: start; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.03em; color: var(--ink); margin-left: -2.5vw; }
.hx__stage { grid-column: 2; grid-row: 1 / 3; position: relative; z-index: 2; align-self: stretch; min-height: clamp(460px, 42vw, 660px); }
.hx__canvas, .hx__model, .hx__png { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx__canvas { cursor: grab; touch-action: pan-y; }
.hx__canvas:active { cursor: grabbing; }
.hx__model { background: transparent; --poster-color: transparent; }
.hx__png { object-fit: contain; padding: 4% 0; filter: drop-shadow(0 40px 40px rgba(17,20,24,.18)); }
.hx__fallback { opacity: 0; pointer-events: none; transition: opacity .3s; }
.hx__stage.is-nogl .hx__fallback { opacity: 1; }
.hx__stage.is-nogl .hx__canvas { display: none; }
.hx__shadow { position: absolute; left: 18%; right: 18%; bottom: 3%; height: 34px; border-radius: 50%; background: radial-gradient(closest-side, rgba(17,20,24,.28), transparent); filter: blur(4px); }
.hx__bullets { grid-column: 1; grid-row: 2; justify-self: end; list-style: none; margin: 0 2vw 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hx__bullets li { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.hx__bullets li::before { content: ''; width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat; }
.hx__side { grid-column: 3; grid-row: 2; max-width: 400px; margin-left: 2vw; }
.hx__side p { margin: 0 0 22px; font-size: 15px; color: var(--ink-2); }
.hx__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.hx__buttons .btn { padding: 12px 24px; font-size: 14px; }
.hx__side .hx__note { margin: 16px 0 0; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) {
  .hx { padding-bottom: 44px; }
  .hx__grid { display: flex; flex-direction: column; align-items: center; min-height: 0; text-align: center; }
  .hx__t1, .hx__t2 { margin: 0; text-align: center; justify-self: center; font-size: clamp(52px, 15vw, 96px); }
  .hx__t1 { margin-top: 10px; }
  .hx__stage { width: 100%; min-height: 0; height: clamp(320px, 92vw, 460px); margin: -18px 0 6px; }
  .hx__bullets { margin: 0 0 22px; justify-self: center; }
  .hx__bullets li { justify-content: center; }
  .hx__side { margin: 0; }
  .hx__buttons { justify-content: center; }
}
