/* ============================================================
   ГЕЛИОС-К — системы резервного питания
   Dark header + white body + yellow #f5c800 accent
   Font: Inter
   ============================================================ */


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

:root {
  --yellow:    #f5c800;
  --yellow-dk: #c9a300;
  --black:     #111111;
  --header-bg: #1c1c1c;
  --nav-bg:    #222222;
  --body-bg:   #ffffff;
  --text:      #111111;
  --muted:     #666666;
  --light:     #f5f5f5;
  --border:    #e2e2e2;
  --font:      'Inter', -apple-system, sans-serif;
  --rad:       30px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--body-bg); color: var(--text); }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--header-bg);
}

/* top row: logo | phones | messengers | CTA */
.header-top {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 44px;
  height: 58px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
  width: auto; height: auto;
  background: transparent;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; }
.logo-name { font-size: 21px; font-weight: 900; color: #fff; letter-spacing: .05em; }
.logo-name b { color: var(--yellow); }

.header-phones {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.hphone {
  display: flex; align-items: center; gap: 7px;
  color: #fff; font-size: 14px; font-weight: 600;
  white-space: nowrap;
}
.hphone i { color: var(--yellow); font-size: 13px; }

.header-msg { display: flex; gap: 7px; }
.msg-ico {
  width: 31px; height: 31px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: opacity .2s;
}
.msg-ico:hover { opacity: .75; }
.msg-ico.vb { background: #7360f2; color: #fff; }
.msg-ico.tg { background: #2aabee; color: #fff; }

.btn-order {
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .05em;
  padding: 9px 22px;
  border-radius: var(--rad);
  flex-shrink: 0;
  transition: background .2s;
}
.btn-order:hover { background: var(--yellow-dk); }

/* nav row */
.header-nav {
  background: var(--nav-bg);
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 44px;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.header-nav::-webkit-scrollbar { display: none; }

.nav-link {
  color: rgba(255,255,255,.68);
  font-size: 12px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 15px;
  border-radius: 20px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.09); }
.nav-link.active { color: var(--yellow); background: rgba(245,200,0,.13); }

/* burger */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px; padding: 4px;
  margin-left: auto;
}
.burger-btn span { display: block; height: 2px; background: #fff; border-radius: 2px; }

/* mobile drawer */
.mob-drawer {
  display: none;
  position: fixed; inset: 0; z-index: 300;
}
.mob-drawer.open { display: block; }
.mob-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.5);
}
.mob-panel {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 270px; background: var(--nav-bg);
  padding: 20px 0;
  overflow-y: auto;
}
.mob-close {
  position: absolute; top: 14px; right: 14px;
  color: #fff; font-size: 20px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
}
.mob-links { margin-top: 44px; }
.mob-links a {
  display: block; padding: 13px 26px;
  color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .2s;
}
.mob-links a:hover { color: var(--yellow); }

/* ════════════════════════════════════════
   TICKER
════════════════════════════════════════ */
.ticker {
  background: var(--yellow);
  overflow: hidden;
  white-space: nowrap;
  padding: 9px 0;
}
.ticker-inner {
  display: inline-block;
  animation: ticker 30s linear infinite;
}
.ticker-inner span {
  font-size: 12px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--black);
  padding: 0 28px;
}
@keyframes ticker { from { transform:translateX(0) } to { transform:translateX(-50%) } }

/* ════════════════════════════════════════
   HERO SLIDER
════════════════════════════════════════ */
.hero {
  position: relative;
  height: 580px;
  background: #111;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .8s;
  background-size: cover; background-position: center;
}
.hero-slide.on { opacity: 1; }

.hero-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to right,rgba(0,0,0,.65) 0%,rgba(0,0,0,.18) 60%,transparent 100%);
}

