/* =====================================================================
   MAXER COLLECTION — швейная фабрика, пошив одежды. Бишкек, Кыргызстан.
   Айдентика: глубокий синий + технологичный голубой акцент. Опт и розница.
   Статический сайт (HTML/CSS/JS), логотип легко заменяется на файл.
   ===================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand palette — уверенный, технологичный синий */
  --ink:        #101827;   /* тёмный текст / тёмные секции */
  --ink-2:      #16213A;
  --primary:    #163B7A;   /* глубокий синий — основной бренд-цвет */
  --primary-600:#0F2B5C;
  --primary-050:#E9EFFB;
  --accent:     #2F6FED;   /* яркий голубой — акценты, CTA */
  --accent-600: #1E56C6;
  --accent-050: #EAF1FF;
  --gold:       #2F6FED;   /* алиас акцента (используется в маркетинговых блоках) */

  --cream:      #F5F7FB;   /* фон — холодный светло-серый */
  --cream-2:    #EBF0FA;
  --surface:    #FFFFFF;
  --surface-warm:#F8FAFD;
  --muted:      #5B6478;   /* вторичный текст — сине-серый */
  --muted-2:    #8A93A6;
  --line:       rgba(22,59,122,.13);
  --line-2:     rgba(22,59,122,.07);

  /* Semantic */
  --bg:         var(--cream);
  --text:       var(--ink);
  --on-dark:    #E9EEFBEE;
  --success:    #1FA971;

  /* Typography */
  --font-display: 'Montserrat', 'Manrope', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script:  'Montserrat', sans-serif;

  /* Type scale (fluid) */
  --fs-display: clamp(2.6rem, 6vw + .5rem, 5.4rem);
  --fs-h1:      clamp(2.1rem, 4vw + .5rem, 3.6rem);
  --fs-h2:      clamp(1.7rem, 2.4vw + .5rem, 2.6rem);
  --fs-h3:      clamp(1.25rem, 1.2vw + .6rem, 1.6rem);
  --fs-lead:    clamp(1.05rem, .5vw + .9rem, 1.3rem);
  --fs-body:    1rem;
  --fs-sm:      .875rem;
  --fs-xs:      .78rem;

  /* Spacing scale (8pt rhythm) */
  --sp-1: .5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;  --sp-4: 2rem;
  --sp-5: 3rem;   --sp-6: 4rem;   --sp-7: 6rem;    --sp-8: 8rem;

  /* Radius */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 34px; --r-pill: 999px;

  /* Shadows (elevation scale) */
  --sh-1: 0 1px 2px rgba(16,24,39,.06), 0 2px 8px rgba(16,24,39,.05);
  --sh-2: 0 6px 18px rgba(16,24,39,.08), 0 2px 6px rgba(16,24,39,.05);
  --sh-3: 0 18px 46px rgba(16,24,39,.16), 0 6px 14px rgba(16,24,39,.08);
  --sh-primary: 0 14px 30px rgba(22,59,122,.30);
  --sh-accent:  0 14px 30px rgba(47,111,237,.34);

  /* Layout */
  --container: 1200px;
  --container-wide: 1360px;
  --nav-h: 78px;

  /* Motion */
  --ease-out: cubic-bezier(.16,.84,.44,1);
  --ease-in-out: cubic-bezier(.65,.05,.36,1);
  --dur-1: .18s; --dur-2: .3s; --dur-3: .5s;

  /* Z-index scale */
  --z-nav: 100; --z-drawer: 200; --z-overlay: 190; --z-toast: 300;
}

