/* ════════════════════════════════════════════
   ШАРИКОВ — дизайн-система «Лёгкость и полёт»
   ════════════════════════════════════════════ */

:root {
  /* Палитра неба на рассвете */
  --sky-50:  #f4faff;
  --sky-100: #e8f4ff;
  --sky-200: #cfe9ff;
  --ink:     #2b3a55;
  --ink-soft:#5d6b85;

  --coral:   #ff7eb6;
  --coral-2: #ff9d7e;
  --sun:     #ffd166;
  --mint:    #7eead2;
  --lilac:   #b89eff;

  --grad-warm: linear-gradient(120deg, var(--coral) 0%, var(--coral-2) 50%, var(--sun) 100%);
  --grad-sky:  linear-gradient(160deg, #fdf6ff 0%, #eef7ff 45%, #e3f3ff 100%);

  --radius-s: 14px;
  --radius:   22px;
  --radius-l: 32px;

  --shadow-soft:  0 10px 40px -12px rgba(67, 95, 145, .18);
  --shadow-hover: 0 22px 60px -16px rgba(67, 95, 145, .28);

  /* «Дыхание» — мягкие тайминги полёта */
  --ease-air:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.15, 1);

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-brand:   'Montserrat', system-ui, sans-serif;

  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--grad-sky);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 110px 0; position: relative; }

/* ── Появление «дыханием»: opacity + translateY ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity  .9s var(--ease-air),
    transform .9s var(--ease-air);
}
.reveal.in { opacity: 1; transform: translateY(0); }
/* лёгкий каскад внутри секции */
.reveal.in:nth-child(2) { transition-delay: .08s; }
.reveal.in:nth-child(3) { transition-delay: .16s; }
.reveal.in:nth-child(4) { transition-delay: .24s; }

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

/* ── Типографика секций ── */
.section-eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-warm);
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
  padding: .35em 1.1em;
  border-radius: 50px;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -.01em;
}

/* ── Переливающийся градиентный текст ── */
.grad-text {
  background: var(--grad-warm);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 5s ease-in-out infinite;
  text-shadow: none; /* тень поверх clip-градиента даёт мутный налёт */
}

@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ── Левитация ── */
@keyframes levitate {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-16px) rotate(1.5deg); }
}

/* всплытие из произвольной стартовой точки: дистанция подъёма задаётся
   per-balloon через --rise, поэтому работает из любого места контейнера */
@keyframes floatUp {
  0%   { transform: translateY(0) translateX(0) rotate(-4deg);                  opacity: 0; }
  10%  { opacity: .85; }
  88%  { opacity: .85; }
  100% { transform: translateY(var(--rise, -110vh)) translateX(40px) rotate(6deg); opacity: 0; }
}

@keyframes breathe {
  0%, 100% { transform: scale(1);    opacity: .55; }
  50%      { transform: scale(1.12); opacity: .8;  }
}

/* ── Типографический логотип ── */
.wordmark {
  font-family: var(--font-brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  text-decoration: none;
  color: var(--ink);
}
.brand-dot {
  background: var(--grad-warm);
  background-size: 220% 220%;
  animation: gradShift 5s ease-in-out infinite;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ── Кнопки ── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: .85em 2.1em;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .45s var(--ease-air), box-shadow .45s var(--ease-air);
  will-change: transform;
}
.btn:hover  { transform: translateY(-4px); }
.btn:active { transform: translateY(-1px); }

.btn-primary {
  color: #fff;
  background: var(--grad-warm);
  background-size: 220% 220%;
  animation: gradShift 7s ease infinite;
  box-shadow: 0 10px 28px -8px rgba(255, 126, 182, .55);
}
.btn-primary:hover { box-shadow: 0 18px 40px -10px rgba(255, 126, 182, .65); }

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .65);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1.5px rgba(43, 58, 85, .14);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(43, 58, 85, .3), var(--shadow-soft); }

/* ════════ ЗАГРУЗОЧНЫЙ ЭКРАН ════════ */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--grad-sky);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s var(--ease-soft), visibility .8s;
}
.splash.hidden { opacity: 0; visibility: hidden; }

