/* ================================================================
   MOSOKNA.KZ — design system
   shared by index.html + pages/*.html
   ================================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); color: var(--tb); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--fb); }
svg { display: block; }

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* dark palette */
  --deep:  #09142A;
  --card:  #10213E;
  --navy:  #0D1E3C;
  --night: #050D1B;

  /* light palette */
  --light: #EFF5FB;
  --white: #ffffff;

  /* brand */
  --blue:  #1A55D8;
  --blue2: #2468F0;
  --blue3: #5B9FFF;
  --blue4: #7AB2FF;
  --glow:  rgba(26,85,216,.22);

  /* status */
  --green: #25D366;   /* whatsapp */
  --gold:  #E8A022;   /* stars */
  --live:  #2EE07A;   /* live dot */
  --red:   #E14B4B;

  /* text */
  --tb:    #2A3858;   /* text on light */
  --tmu:   #5D709A;   /* muted on light */
  --td:    #DCE8FA;   /* text on dark */
  --tm:    #7A90B5;   /* muted on dark */

  /* borders */
  --bd:    rgba(255,255,255,.07);
  --bd2:   rgba(255,255,255,.14);
  --bl:    rgba(42,56,88,.11);
  --bl2:   rgba(42,56,88,.20);

  /* shape */
  --r:    12px;
  --rs:    8px;
  --rl:   20px;

  /* layout */
  --hh:    72px;          /* header height */
  --phh:   34px;          /* pre-header height */
  --maxw: 1240px;

  /* fonts */
  --fh: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --fb: 'Golos Text', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- LAYOUT HELPERS ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.row { display: flex; align-items: center; gap: 12px; }
.col { display: flex; flex-direction: column; gap: 12px; }
.hidden { display: none !important; }

