/* =========================================================
   ТД «НЕПТУН» — стили
   ========================================================= */
:root {
  --abyss: #020814;
  --navy: #04122b;
  --deep: #071d42;
  --sea: #1269b0;
  --sea-2: #2a8fd6;
  --turq: #2fd8cf;
  --turq-soft: rgba(47, 216, 207, .14);
  --white: #f4f8fc;
  --silver: #c8d4e1;
  --silver-2: #96a9be;
  --line: rgba(185, 200, 216, .16);
  --glass: rgba(10, 34, 70, .38);
  --caviar: #ff6a2b;

  --f-display: 'Unbounded', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --f-accent: 'Cormorant Garamond', Georgia, serif;

  --pad: clamp(20px, 5vw, 80px);
  --radius: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; height: 100vh; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--turq); color: var(--navy); }

/* ---------- Фон ---------- */
#ocean { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; display: block; }
body.no-webgl { background: linear-gradient(180deg, #0a4a78 0%, #061a3a 35%, #020814 100%) fixed; }
.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Прелоадер ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 30%, #0b3260 0%, var(--navy) 55%, var(--abyss) 100%);
  clip-path: ellipse(150% 150% at 50% 0%);
}
.loader__inner { display: grid; justify-items: center; gap: 18px; }
.loader__logo { width: 140px; filter: drop-shadow(0 10px 40px rgba(47, 216, 207, .35)); }
.loader__name { font-family: var(--f-display); font-weight: 600; letter-spacing: .5em; font-size: 15px; color: var(--silver); padding-left: .5em; }
.loader__bar { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--sea-2), var(--turq)); transform: scaleX(0); transform-origin: left; }
.loader__depth { font-family: var(--f-display); font-size: 12px; color: var(--silver-2); letter-spacing: .2em; }

/* ---------- Шапка ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--pad);
  transition: padding .5s var(--ease), background .5s, backdrop-filter .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding-top: 10px; padding-bottom: 10px;
  background: rgba(3, 11, 31, .55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 54px; height: auto; }
.brand__text { font-family: var(--f-display); font-size: 14px; letter-spacing: .18em; color: var(--silver); white-space: nowrap; }
.brand__text b { color: var(--white); font-weight: 600; }
.nav { display: flex; gap: 34px; }
.nav a { position: relative; font-size: 14px; font-weight: 500; color: var(--silver); transition: color .3s; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--turq); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__phone {
  font-family: var(--f-display); font-size: 13px; letter-spacing: .04em;
  padding: 11px 20px; border-radius: 99px; border: 1px solid var(--line);
  background: var(--glass); backdrop-filter: blur(10px);
  transition: border-color .3s, background .3s;
  white-space: nowrap;
}
.header__phone:hover { border-color: var(--turq); background: var(--turq-soft); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); transition: transform .5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }

/* ---------- Индикатор глубины ---------- */
.depth {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--f-display); font-size: 10px; letter-spacing: .2em; color: var(--silver-2);
  pointer-events: none;
}
.depth__label { writing-mode: vertical-rl; transform: rotate(180deg); text-transform: uppercase; }
.depth__track { width: 1px; height: 120px; background: var(--line); position: relative; overflow: hidden; }
.depth__track i { position: absolute; inset: 0; background: linear-gradient(var(--turq), var(--sea-2)); transform: scaleY(0); transform-origin: top; }
.depth__num { white-space: nowrap; }
.depth__num b { color: var(--white); font-weight: 400; }