.splash-content { text-align: center; position: relative; z-index: 2; }

.splash-logo {
  font-size: clamp(1.8rem, 6vw, 3rem);
  animation: levitate 4s ease-in-out infinite;
}
.splash-tagline { color: var(--ink-soft); font-weight: 600; margin-top: .4em; }

.splash-dots { margin-top: 26px; display: flex; gap: 10px; justify-content: center; }
.splash-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--grad-warm);
  animation: breathe 1.4s ease-in-out infinite;
}
.splash-dots span:nth-child(2) { animation-delay: .2s; }
.splash-dots span:nth-child(3) { animation-delay: .4s; }

.splash-balloons { position: absolute; inset: 0; overflow: hidden; }

/* ════════ НАВБАР ════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: padding .5s var(--ease-air), background .5s, box-shadow .5s;
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px -12px rgba(67, 95, 145, .22);
}

.navbar-flex { display: flex; align-items: center; gap: 28px; }

.brand { font-size: 1.12rem; }

.nav-menu { display: flex; gap: 6px; margin-left: auto; }
.nav-menu a {
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-soft);
  padding: .45em 1em;
  border-radius: 50px;
  transition: color .35s var(--ease-soft), background .35s var(--ease-soft);
}
.nav-menu a:hover { color: var(--ink); background: rgba(255, 255, 255, .8); }

.navbar-actions { display: flex; align-items: center; gap: 14px; }

.nav-phone {
  font-weight: 800; font-size: .95rem;
  text-decoration: none; white-space: nowrap;
  transition: color .3s;
}
.nav-phone:hover { color: var(--coral); }

.header-cart {
  position: relative;
  background: rgba(255,255,255,.7);
  border: none; cursor: pointer;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease-air);
}
.header-cart:hover { transform: translateY(-3px); }

.cart-badge {
  position: absolute; top: -5px; right: -5px;
  background: var(--coral); color: #fff;
  font-size: .68rem; font-weight: 800;
  min-width: 19px; height: 19px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span {
  display: block; width: 24px; height: 2.5px;
  background: var(--ink); border-radius: 2px;
  margin: 5px 0;
  transition: transform .4s var(--ease-air), opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Мобильное меню ── */
.mobile-nav {
  position: fixed; inset: 0; z-index: 990;
  background: rgba(248, 252, 255, .96);
  backdrop-filter: blur(16px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-24px);
  transition: opacity .5s var(--ease-air), transform .5s var(--ease-air), visibility .5s;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  text-decoration: none; padding: .4em 1em;
}
.mnav-phone { color: var(--coral); }

/* ════════ ГЕРОЙ ════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 36px;
}

.hero-sky { position: absolute; inset: 0; }
.sky-glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  animation: breathe 9s ease-in-out infinite;
}
.glow-1 { width: 46vw; height: 46vw; background: #ffd9ec; top: -12%; left: -8%; }
.glow-2 { width: 38vw; height: 38vw; background: #d4ecff; bottom: -10%; right: -6%; animation-delay: 3s; }
.glow-3 { width: 28vw; height: 28vw; background: #fff3d1; top: 28%; right: 22%; animation-delay: 6s; }

.balloons-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.balloon {
  position: absolute;
  animation: floatUp var(--dur, 12s) linear var(--delay, 0s) infinite;
  filter: drop-shadow(0 8px 14px rgba(67, 95, 145, .15));
}

.hero-banner-info { position: relative; z-index: 2; }

/* мягкое «свечение» в цвет фона — текст остаётся чётким
   даже при приближении шариков к границам зоны исключения */
.hero-eyebrow, .hero-title, .hero-sub {
  text-shadow:
    0 0 10px rgba(244, 250, 255, .85),
    0 0 26px rgba(244, 250, 255, .65);
}

.hero-eyebrow {
  display: inline-block; /* bbox по тексту, не на всю ширину — для зоны исключения шариков */
  font-weight: 700; font-size: .9rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8.5vw, 6.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.015em;
  margin-bottom: 34px;
}
/* построчное «всплытие» заголовка */
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1.1s var(--ease-air) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: .15s; }
.hero-title .line:nth-child(2) > span { animation-delay: .3s; }
.hero-title .line:nth-child(3) > span { animation-delay: .45s; }

