/* Magic lama — студия воздушных шаров и подарков, Красноярск
   Жанр: candy (карамель). Пересборка: мятный фон и чёрная типографика,
   терракот — только на акцентных плашках. Приём подачи чисел — гирлянда
   шаров и строка-плакат вместо кольца и ряда одинаковых плиток. */

:root{
  /* светлая тема */
  --bg:            #E7F5E9;
  --bg-2:          #D9EEDD;
  --bg-deep:       #0E1712;
  --surface:       #FBFEFA;
  --surface-2:     #EDF6EC;
  --ink:           #14201A;
  --ink-soft:      #45564C;
  --on-bg:         #F5FBF4;
  --on-bg-soft:    rgba(245,251,244,.78);
  --accent:        #D9663B;
  --accent-2:      #E2814F;
  --accent-ink:    #FFF7F0;
  --pop:           #FF6F91;
  --line:          #CDE2CF;
  --shadow-1: 0 1px 2px rgba(14,23,18,.10), 0 18px 34px -18px rgba(14,23,18,.30);
  --shadow-2: 0 30px 60px -24px rgba(14,23,18,.38);
  --map-filter: none;
  color-scheme: light;
}

[data-theme="dark"]{
  --bg:            #101913;
  --bg-2:          #0C130F;
  --bg-deep:       #070B08;
  --surface:       #1B2620;
  --surface-2:     #223028;
  --ink:           #EAF3EA;
  --ink-soft:      #B9C7BC;
  --on-bg:         #F5FBF4;
  --on-bg-soft:    rgba(245,251,244,.78);
  --accent:        #E2814F;
  --accent-2:      #FF9A6B;
  --accent-ink:    #241008;
  --pop:           #FF8FA8;
  --line:          rgba(245,251,244,.16);
  --shadow-1: 0 1px 2px rgba(0,0,0,.5), 0 20px 40px -20px rgba(0,0,0,.7);
  --shadow-2: 0 34px 70px -26px rgba(0,0,0,.8);
  --map-filter: invert(0.9) hue-rotate(150deg) brightness(0.92) contrast(0.92);
  color-scheme: dark;
}

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

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}

img{ max-width: 100%; height: auto; display: block; -webkit-user-drag: none; user-select: none; }
a{ color: inherit; }
button{ font: inherit; }
h1,h2,h3,p,ul,figure{ margin: 0; }
ul{ padding: 0; list-style: none; }

