/* ==========================================================================
   Ден на авиацията 2026 - публична страница
   Строго правило: никъде няма заоблени ъгли.
   ========================================================================== */

:root {
  --bg:        #0e202d;
  --bg-deep:   #0a1822;
  --surface:   #13293a;
  --accent:    #eec432;
  --accent-dim:#b8952a;
  --text:      #ffffff;
  --text-mut:  rgba(255,255,255,0.68);
  --line:      rgba(238,196,50,0.22);
  --line-soft: rgba(255,255,255,0.10);

  --container: 1240px;
  --pad:       24px;
  --gap-sec:   72px;
}

@media (min-width: 900px) {
  :root { --pad: 48px; --gap-sec: 120px; }
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after {
  box-sizing: border-box;
  border-radius: 0;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: 'Fira Sans', 'Raleway', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.02;
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(1.6rem, 7.7vw, 4.2rem);
}
@media (min-width: 900px) {
  h1 {
    font-size: clamp(2.1rem, 3.5vw, 4.2rem);
    white-space: nowrap;
  }
}
h2 { font-size: clamp(2.4rem, 4.8vw, 4rem); }
h3 { font-size: 1.9rem; }
h4 { font-size: 1.35rem; }

p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--accent); text-decoration: none; transition: color 220ms ease; }
a:hover { color: var(--text); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--bg);
  padding: 12px 20px;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------- контейнери */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding: var(--gap-sec) 0; }
.section-alt { background: var(--bg-deep); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-intro { color: var(--text-mut); font-size: 1.125rem; margin-top: 16px; }

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-mut);
  margin: 0 0 20px;
}

.prose { color: var(--text-mut); }
.rich-text p,
.hero-sub p,
.section-intro p,
.prose p,
.prog-body p,
.zones p,
.pkg-desc p,
.note p,
.footer-text p { margin: 0 0 0.85em; }
.rich-text p:last-child,
.hero-sub p:last-child,
.section-intro p:last-child,
.prose p:last-child,
.prog-body p:last-child,
.zones p:last-child,
.pkg-desc p:last-child,
.note p:last-child,
.footer-text p:last-child { margin-bottom: 0; }
.hero-sub a,
.section-intro a,
.prose a,
.prog-body a,
.zones a,
.pkg-desc a,
.note a,
.footer-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.18em; }
.rt-small { font-size: 0.9em; }
.rt-large { font-size: 1.15em; }
.rt-larger { font-size: 1.3em; }
.hero-sub ul, .hero-sub ol,
.section-intro ul, .section-intro ol,
.prose ul, .prose ol,
.prog-body ul, .prog-body ol,
.zones ul, .zones ol,
.pkg-desc ul, .pkg-desc ol,
.note ul, .note ol,
.footer-text ul, .footer-text ol { margin: 0.6em 0 0.85em 1.25em; padding: 0; color: var(--text-mut); }
.note {
  color: var(--text-mut);
  font-size: 0.9375rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
  margin-top: 32px;
}

/* ---------------------------------------------------------------- бутони */
.btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--accent);
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
  cursor: pointer;
  text-align: center;
}
.btn-solid { background: var(--accent); color: var(--bg); }
.btn-solid:hover, .btn-solid:focus-visible { background: transparent; color: var(--accent); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--accent); color: var(--bg); }

/* ------------------------------------------------------------- навигация */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease;
}
.nav.is-stuck {
  background: var(--bg);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}
.nav-brand {
  display: flex;
  align-items: center;
  flex: 0 0 200px;
  position: relative;
  z-index: 111;
}
.nav-brand img { width: 100%; height: auto; }
.nav-brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta { padding: 12px 22px; color: var(--bg); }
.nav-cta:hover { color: var(--accent); }
.lang-switch {
  min-width: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.24);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0;
}
.nav-lang-desktop {
  display: inline-flex;
}
.nav-lang-mobile {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text);
  font-size: 0.8125rem;
  text-transform: uppercase;
}
.nav-lang-mobile:hover { color: var(--accent); }
html[lang="en"] .table-scroll::before { content: "→ Swipe for more"; }

.nav-toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 12px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.nav-toggle-bar {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--text);
  transition: transform 220ms ease, opacity 220ms ease;
}