@keyframes lineUp { to { transform: translateY(0); } }

.hero-bottom-row {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  gap: 36px; flex-wrap: wrap;
}
.hero-sub { max-width: 440px; color: var(--ink-soft); font-weight: 500; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ════════ О НАС ════════ */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
}
.about-circle {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--sky-200) 100%);
  box-shadow: var(--shadow-soft);
  animation: breathe 8s ease-in-out infinite;
}
.about-balloon {
  position: absolute;
  font-size: clamp(3rem, 8vw, 5rem);
  animation: levitate 5s ease-in-out infinite;
  z-index: 2;
}
.about-balloon.b1 { top: 6%;  left: 16%; }
.about-balloon.b2 { top: 38%; right: 8%; animation-delay: 1.2s; font-size: clamp(4rem, 10vw, 6.5rem); }
.about-balloon.b3 { bottom: 8%; left: 28%; animation-delay: 2.4s; font-size: clamp(2.4rem, 6vw, 3.8rem); }

.about-text { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 34px; }

.about-stats { display: flex; gap: 18px; flex-wrap: wrap; }
.stat {
  background: rgba(255, 255, 255, .72);
  border-radius: var(--radius);
  padding: 18px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform .5s var(--ease-air), box-shadow .5s var(--ease-air);
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.stat span { font-size: .85rem; color: var(--ink-soft); font-weight: 600; }

/* ── Бегущая лента поводов ── */
.marquee-ribbon {
  margin-top: 90px;
  padding: 22px 0;
  background: rgba(255, 255, 255, .55);
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
  box-shadow: var(--shadow-soft);
}
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track.slow { animation-duration: 40s; }
.marquee-group { display: flex; gap: 56px; padding-right: 56px; }
.marquee-group span {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem;
  white-space: nowrap; color: var(--ink-soft);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ════════ КАК ЗАКАЗАТЬ ════════ */
.process-head { margin-bottom: 56px; }

.process-list { display: flex; flex-direction: column; }

.process-row {
  display: grid;
  grid-template-columns: 110px 1fr 90px;
  align-items: center;
  gap: 30px;
  padding: 38px 26px;
  border-radius: var(--radius-l);
  border-bottom: 1.5px solid rgba(67, 95, 145, .1);
  transition: background .5s var(--ease-soft), transform .5s var(--ease-air), box-shadow .5s;
}
.process-row:hover {
  background: rgba(255, 255, 255, .75);
  box-shadow: var(--shadow-soft);
  transform: translateX(8px);
  border-bottom-color: transparent;
}

.process-num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 800;
  background: var(--grad-warm);
  background-size: 220% 220%;
  animation: gradShift 6s ease infinite;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.process-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 4px;
}
.process-info p { color: var(--ink-soft); }
.process-icon {
  font-size: 2.4rem; text-align: center;
  animation: levitate 5s ease-in-out infinite;
}
.process-row:nth-child(2) .process-icon { animation-delay: 1s; }
.process-row:nth-child(3) .process-icon { animation-delay: 2s; }

/* ════════ КАТАЛОГ ════════ */
/* каталог начинается сразу под hero-текстом */
.section.catalog { padding-top: 28px; }

.catalog-head {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
  margin-bottom: 50px;
}
.catalog-note { color: var(--ink-soft); font-weight: 600; text-align: right; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 26px;
}

.product-card {
  background: rgba(255, 255, 255, .8);
  border-radius: var(--radius-l);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform .55s var(--ease-air), box-shadow .55s var(--ease-air);
}
/* мягкое переливание при наведении */
.product-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c, var(--coral)) 16%, transparent), transparent 55%);
  opacity: 0;
  transition: opacity .6s var(--ease-soft);
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.product-card:hover::before { opacity: 1; }