.hero-body {
  position: absolute; bottom: 72px; left: 72px;
  max-width: 520px; z-index: 2;
}
.hero-tag {
  display: inline-block;
  background: var(--yellow); color: var(--black);
  font-size: 10px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 13px; border-radius: 20px;
  margin-bottom: 14px;
}
.hero-title {
  font-size: 50px; font-weight: 900; color: #fff;
  line-height: 1.05; letter-spacing: -.02em;
  margin-bottom: 14px;
}
.hero-sub { font-size: 16px; color: rgba(255,255,255,.78); line-height: 1.5; margin-bottom: 26px; }
.hero-cta {
  display: inline-block;
  background: var(--yellow); color: var(--black);
  font-weight: 800; font-size: 13px; letter-spacing: .04em;
  padding: 13px 30px; border-radius: var(--rad);
  transition: background .2s, transform .15s;
}
.hero-cta:hover { background: var(--yellow-dk); transform: translateY(-1px); }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.15); backdrop-filter: blur(4px);
  color: #fff; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.28); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

.hero-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.38); transition: background .3s, transform .3s;
}
.hero-dot.on { background: var(--yellow); transform: scale(1.3); }

/* ════════════════════════════════════════
   PAGE HERO (inner pages)
════════════════════════════════════════ */
.page-hero {
  height: 300px;
  background-size: cover; background-position: center;
  position: relative;
  display: flex; align-items: flex-end;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.18));
}
.page-hero-in {
  position: relative; z-index: 1;
  padding: 0 60px 30px;
}
.page-crumb { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.page-crumb a { color: rgba(255,255,255,.55); }
.page-crumb a:hover { color: var(--yellow); }
.page-h1 { font-size: 38px; font-weight: 900; color: #fff; letter-spacing: -.01em; }

/* ════════════════════════════════════════
   SECTION SHELL
════════════════════════════════════════ */
.sec { padding: 68px 60px; }
.sec-light { background: var(--light); }
.sec-dark  { background: var(--header-bg); }

.sec-hd { text-align: center; margin-bottom: 44px; }
.sec-sup {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--yellow-dk); background: rgba(245,200,0,.14);
  padding: 4px 13px; border-radius: 20px; margin-bottom: 12px;
}
.sec-title {
  font-size: 34px; font-weight: 900; letter-spacing: -.01em; line-height: 1.1;
}
.sec-dark .sec-title { color: #fff; }
.sec-sub { font-size: 15px; color: var(--muted); max-width: 540px; margin: 10px auto 0; line-height: 1.6; }
.sec-dark .sec-sub { color: rgba(255,255,255,.6); }

/* ════════════════════════════════════════
   PACKAGE CARDS
════════════════════════════════════════ */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
}
.pkg-card {
  border-radius: 14px; overflow: hidden;
  border: 1.5px solid var(--border); background: #fff;
  transition: box-shadow .25s, transform .25s;
}
.pkg-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.12); transform: translateY(-3px); }

.pkg-img {
  height: 210px; background-size: cover; background-position: center;
  position: relative;
}
.pkg-img-band {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
  padding: 22px 18px 12px;
}
.pkg-game { font-size: 16px; font-weight: 900; color: var(--yellow); text-transform: uppercase; letter-spacing: .04em; }
.pkg-params { font-size: 12px; color: rgba(255,255,255,.68); margin-top: 2px; }

.pkg-body { padding: 18px 20px; }
.pkg-name { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.pkg-list { list-style: none; margin-bottom: 18px; }
.pkg-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: #333; padding: 4px 0;
  border-bottom: 1px dashed #eee; line-height: 1.4;
}
.pkg-list li:last-child { border-bottom: none; }
.pkg-list li::before { content: '✓'; color: var(--yellow); font-weight: 700; font-size: 11px; margin-top: 1px; flex-shrink: 0; }
.pkg-price { font-size: 25px; font-weight: 900; margin-bottom: 14px; }
.pkg-price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.pkg-btn {
  display: block; text-align: center;
  background: var(--yellow); color: var(--black);
  font-weight: 800; font-size: 13px; letter-spacing: .04em;
  padding: 11px; border-radius: var(--rad);
  transition: background .2s;
}
.pkg-btn:hover { background: var(--yellow-dk); }