/* ---------- PRE-HEADER ---------- */
.preh {
  background: var(--night);
  color: var(--tm);
  font: 500 12px/1 var(--fh);
  height: var(--phh);
  display: none;
  align-items: center;
  border-bottom: 1px solid var(--bd);
}
.preh__in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 20px;
}
.preh__l, .preh__r {
  display: flex;
  align-items: center;
  gap: 16px;
}
.preh__city::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue4);
  margin-right: 6px;
  vertical-align: middle;
}
.preh__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--live);
}
.preh__live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 var(--live);
  animation: pulse 2s infinite;
}
.preh__live.off { color: #E8A022; }
.preh__live.off::before { background: #E8A022; animation: none; box-shadow: none; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46,224,122,.55); }
  70%  { box-shadow: 0 0 0 7px rgba(46,224,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,224,122,0); }
}
.preh a:hover { color: #fff; }
@media (min-width: 720px) { .preh { display: flex; } }

/* ---------- HEADER ---------- */
.hd {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--hh);
  background: rgba(9,20,42,.97);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bd);
}
.hd__in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}
.hd__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.hd__logo img { height: 40px; width: auto; filter: brightness(1.1); }
.hd__logo span {
  display: none;
  color: #fff;
  font: 800 19px/1 var(--fh);
  letter-spacing: -.01em;
}
.hd__nav { display: none; flex: 1; }
.hd__nav ul { display: flex; gap: 22px; list-style: none; }
.hd__nav a {
  color: var(--td);
  font: 600 13.5px var(--fh);
  transition: color .2s var(--ease);
  position: relative;
  padding: 6px 0;
}
.hd__nav a:hover { color: #fff; }
.hd__nav a.current { color: #fff; }
.hd__nav a.current::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--blue);
}
.hd__r {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hd__ph {
  display: none;
  color: #fff;
  font: 700 14px var(--fh);
  white-space: nowrap;
}
.hd__ph em { color: var(--blue4); font-style: normal; margin-right: 4px; }
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.burger.o span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.o span:nth-child(2) { opacity: 0; }
.burger.o span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
@media (max-width: 719px) {
  .hd__r .btn { display: none; }
}
@media (min-width: 980px) {
  .hd__nav { display: flex; }
  .hd__ph  { display: inline-block; }
  .burger  { display: none; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--rs);
  cursor: pointer;
  font: 700 14px var(--fh);
  white-space: nowrap;
  padding: 12px 20px;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease), box-shadow .25s var(--ease);
  text-align: center;
}
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue2); transform: translateY(-1px); box-shadow: 0 10px 28px var(--glow); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.22);
}
.btn--ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.5); }
.btn--wa {
  background: var(--green);
  color: #fff;
}
.btn--wa:hover { background: #1ea957; transform: translateY(-1px); }
.btn--outline {
  background: #fff;
  color: var(--tb);
  border: 1.5px solid var(--bl2);
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--block { display: flex; width: 100%; }

/* ---------- MOBILE NAV ---------- */
.mnav {
  display: none;
  position: fixed;
  top: var(--hh);
  left: 0; right: 0; bottom: 0;
  background: var(--deep);
  z-index: 99;
  padding: 28px 24px;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}
.mnav.o { display: flex; }
.mnav a {
  color: #fff;
  font: 700 18px var(--fh);
  padding: 14px 0;
  border-bottom: 1px solid var(--bd);
}
.mnav .mtel { margin-top: 22px; color: var(--blue4); font-size: 22px; }
.mnav .mcta { margin-top: 8px; }

/* ---------- HERO ---------- */
.hero {
  min-height: 92vh;
  background: var(--deep);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 48px 20px 72px;
}
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 70% 40%, rgba(26,85,216,.22) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 15% 75%, rgba(26,85,216,.12) 0%, transparent 50%);
}
.hero__dots {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: radial-gradient(var(--blue4) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero__visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  display: none;
}
.hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg,
    rgba(9,20,42,1) 0%,
    rgba(9,20,42,.95) 28%,
    rgba(9,20,42,.72) 50%,
    rgba(9,20,42,.2) 72%,
    rgba(9,20,42,0) 100%);
  z-index: 2;
}
.hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% center;
  position: absolute;
  inset: 0;
}
.hero__in {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}
.hero__content { max-width: 660px; display: flex; flex-direction: column; gap: 22px; }
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,85,216,.15);
  border: 1px solid rgba(26,85,216,.3);
  color: var(--blue4);
  font: 700 11px var(--fh);
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: .08em;
  text-transform: uppercase;
  width: fit-content;
}
.hero__pill::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue4);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .3; }
}
.hero__h1 {
  font: 800 clamp(36px, 6.5vw, 64px) var(--fh);
  color: #fff;
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.hero__h1 b { color: var(--blue3); }
.hero__sub {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--td);
  line-height: 1.65;
  max-width: 520px;
}
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--live);
  font: 600 13px var(--fh);
  margin-top: -4px;
}
.hero__live::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 var(--live);
  animation: pulse 2s infinite;
}
.hero__live.off { color: #E8A022; }
.hero__live.off::before { background: #E8A022; animation: none; box-shadow: none; }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 36px;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid var(--bd);
}
.hero__stats > div { flex-shrink: 0; }
.stat__n {
  font: 800 clamp(26px, 4vw, 34px) var(--fh);
  color: #fff;
  white-space: nowrap;
}
.stat__n em { color: var(--blue3); font-style: normal; }
.stat__l {
  font-size: 11px;
  color: var(--tm);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 2px;
}
@media (min-width: 720px) { .hero__visual { display: block; } }

/* ---------- BRAND STRIP ---------- */
.brands {
  background: var(--night);
  padding: 26px 20px;
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
}
.brands__in {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 32px;
  align-items: center;
  justify-items: center;
}
.brands__label {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--tm);
  font: 600 11px var(--fh);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.brand {
  height: 28px;
  opacity: .65;
  filter: brightness(0) invert(1);
  transition: opacity .2s var(--ease);
}
.brand:hover { opacity: 1; }
@media (min-width: 720px) {
  .brands__in { grid-template-columns: auto repeat(6, 1fr); }
  .brands__label { grid-column: auto; text-align: left; margin-bottom: 0; }
}

/* ---------- SECTION BASE ---------- */
.sec {
  padding: 80px 20px;
}
.sec--dk { background: var(--deep); }
.sec--nv { background: var(--navy); }
.sec--lt { background: var(--light); }
.sec__in { max-width: var(--maxw); margin: 0 auto; }
.sec__hd { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; max-width: 720px; }
.sec__tag {
  display: inline-block;
  font: 700 11px var(--fh);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  width: fit-content;
}
.sec--dk .sec__tag, .sec--nv .sec__tag { color: var(--blue4); }
.sec__h {
  font: 800 clamp(28px, 4vw, 42px) var(--fh);
  color: var(--tb);
  line-height: 1.15;
  text-wrap: balance;
  letter-spacing: -.015em;
}
.sec--dk .sec__h, .sec--nv .sec__h { color: #fff; }
.sec__p {
  font-size: 16px;
  color: var(--tmu);
  line-height: 1.7;
  max-width: 560px;
}
.sec--dk .sec__p, .sec--nv .sec__p { color: var(--td); }

/* ---------- PRODUCTS ---------- */
.pgrid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.pc {
  position: relative;
  display: block;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--card);
  aspect-ratio: 4/3;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pc:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(9,20,42,.45); }
.pc img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.pc:hover img { transform: scale(1.06); }
.pc__ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,20,42,.96) 0%, rgba(9,20,42,.35) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
}
.pc__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--blue);
  color: #fff;
  font: 700 10.5px var(--fh);
  padding: 5px 11px;
  border-radius: 100px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pc__t { font: 700 19px var(--fh); color: #fff; }
.pc__s { font-size: 13px; color: rgba(255,255,255,.66); margin-top: 4px; }
.pc__p {
  margin-top: 10px;
  font: 700 14px var(--fh);
  color: var(--blue4);
}
.pc__p em { font-style: normal; opacity: .7; font-weight: 500; }
@media (min-width: 600px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- ADVANTAGES ---------- */
.agrid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.ac {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.ac:hover { border-color: rgba(26,85,216,.5); transform: translateY(-3px); }
.ac__ic {
  width: 46px; height: 46px;
  min-width: 46px;
  border-radius: 11px;
  background: rgba(26,85,216,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue4);
}
.ac__ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ac__t { font: 700 16px var(--fh); color: #fff; margin-bottom: 5px; }
.ac__d { font-size: 13.5px; color: var(--td); line-height: 1.6; }
@media (min-width: 600px) { .agrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .agrid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- STEPS ---------- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--bl);
}
.step:last-child { border-bottom: none; }
.step__n {
  width: 46px; height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font: 800 17px var(--fh);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__t { font: 700 17px var(--fh); color: var(--tb); margin-bottom: 4px; }
.step__d { font-size: 14px; color: var(--tmu); line-height: 1.6; }
.step__m { font: 600 12px var(--fh); color: var(--blue); margin-top: 6px; text-transform: uppercase; letter-spacing: .08em; }
@media (min-width: 980px) {
  .steps {
    flex-direction: row;
    gap: 0;
  }
  .step {
    flex-direction: column;
    text-align: center;
    align-items: center;
    border-bottom: none;
    padding: 0 14px;
    flex: 1;
    position: relative;
  }
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 23px;
    left: calc(50% + 32px);
    right: calc(-50% + 32px);
    height: 2px;
    background: linear-gradient(90deg, var(--blue), rgba(26,85,216,.18));
  }
  .step__n { margin-bottom: 14px; }
}

/* ---------- CALCULATOR ---------- */
.calc {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 28px;
}
.c__row { margin-bottom: 22px; }
.c__lbl {
  font-size: 13px;
  font-weight: 600;
  color: var(--tm);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}
.c__lbl span { color: #fff; font-size: 15px; font-weight: 700; }
input[type=range] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px var(--glow);
  cursor: pointer;
}
input[type=range]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  cursor: pointer;
}
.pbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.pbtn {
  padding: 9px 15px;
  border-radius: var(--rs);
  border: 1px solid var(--bd2);
  background: transparent;
  color: var(--td);
  font: 600 13px var(--fh);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.pbtn:hover { border-color: var(--blue4); color: #fff; }
.pbtn.a { background: var(--blue); border-color: var(--blue); color: #fff; }
.cks { display: grid; grid-template-columns: 1fr; gap: 10px; }
.ck {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--rs);
  border: 1px solid var(--bd2);
  background: rgba(255,255,255,.03);
  cursor: pointer;
  transition: all .2s var(--ease);
  color: var(--td);
  font: 500 14px var(--fb);
}
.ck:hover { border-color: var(--blue4); }
.ck input { accent-color: var(--blue); width: 18px; height: 18px; cursor: pointer; flex-shrink: 0; }
.ck span.pr { margin-left: auto; color: var(--blue4); font-weight: 600; font-size: 13px; }
@media (min-width: 720px) { .cks { grid-template-columns: 1fr 1fr; } }
.c__res {
  background: rgba(26,85,216,.11);
  border: 1px solid rgba(26,85,216,.32);
  border-radius: var(--rs);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}
.c__pl { font-size: 12.5px; color: var(--tm); margin-bottom: 4px; }
.c__pv { font: 800 30px var(--fh); color: #fff; line-height: 1.1; }
.c__pv small { font-size: 16px; color: var(--tm); margin-left: 4px; }
.c__pn { font-size: 11.5px; color: var(--tm); margin-top: 6px; max-width: 220px; line-height: 1.4; }
.c__act { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- GALLERY ---------- */
.gtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.gtab {
  padding: 9px 15px;
  border-radius: 100px;
  border: 1px solid var(--bl2);
  background: transparent;
  color: var(--tb);
  font: 600 13px var(--fh);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.gtab:hover { border-color: var(--blue); color: var(--blue); }
.gtab.a { background: var(--blue); border-color: var(--blue); color: #fff; }
.ggrid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
.gi {
  border-radius: var(--rs);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--card);
  cursor: pointer;
  position: relative;
  transition: transform .25s var(--ease);
}
.gi:hover { transform: translateY(-2px); }
.gi img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gi:hover img { transform: scale(1.05); }
.gi__cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(9,20,42,.92) 0%, transparent 100%);
  padding: 14px;
  color: #fff;
}
.gi__t { font: 700 14px var(--fh); margin-bottom: 2px; }
.gi__s { font-size: 12px; opacity: .75; }
.gi:first-child { grid-column: span 2; aspect-ratio: 16/8; }
@media (min-width: 980px) {
  .ggrid { grid-template-columns: repeat(3, 1fr); }
  .gi:first-child { grid-column: span 2; aspect-ratio: 16/9; }
}

/* ---------- LIGHTBOX ---------- */
.lbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(9,20,42,.96);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lbox.o { display: flex; }
.lbox__cl {
  position: absolute;
  top: 22px; right: 22px;
  background: rgba(255,255,255,.1);
  border: 1px solid var(--bd2);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lbox img {
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--r);
}
.lbox__cap {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font: 600 14px var(--fh);
  background: rgba(0,0,0,.5);
  padding: 8px 16px;
  border-radius: 100px;
}

/* ---------- REVIEWS ---------- */
.rrating {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.rrating__score {
  font: 800 38px var(--fh);
  color: var(--gold);
  line-height: 1;
}
.rrating__sub { font-size: 13px; color: var(--tmu); }
.rrating__sub b { color: var(--tb); }
.rrating__stars { color: var(--gold); font-size: 17px; letter-spacing: 2px; }
.rrating__src {
  margin-left: auto;
  display: flex;
  gap: 14px;
  align-items: center;
}
.rrating__src a {
  font: 600 13px var(--fh);
  color: var(--tmu);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.rrating__src a:hover { color: var(--blue); }
.rlist {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.rv {
  background: var(--white);
  border: 1px solid var(--bl);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: 0 4px 20px rgba(9,20,42,.06);
}
.rv__stars { color: var(--gold); font-size: 16px; margin-bottom: 10px; letter-spacing: 2px; }
.rv__tx { font-size: 14.5px; color: var(--tb); line-height: 1.72; margin-bottom: 14px; }
.rv__ft { display: flex; justify-content: space-between; align-items: center; }
.rv__au { font: 700 14px var(--fh); color: var(--tb); }
.rv__dt { font-size: 12px; color: var(--tmu); }
.rv__vf {
  font: 700 11px var(--fh);
  color: var(--blue);
  background: rgba(26,85,216,.09);
  padding: 4px 9px;
  border-radius: 100px;
}
@media (min-width: 720px) { .rlist { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .rlist { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 8px; max-width: 880px; }
.fi {
  border: 1px solid var(--bl);
  border-radius: var(--rs);
  overflow: hidden;
  background: var(--white);
}
.fi__q {
  padding: 18px 20px;
  font: 600 15px var(--fh);
  color: var(--tb);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  transition: background .2s var(--ease);
  user-select: none;
}
.fi__q:hover { background: var(--light); }
.fi__q::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .25s var(--ease);
  line-height: 1;
}
.fi.o .fi__q::after { transform: rotate(45deg); }
.fi__a {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--tmu);
  line-height: 1.75;
}
.fi.o .fi__a { display: block; }

/* ---------- CONTACTS ---------- */
.cgrid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.cinfo { display: flex; flex-direction: column; gap: 16px; }
.ci { display: flex; gap: 14px; align-items: flex-start; }
.ci__ic {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: rgba(26,85,216,.13);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue4);
}
.ci__ic svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ci__lbl {
  font-size: 11px;
  color: var(--tm);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 4px;
}
.ci__v { font: 600 15px var(--fh); color: #fff; line-height: 1.5; }
.ci__v a { color: #fff; }
.ci__v a:hover { color: var(--blue4); }
.map-wrap {
  border-radius: var(--r);
  overflow: hidden;
  height: 280px;
  background: var(--card);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }
.form { display: flex; flex-direction: column; gap: 10px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--rs);
  border: 1px solid var(--bd2);
  background: rgba(255,255,255,.05);
  color: #fff;
  font: 400 14.5px var(--fb);
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: var(--tm); }
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--blue);
  background: rgba(26,85,216,.07);
}
.form select { color: var(--td); }
.form select option { background: var(--navy); color: #fff; }
.form select:required:invalid { color: var(--tm); }
.form__priv {
  font-size: 11.5px;
  color: var(--tm);
  line-height: 1.55;
  margin-top: 4px;
}
.form__priv a { color: var(--blue4); text-decoration: underline; }
.socrow { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.sbtn {
  padding: 11px 18px;
  border-radius: var(--rs);
  font: 700 13.5px var(--fh);
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}
.sbtn--wa { background: var(--green); }
.sbtn--wa:hover { background: #1ea957; }
.sbtn--ig { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.sbtn--ig:hover { filter: brightness(1.05); }
@media (min-width: 980px) { .cgrid { grid-template-columns: 1fr 1fr; } }

/* ---------- BREADCRUMBS ---------- */
.bc {
  background: var(--light);
  padding: 14px 20px;
  border-bottom: 1px solid var(--bl);
}
.bc__in {
  max-width: var(--maxw);
  margin: 0 auto;
  font: 500 12.5px var(--fb);
  color: var(--tmu);
}
.bc__in a { color: var(--tmu); transition: color .2s var(--ease); }
.bc__in a:hover { color: var(--blue); }
.bc__in span[aria-current] { color: var(--tb); font-weight: 600; }
.bc__sep {
  display: inline-block;
  margin: 0 8px;
  color: var(--bl2);
}

/* ---------- PAGE HERO (inner pages) ---------- */
.phero {
  background: var(--deep);
  color: #fff;
  padding: 56px 20px 68px;
  position: relative;
  overflow: hidden;
}
.phero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(26,85,216,.18) 0%, transparent 60%);
  pointer-events: none;
}
.phero__in {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
.phero__tag {
  display: inline-block;
  font: 700 11px var(--fh);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue4);
  margin-bottom: 14px;
}
.phero__h1 {
  font: 800 clamp(30px, 5vw, 48px) var(--fh);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin-bottom: 14px;
  max-width: 880px;
}
.phero__lead {
  font-size: 17px;
  color: var(--td);
  line-height: 1.6;
  max-width: 680px;
}

/* ---------- PROSE (article content) ---------- */
.prose { max-width: 760px; margin: 0 auto; padding: 60px 20px; color: var(--tb); font-size: 16px; line-height: 1.75; }
.prose h2 { font: 800 26px var(--fh); margin: 36px 0 14px; color: var(--tb); letter-spacing: -.01em; }
.prose h3 { font: 700 19px var(--fh); margin: 28px 0 10px; color: var(--tb); }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--tb); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 28px 0; }
.prose img { border-radius: var(--r); }
.prose figcaption { font-size: 13px; color: var(--tmu); margin-top: 8px; text-align: center; }
.prose blockquote {
  border-left: 3px solid var(--blue);
  padding: 6px 0 6px 18px;
  margin: 22px 0;
  color: var(--tb);
  font-style: italic;
}
.prose .specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--light);
  border-radius: var(--r);
  padding: 8px 0;
  margin: 22px 0;
}
.prose .specs > div {
  padding: 12px 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--bl);
  font-size: 14.5px;
}
.prose .specs > div:nth-last-child(-n+2) { border-bottom: none; }
.prose .specs span:first-child { color: var(--tmu); }
.prose .specs span:last-child { color: var(--tb); font-weight: 600; text-align: right; }

/* ---------- CTA BLOCK (reusable) ---------- */
.cta-block {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue2) 100%);
  border-radius: var(--rl);
  padding: 36px 28px;
  text-align: center;
  color: #fff;
  margin: 40px 0;
}
.cta-block h3 { font: 800 24px var(--fh); margin-bottom: 8px; line-height: 1.2; }
.cta-block p { font-size: 15px; opacity: .9; margin-bottom: 18px; }
.cta-block .btn { background: #fff; color: var(--blue); }
.cta-block .btn:hover { background: var(--light); }

/* ---------- FOOTER ---------- */
footer.ft {
  background: var(--night);
  padding: 48px 20px 28px;
  border-top: 1px solid var(--bd);
  color: var(--tm);
}
.ft__in {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.ft__col h4 {
  color: #fff;
  font: 700 14px var(--fh);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ft__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ft__col li a {
  font-size: 13.5px;
  color: var(--tm);
  transition: color .2s var(--ease);
}
.ft__col li a:hover { color: #fff; }
.ft__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ft__logo img { height: 36px; opacity: .8; filter: brightness(1.05); }
.ft__about { font-size: 13.5px; line-height: 1.65; max-width: 320px; }
.ft__addr { font-size: 13.5px; line-height: 1.7; }
.ft__addr a { color: var(--tm); }
.ft__addr a:hover { color: #fff; }
.ft__addr strong { color: #fff; font-weight: 600; }
.ft__bot {
  max-width: var(--maxw);
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--bd);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--tm);
}
.ft__bot a { color: var(--tm); text-decoration: underline; }
.ft__bot a:hover { color: #fff; }
@media (min-width: 720px) {
  .ft__in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ---------- FLOATING WHATSAPP ---------- */
.wa {
  position: fixed;
  bottom: 96px;
  right: 18px;
  z-index: 200;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa:hover { transform: scale(1.08); box-shadow: 0 8px 28px rgba(37,211,102,.55); }
.wa svg { width: 28px; height: 28px; fill: #fff; }
@media (min-width: 980px) {
  .wa { bottom: 32px; right: 28px; width: 58px; height: 58px; }
}

/* ---------- MOBILE BOTTOM BAR (3 buttons) ---------- */
.mbar {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: var(--deep);
  border-top: 1px solid var(--bd);
  padding: 10px 12px env(safe-area-inset-bottom);
  gap: 8px;
}
.mbar a {
  flex: 1;
  text-align: center;
  padding: 12px 6px;
  border-radius: var(--rs);
  font: 700 12.5px var(--fh);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
}
.mbar a svg { width: 16px; height: 16px; }
.mbar__c  { background: var(--blue); }
.mbar__m  { background: rgba(255,255,255,.08); border: 1px solid var(--bd2); }
.mbar__w  { background: var(--green); }
@media (min-width: 980px) { .mbar { display: none; } body { padding-bottom: 0 !important; } }
@media (max-width: 979px) {
  body { padding-bottom: 76px; }
  .mbar a.mbar__m { display: none; }   /* убираем "Замер" в нижнем баре на мобильных */
  .wa { display: none; }                /* убираем плавающую круглую WhatsApp на мобильных */
}

/* ---------- MODAL ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(9,20,42,.88);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.o { display: flex; }
.mb {
  background: var(--card);
  border-radius: var(--r);
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  border: 1px solid var(--bd);
  position: relative;
}
.mb__cl {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  color: var(--tm);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.mb__cl:hover { color: #fff; background: rgba(255,255,255,.08); }
.mb__t { font: 800 22px var(--fh); color: #fff; margin-bottom: 6px; }
.mb__s { font-size: 13.5px; color: var(--tm); margin-bottom: 22px; }
.ok { display: none; text-align: center; padding: 16px 0; }
.ok__i { font-size: 48px; margin-bottom: 12px; }
.ok__t { font: 700 20px var(--fh); color: #fff; margin-bottom: 6px; }
.ok__d { font-size: 13.5px; color: var(--tm); }

/* ---------- ANIMATE ON SCROLL ---------- */
.anim {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.anim.vis { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .anim, .anim.vis { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- SCROLL OFFSET (sticky header) ---------- */
section[id] { scroll-margin-top: calc(var(--hh) + 16px); }