@media (max-width: 1199px) {
  .nav-toggle { display: flex; right: calc(var(--pad) - 12px); }
  .nav-lang-desktop { display: none; }
  .nav-lang-mobile {
    display: inline-flex;
    right: calc(var(--pad) + 46px);
    z-index: 111;
  }
  .nav-inner { justify-content: flex-start; }
  .nav-brand { flex-basis: auto; width: min(200px, calc(100% - 110px)); }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    background: var(--bg);
    gap: 28px;
    transform: translateX(100%);
    transition: transform 220ms ease;
    font-size: 1.25rem;
  }
  .nav-links a { font-size: 1rem; }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links-static {
    position: static;
    flex-direction: row;
    margin-left: auto;
    gap: 12px;
    transform: none;
    background: transparent;
  }
  .nav-links-static a { font-size: 0.8125rem; }
  .nav-open .nav-toggle { z-index: 110; }
  .nav-open .nav-toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .nav-toggle-bar:last-child { transform: translateY(-4px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  padding: calc(82px + var(--gap-sec)) 0 var(--gap-sec);
  border-bottom: 1px solid var(--line-soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text,
.hero-media {
  min-width: 0;
}
.hero-text {
  display: flex;
  flex-direction: column;
}
.hero-text h1 { text-transform: uppercase; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; }
}
.hero-sub {
  color: var(--text-mut);
  font-size: 1.1875rem;
  max-width: 46ch;
  margin-bottom: 36px;
}
.hero-subheading {
  max-width: 36ch;
  margin: 0 0 20px;
  color: var(--text);
  font-family: 'Fira Sans', 'Raleway', system-ui, sans-serif;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.14;
  overflow-wrap: break-word;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.hero-logos-block {
  display: flex;
  flex-direction: column;
  order: 0;
}
.hero-organizers-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mut);
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  margin-bottom: 16px;
  overflow-wrap: break-word;
}
.hero-organizers-label p {
  margin: 0 0 0.55em;
}
.hero-organizers-label p:last-child {
  margin-bottom: 0;
}
.hero-organizers-label strong {
  color: var(--text);
}
.hero-media img { width: 100%; height: auto; object-fit: cover; }
.hero-media-empty {
  border: 1px solid var(--line);
  color: var(--line);
  padding: 48px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------- логата */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.logo-carousel {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}
.logo-carousel.is-dragging { cursor: grabbing; }
.logo-carousel::-webkit-scrollbar { display: none; }
.logo-row-carousel {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
  margin: 0;
  padding-bottom: 2px;
}
.logo-row-carousel .logo-item {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  min-height: 72px;
}
.logo-row-carousel .logo-item a,
.logo-row-carousel .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-row-carousel .logo-item a {
  width: 100%;
  min-height: 72px;
}
.logo-item img {
  width: auto;
  height: auto;
  max-height: 40px;
  max-width: 100%;
  opacity: 1;
}
@media (max-width: 699px) {
  .hero-text .eyebrow { order: 1; }
  .hero-text h1 { order: 2; }
  .hero-subheading { order: 3; }
  .hero-logos-block {
    order: 4;
    display: contents;
  }
  .hero-logos-block .logo-carousel {
    order: 4;
    margin: 4px 0 28px;
  }
  .hero-sub { order: 5; }
  .hero-actions { order: 6; }
  .hero-organizers-label {
    order: 7;
  }
  .hero-organizers-label {
    letter-spacing: 0.08em;
  }
  .logo-row-carousel {
    gap: 8px;
    padding-right: 4px;
  }
  .logo-row-carousel .logo-item {
    flex-basis: calc((100% - 20px) / 3);
    min-height: 56px;
  }
  .logo-row-carousel .logo-item a {
    min-height: 56px;
  }
  .logo-row-carousel .logo-item img {
    width: auto;
    height: auto;
    max-height: 28px;
    max-width: 96px;
  }
}
.logo-row-wide { justify-content: center; gap: 40px; }

/* ------------------------------------------------------------ партньори */
.section-partners {
  padding-top: calc(var(--gap-sec) * 0.65);
}
.section-partners .section-head {
  margin-bottom: 32px;
}
.partners-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
}
@media (min-width: 700px) {
  .partners-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .partners-logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.partner-logo-item {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.partner-logo-item img {
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 62px;
}

/* -------------------------------------------------------------- брояч */
.countdown {
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-deep);
}
.countdown-title {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--text-mut);
  padding-top: 20px;
  margin: 0;
}
.countdown-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.cd-cell {
  padding: 28px 12px;
  text-align: center;
  border-left: 1px solid var(--line-soft);
}
.cd-cell:first-child { border-left: 0; }
.cd-num {
  display: block;
  font-family: 'Fira Sans', 'Raleway', system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.cd-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-mut);
  margin-top: 8px;
}
.countdown-past {
  padding: 32px 12px;
  text-align: center;
  font-family: 'Fira Sans', 'Raleway', system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--accent);
}

