/* =========================================================
   МумиДол — стили сайта
   ========================================================= */
:root {
  --accent: #ff6a2b;
  --page-bg: #fff;
  --ink: #1e2a5a;
  --text: #3f4766;
  --muted: #7a819c;
  --line: #eceef5;
  --card: #fff;
  --soft: #f6f8fc;
  --pink: #d6336c;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(30, 42, 90, .08);
  --shadow-sm: 0 4px 14px rgba(30, 42, 90, .07);
  --container: 1240px;
  --gutter: 24px;
  --f-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-head: 'Rubik', 'Nunito', system-ui, sans-serif;
  --f-script: 'Lobster', 'Rubik', cursive;
  --f-hand: 'Neucha', 'Comic Sans MS', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.55;
  color: var(--text); background: var(--page-bg); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 .8em; }
.ic { flex: none; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 12px 22px; border-radius: 999px; border: 0; font-weight: 800; font-size: 15px;
  transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .ic { transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-dark { background: #141a3a; color: #fff; }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 8px 20px rgba(214, 51, 108, .3); }
.btn-lg { padding: 16px 30px; font-size: 17px; }

/* ---------- блоки: отступы ---------- */
.blk { position: relative; scroll-margin-top: 80px; }
.sp-normal { padding: 22px 0; }
.sp-small { padding: 10px 0; }
.sp-large { padding: 56px 0; }
.sp-none { padding: 0; }
.sec-title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 20px; }

/* =========================================================
   ШАПКА
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,.04); }
.hdr { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo-text { font-family: var(--f-head); font-weight: 900; letter-spacing: -.02em; line-height: 1; white-space: nowrap; text-shadow: 0 2px 0 rgba(0,0,0,.08); }
.logo-text span { display: inline-block; }
.logo-text span:nth-child(odd) { transform: translateY(-2px) rotate(-4deg); }
.logo-text span:nth-child(even) { transform: translateY(2px) rotate(4deg); }
.logo-text.sm { font-size: 26px !important; }
.logo-text.xs { font-size: 15px !important; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.logo-img { width: auto; max-width: 220px; object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.main-nav a { padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); transition: background .15s, color .15s; white-space: nowrap; }
.main-nav a:hover { background: var(--soft); color: var(--accent); }
.nav-catalog { display: inline-flex; align-items: center; gap: 8px; }

.hdr-actions { display: flex; align-items: center; gap: 14px; flex: none; margin-left: auto; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 0; background: #eef3fb; color: var(--ink); transition: background .15s; }
.icon-btn:hover { background: #e2eaf7; }
.hdr-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
.hdr-link:hover { color: var(--accent); }
.burger { display: none; }

.search-bar { display: none; border-top: 1px solid var(--line); background: #fff; }
.search-bar.open { display: block; animation: drop .2s ease; }
.search-bar form { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; color: var(--muted); }
.search-bar input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 17px; color: var(--ink); background: transparent; min-width: 0; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* мобильное меню */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(20, 26, 58, .45); opacity: 0; transition: opacity .25s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; padding: 18px 20px 30px; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); overflow-y: auto; display: flex; flex-direction: column; gap: 18px; }
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-search { display: flex; align-items: center; gap: 10px; background: var(--soft); border-radius: 999px; padding: 10px 16px; color: var(--muted); }
.drawer-search input { border: 0; background: transparent; outline: 0; font: inherit; flex: 1; min-width: 0; color: var(--ink); }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 17px; }
.drawer-nav a.accent { justify-content: flex-start; color: var(--accent); }
.drawer-nav a .ic { color: var(--muted); }
.drawer-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.drawer-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--soft); font-weight: 700; color: var(--ink); }

/* =========================================================
   СЛАЙДЕР-БАННЕР
   ========================================================= */