/* ---------- Общее ---------- */
.section { position: relative; padding: clamp(90px, 11vw, 150px) var(--pad); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-size: 12px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
  color: var(--turq); margin-bottom: 28px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(36px, 6.4vw, 96px); line-height: 1; letter-spacing: -.035em;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.title em, .hero__title em, .cat__title em {
  font-family: var(--f-accent); font-style: italic; font-weight: 500; letter-spacing: -.01em;
  background: linear-gradient(100deg, var(--white) 0%, var(--turq) 55%, var(--sea-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line__in { display: inline-block; will-change: transform; }
.muted { color: var(--silver-2); }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 30px; border-radius: 99px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease);
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn--primary { background: linear-gradient(120deg, var(--turq), var(--sea-2)); color: var(--navy); box-shadow: 0 14px 40px -12px rgba(47, 216, 207, .6); }
.btn--primary::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--white); transform: translateY(101%); border-radius: inherit; transition: transform .6s var(--ease); }
.btn--primary:hover::before { transform: translateY(0); }
.btn--glass { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.05); backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(255,255,255,.12); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px var(--pad) 60px;
}
.hero__content { max-width: 880px; }
.hero__title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(34px, min(8.2vw, 15vh), 132px); line-height: .94; letter-spacing: -.05em;
  margin: 0 0 30px; max-width: 100%;
  text-shadow: 0 20px 60px rgba(0, 10, 30, .35);
}
.hero__title em { font-size: 1.08em; font-weight: 600; }
.hero__lead { max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); color: var(--silver); margin-bottom: 40px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr .8fr; gap: 12px;
  margin-top: clamp(50px, 8vh, 90px);
  max-width: 1100px;
}
.hero__fact {
  display: grid; gap: 6px; align-content: center;
  padding: 18px 22px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(6, 26, 58, .45); backdrop-filter: blur(10px);
}
.hero__fact b { font-family: var(--f-display); font-weight: 600; font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -.03em; line-height: 1.1; white-space: nowrap; }
.hero__tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--turq); }
.hero__fact--title { background: none; border: 0; padding-left: 0; }
.hero__fact--title span { font-family: var(--f-display); font-size: clamp(15px, 1.3vw, 18px); color: var(--white); }
.hero__fact--title b { font-family: var(--f-body); font-weight: 500; font-size: 14px; color: var(--silver-2); letter-spacing: 0; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--silver-2);
}
.scroll-cue span { width: 1px; height: 48px; background: linear-gradient(transparent, var(--turq)); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ''; position: absolute; left: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--turq); animation: drop 2.2s var(--ease) infinite; }
@keyframes drop { from { top: -6px; } to { top: 48px; } }