.cat-placeholder {
  height: 130px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c, var(--coral)) 26%, #fff), var(--sky-100));
  border-radius: var(--radius);
}
.cat-img {
  height: 170px; width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--sky-100);
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem; font-weight: 700;
  position: relative;
}
.product-card p  { color: var(--ink-soft); font-size: .92rem; flex: 1; position: relative; }
.cat-price {
  font-weight: 800; font-size: 1.05rem;
  color: var(--coral); position: relative;
}

.product-card { text-decoration: none; cursor: pointer; }

.btn-details {
  display: inline-block;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: .95rem;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid rgba(43, 58, 85, .18);
  border-radius: 50px;
  padding: .6em 1.4em;
  position: relative;
  transition: all .45s var(--ease-air);
}
.product-card:hover .btn-details {
  background: var(--grad-warm);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(255, 126, 182, .5);
}

/* ════════ СТРАНИЦА ТОВАРА (PDP) ════════ */
.pdp { padding-top: 130px; min-height: 70vh; }

.pdp-back {
  display: inline-block;
  font-weight: 700; font-size: .95rem;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color .3s, transform .4s var(--ease-air);
}
.pdp-back:hover { color: var(--coral); transform: translateX(-4px); }

.pdp-loading { color: var(--ink-soft); font-weight: 600; padding: 60px 0; }

.pdp-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: start;
}

.pdp-photo {
  position: sticky; top: 110px;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: var(--sky-100);
}
.pdp-photo img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  display: block;
}
.pdp-photo-placeholder {
  aspect-ratio: 4 / 3.4;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c, var(--coral)) 26%, #fff), var(--sky-100));
}

.pdp-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 12px;
}

.pdp-price {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  background: var(--grad-warm);
  background-size: 220% 220%;
  animation: gradShift 5s ease-in-out infinite;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}

.pdp-short { font-weight: 700; margin-bottom: 18px; }

.pdp-desc p { color: var(--ink-soft); margin-bottom: 14px; }

.pdp-details {
  background: rgba(255, 255, 255, .75);
  border-radius: var(--radius-l);
  padding: 26px 28px;
  box-shadow: var(--shadow-soft);
  margin: 28px 0;
}
.pdp-details h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 14px;
}
.pdp-detail-row {
  display: flex; gap: 12px; align-items: baseline;
  padding: 8px 0;
  font-size: .95rem; color: var(--ink-soft);
}
.pdp-detail-row strong { color: var(--ink); }

.pdp-buy {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.qty-picker {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .75);
  border-radius: 50px;
  padding: 8px 14px;
  box-shadow: var(--shadow-soft);
}
.pdp-add { font-size: 1.05rem; }
.pdp-add.added {
  background: var(--mint);
  animation: none;
  color: var(--ink);
  box-shadow: 0 10px 28px -8px rgba(126, 234, 210, .6);
}

.pdp-notfound { text-align: center; padding: 60px 0; }
.pdp-notfound h1 {
  font-family: var(--font-display);
  font-size: 2rem; margin-bottom: 10px;
}
.pdp-notfound p { color: var(--ink-soft); margin-bottom: 24px; }

/* ════════ ПРЕИМУЩЕСТВА ════════ */
.features-list {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.feature-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: auto auto;
  column-gap: 20px;
  align-items: center;
  background: rgba(255, 255, 255, .7);
  border-radius: var(--radius-l);
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .55s var(--ease-air), box-shadow .55s var(--ease-air);
}
.feature-row:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: var(--shadow-hover); }
.feature-emoji {
  grid-row: span 2;
  font-size: 2.4rem;
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sky-100);
  border-radius: 20px;
  animation: levitate 6s ease-in-out infinite;
}
.feature-row:nth-child(2) .feature-emoji { animation-delay: 1.5s; }
.feature-row:nth-child(3) .feature-emoji { animation-delay: 3s; }
.feature-row:nth-child(4) .feature-emoji { animation-delay: 4.5s; }
.feature-row h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  align-self: end;
}
.feature-row p { color: var(--ink-soft); font-size: .94rem; align-self: start; }

