/* =============================================================
   Aquafloor — Design System
   Skill sources: ui-ux-pro-max · brand · design-system · ui-styling
   Typography: Plus Jakarta Sans (headings) + Inter (body)
   Style: Refined Minimal + Glassmorphism accents
   ============================================================= */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ════════════════════════════════════════════════════════════
   LAYER 1 — PRIMITIVE TOKENS
   Raw design values (never use directly in components)
════════════════════════════════════════════════════════════ */
:root {
  /* Aqua scale */
  --aqua-50:  #F0FBFF;
  --aqua-100: #CDEFFB;
  --aqua-200: #A5DEFF;
  --aqua-300: #7FD0F0;
  --aqua-400: #5CBCE3;
  --aqua-500: #3FB3E0;
  --aqua-600: #1A8AB8;
  --aqua-700: #136A8F;
  --aqua-800: #0D4E6A;

  /* Ink scale */
  --ink-900:  #231F20;
  --ink-700:  #3D3839;
  --ink-500:  #5A6A74;
  --ink-300:  #8FA3AF;
  --ink-200:  #B8CDD6;
  --ink-100:  #D8EEF5;
  --ink-50:   #F4F9FC;

  /* Status */
  --green-500: #22C55E;
  --green-100: #DCFCE7;
  --red-500:   #EF4444;
  --red-100:   #FEE2E2;
  --amber-500: #F59E0B;

  /* Spacing — 4px base */
  --sp-1:  0.25rem;   /* 4px  */
  --sp-2:  0.5rem;    /* 8px  */
  --sp-3:  0.75rem;   /* 12px */
  --sp-4:  1rem;      /* 16px */
  --sp-5:  1.25rem;   /* 20px */
  --sp-6:  1.5rem;    /* 24px */
  --sp-8:  2rem;      /* 32px */
  --sp-10: 2.5rem;    /* 40px */
  --sp-12: 3rem;      /* 48px */
  --sp-16: 4rem;      /* 64px */
  --sp-20: 5rem;      /* 80px */
  --sp-24: 6rem;      /* 96px */

  /* Type scale — Major Third 1.25 */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.75rem;    /* 60px */

  /* Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-full: 9999px;
}

/* ════════════════════════════════════════════════════════════
   LAYER 2 — SEMANTIC TOKENS
   Purpose-based aliases (use these in components)
════════════════════════════════════════════════════════════ */
:root {
  /* TODO: заменить на фирменный шрифт из брендбука, если бренд предоставит */
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Brand */
  --brand:        var(--aqua-500);
  --brand-hover:  var(--aqua-600);
  --brand-light:  var(--aqua-100);
  --brand-subtle: var(--aqua-50);

  /* Text */
  --text-primary:   var(--ink-900);
  --text-secondary: var(--ink-500);
  --text-muted:     var(--ink-300);
  --text-inverse:   #ffffff;

  /* Surface */
  --surface-page:     var(--ink-50);
  --surface-card:     #ffffff;
  --surface-elevated: #ffffff;
  --surface-brand:    var(--aqua-50);

  /* Border */
  --border:        var(--ink-100);
  --border-strong: var(--ink-200);
  --border-brand:  var(--aqua-300);

  /* Shadow system — aqua-tinted */
  --shadow-xs: 0 1px 3px rgba(35,31,32,.05);
  --shadow-sm: 0 2px 8px rgba(35,31,32,.07), 0 1px 2px rgba(35,31,32,.05);
  --shadow-md: 0 4px 16px rgba(35,31,32,.09), 0 2px 4px rgba(35,31,32,.05);
  --shadow-lg: 0 8px 32px rgba(35,31,32,.11), 0 2px 8px rgba(35,31,32,.06);
  --shadow-xl: 0 16px 48px rgba(35,31,32,.13), 0 4px 12px rgba(35,31,32,.07);
  --shadow-brand: 0 8px 24px rgba(63,179,224,.28);
  --shadow-card-hover: 0 12px 40px rgba(35,31,32,.13), 0 0 0 1.5px var(--aqua-200);

  /* Gradients */
  --grad-wave:   linear-gradient(135deg, var(--aqua-100) 0%, var(--aqua-300) 100%);
  --grad-hero:   linear-gradient(145deg, #0D4E6A 0%, #136A8F 40%, #1A8AB8 100%);
  --grad-brand:  linear-gradient(135deg, var(--aqua-600) 0%, var(--aqua-500) 100%);
  --grad-subtle: linear-gradient(180deg, var(--aqua-50) 0%, #ffffff 100%);

  /* Transitions */
  --t-fast:   150ms ease;
  --t-base:   220ms ease;
  --t-slow:   350ms ease;
  --t-spring: 280ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index scale */
  --z-base:    0;
  --z-raised:  10;
  --z-sticky:  40;
  --z-overlay: 100;
  --z-modal:   200;
}

/* ════════════════════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--surface-card);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── Layout util ──────────────────────────────────────────── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
@media (min-width: 768px) { .wrap { padding: 0 var(--sp-8); } }

/* ════════════════════════════════════════════════════════════
   LAYER 3 — COMPONENT TOKENS + BUTTONS
════════════════════════════════════════════════════════════ */

/* Primary button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.75rem;
  min-height: 48px;            /* touch target ≥ 44px */
  border-radius: var(--r-full);
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--grad-brand);
  color: var(--text-inverse);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background var(--t-base),
    transform var(--t-spring),
    box-shadow var(--t-base),
    opacity var(--t-fast);
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:hover {
  background: var(--aqua-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Ghost button */
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  box-shadow: none;
  transform: translateY(-2px);
}

/* Secondary (light) button */
.btn-secondary {
  background: var(--surface-card);
  color: var(--brand-hover);
  border-color: var(--border-brand);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  background: var(--brand-subtle);
  box-shadow: var(--shadow-sm);
}

/* Small button */
.btn-sm {
  padding: 0.5rem 1.25rem;
  min-height: 40px;
  font-size: var(--text-xs);
}

/* ════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-base);
}
header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: var(--sp-6);
}

.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo__img { height: 34px; width: auto; display: block; }

.nav-menu {
  display: flex;
  gap: var(--sp-6);
  align-items: center;
}
.nav-menu a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast);
  padding: var(--sp-1) 0;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 100%;
  height: 2px;
  background: var(--brand);
  border-radius: var(--r-full);
  transition: right var(--t-base);
}
.nav-menu a:hover { color: var(--text-primary); }
.nav-menu a:hover::after { right: 0; }

.nav-phone {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--t-fast);
  white-space: nowrap;
}
.nav-phone:hover { color: var(--brand); }
.nav-phone:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: var(--r-sm); }

@media (max-width: 900px) { .nav-menu { display: none; } }
@media (max-width: 560px) { .nav-phone { display: none; } }

/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.hero {
  background: var(--grad-hero);
  color: #fff;
  padding: var(--sp-20) 0 0;
  position: relative;
  overflow: hidden;
}

/* Animated wave background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(63,179,224,.2) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(127,208,240,.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Floating particles */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 2px at 15% 25%, rgba(205,239,251,.4) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 80% 15%, rgba(127,208,240,.5) 0%, transparent 100%),
    radial-gradient(circle 2.5px at 55% 70%, rgba(205,239,251,.3) 0%, transparent 100%),
    radial-gradient(circle 1px at 90% 60%, rgba(255,255,255,.3) 0%, transparent 100%),
    radial-gradient(circle 2px at 35% 85%, rgba(127,208,240,.4) 0%, transparent 100%);
  pointer-events: none;
  animation: particleDrift 12s ease-in-out infinite alternate;
}

@keyframes particleDrift {
  0%   { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-16px) translateX(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-bottom: var(--sp-20);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-12);
  align-items: center;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px var(--sp-4);
  border-radius: var(--r-full);
  background: rgba(205,239,251,.18);
  border: 1px solid rgba(205,239,251,.35);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aqua-100);
  margin-bottom: var(--sp-5);
  width: fit-content;
  backdrop-filter: blur(4px);
}
.hero-badge svg { width: 14px; height: 14px; opacity: .85; }

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-5);
  color: #fff;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--aqua-100), var(--aqua-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  margin-bottom: var(--sp-8);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: var(--sp-6);
  margin-top: var(--sp-10);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.6);
  letter-spacing: 0.03em;
}