/* ---------- О компании ---------- */
.about__statement {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(24px, 3.6vw, 52px); line-height: 1.22; letter-spacing: -.025em;
  max-width: 1200px;
}
.about__statement .w { display: inline; }
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(60px, 8vw, 110px); perspective: 1200px; }
.stat, .term {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--radius); padding: 36px 32px 34px;
  background:
    radial-gradient(500px circle at var(--mx) var(--my), rgba(47, 216, 207, .12), transparent 40%),
    linear-gradient(160deg, rgba(20, 60, 110, .45), rgba(4, 18, 43, .55));
  border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  overflow: hidden;
}
.stat::before, .term::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.14), transparent 30%);
  mask: linear-gradient(#000, transparent 50%);
}
.stat__num { font-family: var(--f-display); font-weight: 600; font-size: clamp(54px, 6vw, 88px); line-height: 1; letter-spacing: -.05em;
  background: linear-gradient(180deg, var(--white), var(--silver-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__unit { display: block; margin: 6px 0 22px; font-family: var(--f-accent); font-style: italic; font-size: 24px; color: var(--turq); }
.stat p { color: var(--silver); font-size: 15px; }

/* ---------- Каталог ---------- */
.catalog__head { max-width: 1100px; margin-bottom: clamp(30px, 5vw, 60px); }
.catalog__note { max-width: 520px; color: var(--silver-2); font-size: 14px; margin-top: -30px; }
.cat {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(30px, 5vw, 90px);
  padding: clamp(60px, 8vw, 120px) 0;
  border-top: 1px solid var(--line);
}
.cat__media { position: relative; }
.cat__frame {
  position: sticky; top: 12vh;
  height: 76vh; min-height: 420px; max-height: 760px;
  border-radius: var(--radius); overflow: hidden;
  background: var(--deep);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--line);
}
.cat__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.1s var(--ease), filter 1.1s var(--ease);
  filter: saturate(1.05) contrast(1.04) blur(6px);
}
.cat__frame img.is-on { opacity: 1; filter: saturate(1.05) contrast(1.04) blur(0); }
.cat__frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 11, 31, 0) 50%, rgba(3, 11, 31, .75) 100%);
}
.cat__index {
  position: absolute; left: 26px; bottom: 18px; z-index: 2;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(60px, 8vw, 120px); line-height: 1; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(244, 248, 252, .55);
}
.cat__body { padding-top: 2vh; }
.cat__num { font-family: var(--f-display); font-size: 12px; letter-spacing: .24em; color: var(--silver-2); margin-bottom: 18px; }
.cat__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(32px, 4.2vw, 64px); line-height: 1; letter-spacing: -.04em; margin-bottom: 22px; }
.cat__title em { display: block; font-size: .62em; margin-top: 10px; }
.cat__lead { color: var(--silver); max-width: 520px; margin-bottom: 40px; }
.items { list-style: none; display: grid; }
.item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start;
  padding: 28px 0; border-top: 1px solid var(--line);
  transition: padding .6s var(--ease);
  position: relative;
}
.item::before {
  content: ''; position: absolute; left: -22px; top: 34px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--caviar); box-shadow: 0 0 14px var(--caviar);
  transform: scale(0); transition: transform .5s var(--ease);
}
.item.is-active::before { transform: scale(1); }
.item__thumb { display: none; }
.item h4 { font-family: var(--f-display); font-weight: 400; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.015em; line-height: 1.25; margin-bottom: 8px; transition: color .4s; }
.item.is-active h4 { color: var(--turq); }
.item p { font-size: 14.5px; color: var(--silver); max-width: 460px; }
.item__pack { display: inline-block; margin-top: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-2); }
.item__side { display: grid; justify-items: end; gap: 12px; text-align: right; }
.price { white-space: nowrap; font-family: var(--f-display); }
.price b { font-weight: 600; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.03em; }
.price small { font-size: 13px; color: var(--silver-2); margin-left: 2px; }
.price--req, .price--soon {
  font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: .06em;
  padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line);
}
.price--req { color: var(--turq); border-color: rgba(47, 216, 207, .35); background: var(--turq-soft); }
.price--soon { color: var(--silver); background: rgba(255,255,255,.04); }
.item__ask { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--silver); transition: color .3s, gap .4s var(--ease); }
.item__ask svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.item__ask:hover { color: var(--turq); gap: 10px; }