/* --------------------------------------------------------- за събитието */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 0.9fr 1.1fr; gap: 72px; }
}
.about-image {
  width: 100%;
  height: auto;
  margin-top: 28px;
  border: 1px solid var(--line-soft);
}

/* ------------------------------------------------------------- програма */
.program { display: flex; flex-direction: column; gap: 1px; }
.prog-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  background: var(--surface);
  border-left: 1px solid var(--accent);
  padding: 26px 28px;
}
@media (min-width: 700px) {
  .prog-item { grid-template-columns: 200px 1fr; gap: 32px; align-items: start; }
}
.prog-item.is-highlight {
  border-left: 3px solid var(--accent);
  background: #17334a;
}
.prog-time {
  font-family: 'Fira Sans', 'Raleway', system-ui, sans-serif;
  font-size: 1.625rem;
  color: var(--accent);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.prog-body h3 { font-size: 1.25rem; margin-bottom: 6px; color: var(--text); }
.prog-body div { color: var(--text-mut); margin: 0; font-size: 1rem; }

.zones {
  margin-top: 40px;
  border: 1px solid var(--line);
  padding: 32px;
}
.zones h3 { font-size: 1.25rem; color: var(--accent); }
.zones p { color: var(--text-mut); margin-bottom: 0.6em; }
.zones p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- пакети */
.pkg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
@media (min-width: 900px) {
  .pkg-grid { grid-template-columns: repeat(3, 1fr); }
}
.pkg {
  position: relative;
  background: var(--surface);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}
.pkg.is-featured {
  outline: 1px solid var(--accent);
  outline-offset: -1px;
  background: #17334a;
}
.pkg-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 7px 12px;
}
.pkg-name { font-size: 1.5rem; margin-bottom: 12px; }
.pkg-price {
  font-family: 'Fira Sans', 'Raleway', system-ui, sans-serif;
  font-size: 2.75rem;
  color: var(--accent);
  line-height: 1;
  margin: 0 0 16px;
}
.pkg-tagline {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mut);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.pkg-desc { color: var(--text-mut); font-size: 1rem; margin-bottom: 28px; }
.pkg-btn { margin-top: auto; align-self: flex-start; }

/* --------------------------------------------------- сравнителна таблица */
.table-block { margin-top: 72px; }
.table-title { font-size: 1.75rem; margin-bottom: 24px; }
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  -webkit-overflow-scrolling: touch;
}
.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 720px;
}
.cmp th, .cmp td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
  vertical-align: middle;
}
.cmp thead th {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  position: sticky;
  top: 0;
  z-index: 2;
}
.cmp-th-name { display: block; font-size: 1rem; }
.cmp-th-price {
  display: block;
  font-family: 'Fira Sans', 'Raleway', system-ui, sans-serif;
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 4px;
  white-space: nowrap;
}
.cmp th.cmp-first,
.cmp td.cmp-first {
  text-align: left;
  font-weight: 400;
  color: var(--text);
  min-width: 300px;
  position: sticky;
  left: 0;
  background: var(--bg);
  z-index: 1;
}
.cmp thead .cmp-first { background: var(--bg-deep); z-index: 3; }
.cmp tbody tr:nth-child(odd) td,
.cmp tbody tr:nth-child(odd) .cmp-first {
  background: rgba(255,255,255,0.03);
}
.cmp tbody tr:nth-child(odd) .cmp-first { background: #101f2b; }
@media (max-width: 699px) {
  .cmp {
    min-width: 800px;
  }
  .cmp thead th:nth-child(2),
  .cmp tbody td:nth-child(2) {
    min-width: 170px;
  }
}
.cmp .cmp-group th {
  background: var(--accent);
  color: var(--bg);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  text-align: left;
  position: static;
}
.tick { color: var(--accent); display: inline-flex; }
.dash { color: var(--text-mut); }
.val { color: var(--text); }

/* -------------------------------------------------------------- галерия */
.mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 700px)  { .mosaic { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .mosaic { grid-template-columns: repeat(5, 1fr); } }
.mosaic-item {
  display: block;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 220ms ease, transform 220ms ease;
}
.mosaic-item:hover img { opacity: 1; transform: scale(1.03); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10,24,34,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 90vw; max-height: 85vh; text-align: center; }
.lb-figure img { max-width: 90vw; max-height: 78vh; width: auto; margin: 0 auto; object-fit: contain; }
.lb-figure figcaption { color: var(--text-mut); font-size: 0.9375rem; margin-top: 16px; }
.lb-close { position: absolute; top: 20px; right: 20px; color: var(--text); padding: 8px; }
.lb-prev, .lb-next { color: var(--text); padding: 12px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--accent); }