/* ════════ ОТЗЫВЫ ════════ */
.reviews-wrap {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.review-card {
  background: rgba(255, 255, 255, .8);
  border-radius: var(--radius-l);
  padding: 30px 32px;
  box-shadow: var(--shadow-soft);
  transition: transform .55s var(--ease-air), box-shadow .55s var(--ease-air);
}
.review-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.review-card p { font-size: 1.04rem; font-weight: 500; margin-bottom: 16px; }
.review-author { color: var(--ink-soft); font-weight: 700; font-size: .9rem; }
/* «разбросанность» как в референсе */
.review-card.r2 { margin-top: 26px; }
.review-card.r4 { margin-top: 26px; }

/* ════════ КОНТАКТЫ ════════ */
.contacts-head { margin-bottom: 40px; }

.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon {
  font-size: 1.3rem;
  width: 48px; height: 48px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .75);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.contact-item strong { display: block; font-size: .95rem; }
.contact-item a, .contact-item div > span {
  color: var(--ink-soft); font-weight: 600; font-size: .95rem;
  text-decoration: none;
}
.contact-item a:hover { color: var(--coral); }

.contacts-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

/* ════════ CTA ════════ */
.cta { text-align: center; }
.cta-small {
  font-weight: 700; font-size: 1.05rem;
  color: var(--ink-soft); margin-bottom: 14px;
}
.cta-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 4.6rem);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.01em;
  background: var(--grad-warm);
  background-size: 220% 220%;
  animation: gradShift 5s ease-in-out infinite;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  transition: transform .5s var(--ease-air);
}
.cta-phone:hover { transform: translateY(-6px) scale(1.02); }
.cta-note { margin-top: 14px; color: var(--ink-soft); font-weight: 600; }

/* ════════ ФУТЕР ════════ */
.footer { padding-top: 70px; overflow: hidden; }

.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 50px;
}
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a {
  text-decoration: none; font-weight: 600;
  color: var(--ink-soft); font-size: .92rem;
  transition: color .3s;
}
.footer-nav a:hover { color: var(--coral); }
.footer-copy { color: var(--ink-soft); font-size: .85rem; }

.footer-marquee { border-top: 1.5px solid rgba(67, 95, 145, .1); padding: 10px 0; overflow: hidden; }
.marquee-group.big { gap: 48px; padding-right: 48px; align-items: center; }
.marquee-group.big span {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 10vw, 7rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(67, 95, 145, .22);
  line-height: 1.2;
}

/* ════════ КОРЗИНА ════════ */
.cart-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 940;
  width: 58px; height: 58px;
  border-radius: 50%; border: none; cursor: pointer;
  font-size: 1.5rem;
  background: var(--grad-warm);
  background-size: 220% 220%;
  animation: gradShift 7s ease infinite;
  box-shadow: 0 12px 30px -8px rgba(255, 126, 182, .6);
  transition: transform .45s var(--ease-air);
}
.cart-fab:hover { transform: translateY(-5px) scale(1.05); }

.cart-overlay {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(43, 58, 85, .35);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease-soft), visibility .5s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 960;
  width: min(400px, 92vw);
  background: #fff;
  display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform .6s var(--ease-air);
  box-shadow: -20px 0 60px -20px rgba(43, 58, 85, .3);
  border-radius: var(--radius-l) 0 0 var(--radius-l);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 26px;
  border-bottom: 1.5px solid rgba(67, 95, 145, .1);
}
.cart-header h3 { font-family: var(--font-display); font-size: 1.3rem; }
.cart-close {
  background: var(--sky-100); border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 1rem;
  transition: transform .35s var(--ease-air), background .3s;
}
.cart-close:hover { transform: rotate(90deg); background: var(--sky-200); }

.cart-items { flex: 1; overflow-y: auto; padding: 18px 26px; }
.cart-empty { text-align: center; color: var(--ink-soft); font-weight: 600; padding: 50px 0; }