/* ---------- Условия ---------- */
.terms__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1400px; }
.term { padding: 40px 30px 90px; min-height: 360px; }
.term__tag { display: inline-block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--turq); margin-bottom: 26px; }
.term__sub { color: var(--white) !important; font-weight: 600; font-size: 14px !important; margin: -8px 0 16px; }
.term__value { display: block; white-space: nowrap; font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 2.05vw, 34px); line-height: 1.05; letter-spacing: -.04em; margin-bottom: 20px; }
.term p { color: var(--silver); font-size: 15px; }
.term__wave { position: absolute; left: 0; right: 0; bottom: 26px; width: 100%; height: 40px; }
.term__wave path { fill: none; stroke: rgba(47, 216, 207, .4); stroke-width: 1.5; stroke-dasharray: 8 6; animation: flow 6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -140; } }
.term--accent { background: radial-gradient(500px circle at var(--mx) var(--my), rgba(255,255,255,.14), transparent 40%), linear-gradient(150deg, #1585c9, #0b3f7a 60%, #082a58); border-color: rgba(47, 216, 207, .35); }
.term--accent .term__tag { color: var(--white); }
.term--accent p { color: #d7e6f3; }

/* ---------- Шаги ---------- */
.steps__wrap { position: relative; }
.steps__line { position: absolute; left: 0; right: 0; top: -10px; width: 100%; height: 120px; overflow: visible; }
.steps__line path { fill: none; stroke: url(#none); stroke: var(--turq); stroke-width: 1.5; opacity: .6; }
.steps__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; padding-top: 120px; }
.steps__list li { display: grid; gap: 10px; }
.steps__list span { font-family: var(--f-display); font-size: 13px; color: var(--turq); letter-spacing: .2em; }
.steps__list b { font-family: var(--f-display); font-weight: 400; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.02em; line-height: 1.2; }
.steps__list p { color: var(--silver); font-size: 14.5px; }

/* ---------- Контакты ---------- */
.contacts__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.contacts__phone {
  display: inline-block; font-family: var(--f-display); font-weight: 600;
  font-size: clamp(32px, 5vw, 76px); letter-spacing: -.045em; line-height: 1; white-space: nowrap;
  background: linear-gradient(100deg, var(--white), var(--silver) 60%, var(--turq));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 36px; transition: filter .4s;
}
.contacts__phone:hover { filter: drop-shadow(0 0 24px rgba(47, 216, 207, .45)); }
.contacts__msgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 44px; }
.msg {
  display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 22px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px);
  font-weight: 600; transition: border-color .3s, background .3s, transform .3s;
}
.msg svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.msg--wa svg { color: #3ee07a; } .msg--tg svg { color: #4fb8f0; } .msg--max svg { color: #8f7bff; } .msg--ig svg { color: #ff7aa8; }
.msg:hover { border-color: rgba(47, 216, 207, .5); background: var(--turq-soft); }
.contacts__info { display: grid; gap: 22px; }
.contacts__info div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.contacts__info dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--silver-2); padding-top: 3px; }
.contacts__info dd { font-size: 18px; }
.contacts__info a:hover { color: var(--turq); }
.contacts__side { display: grid; gap: 16px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 380px; background: var(--deep); }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95) contrast(.95); }
.qr { display: flex; align-items: center; gap: 20px; padding: 16px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); transition: border-color .3s; }
.qr:hover { border-color: rgba(143, 123, 255, .6); }
.qr img { width: 96px; height: 96px; object-fit: cover; object-position: 50% 62%; border-radius: 12px; flex: none; background: #fff; }
.qr span { font-size: 14px; color: var(--silver); }
.qr b { display: block; color: var(--white); font-family: var(--f-display); font-weight: 400; font-size: 15px; margin-bottom: 4px; }

/* ---------- Подвал ---------- */
.footer { padding: 50px calc(var(--pad) + 70px) 40px var(--pad); border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; background: rgba(2, 8, 20, .6); }
.footer__brand { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-size: 14px; letter-spacing: .14em; }
.footer__brand small { display: block; font-family: var(--f-body); letter-spacing: 0; font-size: 12px; color: var(--silver-2); margin-top: 2px; }
.footer__note { font-size: 11.5px; color: var(--silver-2); max-width: 460px; justify-self: center; }
.footer__copy { font-size: 12.5px; color: var(--silver-2); text-align: right; }

/* ---------- Кнопка связи ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 45; display: grid; justify-items: end; gap: 10px; }
.fab__btn {
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--turq), var(--sea-2));
  display: grid; place-items: center; box-shadow: 0 16px 40px -10px rgba(47, 216, 207, .7);
  transition: transform .5s var(--ease);
}
.fab__btn svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; }
.fab__btn::after { content: ''; position: absolute; width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--turq); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.fab.is-open .fab__btn { transform: rotate(90deg); }
.fab__menu { display: grid; gap: 8px; justify-items: end; }
.fab__menu a {
  padding: 11px 18px; border-radius: 99px; font-size: 14px; font-weight: 600;
  background: rgba(3, 11, 31, .82); border: 1px solid var(--line); backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(14px) scale(.96); pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease), border-color .3s;
}
.fab__menu a:hover { border-color: var(--turq); }
.fab.is-open .fab__menu a { opacity: 1; transform: none; pointer-events: auto; }
.fab.is-open .fab__menu a:nth-child(2) { transition-delay: .04s; }
.fab.is-open .fab__menu a:nth-child(3) { transition-delay: .08s; }
.fab.is-open .fab__menu a:nth-child(4) { transition-delay: .12s; }

/* ---------- Курсор ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 99; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  border: 1px solid rgba(190, 240, 255, .8);
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.6), rgba(47, 216, 207, .08) 60%);
  opacity: 0; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), opacity .3s;
  mix-blend-mode: screen;
}
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Без анимаций ---------- */
.no-anim .loader { display: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1280px) {
  .depth { display: none; }
}
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .header__phone { display: none; }
}
@media (max-width: 900px) {
  .depth { display: none; }
  .burger { display: block; z-index: 2; }
  .menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px;
    padding: 0 var(--pad);
    background: rgba(3, 11, 31, .94); backdrop-filter: blur(20px);
    clip-path: circle(0% at calc(100% - 42px) 40px);
    transition: clip-path .9s var(--ease);
  }
  .nav a { font-family: var(--f-display); font-size: 36px; font-weight: 600; letter-spacing: -.03em; color: var(--white); }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 42px) 40px); }
  .brand { position: relative; z-index: 2; }
  .about__grid, .terms__grid { grid-template-columns: 1fr; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
  .hero__fact--title { grid-column: 1 / -1; padding: 0; }
  .cat { grid-template-columns: 1fr; gap: 26px; }
  .cat__frame { position: relative; top: 0; height: 56vw; min-height: 260px; }
  .item { grid-template-columns: 76px minmax(0, 1fr); }
  .item__thumb { display: block; width: 76px; height: 76px; object-fit: cover; border-radius: 14px; grid-row: span 2; }
  .item__side { grid-column: 2; justify-items: start; text-align: left; grid-auto-flow: column; align-items: center; justify-content: space-between; }
  .item::before { display: none; }
  .steps__list { grid-template-columns: repeat(2, 1fr); padding-top: 90px; row-gap: 40px; }
  .contacts__grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; text-align: left; }
  .footer__note { justify-self: start; }
  .footer__copy { text-align: left; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .brand__text { font-size: 12px; }
  .brand img { width: 46px; }
  .hero { padding-top: 330px; }
  .hero__title { font-size: 11.2vw; }
  .hero__fact { padding: 14px 16px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__facts b { font-size: 18px; }
  .scroll-cue { display: none; }
  .contacts__msgs { grid-template-columns: 1fr; }
  .contacts__info div { grid-template-columns: 1fr; gap: 4px; }
  .steps__list { grid-template-columns: 1fr; }
  .steps__line { display: none; }
  .steps__list { padding-top: 0; }
  .map { height: 300px; }
  .fab { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Поиск и фильтры ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 18px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--glass); backdrop-filter: blur(12px); position: sticky; top: 76px; z-index: 5; }
.search { display: flex; align-items: center; gap: 10px; flex: 1 1 260px; height: 46px; padding: 0 16px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--silver); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--white); font: 15px var(--f-body); }
.search input::placeholder { color: var(--silver-2); }
.search:focus-within { border-color: var(--turq); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 38px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); color: var(--silver); font-size: 14px; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--turq); color: var(--white); }
.chip.is-on { background: var(--turq); border-color: var(--turq); color: var(--navy); }
.avail { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--silver); cursor: pointer; white-space: nowrap; }
.avail input { width: 18px; height: 18px; accent-color: var(--turq); }
.filters__empty { padding: 30px; text-align: center; color: var(--silver); border: 1px dashed var(--line); border-radius: 20px; }
.cat[hidden], .item[hidden] { display: none !important; }