::selection{ background: var(--pop); color: #1c0a10; }

:focus-visible{
  outline: 3px solid var(--pop);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- типографика --- */
.font-display{
  font-family: ui-sans-serif, "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  letter-spacing: -0.01em;
  line-height: 1.02;
}
.font-cond{
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", Arial, sans-serif;
  font-stretch: condensed;
}
.tag{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  background: color-mix(in oklch, var(--accent) 14%, var(--surface));
  color: var(--accent);
  border-radius: 999px;
  padding: .35rem .9rem;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-stretch: condensed;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.section--deep .tag{ background: rgba(245,251,244,.14); color: var(--on-bg); }

h1{ font-size: clamp(2.4rem, 5.6vw + .6rem, 4.6rem); }
h2{ font-size: clamp(1.7rem, 3.4vw + .7rem, 2.6rem); }
h3{ font-size: clamp(1.15rem, 1.2vw + .8rem, 1.4rem); }

.lede{
  font-size: clamp(1.05rem, .5vw + 1rem, 1.25rem);
  color: var(--ink-soft);
  max-width: 46ch;
}
.section--deep .lede{ color: var(--on-bg-soft); }

.nowrap{ white-space: nowrap; }

/* --- слой / контейнеры --- */
.wrap{
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
}
.column{
  width: min(100% - 2.5rem, 680px);
  margin-inline: auto;
}
.section{
  position: relative;
  padding-block: clamp(3.4rem, 7vw, 6.5rem);
  overflow: clip;
  background: var(--bg);
  color: var(--ink);
}
.section--card{ background: var(--surface); }
.section--deep{
  background: var(--bg-deep);
  color: var(--on-bg);
}
.section-head{
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

/* --- конфетти вместо блобов --- */
.confetti{
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.confetti span{
  position: absolute;
  border-radius: 50%;
}

/* --- шапка --- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklch, var(--surface) 90%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-1);
}
.site-header__row{
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-block: .7rem;
  color: var(--ink);
}
.brand{
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand__mark{ width: 40px; height: 40px; flex: none; }
.brand__name{
  font-family: ui-sans-serif, "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  line-height: 1.05;
}
.brand__sub{
  display: block;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-stretch: condensed;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.main-nav{
  display: flex;
  gap: 1.4rem;
}
.main-nav a{
  text-decoration: none;
  font-size: .92rem;
  color: var(--ink-soft);
  padding-block: .3rem;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.main-nav a:hover{ color: var(--ink); border-color: var(--accent); }

.icon-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.icon-btn:hover{ transform: translateY(-2px); background: color-mix(in oklch, var(--pop) 30%, var(--surface-2)); }
.icon-btn svg{ width: 20px; height: 20px; }

.burger{
  display: none;
  border: none;
  background: var(--surface-2);
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.burger span, .burger::before, .burger::after{
  content: "";
  position: absolute;
  left: 13px; right: 13px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger::before{ top: 16px; }
.burger span{ top: 22px; }
.burger::after{ top: 28px; }
.burger[aria-expanded="true"]::before{ transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"]::after{ transform: translateY(-6px) rotate(-45deg); }
.burger[aria-expanded="true"] span{ opacity: 0; }

.header-call{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .6rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
  box-shadow: var(--shadow-1);
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 44px;
}
.header-call:hover{ transform: translateY(-2px); }
.header-call svg{ width: 16px; height: 16px; flex: none; }

/* --- герой, две колонки --- */
.hero{
  position: relative;
  padding-block: clamp(2.6rem, 6vw, 4.5rem);
  overflow: clip;
}
.hero .wrap{
  display: grid;
  gap: clamp(2.2rem, 5vw, 3.5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 900px){
  .hero .wrap{ grid-template-columns: 1.15fr .85fr; }
  .hero__body{ order: 1; }
  .hero__balloon{ order: 2; }
}

.hero__body{ text-align: left; }
.hero h1{ margin-block: .6rem .9rem; }
.hero h1 em{
  font-style: normal;
  color: var(--accent);
  display: block;
}
.hero .lede{ margin-inline: 0; }
.hero__facts{
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: 1.5rem;
  font-size: .98rem;
  color: var(--ink);
}
.hero__facts li{ display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.hero__facts .dot{
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none;
}
.hero__cta{
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.8rem;
}

.hero__balloon{
  position: relative;
  width: min(70vw, 340px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.hero__balloon-shape{
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-2);
  border: 6px solid var(--surface);
  background: var(--surface-2);
}
.hero__balloon-shape img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__string{
  position: absolute;
  left: 50%;
  top: 100%;
  width: 3px;
  height: clamp(46px, 6vw, 74px);
  transform: translateX(-50%);
}
.hero__badge{
  position: absolute;
  right: -4%;
  top: 4%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-stretch: condensed;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .06em;
  text-align: center;
  line-height: 1.15;
  border-radius: 50%;
  width: 92px;
  height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .05em;
  padding: .4rem;
  box-shadow: var(--shadow-1);
  transform: rotate(9deg);
}
.hero__badge b{ display: block; font-size: 1.5rem; font-family: ui-sans-serif, sans-serif; font-stretch: normal; }

.btn{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  min-height: 44px;
}
.btn svg{ width: 18px; height: 18px; flex: none; }
.btn--primary{
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-1);
}
.btn--primary:hover{ transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn--ghost{
  background: color-mix(in oklch, var(--ink) 8%, transparent);
  color: var(--ink);
  border: 1px solid color-mix(in oklch, var(--ink) 24%, transparent);
}
.btn--ghost:hover{ background: color-mix(in oklch, var(--ink) 14%, transparent); }
.section--deep .btn--ghost{
  background: color-mix(in oklch, var(--on-bg) 14%, transparent);
  color: var(--on-bg);
  border-color: color-mix(in oklch, var(--on-bg) 30%, transparent);
}
.section--deep .btn--ghost:hover{ background: color-mix(in oklch, var(--on-bg) 22%, transparent); }
.btn--surface{
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.btn--surface:hover{ transform: translateY(-2px); }
.btn--block{ width: 100%; justify-content: center; }

/* --- карточки, чипы --- */
.card{
  background: var(--surface);
  color: var(--ink);
  border-radius: 26px;
  padding: 1.7rem;
  box-shadow: var(--shadow-1);
}
.chip-row{
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.2rem;
}
.chip{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--surface-2);
  color: var(--ink);
  padding: .55rem 1.05rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
}
.chip svg{ width: 15px; height: 15px; color: var(--accent); }

.two-col{
  display: grid;
  gap: 2.4rem;
  align-items: start;
}
@media (min-width: 860px){
  .two-col{ grid-template-columns: 1.1fr .9fr; }
}

/* --- сетка карточек-услуг --- */
.service-list li{
  display: flex;
  gap: .8rem;
  align-items: flex-start;
}
.service-list li + li{ margin-top: 1rem; }
.service-list__icon{
  width: 36px; height: 36px; flex: none;
  border-radius: 50%;
  background: color-mix(in oklch, var(--accent) 16%, var(--surface));
  display: flex; align-items: center; justify-content: center;
}
.service-list__icon svg{ width: 18px; height: 18px; color: var(--accent); }

/* --- цифры и факты: строка-плакат + гирлянда шаров --- */
.poster-line{
  margin-top: 1.6rem;
  font-family: ui-sans-serif, "Arial Black", sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw + 1rem, 2.5rem);
  line-height: 1.25;
  letter-spacing: -.01em;
}
.poster-line .sep{
  color: var(--accent-2);
  margin-inline: .35em;
  font-weight: 400;
}

.balloon-row{
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.6rem, 4vw, 3rem);
  margin-top: clamp(2.4rem, 5vw, 3.4rem);
}
.balloon-stat{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 128px;
  text-align: center;
}
.balloon-stat__shape{
  position: relative;
  width: 108px;
  height: 124px;
  flex: none;
}
.balloon-stat__shape svg{ width: 100%; height: 100%; }
.balloon-stat__shape:nth-child(1){ color: var(--accent); }
.balloon-stat:nth-child(2) .balloon-stat__shape{ color: var(--accent-2); }
.balloon-stat:nth-child(3) .balloon-stat__shape{ color: var(--pop); }
.balloon-stat__value{
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: ui-sans-serif, "Arial Black", sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 1.6vw + .9rem, 1.7rem);
  font-variant-numeric: tabular-nums;
  color: var(--accent-ink);
}
.balloon-stat__label{
  margin-top: .8rem;
  font-size: .86rem;
  color: var(--on-bg-soft);
  max-width: 16ch;
}

/* --- галерея / лайтбокс --- */
.gallery-frame{
  max-width: 460px;
}
.gallery-item{
  border: none;
  padding: 0;
  cursor: zoom-in;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
  aspect-ratio: 4/3;
  position: relative;
  background: var(--surface-2);
  transition: transform .2s ease;
  width: 100%;
}
.gallery-item:hover{ transform: translateY(-4px); }
.gallery-item img{ width: 100%; height: 100%; object-fit: cover; }
.gallery-item__zoom{
  position: absolute;
  right: .7rem; bottom: .7rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: color-mix(in oklch, var(--ink) 55%, transparent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item__zoom svg{ width: 16px; height: 16px; }

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8,12,10,.86);
  padding: 1.5rem;
}
.lightbox.is-open{ display: flex; }
.lightbox__frame{
  position: relative;
  max-width: min(92vw, 900px);
  max-height: 86vh;
}
.lightbox__frame img{
  max-width: 100%;
  max-height: 86vh;
  border-radius: 18px;
  box-shadow: var(--shadow-2);
}
.lightbox__close, .lightbox__prev, .lightbox__next{
  position: absolute;
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  background: rgba(251,254,250,.94);
  color: #1a241d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox__close{ top: -18px; right: -18px; }
.lightbox__prev{ left: -18px; top: 50%; transform: translateY(-50%); }
.lightbox__next{ right: -18px; top: 50%; transform: translateY(-50%); }
.lightbox__close svg, .lightbox__prev svg, .lightbox__next svg{ width: 20px; height: 20px; }

/* --- отзывы: крупная цитата + компактные карточки --- */
.quote-band{
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 32px;
  padding: clamp(2rem, 5vw, 3.4rem);
  position: relative;
}
.quote-band__mark{
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
  line-height: .6;
  opacity: .55;
  display: block;
  margin-bottom: .6rem;
}
.quote-band p{
  font-size: clamp(1.3rem, 2vw + 1rem, 2rem);
  font-weight: 700;
  line-height: 1.32;
  max-width: 34ch;
}
.quote-band footer{
  margin-top: 1.2rem;
  font-size: .9rem;
  opacity: .85;
}

.review-row{
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.4rem;
}
.review-card{
  background: var(--surface);
  color: var(--ink);
  border-radius: 20px;
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-1);
}
.review-card p{ color: var(--ink-soft); font-size: .92rem; }
.review-card footer{ margin-top: .6rem; font-size: .78rem; color: var(--ink-soft); }

/* --- контакты --- */
.contact-list{ display: flex; flex-direction: column; gap: 1.1rem; }
.contact-list dt{
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-stretch: condensed;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .74rem;
  color: var(--ink-soft);
}
.contact-list dd{
  margin: .15rem 0 0;
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}
.contact-list a{ text-decoration: none; }
.contact-list a:hover{ text-decoration: underline; }
.status-pill{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: color-mix(in oklch, var(--accent) 15%, var(--surface));
  color: var(--ink);
  padding: .5rem .9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
}
.status-pill .dot{ width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.status-pill .dot.is-open{ background: #3FA85C; }

.pay-list{ display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }

.social-row{ display: flex; gap: .6rem; margin-top: 1.2rem; }

/* --- карта --- */
.map-card{
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
  background: var(--surface-2);
}
.map{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  background: var(--surface-2);
}
.map.is-armed{ touch-action: none; cursor: grabbing; }
.map__tiles{
  position: absolute;
  top: 0; left: 0;
  will-change: transform;
}
.map__tiles img{
  position: absolute;
  width: 256px;
  height: 256px;
  user-select: none;
  -webkit-user-drag: none;
}
.map__pin{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  width: 40px; height: 52px;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 8px 10px rgba(14,23,18,.4));
}
[data-theme="dark"] .map__tiles img{ filter: var(--map-filter); }
.map__controls{
  position: absolute;
  right: .8rem; bottom: .8rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  z-index: 6;
}
.map__btn{
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map__btn:hover{ background: var(--surface-2); }
.map__recenter{
  position: absolute;
  left: .8rem; bottom: .8rem;
  z-index: 6;
  border: none;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  padding: .6rem .9rem;
  font-size: .82rem;
  font-weight: 700;
  display: none;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  min-height: 44px;
}
.map__recenter.is-visible{ display: inline-flex; }
.map__credit{
  position: absolute;
  left: .5rem; top: .5rem;
  z-index: 6;
  font-size: .68rem;
  background: rgba(255,255,255,.78);
  color: #333;
  padding: .1rem .4rem;
  border-radius: 6px;
}
.contact-card-row{
  display: grid;
  gap: 1.4rem;
}
@media (min-width: 760px){
  .contact-card-row{ grid-template-columns: 1fr 1fr; }
}

/* --- финальный призыв --- */
.cta-band{
  background: var(--accent);
  color: var(--accent-ink);
  padding-block: clamp(2.6rem, 5vw, 4rem);
  text-align: center;
}
.cta-band h2{ margin-bottom: .3rem; }
.cta-band .lede{ color: color-mix(in oklch, var(--accent-ink) 94%, transparent); margin-inline: auto; }
.cta-band .hero__cta{ margin-top: 1.6rem; justify-content: center; }

/* --- подвал --- */
.site-footer{
  background: var(--bg-deep);
  color: var(--on-bg);
  padding-block: clamp(2.6rem, 5vw, 3.6rem) 1.6rem;
}
.footer-grid{
  display: grid;
  gap: 2.2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.footer-brand{ display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.footer-brand__mark{ width: 34px; height: 34px; }
.site-footer h3{
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-bg-soft);
  margin-bottom: .8rem;
}
.footer-links{ display: flex; flex-direction: column; gap: .55rem; }
.footer-links a{ text-decoration: none; color: var(--on-bg); font-size: .95rem; }
.footer-links a:hover{ text-decoration: underline; }
.footer-bottom{
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(245,251,244,.18);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--on-bg-soft);
}
.footer-bottom a{ color: var(--on-bg-soft); }

/* --- плавающая кнопка звонка (моб.) --- */
.call-fab{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: none;
  padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
  background: color-mix(in oklch, var(--surface) 96%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 -10px 24px -18px rgba(14,23,18,.5);
}
@media (max-width: 640px){
  .call-fab{ display: block; }
}

/* --- появление при прокрутке: без прятанья до подтверждения от JS --- */
.reveal.reveal--pending{ opacity: 0; transform: translateY(18px); }
.reveal.is-visible{
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s ease;
}
@media (prefers-reduced-motion: reduce){
  .reveal.reveal--pending{ opacity: 1; transform: none; }
}

/* --- адаптивность шапки --- */
@media (max-width: 900px){
  .main-nav{ display: none; }
  .burger{ display: block; }
  .site-header__panel{
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    box-shadow: var(--shadow-2);
    padding: 1.2rem clamp(1.2rem, 5vw, 2rem) 1.6rem;
  }
  .site-header__panel.is-open{ display: block; }
  .site-header__panel .main-nav{
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .site-header__panel .main-nav a{
    padding: .8rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
}
@media (min-width: 901px){
  .site-header__panel{ display: none; }
}

@media (max-width: 640px){
  .header-call{ padding: .65rem .8rem; }
  .header-call .header-call__text{ display: none; }
  .hero__badge{ width: 78px; height: 78px; font-size: .64rem; right: -2%; }
  .hero__badge b{ font-size: 1.2rem; }
  .balloon-stat{ width: 96px; }
  .balloon-stat__shape{ width: 88px; height: 100px; }
}

.svg-visually-hidden{
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link{
  position: absolute;
  left: 1rem; top: -3rem;
  z-index: 200;
  background: var(--surface);
  color: var(--ink);
  padding: .7rem 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-1);
  transition: top .2s ease;
}
.skip-link:focus{ top: 1rem; }