/* Hero card (glassmorphism) */
.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.15);
}
.hero-card-title {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--sp-5);
  color: #fff;
}
.hero-card-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.9);
  line-height: 1.5;
}
.hero-card-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: var(--r-full);
  background: rgba(205,239,251,.25);
  border: 1px solid rgba(205,239,251,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.hero-card-check svg { width: 10px; height: 10px; color: var(--aqua-100); }

/* Hero wave */
.hero-wave {
  display: block;
  width: 100%;
  line-height: 0;
  margin-top: -1px;
  position: relative;
  z-index: 1;
}
.hero-wave svg { width: 100%; display: block; height: 56px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .hero-desc { font-size: var(--text-base); max-width: 100%; }
  .hero-stats { gap: var(--sp-5); }
}
@media (max-width: 480px) {
  .hero { padding-top: var(--sp-12); }
  .hero-stats { display: none; }
}

/* ════════════════════════════════════════════════════════════
   WAVE DIVIDER
════════════════════════════════════════════════════════════ */
.wave-divider {
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg { width: 100%; display: block; }

/* ════════════════════════════════════════════════════════════
   SECTIONS
════════════════════════════════════════════════════════════ */
section { padding: var(--sp-20) 0; }

.sec-eyebrow {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  text-align: center;
  display: block;
  margin-bottom: var(--sp-3);
}
.sec-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: var(--sp-3);
}
.sec-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--sp-12);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ════════════════════════════════════════════════════════════
   ADVANTAGES / FEATURES