/* ---------- Калькулятор ---------- */
.calc__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.calc__panel, .calc__sum { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(20, 60, 110, .45), rgba(4, 18, 43, .55)); backdrop-filter: blur(14px); padding: 22px; }
.calc__row { display: grid; grid-template-columns: minmax(0, 1fr) 128px 110px 36px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.calc__row select, .calc__qty { height: 46px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--white); font: 14px var(--f-body); }
.calc__row select { padding: 0 12px; min-width: 0; }
.calc__row select option { color: #04122b; }
.calc__qty { display: flex; align-items: center; padding: 0 12px; gap: 6px; }
.calc__qty input { width: 100%; min-width: 0; background: none; border: 0; outline: 0; color: var(--white); font: 600 15px var(--f-body); }
.calc__qty span { color: var(--silver-2); font-size: 13px; }
.calc__line { font-family: var(--f-display); font-weight: 600; font-size: 15px; text-align: right; white-space: nowrap; }
.calc__del { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); color: var(--silver); font-size: 20px; line-height: 1; }
.calc__del:hover { border-color: #ff6a4a; color: #ff6a4a; }
.calc__add { margin-top: 14px; height: 44px; padding: 0 18px; border-radius: 99px; border: 1px dashed var(--turq); color: var(--turq); font-weight: 600; }
.calc__add:hover { background: var(--turq-soft); }
.calc__sum { position: sticky; top: 96px; }
.calc__label { color: var(--silver); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.calc__total { display: block; font-family: var(--f-display); font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -.04em; margin: 6px 0 16px; }
.calc__bar { position: relative; height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); margin-bottom: 26px; }
.calc__bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--turq), var(--sea-2)); transition: width .6s var(--ease); }
.calc__bar::after { content: ''; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 2px; background: var(--white); opacity: .6; }
.calc__mark { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--silver-2); white-space: nowrap; }
.calc__bar::before { content: 'опт 500 тыс.'; position: absolute; right: 0; top: 16px; font-size: 11px; color: var(--silver-2); }
.calc__hint { color: var(--silver); font-size: 15px; margin-bottom: 18px; min-height: 48px; }
.calc__hint b { color: var(--white); }
.calc__send { width: 100%; justify-content: center; }
.calc__send.is-off { opacity: .45; pointer-events: none; }
.calc__note { margin-top: 12px; font-size: 12px; color: var(--silver-2); }