.cart-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(67, 95, 145, .08);
}
.cart-item-name  { font-weight: 700; font-size: .95rem; }
.cart-price-row  { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.cart-item-price { color: var(--coral); font-weight: 700; font-size: .85rem; }
.cart-item-subtotal { color: var(--ink-soft); font-size: .8rem; font-weight: 500; }
.cart-note strong { color: var(--coral); }

.cart-item-qty { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 30px; height: 30px;
  border: none; border-radius: 50%;
  background: var(--sky-100);
  font-size: 1.05rem; font-weight: 700;
  cursor: pointer;
  transition: background .3s, transform .3s var(--ease-air);
}
.qty-btn:hover { background: var(--sky-200); transform: scale(1.1); }
.qty-num { font-weight: 800; min-width: 18px; text-align: center; }

.cart-footer { padding: 20px 26px 26px; border-top: 1.5px solid rgba(67, 95, 145, .1); }
.cart-note { font-size: .88rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 12px; }
.cart-checkout { width: 100%; }

/* ════════ ТУЛБАР КАТАЛОГА ════════ */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.catalog-count {
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink-soft);
}

/* ════════ КАСТОМНЫЙ ДРОПДАУН СОРТИРОВКИ ════════ */
.csel-wrap {
  position: relative;
}

.csel-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: .6em 1.3em;
  min-height: 44px;
  background: rgba(255,255,255,.88);
  border: 1.5px solid rgba(43,58,85,.12);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: border-color .3s, box-shadow .3s;
  white-space: nowrap;
  user-select: none;
}

.csel-btn:hover,
.csel-wrap.csel--open .csel-btn {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255,126,182,.18), var(--shadow-soft);
}

.csel-chevron {
  width: 14px;
  height: 14px;
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: transform .25s var(--ease-air);
}

.csel-wrap.csel--open .csel-chevron {
  transform: rotate(180deg);
}

.csel-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover), 0 0 0 1.5px rgba(43,58,85,.08);
  list-style: none;
  padding: 6px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s var(--ease-air), transform .2s var(--ease-air), visibility .2s;
  pointer-events: none;
}

.csel-wrap.csel--open .csel-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.csel-opt {
  padding: .6em 1em;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s;
  color: var(--ink);
  list-style: none;
}

.csel-opt:hover {
  background: var(--sky-100);
}

.csel-opt--active {
  background: var(--sky-100);
  color: var(--coral);
}