/* ------------------------------------------------------- контакти/форма */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 900px) {
  .contacts-grid { grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: start; }
}
.contacts-form {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 40px 36px;
}
.form-title { font-size: 1.5rem; margin-bottom: 28px; }
.field { margin-bottom: 24px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mut);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  background: transparent;
  color: var(--text);
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  padding: 10px 0;
  font: inherit;
  font-size: 1rem;
  width: 100%;
  transition: border-color 220ms ease;
}
.field select { padding-right: 8px; }
.field select option { background: var(--surface); color: var(--text); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.field-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.field-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--accent);
}
.field-check label {
  flex: 1;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}
.field-err { color: #ff9a8b; font-size: 0.8125rem; margin-top: 6px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 16px 20px; border: 1px solid var(--line); margin-bottom: 28px; font-size: 0.9375rem; }
.alert-ok { border-color: var(--accent); color: var(--accent); }
.alert-err { border-color: #ff9a8b; color: #ff9a8b; }

.contact-list { margin-top: 28px; border-top: 1px solid var(--line-soft); }
.contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-mut);
}

/* --------------------------------------------------------------- футър */
.footer { background: var(--bg-deep); border-top: 1px solid var(--line-soft); padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 56px;
  text-align: center;
  justify-items: center;
}
.footer-grid > div {
  width: 100%;
  min-width: 0;
}
@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 56px;
    text-align: left;
    justify-items: stretch;
  }
}
.footer-logos {
  margin: 0 0 24px;
}
.footer-logo-carousel { max-width: 100%; margin-bottom: 24px; }
.footer-logo-carousel .footer-logos { margin-bottom: 0; }
.footer-logo-carousel .footer-logo-item {
  flex-basis: calc((100% - 32px) / 3);
  min-height: 58px;
}
.footer-logo-carousel .footer-logo-item a {
  min-height: 58px;
}
.footer-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-item-light { background: #fff; padding: 8px 10px; }
.footer-logo-item img {
  width: auto;
  height: auto;
  max-width: 190px;
  max-height: 54px;
  opacity: 0.82;
}
@media (min-width: 700px) {
  .footer-logo-item img {
    max-width: 118px;
    max-height: 34px;
  }
}
@media (max-width: 699px) {
  .footer-logo-carousel .footer-logo-item {
    flex-basis: calc((100% - 20px) / 3);
    min-height: 52px;
  }
  .footer-logo-carousel .footer-logo-item a {
    min-height: 52px;
  }
  .footer-logo-carousel .footer-logo-item img {
    max-width: 82px;
    max-height: 28px;
  }
}
.footer-text { color: var(--text-mut); font-size: 0.9375rem; max-width: 42ch; margin: 0 auto; }
.footer-text p:first-child {
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-mut);
  margin-bottom: 20px;
}
.footer-text strong {
  color: var(--text);
}
@media (min-width: 800px) {
  .footer-text { margin: 0; }
}
.footer h4 {
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-mut);
  margin-bottom: 20px;
}
.footer-nav li { margin-bottom: 12px; font-size: 0.9375rem; color: var(--text-mut); }
.footer-nav a { color: var(--text-mut); }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  padding-bottom: 32px;
  text-align: center;
}
.footer-bottom p { color: var(--text-mut); font-size: 0.8125rem; margin: 0; }

/* ------------------------------------------------- страница поверителност */
.page-narrow { max-width: 820px; }
.page-narrow h2 { font-size: 1.5rem; margin-top: 40px; }
.page-narrow p { color: var(--text-mut); }

/* ------------------------------------------------------------ анимация */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