/* ---------- 2. Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: 0; color: var(--ink); }
h1, h2 { text-transform: uppercase; letter-spacing: .012em; }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: 700; }
p  { color: var(--muted); }
strong { color: var(--ink); font-weight: 700; }

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2rem); }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--cream { background: var(--cream-2); }
.section--primary { background: var(--primary); color: #fff; }
.section--dark h1,.section--dark h2,.section--dark h3,
.section--primary h1,.section--primary h2,.section--primary h3 { color: #fff; }
.section--dark p, .section--primary p { color: rgba(233,238,251,.78); }

.grid { display: grid; gap: var(--sp-3); }
.stack > * + * { margin-top: var(--sp-2); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 46ch; }
.hidden { display: none !important; }

/* ---------- 4. Eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section--dark .eyebrow, .section--primary .eyebrow { color: var(--accent); }

.sec-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec-head.center { margin-inline: auto; }
.sec-head h2 { margin-top: .8rem; }
.sec-head p { margin-top: 1rem; font-size: var(--fs-lead); }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--primary); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: 0 1.6rem; border-radius: var(--r-pill);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid transparent;
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), background var(--dur-2);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-primary); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--accent); }
.btn--accent:hover { box-shadow: var(--sh-accent); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); box-shadow: var(--sh-2); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--primary); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); box-shadow: none; }
.btn--lg { min-height: 58px; padding: 0 2rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--primary);
  transition: gap var(--dur-1) var(--ease-out);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur-1) var(--ease-out); }
.link-arrow:hover { gap: .7rem; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 6. Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav); height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--dur-2) var(--ease-out), box-shadow var(--dur-2), height var(--dur-2);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; background: rgba(245,247,251,.75);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity var(--dur-2) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { height: 64px; }
.site-header.is-scrolled::before { opacity: 1; border-bottom-color: var(--line); box-shadow: var(--sh-1); }
.nav { position: relative; display: flex; align-items: center; gap: 1.5rem; width: 100%; }

/* MAXER wordmark (CSS-версия логотипа; заменить на .brand img, см. README) */
.brand { display: inline-flex; flex-direction: column; justify-content: center; line-height: 1; gap: 1px; }
.brand img { max-height: 48px; width: auto; }
.brand__word { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; text-transform: uppercase; line-height: 1; white-space: nowrap; letter-spacing: .01em; }
.brand__word b { font-weight: 900; background: linear-gradient(100deg, #4C8DFF 0%, var(--accent) 45%, var(--primary) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__word span { font-weight: 800; color: var(--primary); }
.brand__tag { font-family: var(--font-body); font-weight: 500; font-size: .82rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); line-height: .8; align-self: flex-end; margin-right: .05em; }
.site-header.is-scrolled .brand__word { font-size: 1.35rem; }

.nav__menu { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav__link {
  position: relative; padding: .55rem .8rem; border-radius: var(--r-sm);
  font-size: .95rem; font-weight: 600; color: var(--ink); transition: color var(--dur-1), background var(--dur-1);
}
.nav__link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .28rem; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav__link:hover { color: var(--primary); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--primary); }
.nav__actions { display: flex; align-items: center; gap: .6rem; margin-left: .5rem; }

.nav__burger {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); place-items: center; margin-left: auto;
}
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1);
}
.nav__burger span::before { transform: translateY(-6px); }
.nav__burger span::after  { transform: translateY(4px); }
body.nav-open .nav__burger span { background: transparent; }
body.nav-open .nav__burger span::before { transform: rotate(45deg); }
body.nav-open .nav__burger span::after  { transform: rotate(-45deg) translateY(-1.5px); }

/* Mobile drawer */
.nav__drawer {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px); z-index: var(--z-drawer);
  background: var(--surface); box-shadow: var(--sh-3); padding: calc(var(--nav-h) + 1rem) 1.5rem 2rem;
  transform: translateX(100%); transition: transform var(--dur-3) var(--ease-out);
  display: flex; flex-direction: column; gap: .25rem; overflow-y: auto;
}
body.nav-open .nav__drawer { transform: translateX(0); }
.nav__drawer a { padding: .9rem 1rem; border-radius: var(--r-sm); font-weight: 600; font-size: 1.05rem; }
.nav__drawer a:hover, .nav__drawer a.is-active { background: var(--primary-050); color: var(--primary); }
.nav__drawer .btn { margin-top: 1rem; }
.nav-overlay {
  position: fixed; inset: 0; z-index: var(--z-overlay); background: rgba(16,24,39,.5);
  opacity: 0; visibility: hidden; transition: opacity var(--dur-2), visibility var(--dur-2);
}
body.nav-open .nav-overlay { opacity: 1; visibility: visible; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(2rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: clip; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
  animation: float 14s var(--ease-in-out) infinite;
}
.hero__blob--1 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(47,111,237,.45), transparent 70%); top: -120px; right: -80px; }
.hero__blob--2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(22,59,122,.30), transparent 70%); bottom: -140px; left: -100px; animation-delay: -5s; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__title { font-size: var(--fs-display); }
.hero__title .hl { color: var(--primary); position: relative; white-space: nowrap; }
.hero__title .hl svg { position: absolute; left: 0; right: 0; bottom: -.1em; width: 100%; height: .3em; }
.hero__lead { font-size: var(--fs-lead); margin-top: 1.4rem; max-width: 52ch; }
.hero__cta { margin-top: 2rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 3vw, 2.6rem); margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.hero__badges { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.6rem; }