.blk-hero-slider { padding-top: 0 !important; }
.hero { position: relative; overflow: hidden; }
.hero-track { position: relative; display: grid; }
.hero-slide {
  grid-area: 1 / 1; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 15% 20%, #fff 0, transparent 55%), var(--slide-bg);
  background-size: cover; background-position: center;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
}
.hero-slide.has-bg { background-size: cover; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-blob {
  position: absolute; right: -4%; top: 6%; width: 62%; height: 120%;
  background: var(--blob); border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%; opacity: .75;
  filter: blur(1px);
}
.hero-slide.has-bg .hero-blob { display: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; align-items: end; min-height: 440px; gap: 20px; }
.hero-tall .hero-inner { min-height: 560px; }
.hero-compact .hero-inner { min-height: 340px; }
.hero-text { position: relative; padding: 56px 0 96px; z-index: 2; align-self: center; }
.hero-t1 { font-family: var(--f-script); color: var(--ink); font-size: clamp(46px, 6.4vw, 92px); line-height: 1; transform: rotate(-3deg); transform-origin: left; }
.hero-t2 { font-family: var(--f-head); font-weight: 900; font-size: clamp(46px, 6.6vw, 94px); line-height: 1.05; margin: 4px 0 18px; letter-spacing: -.01em; }
.hero-t2 span { display: inline-block; text-shadow: 0 3px 0 rgba(0,0,0,.08); }
.hero-t2 span:nth-child(3n+1) { transform: rotate(-5deg) translateY(4px); }
.hero-t2 span:nth-child(3n+2) { transform: rotate(3deg) translateY(-3px); }
.hero-t2 span:nth-child(3n) { transform: rotate(-2deg); }
.hero-t1::after { content: ''; display: block; width: 46%; height: 8px; margin-top: 4px; border-radius: 8px; background: #ffc21a; transform: rotate(-2deg); opacity: .9; }
.hero-sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink); font-weight: 600; max-width: 460px; margin-bottom: 24px; }
.hero-media { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.hero-media img {
  width: 100%; max-height: 520px; object-fit: cover; object-position: center top; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 88%, transparent 100%);
}
.hero-bubble {
  position: absolute; right: 0; top: 34px; z-index: 3;
  background: #fff; border-radius: 50% 48% 52% 46%; padding: 22px 30px;
  font-family: var(--f-hand); font-size: 24px; line-height: 1.15; color: var(--ink); text-transform: uppercase;
  transform: rotate(-8deg); box-shadow: var(--shadow); text-align: center;
}
.hero-bubble span { display: block; }
.hero-arrow { position: absolute; top: 50%; z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--ink); transform: translateY(-50%); transition: background .15s, transform .15s; }
.hero-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.hero-arrow { top: auto; bottom: 52px; width: 38px; height: 38px; transform: none; }
.hero-arrow:hover { transform: scale(1.06); }
.hero-arrow.prev { left: calc(50% - 110px); }
.hero-arrow.next { left: calc(50% + 72px); }
.hero-dots { position: absolute; z-index: 5; left: 50%; bottom: 66px; height: 10px; align-items: center; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.9); box-shadow: 0 1px 4px rgba(30,42,90,.35); transition: width .3s, background .3s; }
.hero-dots button.is-active { width: 28px; background: var(--accent); }