════════════════════════════════════════════════════════════ */
#advantages { background: var(--surface-page); }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

.feat {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}
.feat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-wave);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
  border-radius: var(--r-full) var(--r-full) 0 0;
}
.feat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-brand);
}
.feat:hover::before { transform: scaleX(1); }

.feat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--sp-4);
  border-radius: var(--r-lg);
  background: var(--brand-subtle);
  border: 1px solid var(--aqua-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-icon svg {
  width: 24px;
  height: 24px;
  color: var(--brand);
  stroke-width: 1.75;
}
.feat h4 {
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--sp-2);
  color: var(--text-primary);
}
.feat p { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.6; }

@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .features { grid-template-columns: 1fr; gap: var(--sp-3); } }

/* ════════════════════════════════════════════════════════════
   CATALOG
════════════════════════════════════════════════════════════ */
#catalog { background: var(--surface-card); }

/* Filter tabs */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
  justify-content: center;
}
.filter-btn {
  padding: 8px 18px;
  min-height: 40px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  background: var(--surface-card);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition:
    background var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast),
    box-shadow var(--t-fast),
    transform var(--t-spring);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.filter-btn:hover {
  background: var(--brand-subtle);
  border-color: var(--aqua-300);
  color: var(--brand-hover);
  transform: translateY(-1px);
}
.filter-btn.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: var(--shadow-brand);
}
.filter-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 1024px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .cards { grid-template-columns: 1fr; gap: var(--sp-4); } }

/* ── Product Card ─────────────────────────────────────────── */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--t-base),
    box-shadow var(--t-base),
    border-color var(--t-base);
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--aqua-200);
}

/* Photo container */
.card__photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--brand-subtle);
}
.card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
  display: block;
}
.card:hover .card__photo { transform: scale(1.04); }

.card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--sp-2);
  background: linear-gradient(135deg, var(--aqua-50) 0%, var(--aqua-100) 100%);
  color: var(--ink-300);
  font-size: var(--text-xs);
  font-weight: 500;
}
.card__photo-placeholder svg {
  width: 32px; height: 32px;
  opacity: .4;
  color: var(--brand);
}

/* Collection tag */
.card__tag {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--brand-hover);
  letter-spacing: 0.02em;
  border: 1px solid rgba(63,179,224,.2);
  max-width: calc(100% - var(--sp-6));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Card body */
.card__body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--sp-2);
}
.card__name {
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}
.card__sku {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Specs chips */
.card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: var(--sp-1);
}
.card__spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  background: var(--surface-page);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  font-weight: 500;
}

.card__price {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--brand-hover);
  margin-top: auto;
  padding-top: var(--sp-3);
  letter-spacing: -0.01em;
}
.card__price-label {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 2px;
}

/* Card actions */
.card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  padding: 0 var(--sp-5) var(--sp-5);
}
.card__actions .btn {
  min-height: 44px;
  font-size: var(--text-xs);
  padding: 0.6rem 0.75rem;
}
.btn-detail {
  background: transparent;
  border-color: var(--border-brand);
  color: var(--brand-hover);
  box-shadow: none;
}
.btn-detail:hover {
  background: var(--brand-subtle);
  border-color: var(--brand);
  box-shadow: none;
  transform: translateY(-1px);
}