/* ════════════════════════════════════════
   EXTRAS LIST
════════════════════════════════════════ */
.extras {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--border); border-radius: 12px; overflow: hidden;
}
.extra {
  display: flex; align-items: center; gap: 16px;
  background: #fff; padding: 16px 22px;
  transition: background .2s;
}
.extra:hover { background: #fffce8; }
.extra-ico {
  width: 42px; height: 42px; border-radius: 9px;
  background: rgba(245,200,0,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow-dk); font-size: 17px; flex-shrink: 0;
}
.extra-info { flex: 1; }
.extra-name { font-size: 14px; font-weight: 700; }
.extra-hint { font-size: 12px; color: var(--muted); margin-top: 2px; }
.extra-r { display: flex; align-items: center; gap: 14px; }
.extra-price { font-size: 17px; font-weight: 900; white-space: nowrap; }
.extra-go {
  background: var(--yellow); color: var(--black);
  font-weight: 800; font-size: 12px; letter-spacing: .04em;
  padding: 7px 16px; border-radius: var(--rad);
  white-space: nowrap; transition: background .2s;
}
.extra-go:hover { background: var(--yellow-dk); }

/* ════════════════════════════════════════
   ACTIVITY BLOCKS (split image+text)
════════════════════════════════════════ */
.act-block {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: 14px; overflow: hidden;
  border: 1.5px solid var(--border); margin-bottom: 28px;
}
.act-block.flip { direction: rtl; }
.act-block.flip > * { direction: ltr; }
.act-img { background-size: cover; background-position: center; min-height: 320px; }
.act-body {
  padding: 44px 40px; background: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.act-tag {
  display: inline-block;
  background: var(--yellow); color: var(--black);
  font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 20px; margin-bottom: 13px;
}
.act-title { font-size: 26px; font-weight: 900; margin-bottom: 12px; letter-spacing: -.01em; }
.act-desc { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.act-facts { display: flex; gap: 22px; flex-wrap: wrap; }
.act-fact-val { font-size: 22px; font-weight: 900; }
.act-fact-lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }

/* ════════════════════════════════════════
   GAZEBO CARDS
════════════════════════════════════════ */
.gazebo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.gazebo-card {
  border-radius: 13px; overflow: hidden;
  border: 1.5px solid var(--border); background: #fff;
  transition: box-shadow .25s, transform .25s;
}
.gazebo-card:hover { box-shadow: 0 6px 26px rgba(0,0,0,.1); transform: translateY(-2px); }
.gaz-img { height: 190px; background-size: cover; background-position: center; position: relative; }
.gaz-cap {
  position: absolute; top: 11px; right: 11px;
  background: var(--yellow); color: var(--black);
  font-size: 11px; font-weight: 800;
  padding: 3px 10px; border-radius: 20px;
}
.gaz-body { padding: 16px 18px; }
.gaz-name { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.gaz-desc { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 12px; }
.gaz-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.gaz-tag {
  background: var(--light); border: 1px solid var(--border);
  border-radius: 20px; font-size: 11px; font-weight: 600;
  padding: 2px 9px; color: #444;
}
.gaz-foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 12px;
}
.gaz-price { font-size: 19px; font-weight: 900; }
.gaz-price small { font-size: 12px; font-weight: 400; color: var(--muted); }

/* ════════════════════════════════════════
   CORPORATE BLOCK
════════════════════════════════════════ */
.corp-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.corp-img {
  height: 420px; border-radius: 14px;
  background-size: cover; background-position: center;
}
.corp-kicker { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow-dk); margin-bottom: 13px; }
.corp-title { font-size: 30px; font-weight: 900; margin-bottom: 16px; line-height: 1.15; }
.corp-text { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 22px; }
.corp-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.corp-feat { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.corp-feat i { color: var(--yellow-dk); font-size: 13px; }

/* ════════════════════════════════════════
   PRICE TABLES
════════════════════════════════════════ */
.price-tabs { display: flex; gap: 6px; margin-bottom: 28px; flex-wrap: wrap; }
.ptab {
  padding: 8px 20px; border-radius: var(--rad);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  border: 2px solid var(--border); color: var(--muted); background: #fff;
  transition: all .2s;
}
.ptab:hover { border-color: var(--yellow); color: var(--black); }
.ptab.on { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.price-pane { display: none; }
.price-pane.on { display: block; }

.ptable { width: 100%; border-collapse: collapse; }
.ptable thead tr { background: var(--header-bg); color: #fff; }
.ptable th { padding: 13px 18px; text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ptable td { padding: 13px 18px; font-size: 14px; border-bottom: 1px solid var(--border); }
.ptable tbody tr:hover { background: #fffce8; }
.ptable tbody tr:last-child td { border-bottom: none; }
.pt-name { font-weight: 600; }
.pt-note { font-size: 11px; color: var(--muted); margin-top: 2px; }
.pt-price { font-weight: 900; font-size: 16px; }
.pt-badge {
  display: inline-block; background: var(--yellow); color: var(--black);
  font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 20px;
}

/* ════════════════════════════════════════
   MENU GRID
════════════════════════════════════════ */
.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 14px;
}
.menu-card {
  border: 1.5px solid var(--border); border-radius: 11px;
  padding: 16px 18px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.menu-card:hover { border-color: var(--yellow); box-shadow: 0 3px 12px rgba(245,200,0,.15); }
.menu-card-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.menu-card-desc { font-size: 12px; color: var(--muted); line-height: 1.4; margin-bottom: 10px; }
.menu-card-price { font-size: 17px; font-weight: 900; }

/* ════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════ */
.cta-banner {
  position: relative;
  background-size: cover; background-position: center;
  padding: 76px 60px; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.64);
}
.cta-in {
  position: relative; z-index: 1;
  text-align: center; max-width: 580px; margin: 0 auto;
}
.cta-tag {
  display: inline-block;
  background: var(--yellow); color: var(--black);
  font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 13px; border-radius: 20px; margin-bottom: 16px;
}
.cta-title { font-size: 34px; font-weight: 900; color: #fff; margin-bottom: 10px; line-height: 1.1; }
.cta-sub  { font-size: 15px; color: rgba(255,255,255,.72); margin-bottom: 28px; line-height: 1.5; }
.cta-form { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; }
.cta-inp {
  flex: 1; min-width: 210px; max-width: 300px;
  padding: 13px 19px; border-radius: var(--rad);
  border: 1.5px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.11); color: #fff;
  font-size: 14px; font-family: var(--font); outline: none;
  backdrop-filter: blur(4px); transition: border-color .2s;
}
.cta-inp::placeholder { color: rgba(255,255,255,.48); }
.cta-inp:focus { border-color: var(--yellow); }
.cta-go {
  background: var(--yellow); color: var(--black);
  font-weight: 800; font-size: 13px; letter-spacing: .04em;
  padding: 13px 26px; border-radius: var(--rad); transition: background .2s;
}
.cta-go:hover { background: var(--yellow-dk); }

/* ════════════════════════════════════════
   STATS BAR
════════════════════════════════════════ */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--header-bg);
}
.stat-cell {
  padding: 34px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-cell:last-child { border-right: none; }
.stat-val { font-size: 38px; font-weight: 900; color: var(--yellow); letter-spacing: -.02em; }
.stat-lbl { font-size: 12px; color: rgba(255,255,255,.52); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* ════════════════════════════════════════
   SERVICES OVERVIEW (homepage grid)
════════════════════════════════════════ */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}
.srv-card {
  border-radius: 13px; overflow: hidden; position: relative;
  height: 270px; background-size: cover; background-position: center;
  cursor: pointer; transition: transform .3s;
}
.srv-card:hover { transform: scale(1.025); }
.srv-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.76) 30%, transparent 70%);
  transition: background .3s;
}
.srv-card:hover::before { background: linear-gradient(to top, rgba(0,0,0,.88) 40%, rgba(0,0,0,.28) 100%); }
.srv-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px; z-index: 1; }
.srv-name { font-size: 15px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.srv-sub  { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 3px; }
.srv-go {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--yellow); color: var(--black);
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 13px; border-radius: 20px; margin-top: 9px;
  opacity: 0; transform: translateY(5px);
  transition: opacity .25s, transform .25s;
}
.srv-card:hover .srv-go { opacity: 1; transform: none; }