/* каракули */
.dd { position: absolute; pointer-events: none; z-index: 2; display: block; }
.dd svg { width: 100%; height: 100%; display: block; }
.dd-star1 { width: 26px; height: 26px; left: 70%; top: 30px; color: #f59f00; }
.dd-lines { width: 34px; height: 34px; left: -6px; bottom: 40px; color: #3b82f6; transform: scaleX(-1); }
.dd-star2 { width: 38px; height: 38px; right: 8%; bottom: 150px; color: var(--ink); }
.dd-plane { width: 110px; height: 50px; right: 4%; top: 28px; color: var(--ink); }
.dd-crown { width: 40px; height: 32px; right: -10px; top: 6px; color: #f5b400; }
.dd-star3 { width: 30px; height: 30px; right: 18%; top: 50%; color: var(--ink); }
.dd-leaf { width: 38px; height: 38px; right: 5%; bottom: 80px; color: var(--accent); }
.dd-acrown { width: 46px; height: 36px; right: 4%; top: -18px; color: #f5b400; transform: rotate(12deg); }
.dd-aheart { width: 44px; height: 44px; right: -6px; bottom: 30px; color: #e64980; transform: rotate(12deg); }
.dd-g1 { width: 36px; height: 36px; left: -6px; top: -6px; color: #ff6b6b; }

/* =========================================================
   ПРЕИМУЩЕСТВА
   ========================================================= */
.blk-features { z-index: 6; }
.features { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 10px; padding: 16px 26px; }
.features.overlap { margin-top: -66px; position: relative; }
.feature { display: flex; align-items: center; gap: 14px; padding: 8px 6px; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; border-radius: var(--radius-sm); transition: background .15s; }
a.feature:hover { background: var(--soft); }
.feature-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); }

/* =========================================================
   КАТЕГОРИИ
   ========================================================= */
.cats { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 14px; }
.cat { position: relative; border-radius: 18px; overflow: hidden; background: var(--bg); aspect-ratio: 4 / 5; display: block; isolation: isolate; box-shadow: var(--shadow-sm); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s; z-index: -1; }
.cat:hover img { transform: scale(1.05); }
.cat-label { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 10px 10px 14px; border-radius: 14px; background: rgba(255,255,255,.88); backdrop-filter: blur(6px); }
.cat-label b { display: block; font-size: 14px; color: var(--ink); line-height: 1.2; }
.cat-label small { display: block; font-size: 13px; color: var(--ink); font-weight: 600; }
.circle-arrow { width: 32px; height: 32px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); flex: none; box-shadow: var(--shadow-sm); transition: background .15s, color .15s; }
.cat:hover .circle-arrow { background: var(--accent); color: #fff; }

/* =========================================================
   ПРОМО-БАННЕРЫ
   ========================================================= */
.promos { display: grid; grid-template-columns: var(--cols); gap: 14px; }
.promo { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg); min-height: 240px; display: flex; isolation: isolate; box-shadow: var(--shadow-sm); }
.promo-img { position: absolute; right: 0; top: 0; height: 100%; width: 62%; object-fit: cover; object-position: center; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.promo.wide .promo-img { width: 52%; }
.promo-body { padding: 26px 24px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; max-width: 66%; }
.promo.wide .promo-body { max-width: 56%; }
.promo h3 { font-family: var(--f-head); font-weight: 800; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.08; transform: rotate(-4deg); transform-origin: left; margin-bottom: 10px; text-shadow: 0 2px 0 rgba(255,255,255,.7); }
.promo p { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; margin-bottom: 14px; }
.promo .btn { margin-top: 8px; padding: 10px 18px; font-size: 14px; }

/* =========================================================
   О КОМПАНИИ
   ========================================================= */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: center; }
.about.rev .about-media { order: 2; }
.about-media { position: relative; padding: 18px 18px 18px 26px; }
.about-back { position: absolute; left: 0; top: 30px; width: 70%; height: 80%; background: linear-gradient(160deg, #4dabf7, #339af0); border-radius: 26px; transform: rotate(-5deg); }
.about-main { position: relative; width: 100%; border-radius: 26px; border: 6px solid #fff; box-shadow: var(--shadow); transform: rotate(1.5deg); object-fit: cover; aspect-ratio: 16 / 11; }
.about-second { position: absolute; left: 0; bottom: -10px; width: 52%; border-radius: 22px; border: 6px solid #fff; box-shadow: var(--shadow); transform: rotate(-3deg); aspect-ratio: 4 / 3; object-fit: cover; }
.about-text h2 { font-size: clamp(24px, 2.6vw, 32px); }
.rich { color: var(--text); }
.rich a { color: var(--accent); text-decoration: underline; }
.rich ul { padding-left: 20px; }
.rich img { border-radius: var(--radius-sm); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 10px; }
.stat { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-family: var(--f-head); color: var(--ink); font-size: 18px; line-height: 1.15; }
.stat small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.stat-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); }

/* =========================================================
   ПАРТНЁРЫ
   ========================================================= */
.partners { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 30px; align-items: center; }
.partners-head h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 8px; }
.partners-head p { font-size: 14px; color: var(--muted); margin: 0; }
.partners-wrap { display: flex; align-items: center; gap: 10px; min-width: 0; }
.round-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; flex: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: background .15s, color .15s; }
.round-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.marquee { overflow: hidden; flex: 1; min-width: 0; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; will-change: transform; }
.plogo { flex: none; width: 150px; height: 66px; border-radius: 16px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; padding: 10px 16px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.plogo:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.plogo img { max-height: 42px; width: auto; object-fit: contain; }
.plogo span { font-size: 22px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pf-sans { font-family: var(--f-head); font-weight: 800; letter-spacing: -.02em; }
.pf-serif { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 24px !important; }
.pf-script { font-family: var(--f-script); font-size: 24px !important; }
.pf-light { font-family: var(--f-body); font-weight: 400; letter-spacing: .06em; font-size: 24px !important; }

/* =========================================================
   ПОДАРОЧНЫЕ СЕРТИФИКАТЫ
   ========================================================= */
.gift { position: relative; display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 20px; align-items: center; background: #fff; border-radius: 28px; padding: 30px 34px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.gift::before { content: ''; position: absolute; inset: auto -10% -60% -10%; height: 90%; background: radial-gradient(ellipse at center, #e7f3ff 0, transparent 70%); z-index: 0; }
.gift > * { position: relative; }
.gift h2 { color: var(--pink); font-size: clamp(26px, 2.8vw, 34px); }
.gift p { font-size: 17px; color: var(--ink); font-weight: 600; }
.gift-cards { position: relative; display: flex; justify-content: center; align-items: center; padding: 18px 10px 10px; min-height: 180px; }
.gcard {
  position: relative; flex: none; width: 190px; aspect-ratio: 1.6; border-radius: 16px; margin-left: -34px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c));
  box-shadow: 0 12px 26px color-mix(in srgb, var(--c) 40%, transparent);
  transform: rotate(calc(-8deg + var(--i) * 4deg)) translateY(calc(var(--i) * -3px));
  transition: transform .25s; overflow: hidden; color: #fff;
}
.gcard:first-child { margin-left: 0; }
.gcard:hover { transform: rotate(0) translateY(-12px) scale(1.04); z-index: 5; }
.gcard img { width: 100%; height: 100%; object-fit: cover; }
.gcard-logo { position: absolute; left: 14px; top: 12px; background: rgba(255,255,255,.85); padding: 3px 8px; border-radius: 8px; }
.gcard-sum { position: absolute; left: 14px; bottom: 8px; font-family: var(--f-head); font-weight: 900; font-size: 30px; text-shadow: 0 2px 0 rgba(0,0,0,.15); }
.gcard-deco { position: absolute; right: 30px; top: 12px; opacity: .4; }

/* =========================================================
   УНИВЕРСАЛЬНЫЕ БЛОКИ
   ========================================================= */
.textblock.card { background: #fff; border-radius: var(--radius); padding: 30px 34px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.textblock.al-center { text-align: center; }
.imgtext { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.imgtext.rev .imgtext-media { order: 2; }
.imgtext-media img { border-radius: var(--radius); width: 100%; box-shadow: var(--shadow); }
.imgtext-body h2 { font-size: clamp(24px, 2.6vw, 32px); }
.imgtext-body .btn { margin-top: 10px; }
.cta { border-radius: var(--radius); padding: 34px 40px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: var(--shadow); }
.cta h2 { color: #fff; font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 6px; }
.cta p { margin: 0; opacity: .95; font-weight: 600; }
.cgrid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 16px; }
.ccard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
a.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ccard > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ccard-ic { margin: 22px 22px 0; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, #fff); }
.ccard-body { padding: 18px 22px 22px; }
.ccard h3 { font-size: 18px; margin-bottom: 6px; }
.ccard p { margin: 0; font-size: 15px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); transition: transform .3s; }
.gallery a:hover img { transform: scale(1.02); }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 14, 30, .88); display: grid; place-items: center; padding: 30px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: #fff; }

.page-head { padding-top: 26px; padding-bottom: 6px; }
.page-head h1 { font-size: clamp(28px, 4vw, 42px); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 4px; opacity: .5; }
.search-page { display: flex; gap: 10px; margin: 10px 0 20px; max-width: 560px; }
.search-page input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; font: inherit; min-width: 0; }
.search-list { padding-left: 20px; font-size: 18px; }
.search-list a { color: var(--accent); }
.page-404 { text-align: center; padding: 70px 0 90px; }
.page-404 .big { font-family: var(--f-head); font-weight: 900; font-size: 120px; line-height: 1; }

/* =========================================================
   ПОДВАЛ
   ========================================================= */
.site-footer { position: relative; margin-top: 40px; background: linear-gradient(180deg, #f2f8ff 0, #eaf3ff 100%); }
.footer-clouds { position: absolute; left: 0; right: 0; top: -38px; height: 40px;
  background:
    radial-gradient(circle at 5% 100%, #f2f8ff 40px, transparent 41px),
    radial-gradient(circle at 18% 100%, #f2f8ff 56px, transparent 57px),
    radial-gradient(circle at 34% 100%, #f2f8ff 36px, transparent 37px),
    radial-gradient(circle at 52% 100%, #f2f8ff 60px, transparent 61px),
    radial-gradient(circle at 70% 100%, #f2f8ff 40px, transparent 41px),
    radial-gradient(circle at 86% 100%, #f2f8ff 58px, transparent 59px),
    radial-gradient(circle at 98% 100%, #f2f8ff 36px, transparent 37px);
}
.ftr { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.5fr; gap: 28px; padding-top: 40px; padding-bottom: 34px; }
.ftr-brand p { font-size: 14px; margin: 14px 0; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #3d4a77; background: #fff; box-shadow: var(--shadow-sm); transition: color .15s, transform .15s; }
.socials a:hover { color: var(--accent); transform: translateY(-2px); }
.ftr h4 { font-size: 15px; margin-bottom: 12px; }
.ftr-col ul { list-style: none; margin: 0; padding: 0; }
.ftr-col li { margin-bottom: 7px; }
.ftr-col a { font-size: 14px; color: var(--text); }
.ftr-col a:hover { color: var(--accent); }
.ftr-news { background: #fff; border-radius: 20px; padding: 20px; box-shadow: var(--shadow-sm); align-self: start; }
.news-form { display: flex; align-items: center; gap: 6px; background: var(--soft); border-radius: 999px; padding: 5px 5px 5px 16px; border: 1px solid var(--line); }
.news-form input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font: inherit; font-size: 14px; color: var(--ink); }
.news-form button { width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #2b8cf0; color: #fff; flex: none; transition: transform .15s; }
.news-form button:hover { transform: scale(1.07); }
.news-msg { font-size: 13px; font-weight: 700; margin-top: 8px; min-height: 0; }
.news-msg.ok { color: #2f9e44; } .news-msg.err { color: #e03131; }
.ftr-news small { display: block; font-size: 11px; color: var(--muted); margin-top: 8px; line-height: 1.35; }
.ftr-bottom { background: #dfeafa; font-size: 12px; color: var(--muted); }
.ftr-bottom .container { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 34px; padding-top: 12px; padding-bottom: 12px; }
.ftr-bottom a:hover { color: var(--accent); }
.ftr-bottom .dev { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.ftr-bottom .dev .ic { color: #e64980; }

.admin-fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; background: #141a3a; color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 800; font-size: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.25); }

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav a { padding: 8px 8px; font-size: 13px; }
  .hdr-link span { display: none; }
  .hdr-link { width: 42px; height: 42px; border-radius: 50%; justify-content: center; background: #eef3fb; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .ftr { grid-template-columns: 1fr 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
  .ftr-news { grid-column: 1 / -1; max-width: 480px; }
}

@media (max-width: 980px) {
  :root { --gutter: 18px; }
  .main-nav { display: none; }
  .burger { display: grid; }
  .hdr { height: 66px; }
  .hdr-actions { gap: 8px; }
  .hero-inner { grid-template-columns: 1fr 1fr; min-height: 380px; }
  .hero-bubble { font-size: 18px; padding: 16px 20px; top: 20px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .promos { grid-template-columns: 1fr 1fr; }
  .promo.wide { grid-column: 1 / -1; }
  .about { grid-template-columns: 1fr; gap: 26px; }
  .about.rev .about-media { order: 0; }
  .about-media { max-width: 560px; }
  .partners { grid-template-columns: 1fr; gap: 14px; }
  .gift { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .gift-cards { width: 100%; }
  .gcard { width: 150px; margin-left: -46px; }
  .gcard-sum { font-size: 24px; }
  .cgrid { grid-template-columns: repeat(min(var(--cols), 2), 1fr); }
  .imgtext { grid-template-columns: 1fr; gap: 22px; }
  .imgtext.rev .imgtext-media { order: 0; }
}

@media (max-width: 760px) { .hide-m { display: none !important; } }
@media (min-width: 761px) { .hide-d { display: none !important; } }

@media (max-width: 680px) {
  :root { --gutter: 16px; --radius: 18px; }
  body { font-size: 15px; }
  .hdr { height: 60px; gap: 10px; }
  .hdr-link { display: none; }
  .icon-btn { width: 40px; height: 40px; }
  .logo-text { font-size: 28px !important; }
  .logo-img { max-height: 36px; max-width: 150px; }
  .sp-normal { padding: 14px 0; }
  .sp-large { padding: 34px 0; }

  /* баннер: текст сверху, фото снизу */
  .hero-inner, .hero-tall .hero-inner, .hero-compact .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-text { padding: 30px 0 4px; text-align: left; }
  .hero-t1 { font-size: 48px; }
  .hero-t2 { font-size: 46px; margin-bottom: 12px; }
  .hero-sub { font-size: 16px; margin-bottom: 18px; }
  .btn-lg { padding: 14px 24px; font-size: 16px; }
  .hero-media { height: 270px; margin: 0 calc(var(--gutter) * -1); }
  .hero-media img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%); mask-image: linear-gradient(180deg, transparent 0, #000 18%); }
  .hero-blob { width: 120%; height: 60%; top: auto; bottom: -10%; right: -30%; }
  .hero-bubble { font-size: 15px; padding: 12px 16px; right: 10px; top: 24px; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 54px; }
  .dd-star1, .dd-lines, .dd-plane, .dd-star2 { display: none; }
  .features.overlap { margin-top: -40px; }
  .features { padding: 10px 12px; gap: 4px; }
  .feature { flex-direction: column; text-align: center; gap: 8px; font-size: 12.5px; padding: 8px 4px; }
  .feature-t br { display: none; }
  .feature-ic { width: 46px; height: 46px; }

  /* категории — горизонтальная лента */
  .cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 44%; scroll-snap-align: start; }
  .cat-label { padding: 8px 8px 8px 10px; left: 6px; right: 6px; bottom: 6px; }
  .cat-label b { font-size: 13px; }
  .cat-label small { font-size: 12px; }
  .circle-arrow { width: 28px; height: 28px; }

  .promos { grid-template-columns: 1fr; }
  .promo { min-height: 200px; }
  .promo-body, .promo.wide .promo-body { max-width: 62%; padding: 20px; }
  .promo-img, .promo.wide .promo-img { width: 58%; }

  .stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat { padding: 10px; gap: 8px; }
  .stat-ic { width: 38px; height: 38px; }
  .stat b { font-size: 15px; }

  .round-arrow { display: none; }
  .plogo { width: 124px; height: 58px; }
  .plogo span { font-size: 19px; }

  .gift { padding: 24px 18px; }
  .gift-cards { min-height: 0; padding: 14px 18px 18px; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -18px; width: calc(100% + 36px); scrollbar-width: none; }
  .gift-cards::-webkit-scrollbar { display: none; }
  .gcard, .gcard:first-child { width: 150px; margin-left: 0; border-radius: 12px; scroll-snap-align: center; transform: rotate(calc(-3deg + var(--i) * 1.5deg)); }
  .dd-g1 { display: none; }
  .gcard-sum { font-size: 22px; left: 10px; bottom: 6px; }
  .gcard-logo { left: 8px; top: 7px; padding: 2px 5px; }
  .gcard-logo .logo-text.xs { font-size: 10px !important; }
  .gcard-deco { display: none; }

  .cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .cgrid { grid-template-columns: 1fr; }
  .textblock.card { padding: 22px 18px; }

  .ftr { grid-template-columns: 1fr 1fr; gap: 22px 16px; padding-top: 30px; }
  .ftr-news { max-width: none; }
  .ftr-bottom .container { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ftr-bottom .dev { margin-left: 0; }
  .admin-fab { right: 12px; bottom: 12px; padding: 9px 14px; font-size: 13px; }
}

@media (max-width: 380px) {
  .hero-t1, .hero-t2 { font-size: 40px; }
  .cat { flex-basis: 56%; }
  .ftr { grid-template-columns: 1fr; }
}

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