/* ---------- Заявка ---------- */
.lead__box { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 60px); align-items: start; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); border: 1px solid rgba(47, 216, 207, .35); background: radial-gradient(600px circle at 0% 0%, rgba(47, 216, 207, .14), transparent 50%), linear-gradient(150deg, rgba(21, 133, 201, .35), rgba(4, 18, 43, .6)); }
.lead__text .title { margin-bottom: 20px; }
.lead__text p:last-child { color: var(--silver); }
.lead__form { display: grid; gap: 14px; }
.lead__form label > span, .lead__form legend { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); margin-bottom: 6px; }
.lead__form input:not([type=radio]), .lead__form textarea { width: 100%; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid var(--line); color: var(--white); font: 15px var(--f-body); outline: 0; resize: vertical; }
.lead__form input:focus, .lead__form textarea:focus { border-color: var(--turq); }
.lead__form.is-err input:invalid { border-color: #ff6a4a; }
.lead__form fieldset { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lead__form legend { width: 100%; }
.pill { cursor: pointer; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-block; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--silver); transition: .3s; margin: 0 !important; text-transform: none !important; letter-spacing: 0 !important; }
.pill input:checked + span { background: var(--turq); border-color: var(--turq); color: var(--navy); }
.lead__form .btn { justify-content: center; }
.lead__ok { color: var(--turq); font-weight: 600; }

@media (max-width: 900px) {
  .filters { position: static; }
  .calc__grid, .lead__box { grid-template-columns: 1fr; }
  .calc__sum { position: static; }
}
@media (max-width: 560px) {
  .calc__row { grid-template-columns: 1fr 1fr 36px; }
  .calc__row select { grid-column: 1 / -1; }
  .calc__line { text-align: left; }
  .chips { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 4px; }
  .chip { flex: none; }
}
.lead__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead__btns .btn { justify-content: center; padding: 0 16px; }
#calcTg { margin-top: 10px; }
#calcTg.is-off { opacity: .45; pointer-events: none; }
.calc__tgok { margin-top: 10px; font-size: 13px; color: var(--turq); }
@media (max-width: 560px) { .lead__btns { grid-template-columns: 1fr; } }

.calc__preview { margin-top: 12px; font-size: 13px; color: var(--silver); }
.calc__preview summary { cursor: pointer; }
.calc__preview pre { white-space: pre-wrap; font: 13px/1.5 var(--f-body); margin-top: 8px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); color: var(--white); }