/* Skeleton loader */
.card--skeleton {
  pointer-events: none;
  animation: shimmer 1.6s ease infinite;
  background: linear-gradient(90deg,
    var(--border) 25%, var(--ink-50) 50%, var(--border) 75%);
  background-size: 400% 100%;
}
@keyframes shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.card--skeleton .card__photo-wrap { background: var(--border); }
.card--skeleton .card__body > * {
  background: var(--border);
  border-radius: var(--r-sm);
  color: transparent;
}

/* Load more */
.catalog-more { text-align: center; margin-top: var(--sp-10); }

/* ════════════════════════════════════════════════════════════
   CALCULATOR
════════════════════════════════════════════════════════════ */
#calc { background: var(--surface-page); }

.calc-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-10);
  box-shadow: var(--shadow-md);
}
@media (max-width: 640px) { .calc-card { padding: var(--sp-6); border-radius: var(--r-lg); } }

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
@media (max-width: 560px) { .calc-row { grid-template-columns: 1fr; } }

.calc-result {
  background: var(--grad-wave);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
  margin: var(--sp-5) 0;
  text-align: center;
  display: none;
  animation: fadeSlideUp .25s ease;
}
.calc-result.visible { display: block; }
.calc-amount {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--sp-1);
}
.calc-label { font-size: var(--text-sm); color: var(--ink-500); }

/* ════════════════════════════════════════════════════════════
   STEPS
════════════════════════════════════════════════════════════ */
#steps { background: var(--surface-card); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  counter-reset: step;
  position: relative;
}

/* Connector line */
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-brand), var(--border-brand), transparent);
  z-index: 0;
}
@media (max-width: 900px) { .steps::before { display: none; } }

.step {
  padding: var(--sp-6) var(--sp-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface-card);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  z-index: 1;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--aqua-200);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--grad-wave);
  color: var(--ink-900);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--text-lg);
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.step h4 {
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--sp-2);
  color: var(--text-primary);
}
.step p { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .steps { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════
   REVIEWS
════════════════════════════════════════════════════════════ */
#reviews { background: var(--surface-page); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.review-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.review-stars {
  display: flex;
  gap: 3px;
}
.review-stars svg {
  width: 16px; height: 16px;
  color: #F59E0B;
  fill: #F59E0B;
}
.review-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.review-author {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}
@media (max-width: 768px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════
   FORM / CTA SECTION
════════════════════════════════════════════════════════════ */
#zayavka {
  background: var(--grad-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}
#zayavka::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(63,179,224,.18) 0%, transparent 70%);
  pointer-events: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; gap: var(--sp-8); } }

.form-side h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--sp-4);
}
.form-side p {
  opacity: .88;
  font-size: var(--text-base);
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
}
.form-side p svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; opacity: .7; }
.form-side a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.form-box {
  background: #fff;
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  color: var(--text-primary);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,.08);
}
.form-box h3 {
  font-family: var(--font-head);
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.01em;
}
.hint { color: var(--text-muted); font-size: var(--text-sm); margin-bottom: var(--sp-5); }

/* Fields */
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--text-primary);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--surface-card);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  min-height: 48px;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(63,179,224,.18);
}
.field textarea { min-height: 80px; resize: vertical; line-height: 1.5; }
.field select { cursor: pointer; }

.consent {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--sp-3);
  line-height: 1.6;
}
.consent a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.msg {
  margin-top: var(--sp-4);
  padding: 12px 16px;
  border-radius: var(--r-md);
  display: none;
  font-size: var(--text-sm);
  font-weight: 500;
}
.msg.ok  { display: block; background: var(--green-100); color: #166534; border: 1px solid #bbf7d0; }
.msg.err { display: block; background: var(--red-100); color: #991b1b; border: 1px solid #fecaca; }

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
footer {
  background: var(--ink-900);
  color: rgba(255,255,255,.6);
  padding: var(--sp-16) 0 var(--sp-8);
}

.foot-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-12);
}
@media (max-width: 1024px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .foot-grid { grid-template-columns: 1fr; gap: var(--sp-8); } }

.foot-logo { margin-bottom: var(--sp-4); }
.foot-logo img { height: 30px; width: auto; opacity: .9; }

.foot-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 300px;
  color: rgba(255,255,255,.45);
}

.foot-requisites {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.3);
  line-height: 1.8;
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.08);
}

.foot-grid h4 {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,.85);
  margin-bottom: var(--sp-4);
  letter-spacing: 0.01em;
}
.foot-grid a {
  display: block;
  padding: var(--sp-1) 0;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.45);
  transition: color var(--t-fast);
}
.foot-grid a:hover { color: rgba(255,255,255,.9); }
.foot-grid a:focus-visible { outline: 1px dashed rgba(255,255,255,.4); border-radius: 2px; }