/* ════════ ПАГИНАЦИЯ ════════ */
.catalog-pagination { margin-top: 48px; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pag-btn {
  min-width: 44px;
  height: 44px;
  border-radius: 50px;
  border: 1.5px solid rgba(43,58,85,.12);
  background: rgba(255,255,255,.82);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  padding: 0 14px;
  box-shadow: var(--shadow-soft);
  transition: background .35s var(--ease-air), transform .35s var(--ease-air), box-shadow .35s, border-color .3s;
}
.pag-btn:hover:not(:disabled) {
  background: rgba(255,255,255,1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.pag-btn:disabled { opacity: .38; cursor: default; }
.pag-btn.pag-active {
  background: var(--grad-warm);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(255,126,182,.5);
}
.pag-btn.pag-arrow { font-size: 1.1rem; }
.pag-dots {
  color: var(--ink-soft);
  font-weight: 700;
  padding: 0 4px;
  user-select: none;
}

/* ════════ АДАПТИВ ════════ */
@media (max-width: 1020px) {
  .nav-menu { display: none; }
  .burger { display: block; }
  /* прижать корзину + бургер вправо когда nav-menu скрыт */
  .navbar-actions { margin-left: auto; }
  .about-wrapper { grid-template-columns: 1fr; gap: 46px; }
  .about-visual { max-width: 320px; }
}

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section.catalog { padding-top: 20px; }
  .nav-phone { display: none; }
  .hero { padding: 96px 0 48px; min-height: 540px; }
  /* убираем текст-тег под шапкой на мобиле */
  .hero-eyebrow { display: none; }
  /* drop-shadow на SVG в Chrome Android даёт прямоугольную тень вместо силуэта */
  .balloon { filter: none; }
  .hero-bottom-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-btns { flex-wrap: wrap; gap: 10px; }

  /* Каталог — 2 колонки на мобиле */
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .product-card { padding: 16px 14px; gap: 8px; }
  .cat-img { height: 130px; }
  .cat-placeholder { height: 100px; }
  .product-card h3 { font-size: 1rem; }
  .btn-details { font-size: .85rem; padding: .5em 1em; }

  .catalog-toolbar { gap: 10px; }
  .csel-btn { font-size: .85rem; padding: .55em 1.1em; }

  .process-row { grid-template-columns: 60px 1fr; padding: 22px 14px; gap: 16px; }
  .process-num { font-size: 1.8rem; }
  .process-icon { display: none; }

  .features-list { grid-template-columns: 1fr; gap: 14px; }
  .feature-row { padding: 22px 18px; }

  .reviews-wrap { grid-template-columns: 1fr; gap: 16px; }
  .review-card { padding: 22px 20px; }
  .review-card.r2, .review-card.r4 { margin-top: 0; }

  .contact-list { grid-template-columns: 1fr; gap: 16px; }
  .contacts-actions { flex-direction: column; }
  .contacts-actions .btn { text-align: center; }

  .pdp { padding-top: 100px; }
  .pdp-grid { grid-template-columns: 1fr; gap: 24px; }
  .pdp-photo { position: static; }
  .pdp-buy { flex-direction: column; align-items: stretch; }
  .pdp-add { text-align: center; }

  .pagination { gap: 6px; }
  .pag-btn { min-width: 40px; height: 40px; font-size: .88rem; padding: 0 10px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-nav { gap: 14px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section.catalog { padding-top: 16px; }

  .hero { padding: 84px 0 40px; min-height: 520px; }
  .hero-title { font-size: clamp(1.9rem, 7.5vw, 4rem); }
  .hero-eyebrow { font-size: .8rem; }
  .hero-sub { font-size: .92rem; }
  .hero-btns .btn { font-size: .92rem; padding: .75em 1.6em; }

  .section-title { font-size: clamp(1.7rem, 6vw, 3.2rem); }

  .catalog-grid { gap: 10px; }
  .product-card { padding: 13px 11px; border-radius: 18px; }
  .cat-img { height: 110px; border-radius: 12px; }
  .cat-placeholder { height: 88px; border-radius: 12px; }
  .product-card h3 { font-size: .92rem; }
  .cat-price { font-size: .9rem; }
  .btn-details { display: none; } /* на маленьких экранах прячем — вся карточка кликабельна */

  .about-stats { flex-direction: column; gap: 10px; }
  .stat { padding: 14px 18px; }

  .process-row { grid-template-columns: 48px 1fr; padding: 18px 10px; gap: 12px; }
  .process-num { font-size: 1.5rem; }
  .process-info h3 { font-size: 1.1rem; }

  .feature-row { padding: 18px 14px; }
  .feature-emoji { width: 48px; height: 48px; font-size: 1.8rem; border-radius: 14px; }

  .review-card { padding: 18px 16px; }
  .review-card p { font-size: .95rem; }

  .pag-btn.pag-arrow { min-width: 40px; padding: 0 8px; }

  .cta-phone { font-size: clamp(1.8rem, 9vw, 3rem); }

  .cart-fab { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .cart-drawer { width: 100vw; border-radius: var(--radius-l) 0 0 var(--radius-l); }

  .marquee-ribbon { margin-top: 50px; }
  .marquee-group span { font-size: 1rem; }

  .footer-marquee { display: none; }
}

/* ════════ PDP ГАЛЕРЕЯ МИНИАТЮР ════════ */
.pdp-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.pdp-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  border: 2.5px solid transparent;
  background-size: cover;
  background-position: center;
  background-color: var(--sky-100);
  cursor: pointer;
  transition: border-color .25s, transform .25s var(--ease-air);
  flex-shrink: 0;
  padding: 0;
}

.pdp-thumb--active,
.pdp-thumb:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
}

/* ════════ РЕКВИЗИТЫ В КОНТАКТАХ ════════ */
.legal-info {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(43,58,85,.1);
  font-size: .85rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}
.legal-info a {
  color: var(--coral);
  text-decoration: none;
  font-weight: 600;
}
.legal-info a:hover { text-decoration: underline; }