/* ════════════════════════════════════════
   BIRTHDAY TEASER (homepage)
════════════════════════════════════════ */
.bday {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--header-bg); color: #fff; overflow: hidden;
}
.bday-img { min-height: 380px; background-size: cover; background-position: center; }
.bday-body {
  padding: 56px 52px;
  display: flex; flex-direction: column; justify-content: center;
}
.bday-kicker { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.bday-title { font-size: 34px; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 16px; }
.bday-text  { font-size: 14px; color: rgba(255,255,255,.64); line-height: 1.65; margin-bottom: 26px; }
.bday-btn {
  display: inline-block; align-self: flex-start;
  background: var(--yellow); color: var(--black);
  font-weight: 800; font-size: 13px; letter-spacing: .04em;
  padding: 13px 28px; border-radius: var(--rad); transition: background .2s;
}
.bday-btn:hover { background: var(--yellow-dk); }

/* ════════════════════════════════════════
   REVIEWS
════════════════════════════════════════ */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.rev-card { background: #fff; border: 1.5px solid var(--border); border-radius: 13px; padding: 22px; }
.rev-stars { color: var(--yellow); font-size: 13px; margin-bottom: 10px; }
.rev-text  { font-size: 14px; color: #333; line-height: 1.65; margin-bottom: 14px; }
.rev-author { display: flex; align-items: center; gap: 9px; }
.rev-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--yellow); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.rev-name { font-weight: 700; font-size: 13px; }
.rev-date { font-size: 11px; color: var(--muted); }

/* ════════════════════════════════════════
   SCROLL-TOP + TOAST
════════════════════════════════════════ */
.scroll-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 100;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--yellow); color: var(--black); font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
.scroll-top.show { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-2px); }