.hero__media { position: relative; }
.hero__collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 14px; aspect-ratio: 1 / 1.06; }
.hero__collage .media { border-radius: var(--r-lg); }
.hero__collage .media:nth-child(1) { grid-row: span 2; }
.hero__collage .media:nth-child(2) { grid-row: span 1; }
.hero__collage .media:nth-child(3) { grid-row: span 2; }
.hero__collage .media:nth-child(4) { grid-row: span 1; }
.hero__float {
  position: absolute; bottom: 6%; left: -6%; background: var(--surface); border-radius: var(--r-md);
  box-shadow: var(--sh-3); padding: .85rem 1.1rem; display: flex; align-items: center; gap: .75rem;
  animation: float 7s var(--ease-in-out) infinite;
}
.hero__float .ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-050); color: var(--accent-600); }
.hero__float .ic svg { width: 22px; height: 22px; }
.hero__float b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.hero__float span { font-size: var(--fs-xs); color: var(--muted); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- 7b. Arc gallery hero ---------- */
.arc-hero { position: relative; overflow: hidden; padding-top: var(--nav-h); padding-bottom: clamp(3rem, 6vw, 5rem);
  background: radial-gradient(130% 105% at 50% -12%, #eef3fd 0%, #eaf0fb 42%, var(--cream) 72%); }
.arc-hero__glow { position: absolute; left: 50%; top: -14%; width: 72vw; max-width: 920px; aspect-ratio: 1;
  transform: translateX(-50%); background: radial-gradient(circle, rgba(47,111,237,.20), transparent 62%); pointer-events: none; }
.arc-hero__ribbon { position: absolute; left: 50%; top: 3%; transform: translateX(-50%); font-family: var(--font-display);
  font-weight: 800; font-size: clamp(3rem, 8vw, 7rem); color: rgba(22,59,122,.08); white-space: nowrap; pointer-events: none; user-select: none; z-index: 0; text-transform: uppercase; letter-spacing: .02em; }
.arc-stage { position: relative; width: 100%; }
.arc-pivot { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); animation: arcFloat 9s var(--ease-in-out) infinite; }
@keyframes arcFloat { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }
.arc-card { position: absolute; opacity: 0; transition: opacity .8s var(--ease-out); }
.arc-card.in { opacity: 1; }
.arc-card__inner { width: 100%; height: 100%; border-radius: 18px; overflow: hidden; background: #fff;
  border: 4px solid #fff; box-shadow: 0 16px 34px rgba(16,24,39,.20), 0 4px 10px rgba(16,24,39,.10);
  transition: transform .5s var(--ease-out); }
.arc-card__inner:hover { transform: scale(1.06) rotate(0deg) !important; z-index: 40; box-shadow: 0 24px 50px rgba(16,24,39,.28); }
.arc-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arc-content { position: relative; z-index: 5; text-align: center; margin-inline: auto; max-width: 860px;
  padding: 0 1.25rem; margin-top: -8.5rem; }
.arc-content::before { content: ""; position: absolute; left: 50%; top: -4rem; transform: translateX(-50%);
  width: 155%; height: 175%; z-index: -1; pointer-events: none;
  background: radial-gradient(62% 60% at 50% 46%, var(--cream) 0%, var(--cream) 54%, rgba(245,247,251,.9) 66%, rgba(245,247,251,0) 84%); }

/* Premium stat bar */
.hero-statbar { display: inline-flex; align-items: stretch; margin-top: 2.5rem; position: relative; overflow: hidden;
  background: rgba(255,255,255,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.15rem .4rem;
  box-shadow: 0 22px 50px rgba(16,24,39,.16), 0 4px 12px rgba(16,24,39,.08), inset 0 1px 0 rgba(255,255,255,.7); }
.hero-statbar::before { content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.hstat { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .1rem clamp(1.1rem, 3vw, 2.1rem); position: relative; }
.hstat + .hstat::before { content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 20%, var(--line) 80%, transparent); }
.hstat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.hstat span { margin-top: .5rem; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 700; white-space: nowrap; }
@media (max-width: 420px) { .hero-statbar { padding: .9rem .2rem; } .hstat { padding: .1rem .75rem; } .hstat span { font-size: .6rem; letter-spacing: .08em; } }
.arc-content .hero__title { font-size: clamp(2.4rem, 5.4vw + .4rem, 5rem); }
.arc-content .hero__lead { margin-inline: auto; }
.arc-content .hero__cta { justify-content: center; }
.arc-content .hero__stats { justify-content: center; }
.arc-scroll { display: inline-flex; flex-direction: column; align-items: center; gap: .4rem; margin-top: 2.4rem; color: var(--muted); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; }
.arc-scroll span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); animation: bob 2s var(--ease-in-out) infinite; }
.arc-scroll svg { width: 16px; height: 16px; color: var(--primary); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (min-width: 640px) { .arc-content { margin-top: -11rem; } }
@media (min-width: 1024px) { .arc-content { margin-top: -13.5rem; } }
/* Mobile-баннер: дуга ниже шапки, плашка цифр всегда влезает */
@media (max-width: 640px) {
  .arc-hero { padding-top: calc(var(--nav-h) + 1.5rem); }
  .arc-content { margin-top: -5.5rem; }
  .arc-content .hero__lead { font-size: 1rem; }
  .hero-statbar { display: flex; width: 100%; max-width: 360px; margin-top: 2rem; padding: .9rem .25rem; }
  .hstat { flex: 1; min-width: 0; padding: .1rem .35rem; }
  .hstat b { font-size: 1.55rem; }
  .hstat span { font-size: .58rem; letter-spacing: .03em; }
  .arc-hero__ribbon { top: 5.5rem; font-size: 3.2rem; }
}

/* ---------- 8. Media / image placeholder ---------- */
.media {
  position: relative; overflow: hidden; background:
    linear-gradient(135deg, var(--g1, #dbe6fa), var(--g2, #b9cdf3));
  isolation: isolate;
}
.media::after { /* subtle pattern when no photo */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.35) 1.4px, transparent 1.6px);
  background-size: 18px 18px; z-index: 0;
}
.media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.media__glyph { position: absolute; inset: 0; display: grid; place-items: center; z-index: 0; color: rgba(255,255,255,.6); }
.media__glyph svg { width: 40%; height: 40%; opacity: .85; }
.media__tag {
  position: absolute; z-index: 2; left: 12px; bottom: 12px;
  background: rgba(255,255,255,.92); color: var(--ink); font-size: var(--fs-xs); font-weight: 700;
  padding: .35rem .7rem; border-radius: var(--r-pill); backdrop-filter: blur(4px);
}
.ratio-1 { aspect-ratio: 1/1; } .ratio-43 { aspect-ratio: 4/3; }
.ratio-34 { aspect-ratio: 3/4; } .ratio-169 { aspect-ratio: 16/9; }

/* ---------- 9. Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: var(--sp-3); box-shadow: var(--sh-1);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2), border-color var(--dur-2);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.card__ic {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-md);
  background: var(--primary-050); color: var(--primary); margin-bottom: 1.1rem;
}
.card__ic svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .95rem; }

/* Feature/offer card (image top) */
.offer {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-1); border: 1px solid var(--line-2);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2);
}
.offer:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.offer:hover .media img { transform: scale(1.06); }
.offer .media img { transition: transform var(--dur-3) var(--ease-out); }
.offer__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.offer__body h3 { margin-bottom: .5rem; }
.offer__body p { font-size: .93rem; flex: 1; }
.offer__body .link-arrow { margin-top: 1rem; }
.chip {
  display: inline-flex; align-items: center; gap: .35rem; font-size: var(--fs-xs); font-weight: 700;
  padding: .3rem .7rem; border-radius: var(--r-pill); background: var(--accent-050); color: var(--accent-600);
  align-self: flex-start; margin-bottom: .7rem;
}
.chip--primary { background: var(--primary-050); color: var(--primary); }
.chip--gold { background: #E7F0FF; color: #1E56C6; }

/* ---------- 10. Stats ---------- */
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: .5rem; font-size: var(--fs-sm); color: var(--muted); }
.section--dark .stat b, .section--primary .stat b { color: #fff; }
.section--dark .stat span, .section--primary .stat span { color: rgba(233,238,251,.7); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }

/* ---------- 11. Steps / process ---------- */
.steps { counter-reset: step; display: grid; gap: var(--sp-3); }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.step__num {
  counter-increment: step; display: grid; place-items: center; width: 52px; height: 52px; flex: none;
  border-radius: 14px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.step p { font-size: .95rem; }

/* ---------- 12. Marquee (categories / trust) ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--muted-2); white-space: nowrap; opacity: .8; text-transform: uppercase; letter-spacing: .02em; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- 13. Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__body h2 { margin-bottom: 1rem; }
.feature-list { margin-top: 1.6rem; display: grid; gap: 1rem; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; }
.feature-list .tick { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--accent-050); color: var(--accent-600); margin-top: .1rem; }
.feature-list .tick svg { width: 15px; height: 15px; }
.feature-list b { display: block; }
.feature-list span { font-size: .93rem; color: var(--muted); }

/* ---------- 14. Catalog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter {
  padding: .6rem 1.15rem; border-radius: var(--r-pill); border: 1.5px solid var(--line);
  background: var(--surface); font-weight: 600; font-size: .9rem; color: var(--muted);
  transition: all var(--dur-1) var(--ease-out);
}
.filter:hover { color: var(--primary); border-color: var(--primary); }
.filter.is-active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--sh-2); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.product { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); border: 1px solid var(--line-2); transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2); }
.product:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.product:hover .media img { transform: scale(1.07); }
.product .media img { transition: transform var(--dur-3) var(--ease-out); }
.product__body { padding: 1.1rem 1.2rem 1.3rem; }
.product__cat { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.product__body h3 { font-size: 1.1rem; margin: .3rem 0 .35rem; }
.product__body p { font-size: .88rem; }
.product__foot { display: flex; align-items: center; justify-content: space-between; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line-2); gap: .6rem; }
.product__meta { font-size: var(--fs-xs); color: var(--muted); }
.product__order { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-xs); font-weight: 700; color: var(--accent-600); }
.product__order svg { width: 16px; height: 16px; }

/* ---------- 15. Accordion (FAQ) ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; text-align: left; padding: 1.35rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.acc__q .ic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-050); color: var(--primary); transition: transform var(--dur-2) var(--ease-out), background var(--dur-2); }
.acc__q .ic svg { width: 18px; height: 18px; }
.acc.is-open .acc__q .ic { transform: rotate(45deg); background: var(--primary); color: #fff; }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-3) var(--ease-out); }
.acc.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; }
.acc__a p { padding-bottom: 1.35rem; max-width: 68ch; }

/* ---------- 16. Testimonials ---------- */
.quote { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 1rem; }
.quote__stars { color: var(--accent); display: flex; gap: 2px; }
.quote__stars svg { width: 18px; height: 18px; }
.quote p { color: var(--ink); font-size: 1.05rem; line-height: 1.6; }
.quote__who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.quote__ava { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.quote__who b { display: block; font-size: .95rem; }
.quote__who span { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- 17. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: linear-gradient(120deg, var(--primary), #122E63 55%, var(--ink)); color: #fff; padding: clamp(2.4rem, 6vw, 4.5rem); }
.cta-band__blob { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(47,111,237,.55), transparent 70%); top: -120px; right: -80px; filter: blur(30px); }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 52ch; margin-top: 1rem; }

/* ---------- 18. Forms ---------- */
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field label .req { color: var(--accent-600); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--surface); transition: border-color var(--dur-1), box-shadow var(--dur-1);
}
.field textarea { min-height: 128px; resize: vertical; padding-top: .9rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-050); }
.field .help { font-size: var(--fs-xs); color: var(--muted); }
.field.has-error input, .field.has-error textarea { border-color: var(--accent-600); box-shadow: 0 0 0 4px var(--accent-050); }
.field .error { font-size: var(--fs-xs); color: var(--accent-600); font-weight: 600; display: none; }
.field.has-error .error { display: block; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-note { font-size: var(--fs-xs); color: var(--muted); }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success.show { display: block; }
.form-success .ic { width: 64px; height: 64px; border-radius: 50%; background: #e6f6ee; color: var(--success); display: grid; place-items: center; margin: 0 auto 1rem; }
.form-success .ic svg { width: 32px; height: 32px; }

/* ---------- 19. Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(2.2rem, 5vw, 4rem)); padding-bottom: clamp(2.2rem, 5vw, 4rem); background: var(--ink); color: #fff; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(47,111,237,.45), transparent 70%); top: -160px; right: -80px; filter: blur(20px); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-top: .8rem; max-width: 20ch; }
.page-hero p { color: rgba(233,238,251,.78); margin-top: 1rem; font-size: var(--fs-lead); max-width: 60ch; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: var(--fs-sm); color: rgba(233,238,251,.6); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .5; }

/* ---------- 20. Footer ---------- */
.site-footer { background: var(--ink); color: rgba(233,238,251,.72); padding-top: clamp(3rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand__word b { background: linear-gradient(100deg, #7FB0FF 0%, #4C8DFF 45%, #9FC3FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-footer .brand__word span { color: #F0F4FE; }
.site-footer .brand__tag { color: rgba(233,238,251,.6); }
.footer-about p { margin-top: 1rem; font-size: .93rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-size: 1rem; margin-bottom: 1.1rem; }
.footer-col a { display: block; padding: .35rem 0; font-size: .93rem; color: rgba(233,238,251,.72); transition: color var(--dur-1); }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; padding: .4rem 0; font-size: .93rem; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: .2rem; color: var(--accent); }
.footer-socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; transition: background var(--dur-2), transform var(--dur-1); }
.footer-socials a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-socials svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem 0 2rem; font-size: var(--fs-xs); color: rgba(233,238,251,.5); }

/* ---------- 21. Floating WhatsApp ---------- */
.fab { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: var(--z-nav); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: var(--sh-3); transition: transform var(--dur-1); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }

/* ---------- 22. Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-reveal="scale"] { transform: scale(.94); }
[data-reveal-group] > * { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
[data-reveal-group].is-in > * { opacity: 1; transform: none; }

/* ---------- 23. Utilities ---------- */
.tag-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: var(--r-pill); background: rgba(47,111,237,.08); color: var(--primary); font-size: var(--fs-xs); font-weight: 700; }
.tag-pill--light { background: rgba(255,255,255,.12); color: #fff; }
.tag-pill svg { width: 15px; height: 15px; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: var(--sp-4); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }

/* ---------- 24. Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1040px) {
  .nav__menu, .nav__actions { display: none; }
  .nav__burger { display: grid; }
}
@media (max-width: 480px) {
  .brand__word { font-size: 1.28rem; }
  .brand__tag { font-size: .72rem; letter-spacing: .24em; }
}
@media (max-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .catalog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { border-radius: var(--r-lg); }
  .hero__float { left: 0; }
  .btn--block-sm { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

/* ---------- 24b. Адаптив для инлайн-сеток (перекрывает inline style) ---------- */
@media (max-width: 1024px) {
  .grid[style*="repeat(3"], .grid[style*="repeat(4"],
  [data-reveal-group][style*="repeat(3"], [data-reveal-group][style*="repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 680px) {
  .grid[style*="repeat"], [data-reveal-group][style*="repeat"] {
    grid-template-columns: 1fr !important;
  }
  .steps[style*="1fr 1fr"] { grid-template-columns: 1fr !important; gap: 0 !important; }
  .cta-band .split[style] { gap: 1.5rem !important; }
  .cta-band .btn-row[style] { justify-content: stretch !important; }
}

/* ---------- 25. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
  .hero__blob, .hero__float { animation: none !important; }
  .marquee__track { animation: none !important; }
}

/* ---------- 26. Print (basic) ---------- */
@media print { .site-header, .fab, .nav__drawer, .nav-overlay { display: none !important; } }