/* ---------- Отзывы ---------- */
.reviews__summary { display: flex; align-items: center; gap: 14px; margin: -30px 0 30px; font-size: 15px; color: var(--silver); }
.reviews__summary b { font-family: var(--f-display); font-size: 40px; color: var(--white); letter-spacing: -.03em; }
.rv-stars { color: #FFC24B; letter-spacing: 2px; }
.reviews__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 30px; }
.reviews__empty { grid-column: 1 / -1; padding: 26px; text-align: center; color: var(--silver); border: 1px dashed var(--line); border-radius: 20px; }
.rv { padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(20, 60, 110, .45), rgba(4, 18, 43, .55)); }
.rv__top { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.rv__top > div { flex: 1; min-width: 0; } .rv__top small { display: block; color: var(--silver-2); font-size: 12px; }
.rv__ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: linear-gradient(135deg, var(--turq), var(--sea-2)); color: var(--navy); flex: none; }
.rv p { color: var(--silver); font-size: 15px; white-space: pre-line; }
.rv__reply { margin-top: 12px; padding: 12px 14px; border-left: 2px solid var(--turq); background: rgba(47, 216, 207, .06); border-radius: 0 12px 12px 0; font-size: 14px; color: var(--silver); }
.rv__reply b { color: var(--white); }
.rev-form { display: grid; gap: 14px; max-width: 640px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); }
.rev-form h3 { font-family: var(--f-display); font-weight: 600; font-size: 22px; }
.rev-form label > span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); margin-bottom: 6px; }
.rev-form input:not([type=radio]), .rev-form textarea { width: 100%; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid var(--line); color: var(--white); font: 15px var(--f-body); outline: 0; resize: vertical; }
.rev-form input:focus, .rev-form textarea:focus { border-color: var(--turq); }
.rev-form.is-err input:invalid, .rev-form.is-err textarea:invalid { border-color: #ff6a4a; }
.rev-form .btn { justify-content: center; }
.rev-form__note { font-size: 13px; color: var(--silver-2); } .rev-form__ok { color: var(--turq); font-weight: 600; }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star input { position: absolute; opacity: 0; }
.star span { font-size: 34px; line-height: 1; color: rgba(255,255,255,.2); cursor: pointer; transition: color .2s, transform .2s; }
.stars:hover .star:hover span, .stars:hover .star:hover ~ .star span { color: #FFC24B; }
.stars:not(:hover) .star input:checked ~ span, .stars:not(:hover) .star:has(input:checked) ~ .star span { color: #FFC24B; }
.star input:focus-visible + span { outline: 2px solid var(--turq); border-radius: 4px; }

.guide-link { color: var(--turq); font-weight: 600; white-space: nowrap; border-bottom: 1px solid rgba(47,216,207,.4); }
.guide-link:hover { border-color: var(--turq); }
.footer__copy a { color: var(--turq); }
.rev-form .star span { display: inline-block; font-size: 36px; letter-spacing: 0; text-transform: none; margin: 0; line-height: 1; }

.guide-card { display: flex; align-items: center; gap: 14px; margin: -18px 0 30px; padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(47,216,207,.4); background: linear-gradient(120deg, rgba(47,216,207,.14), rgba(42,143,214,.08)); transition: border-color .3s, transform .4s var(--ease); }
.guide-card:hover { border-color: var(--turq); transform: translateY(-2px); }
.guide-card__ic { font-size: 26px; }
.guide-card > span:nth-child(2) { flex: 1; }
.guide-card b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 16px; }
.guide-card small { color: var(--silver); font-size: 13px; }
.guide-card__go { font-size: 22px; color: var(--turq); }
@media (max-width: 1240px) { .nav { gap: 18px; } .nav a { font-size: 13px; } }

/* ---------- Доработки дизайна ---------- */
.nav a.nav__cta { padding: 9px 18px; border-radius: 99px; background: var(--turq); color: var(--navy); font-weight: 700; }
.nav a.nav__cta::after { display: none; }
.nav a.nav__cta:hover { background: var(--white); color: var(--navy); }
@media (max-width: 900px) { .nav a.nav__cta { padding: 0; background: none; color: var(--turq); } }

/* карта-схема */
.map { position: relative; height: 380px; }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__card { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 16px 18px; border-radius: 18px; background: rgba(3, 11, 31, .82); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.map__card b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 16px; }
.map__card > span { display: block; color: var(--silver); font-size: 14px; margin-bottom: 12px; }
.map__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.map__btns .btn { height: 46px; padding: 0 18px; font-size: 14px; }

/* отзывы: пока нет опубликованных — только компактная форма */
.reviews--empty { padding-top: clamp(40px, 6vw, 70px); padding-bottom: clamp(40px, 6vw, 70px); }
.reviews--empty .eyebrow, .reviews--empty .title, .reviews--empty .reviews__list, .reviews--empty .reviews__summary { display: none; }
.reviews--empty .rev-form { margin: 0 auto; }
.rev-form .agree, .lead__form .agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--silver); }
.rev-form .agree span { display: inline; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--silver); margin: 0; }
.rev-form .agree a { color: var(--turq); }
.rev-form .agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--turq); flex: none; }
.rev-form.is-err .agree input:not(:checked) { outline: 2px solid #ff6a4a; outline-offset: 2px; }

/* единая цветокоррекция фото товаров */
.cat__frame img.is-on { filter: saturate(1.08) contrast(1.06) brightness(.94); }
.cat__frame::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(2, 8, 20, .45) 100%), linear-gradient(180deg, rgba(4, 18, 43, .12), rgba(4, 18, 43, 0) 40%); mix-blend-mode: multiply; }
.item__thumb { filter: saturate(1.08) contrast(1.05) brightness(.95); }