.foot-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  padding: var(--sp-1) 0;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.45);
}
.foot-contact-item svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--aqua-400);
}

.copy {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--sp-6);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.3);
  text-align: center;
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════════════ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* anim-fade скрыт ТОЛЬКО когда JS активен (html.js).
   Без JS / при ошибке — контент всегда виден (fallback). */
@media (prefers-reduced-motion: no-preference) {
  html.js .anim-fade {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .45s ease, transform .45s ease;
  }
  html.js .anim-fade.visible { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS & MASCOT
   (добавлено редизайном: GSAP ScrollTrigger + CSS keyframes)
════════════════════════════════════════════════════════════ */

/* ── Mascot ──────────────────────────────────────────────── */
.mascot-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.mascot-img {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(63,179,224,.25));
  animation: mascotFloat 4s ease-in-out infinite;
  transform-origin: bottom center;
  will-change: transform;
  border-radius: var(--r-xl);
  /* Чёрный фон на тёмных секциях растворяется сам.
     На светлых — используем mix-blend-mode: multiply  */
}
@keyframes mascotFloat {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-12px) rotate(1deg); }
}
@media (prefers-reduced-motion: reduce) {
  .mascot-img { animation: none; }
}

/* Mascot in hero — космонавт как floating-медальон */
.hero-mascot {
  position: absolute;
  right: -28px;
  bottom: 24px;
  width: 200px;
  opacity: 0;
  transform: translateX(30px) scale(.9);
  transition: opacity .6s ease .4s, transform .6s cubic-bezier(.34,1.56,.64,1) .4s;
  z-index: 2;
  pointer-events: none;
}
.hero-mascot.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.hero-mascot img {
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
  object-position: center 60%;
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px rgba(127,208,240,.5), 0 12px 40px rgba(0,0,0,.4);
  animation: mascotFloat 5s ease-in-out infinite;
}

@media (max-width: 900px) { .hero-mascot { display: none; } }

/* Mascot in calc section — тёмный круг чтобы чёрный фон не торчал */
.calc-mascot-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-6);
}
.calc-mascot-bubble {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--aqua-300), var(--shadow-brand);
  overflow: hidden;
  animation: mascotFloat 4.5s ease-in-out infinite;
}
.calc-mascot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;   /* показываем морду, надпись сверху обрезаем */
  display: block;
}

/* ── GSAP base classes (set by JS before animate) ────────── */
.gsap-hidden   { opacity: 0; }
.gsap-slide-up { opacity: 0; transform: translateY(40px); }
.gsap-slide-left { opacity: 0; transform: translateX(-40px); }
.gsap-slide-right { opacity: 0; transform: translateX(40px); }
.gsap-scale    { opacity: 0; transform: scale(.92); }

/* ── Parallax hero overlay ───────────────────────────────── */
.hero-parallax-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}

/* ── Counter animation (numbers counting up) ─────────────── */
.stat-counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ── Floating water drops ────────────────────────────────── */
.water-drops {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.drop {
  position: absolute;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: rgba(205,239,251,.18);
  border: 1px solid rgba(127,208,240,.2);
  animation: dropRise linear infinite;
  will-change: transform, opacity;
}
@keyframes dropRise {
  0%   { transform: translateY(0) scale(1); opacity: .4; }
  100% { transform: translateY(-120vh) scale(.6); opacity: 0; }
}

/* ── Section reveal base ─────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}
[data-reveal="left"]  { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="left"].revealed,
[data-reveal="right"].revealed,
[data-reveal="scale"].revealed { transform: none; }

/* ── Stagger delays ──────────────────────────────────────── */
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }

/* ── Smooth progress bar (page scroll indicator) ─────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--grad-wave);
  z-index: calc(var(--z-sticky) + 1);
  width: 0%;
  transition: width .1s linear;
  border-radius: 0 var(--r-full) var(--r-full) 0;
}

/* ════════════════════════════════════════════════════════════
   VARIANT TOGGLE (замок/клей)
════════════════════════════════════════════════════════════ */
.variant-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin: 0 0 var(--sp-6);
  flex-wrap: wrap;
}
.variant-toggle__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}
.variant-toggle__group {
  display: inline-flex;
  background: var(--surface-page);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  padding: 4px;
  gap: 4px;
}
.variant-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  min-height: 40px;
  border: none;
  background: transparent;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.variant-btn svg { stroke-width: 2; opacity: .8; }