.toast {
  position: fixed; bottom: 78px; right: 26px; z-index: 500;
  background: var(--header-bg); color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 13px 20px; border-radius: 9px;
  border-left: 4px solid var(--yellow);
  box-shadow: 0 6px 22px rgba(0,0,0,.28);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s; transform: translateY(7px);
}
.toast.show { opacity: 1; pointer-events: all; transform: none; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: #111; color: rgba(255,255,255,.5);
  padding: 36px 60px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
}
.footer-logo { font-size: 17px; font-weight: 900; color: #fff; }
.footer-logo b { color: var(--yellow); }
.footer-copy { font-size: 13px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-links a:hover { color: var(--yellow); }
.footer-social { display: flex; gap: 9px; }
.footer-social a {
  width: 33px; height: 33px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.65);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--yellow); color: var(--black); }

/* ════════════════════════════════════════
   LEGAL — MAGAZINE LAYOUT
════════════════════════════════════════ */
.legal-wrap { max-width: 1080px; margin: 0 auto; padding: 56px 40px 80px; }
.legal-hed {
  font-size: 54px; font-weight: 900; line-height: 1;
  letter-spacing: -.03em; margin-bottom: 6px;
}
.legal-hed em { color: var(--yellow-dk); font-style: normal; }
.legal-date {
  font-size: 12px; color: var(--muted); font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 36px; padding-bottom: 22px;
  border-bottom: 2px solid var(--border);
}
.legal-body {
  display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start;
}
.legal-aside { position: sticky; top: 110px; }
.legal-toc-label {
  font-size: 10px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.legal-toc { list-style: none; border-left: 2px solid var(--border); }
.legal-toc a {
  display: block; padding: 7px 14px;
  font-size: 12px; font-weight: 600; color: var(--muted);
  border-left: 2px solid transparent; margin-left: -2px;
  transition: color .2s, border-color .2s; line-height: 1.4;
}
.legal-toc a:hover, .legal-toc a.on { color: var(--black); border-left-color: var(--yellow-dk); }
.legal-pills { margin-top: 28px; display: flex; flex-direction: column; gap: 5px; }
.legal-pill {
  display: block; padding: 8px 12px; border-radius: 7px;
  font-size: 12px; font-weight: 700; color: var(--muted);
  background: var(--light); text-align: center; letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.legal-pill:hover { background: #f5e980; color: var(--black); }
.legal-pill.on { background: var(--yellow); color: var(--black); }

.legal-main {}
.legal-ch { margin-bottom: 48px; scroll-margin-top: 120px; }
.legal-ch-bg {
  font-size: 76px; font-weight: 900; color: rgba(0,0,0,.045);
  line-height: 1; margin-bottom: -14px; letter-spacing: -.04em;
}
.legal-ch-ttl {
  font-size: 20px; font-weight: 800; margin-bottom: 18px;
  border-bottom: 2px solid var(--yellow); padding-bottom: 9px;
  display: inline-block;
}
.legal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 20px; }
.legal-p { font-size: 14px; line-height: 1.8; color: #333; margin-bottom: 14px; }
.legal-pull {
  border-left: 4px solid var(--yellow); padding: 13px 18px;
  background: #fffde8; border-radius: 0 8px 8px 0;
  font-size: 14px; font-style: italic; color: #444;
  margin: 22px 0; line-height: 1.6;
}
.legal-ul { margin: 0 0 14px 0; padding-left: 16px; }
.legal-ul li { font-size: 14px; line-height: 1.8; color: #333; margin-bottom: 4px; }
.legal-hl {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(245,200,0,.2); border-radius: 5px;
  padding: 2px 9px; font-weight: 700; font-size: 12px; color: #7a5f00;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .bday { grid-template-columns: 1fr; }
  .bday-img { min-height: 260px; }
  .act-block { grid-template-columns: 1fr; }
  .act-block.flip { direction: ltr; }
  .corp-wrap { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .legal-body { grid-template-columns: 1fr; }
  .legal-aside { position: static; }
}
@media (max-width: 768px) {
  .header-top { padding: 0 18px; }
  .header-phones, .header-msg { display: none; }
  .header-nav { display: none; }
  .burger-btn { display: flex; }
  .sec { padding: 44px 22px; }
  .hero { height: 460px; }
  .hero-body { left: 28px; bottom: 56px; }
  .hero-title { font-size: 34px; }
  .page-hero-in { padding: 0 22px 24px; }
  .page-h1 { font-size: 28px; }
  .cta-banner { padding: 56px 22px; }
  .cta-title { font-size: 26px; }
  .footer { padding: 28px 22px; flex-direction: column; text-align: center; }
  .legal-wrap { padding: 36px 18px 56px; }
  .legal-hed { font-size: 34px; }
  .legal-cols { grid-template-columns: 1fr; }
  .legal-ch-bg { font-size: 50px; }
}


/* Форма заявки: имя + телефон */
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-status {
  flex-basis: 100%;
  min-height: 20px;
  margin-top: 3px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
.form-status.success { color: #a8f0ba; }
.form-status.error { color: #ffb3b3; }
.cta-go:disabled {
  opacity: .65;
  cursor: wait;
}
@media (max-width: 760px) {
  .cta-form { flex-direction: column; align-items: stretch; }
  .cta-inp { width: 100%; max-width: none; min-width: 0; }
  .cta-go { width: 100%; }
}


/* GELIOS-K SEO/CRO upgrade */
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:45px 6%;text-align:center;background:#111;color:#fff}
.trust-grid b{display:block;font-size:42px;color:#f5c800}.trust-grid span{display:block;margin-top:8px}
.cta-block{margin:50px 6%;padding:45px;border-radius:20px;background:#111;color:#fff;text-align:center}.cta-block h2{font-size:36px}.cta-block a{display:inline-block;background:#f5c800;color:#111;padding:16px 35px;border-radius:14px;font-weight:700;margin-top:20px}
@media(max-width:768px){.trust-grid{grid-template-columns:repeat(2,1fr)}.cta-block h2{font-size:26px}}

/* New Gelios-K logo */
.logo-img { width: 90px; height: auto; max-height:56px; display:block; object-fit:contain; }
.logo-icon { display:flex; align-items:center; }
.footer-logo img { width:120px; height:auto; display:block; }
@media(max-width:768px){ .logo-img{width:85px; max-height:52px;} .footer-logo img{width:130px;} }

.full-calculator {
    padding: 50px 20px;
    text-align: center;
}

.full-calculator iframe {
    width: 100%;
    max-width: 1100px;
    min-height: 900px;
    border: 0;
    margin-top: 30px;
    border-radius: 20px;
}

@media(max-width:768px){
    .full-calculator iframe {
        min-height: 1050px;
    }
}


/* Accessibility and UX refinements */
html { scroll-padding-top: 118px; }
[id] { scroll-margin-top: 118px; }
body.menu-open { overflow: hidden; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #2878ff;
  outline-offset: 3px;
}
.hero-dot { border: 0; padding: 0; display: block; flex: 0 0 auto; }
.hero-slide[aria-hidden="true"] { pointer-events: none; }
.consent-row {
  flex-basis: 100%; display: flex; align-items: flex-start; gap: 9px;
  max-width: 640px; margin: 4px auto 2px; text-align: left;
  color: rgba(255,255,255,.82); font-size: 12px; line-height: 1.5;
}
.consent-row input { flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--yellow); }
.cta-inp:focus-visible { outline: 3px solid #2878ff; outline-offset: 3px; }
.consent-row a { color: var(--yellow); text-decoration: underline; text-underline-offset: 2px; }
.consent-row a:hover { color: #fff; }
.toast.error { border-left-color: #ff7979; }
.footer-social a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.72); }
.footer-social a:hover { color: var(--yellow); }
.footer-social i { font-size: 19px; }
@media (max-width: 768px) {
  html { scroll-padding-top: 84px; }
  [id] { scroll-margin-top: 84px; }
  .header-top { min-height: 62px; height: auto; }
  .logo-img { max-width: min(180px, 52vw); }
  .hero-arrow { width: 38px; height: 38px; }
  .hero-arrow.prev { left: 10px; }
  .hero-arrow.next { right: 10px; }
  .hero-body { right: 22px; }
  .trust-grid { padding: 30px 18px; gap: 16px; }
  .trust-grid b { font-size: 32px; }
  .cta-banner { padding: 48px 18px; }
  .consent-row { font-size: 11px; }
  .scroll-top { bottom: 18px; right: 18px; }
  .toast { left: 16px; right: 16px; bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-inner { animation: none !important; }
}


/* Equipment catalog */
.catalog-sec { background: #fff; }
.catalog-price-note { display:flex; align-items:flex-start; gap:12px; max-width:1100px; margin:0 auto 28px; padding:16px 18px; border:1px solid #eadb8a; border-radius:12px; background:#fffdf0; color:#4e4a35; font-size:13px; line-height:1.55; }
.catalog-price-note > i { color:var(--yellow-dk); font-size:18px; margin-top:2px; flex:0 0 auto; }
.catalog-price-note strong { color:#292929; }
.catalog-toolbar { max-width:1200px; margin:0 auto 18px; }
.catalog-search-wrap { display:flex; align-items:center; gap:10px; padding:0 16px; height:50px; border:1px solid var(--border); background:#fff; border-radius:12px; color:var(--muted); max-width:420px; }
.catalog-search-wrap:focus-within { border-color:#d1ad00; box-shadow:0 0 0 3px rgba(245,200,0,.16); }
.catalog-search-wrap i { flex:0 0 auto; }
.catalog-search-wrap input { border:0; outline:0; width:100%; min-width:0; color:var(--black); background:transparent; font:inherit; font-size:14px; }
.catalog-search-wrap input:focus-visible { outline:0; }
.catalog-filters { display:flex; gap:8px; flex-wrap:wrap; margin-top:18px; }
.catalog-filter { appearance:none; border:1px solid var(--border); background:#fff; color:#303030; border-radius:999px; padding:10px 15px; font:inherit; font-size:12px; font-weight:700; cursor:pointer; transition:background .18s,border-color .18s,color .18s; }
.catalog-filter:hover { border-color:#d3b000; background:#fffbed; }
.catalog-filter.is-active { background:var(--yellow); border-color:var(--yellow); color:#111; }
.catalog-meta { max-width:1200px; margin:0 auto 16px; display:flex; align-items:center; justify-content:space-between; gap:16px; color:var(--muted); font-size:13px; }
.catalog-sort-label { display:flex; align-items:center; gap:10px; white-space:nowrap; }
.catalog-sort-label select { min-width:190px; padding:9px 34px 9px 12px; border:1px solid var(--border); border-radius:9px; color:#222; background:#fff; font:inherit; cursor:pointer; }
.catalog-grid { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; align-items:stretch; }
.catalog-card { min-width:0; display:flex; flex-direction:column; overflow:hidden; border:1px solid #e5e5e5; border-radius:16px; background:#fff; transition:transform .22s,box-shadow .22s,border-color .22s; }
.catalog-card:hover { transform:translateY(-4px); border-color:#e1cc50; box-shadow:0 14px 34px rgba(0,0,0,.09); }
.catalog-card[hidden] { display:none !important; }
.catalog-photo { height:220px; position:relative; background:#f7f7f5; overflow:hidden; }
.catalog-photo img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s; }
.catalog-card:hover .catalog-photo img { transform:scale(1.025); }
.catalog-badge { position:absolute; top:13px; left:13px; border-radius:999px; padding:6px 10px; color:#1b1b1b; background:var(--yellow); font-size:10px; font-weight:800; letter-spacing:.02em; }
.catalog-card-body { display:flex; flex-direction:column; flex:1; padding:19px 19px 17px; }
.catalog-category { color:#857000; text-transform:uppercase; font-size:10px; font-weight:800; letter-spacing:.11em; margin-bottom:7px; }
.catalog-card h3 { margin:0 0 9px; color:#171717; font-size:18px; line-height:1.32; font-weight:800; }
.catalog-desc { margin:0; color:#6b6b6b; font-size:12px; line-height:1.6; min-height:58px; }
.catalog-specs { display:flex; flex-wrap:wrap; gap:6px; margin:15px 0 18px; }
.catalog-specs span { border-radius:6px; padding:6px 8px; background:#f5f5f2; color:#424242; font-size:10px; font-weight:700; }
.catalog-card-bottom { display:flex; flex-direction:column; align-items:stretch; gap:13px; margin-top:auto; padding-top:14px; border-top:1px solid #ededed; }
.catalog-price { display:flex; flex-direction:column; gap:1px; }
.catalog-price small { color:#777; font-size:11px; }
.catalog-price strong { color:#171717; font-size:25px; line-height:1.2; font-weight:900; letter-spacing:-.03em; }
.catalog-buy { min-height:43px; display:flex; justify-content:center; align-items:center; gap:9px; padding:11px 12px; border-radius:9px; background:var(--yellow); color:#141414; text-align:center; font-size:11px; font-weight:900; letter-spacing:.035em; text-transform:uppercase; transition:background .18s; }
.catalog-buy:hover { background:var(--yellow-dk); }
.catalog-empty { max-width:1200px; margin:18px auto 0; padding:32px 20px; text-align:center; color:var(--muted); border:1px dashed #d6d6d6; border-radius:14px; background:#fafafa; }
.catalog-help-sec { padding-top:60px; }
.catalog-help-grid { max-width:1120px; margin:0 auto; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.catalog-help-item { display:flex; flex-direction:column; align-items:flex-start; gap:8px; padding:22px; border:1px solid #e6e6e6; border-radius:13px; background:#fff; }
.catalog-help-item i { display:flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:11px; background:rgba(245,200,0,.18); color:#9a8000; font-size:18px; }
.catalog-help-item strong { font-size:15px; font-weight:800; }
.catalog-help-item span { color:var(--muted); font-size:12px; line-height:1.55; }
.product-request-note { display:none; width:100%; max-width:640px; margin:0 auto 8px; padding:12px 14px; border:1px solid rgba(245,200,0,.55); border-radius:10px; background:rgba(245,200,0,.11); color:#fff; text-align:left; font-size:13px; line-height:1.5; }
.product-request-note.is-visible { display:block; }
@media(max-width:1050px) { .catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .catalog-photo { height:230px; } }
@media(max-width:768px) { .catalog-sec,.catalog-help-sec { padding:46px 18px; } .catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } .catalog-photo { height:165px; } .catalog-card-body { padding:13px 12px 12px; } .catalog-card h3 { font-size:15px; } .catalog-desc { font-size:11px; min-height:0; } .catalog-price strong { font-size:21px; } .catalog-specs { margin:11px 0 13px; gap:5px; } .catalog-specs span { font-size:9px; padding:5px 6px; } .catalog-buy { font-size:9px; padding:10px 7px; letter-spacing:0; } .catalog-badge { top:8px; left:8px; font-size:9px; padding:5px 7px; } .catalog-meta { align-items:flex-start; flex-direction:column; } .catalog-sort-label { width:100%; justify-content:space-between; } .catalog-sort-label select { min-width:0; flex:1; max-width:240px; } .catalog-filters { gap:6px; } .catalog-filter { padding:8px 11px; font-size:11px; } .catalog-help-grid { grid-template-columns:1fr; } .catalog-price-note { font-size:12px; padding:13px; } }
@media(max-width:410px) { .catalog-grid { grid-template-columns:1fr; } .catalog-photo { height:220px; } .catalog-card h3 { font-size:17px; } .catalog-desc { font-size:12px; } .catalog-buy { font-size:10px; } }