/* подвал */
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: flex-end; margin-bottom: 6px; }
.footer__nav a { color: var(--silver); } .footer__nav a:hover { color: var(--turq); }
@media (max-width: 900px) { .footer__nav { justify-content: flex-start; } }
@media (max-width: 560px) {
  .map { height: auto; display: grid; }
  .map__art { position: relative; height: 200px; }
  .map__card { position: relative; left: 0; right: 0; bottom: 0; border-radius: 0; border: 0; border-top: 1px solid var(--line); }
}
.brand img { width: 46px; height: 46px; }
.loader__logo { width: 170px; filter: drop-shadow(0 10px 40px rgba(227, 190, 110, .3)); }
.footer__brand img { width: 72px; height: 72px; }
.brand__text { color: var(--white); font-weight: 500; }

/* ---------- Доработки после ревью ---------- */
.catalog__head { margin-bottom: 26px; }
.catalog__head .title { margin-bottom: 28px; }
.catalog__note { margin-top: 0; }
.fab { transition: opacity .4s, transform .4s var(--ease); }
.fab.is-hidden { opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; }
.step__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; border: 1px solid rgba(47,216,207,.35); background: rgba(47,216,207,.08); margin-bottom: 6px; }
.step__ic svg { width: 24px; height: 24px; fill: none; stroke: var(--turq); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.steps__list b { font-size: clamp(18px, 1.7vw, 24px); }
.steps__list p { font-size: 15px; }
@media (max-width: 560px) {
  .chips { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .steps__list li { grid-template-columns: 52px 1fr; column-gap: 14px; align-items: start; }
  .steps__list li .step__ic { grid-row: span 3; margin: 0; }
  .fab { bottom: 12px; right: 12px; }
  .fab__btn, .fab__btn::after { width: 54px; height: 54px; }
  .section { padding-bottom: 80px; }
}
.brand img { width: 58px; height: 58px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.45)); }
.header.is-scrolled .brand img { width: 50px; height: 50px; }
.brand img { transition: width .4s var(--ease), height .4s var(--ease); }
@media (max-width: 560px) { .brand img { width: 48px; height: 48px; } }

/* ---------- Мобильное меню: на весь экран, поверх всего ---------- */
@media (max-width: 900px) {
  .menu-open .header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: transparent !important; border-color: transparent !important; }
  .nav { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; padding: 110px 24px 40px; justify-content: flex-start; gap: 6px; overflow-y: auto; }
  .nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); font-size: 24px !important; }
  .nav a::after { display: none; }
  .nav a.nav__cta { margin-top: 18px; border: 0; padding: 16px 0; text-align: center; border-radius: 99px; background: var(--turq); color: var(--navy); font-size: 22px; }
  .menu-open .brand { z-index: 3; }
  .menu-open .header__phone { display: none; }
  body.menu-open { overflow: hidden; }
}

.footer__req { grid-column: 1 / -1; order: 9; font-size: 12px; color: var(--silver-2); border-top: 1px solid var(--line); padding-top: 16px; }