.variant-btn:hover { color: var(--brand-hover); }
.variant-btn.active {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.variant-btn.active svg { opacity: 1; }
.variant-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Двойной значок у групп с обеими вариациями */
.filter-dual-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  margin-left: 6px;
  vertical-align: middle;
  opacity: .5;
}
.filter-btn.active .filter-dual-dot { opacity: .9; }

/* ════════════════════════════════════════════════════════════
   CARD ZOOM BUTTON
════════════════════════════════════════════════════════════ */
.card__photo { cursor: zoom-in; }
.card__zoom {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  border: none;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  color: var(--brand-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  opacity: 0;
  transform: scale(.85);
  transition: opacity var(--t-base), transform var(--t-spring), background var(--t-fast);
  box-shadow: var(--shadow-sm);
}
.card:hover .card__zoom { opacity: 1; transform: scale(1); }
.card__zoom:hover { background: #fff; color: var(--brand); }
.card__zoom:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; opacity: 1; transform: scale(1); }
/* На тач-устройствах кнопка всегда видна */
@media (hover: none) {
  .card__zoom { opacity: 1; transform: scale(1); }
}

/* ════════════════════════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35,31,32,.82);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 720px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(.94);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.lightbox.open .lightbox__content { transform: scale(1); }

.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  background: #fff;
  object-fit: contain;
}
.lightbox__caption {
  margin-top: var(--sp-4);
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lightbox__name {
  font-family: var(--font-head);
  font-size: var(--text-lg);
  font-weight: 700;
}
.lightbox__sku {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.7);
}
.lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  border: none;
  background: #fff;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-fast), background var(--t-fast);
  z-index: 2;
}
.lightbox__close:hover { transform: rotate(90deg); background: var(--aqua-100); }
.lightbox__close:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

@media (max-width: 560px) {
  .lightbox__close { top: 8px; right: 8px; }
}

/* ════════════════════════════════════════════════════════════
   CUSTOM SELECT (дропдаун калькулятора)
════════════════════════════════════════════════════════════ */
.cselect { position: relative; }

.cselect__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: 11px 16px;
  min-height: 48px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-card);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.cselect__trigger:hover { border-color: var(--border-brand); }
.cselect.open .cselect__trigger,
.cselect__trigger:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(63,179,224,.18);
}
.cselect__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect__value.is-placeholder { color: var(--text-muted); }
.cselect__arrow {
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform var(--t-base);
}
.cselect.open .cselect__arrow { transform: rotate(180deg); color: var(--brand); }

/* Список опций */
.cselect__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: var(--z-overlay);
  max-height: 280px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  /* красивый скроллбар */
  scrollbar-width: thin;
  scrollbar-color: var(--aqua-300) transparent;
}
.cselect.open .cselect__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cselect__list::-webkit-scrollbar { width: 8px; }
.cselect__list::-webkit-scrollbar-thumb {
  background: var(--aqua-200);
  border-radius: var(--r-full);
  border: 2px solid var(--surface-card);
}

.cselect__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--text-primary);
  transition: background var(--t-fast), color var(--t-fast);
}
.cselect__option:hover {
  background: var(--brand-subtle);
  color: var(--brand-hover);
}
.cselect__option.selected {
  background: var(--brand);
  color: #fff;
}
.cselect__opt-name { font-weight: 500; }
.cselect__opt-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--text-xs);
  white-space: nowrap;
}
.cselect__option.selected .cselect__opt-price { color: rgba(255,255,255,.85); }

/* ══ Чекбокс согласия на обработку ПДн ═══════════════════════════ */
.consent--check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  text-align: left;
}
.consent--check input[type="checkbox"] {
  margin-top: 2px;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  accent-color: var(--brand, #1B9CD8);
  cursor: pointer;
}

/* ══ Cookie-баннер ═══════════════════════════════════════════════ */
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
  backdrop-filter: blur(6px);
  animation: cookie-up .35s ease;
}
@keyframes cookie-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-bar__text {
  margin: 0;
  flex: 1 1 320px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #3a4a54;
}
.cookie-bar__text a { color: var(--brand, #1B9CD8); text-decoration: underline; }
.cookie-bar__btn {
  flex: 0 0 auto;
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: var(--brand, #1B9CD8);
  transition: filter .2s ease;
}
.cookie-bar__btn:hover { filter: brightness(1.08); }
@media (max-width: 560px) {
  .cookie-bar { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-bar { animation: none; }
}
