:root {
  --bg-page: #000000;
  --bg-img: url("image/fon.webp");
  --topbar-bg: #f9f7f6;
  --text-dark: #222222;
  --chip-text: #E9D6D6;
  --chip-icon: #F3DFDF;
  --container: 1200px;
  --chip-stagger: 90ms;
  --hero-in-dur: 620ms;
  --hero-ease: cubic-bezier(.22,.75,.25,1);
  --x-pad: 24px;
  --logo-size: clamp(48px, 9vw, 100px);
  --brand-size: clamp(20px, 3.3vw, 40px);
  --brand-line: 1.1;
  --subbrand-size: clamp(11px, 1.4vw, 16px);
  --subbrand-color: #5a5a5a;
  --topbar-y: clamp(8px, 1.5vw, 16px);
  --topbar-h: 0px;
  --cube-z: 36px;
  --cube-perspective: 600px;
    /* откуда заезжаем (целый экран слева) и задержки */
  --hero-slide-from: -100vw;
  --hero-title-delay: 40ms;
  --hero-subtitle-delay: 160ms;
  --hero-in-dur: 700ms; /* можешь оставить своё значение */
  --hero-ease: cubic-bezier(.18,.9,.22,1); /* резкий ease-out */
}


* { box-sizing: border-box; }

html, body { height: 100%; }

body{
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: #000;              /* фолбэк, пока картинка не загрузилась */
  background-image: var(--bg-img);
  background-repeat: no-repeat;
  background-size: cover;              /* обложка на весь экран */
  background-position: center;         /* центрируем */
  background-attachment: fixed;        /* лёгкий параллакс на десктопе */
  color: #fff;
}

/* iOS/мобилки не любят fixed — выключаем */
@media (max-width: 1024px), (hover: none) {
  body { background-attachment: scroll; }
}

/* ===== Шапка ===== */
.topbar {
  width: 100%;
  background: var(--topbar-bg);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--topbar-y) var(--x-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar .container {
  max-width: none;
  margin: 0;
  padding-left: clamp(8px, 8vw, 140px);
  padding-right: clamp(16px, 12vw, 300px);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  text-decoration: none;
  color: var(--text-dark);
}
.logo img {
  width: var(--logo-size);
  height: var(--logo-size);
  object-fit: contain;
  display: block;
}
.logo-text { display: grid; gap: 4px; min-width: 0; }
.brand {
  color: var(--text-dark);
  font-weight: 700;
  font-size: var(--brand-size);
  line-height: var(--brand-line);
  white-space: nowrap;
}
.subbrand {
  font-size: var(--subbrand-size);
  color: var(--subbrand-color);
  line-height: 1.2;
  white-space: nowrap;
}
.menu-btn {
  font-size: clamp(22px, 2.8vw, 26px);
  background: transparent;
  border: none;
  color: #111;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}
.menu-btn:active { transform: scale(0.98); }

/* ===== Hero ===== */
.hero {
  min-height: calc(100vh - var(--topbar-h));
  display: flex;
  align-items: stretch;
   background: transparent !important;  /* было #000 */
  overflow: hidden;
}
.hero-container {
  width: 100%;
  padding-left: 140px;
  padding-right: 300px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(711px, 820px) 1fr;
  align-items: center;
  gap: 4px;
  height: 100%;
}

/* если ещё не добавлены в :root */
:root{
  --hero-in-dur: 620ms;
  --hero-ease: cubic-bezier(.22,.75,.25,1);
}

/* ===== Левая колонка ===== */
.hero-content{ max-width: 980px; margin-top: 0; }

.hero-title{
  margin: 70px 0 32px;
  font-weight: 700;
  font-size: 66px;
  line-height: 66px;
  color: #FFFEFE;
  position: relative;
}
.hero-title::after{
  content: "";
  display: block;
  width: clamp(280px, 55vw, 787px);
  height: 3px;
  margin-top: 24px;
  background: #fff;
  border-radius: 2px;
}

.hero-subtitle{
  margin: 32px 0 40px;
  font-weight: 400;
  font-size: 24px;
  line-height: 25px;
  color: #D9D3D3;
  max-width: 720px;
}
.hero-actions{
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-top: 32px;
}

/* ===== Стартовые состояния до .is-ready ===== */
/* стартовые состояния — чисто трансформа и прозрачность */
.hero-content:not(.is-ready) .hero-title,
.hero-content:not(.is-ready) .hero-subtitle{
  opacity: 0;
  transform: translateX(var(--hero-slide-from));
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* ключевые кадры «выезд слева» */
@keyframes slide-left {
  from { opacity: 0; transform: translateX(var(--hero-slide-from)); }
  to   { opacity: 1; transform: translateX(0); }
}

/* запуск */
.hero-content.is-ready .hero-title{
  animation: slide-left var(--hero-in-dur) var(--hero-ease) forwards;
  animation-delay: var(--hero-title-delay);
}
.hero-content.is-ready .hero-subtitle{
  animation: slide-left var(--hero-in-dur) var(--hero-ease) forwards;
  animation-delay: var(--hero-subtitle-delay);
}

/* (опционально) кнопки слегка всплывают, если хочешь оставить */
.hero-content:not(.is-ready) .hero-actions{ opacity:0; transform: translateY(10px); }
@keyframes rise-in { to { opacity:1; transform: translateY(0); } }
.hero-content.is-ready .hero-actions{
  animation: rise-in 520ms var(--hero-ease) forwards;
  animation-delay: calc(var(--hero-subtitle-delay) + 140ms);
}

/* уважение к reduce motion */
@media (prefers-reduced-motion: reduce){
  .hero-content:not(.is-ready) .hero-title,
  .hero-content:not(.is-ready) .hero-subtitle,
  .hero-content:not(.is-ready) .hero-actions{
    opacity: 1 !important; transform: none !important;
  }
  .hero-content.is-ready .hero-title,
  .hero-content.is-ready .hero-subtitle,
  .hero-content.is-ready .hero-actions{
    animation: none !important;
  }
}

/* ===== CHIP: «крутится» вся плашка ===== */

/* ===== CHIP: «перелистывание как карты» ===== */

/* Внешняя оболочка чипса — габарит и сцена */
.hero-chip {
  width: 420px;
  max-width: 100%;
  min-height: 72px;
  position: relative;
}

/* Слой для анимируемых «карт» */
.chip-stage {
  position: relative;
  width: 100%;
  min-height: 72px;
}

/* Одна "карта" (плашка с текстом) */
.chip-card {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 14px 20px;
  border-radius: 12px;

  background: linear-gradient(180deg, #1B1B1B 0%, #121212 100%);
  border: 1px solid #2B2B2B;
  box-shadow:
    0 8px 18px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.05);

  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-align: center;
  font-size: 16px;
  line-height: 1.25;

  /* анимация перемещения/проявления */
  transition:
    transform 420ms cubic-bezier(.22,.75,.25,1),
    opacity   420ms ease,
    box-shadow 420ms ease;
  will-change: transform, opacity;
}

/* начальные/конечные состояния для перелистывания */
.chip-card.enter-from {
  transform: translateX(110%) scale(.98);
  opacity: 0;
  z-index: 3;
}
.chip-card.enter-to {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 3;
}

.chip-card.leave-from {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 2;
}
.chip-card.leave-to {
  transform: translateX(-110%) scale(.98);
  opacity: 0;
  z-index: 2;
}

/* карта, ожидающая своей очереди (на заднем плане) */
.chip-card.idle {
  transform: translateX(6%) scale(.985);
  opacity: .0;                 /* не видно, но занимает положение справа */
  z-index: 1;
}

/* мобильная подстройка */
@media (max-width: 560px) {
  .hero-chip { min-height: 64px; }
  .chip-stage { min-height: 64px; }
  .chip-card  { font-size: 15px; padding: 12px 16px; }
}


/* ===== Статичные чипсы (без анимации) ===== */
.hero-chips{
  max-width: clamp(620px, 70vw, 980px);
  margin-top: 8px;
}

.chip-list{
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 18px 48px;            /* межстрочный / межколоночный */
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip{
  display: flex;
  align-items: center;
  gap: 12px;

  /* без карточек/плашек */
  min-height: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;

  color: var(--chip-text);
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.01em;
  text-transform: none;
  text-align: left;
  white-space: normal;
  word-break: break-word;
}

/* «снежинка»-буллит */
.chip::before{
  content: "❈";                  /* можно заменить на свой SVG */
  font-size: 16px;
  line-height: 1;
  color: var(--chip-icon);
  opacity: .95;
  margin-right: 6px;
  transform: translateY(-1px);
  filter: drop-shadow(0 0 2px rgba(0,0,0,.35));
}

/* начальное состояние */
.chip{
  opacity: 0;
  transform: translateY(8px) scale(.98);
  will-change: transform, opacity, filter;
}

/* запуск анимации для списка */
.chip-list.is-ready .chip{
  animation: chip-in 520ms cubic-bezier(.22,.75,.25,1) both;
  animation-delay: calc(var(--i, 0) * var(--chip-stagger));
}

/* уважение к «уменьшать анимацию» */
@media (prefers-reduced-motion: reduce){
  .chip, .chip-list.is-ready .chip{ animation: none !important; opacity: 1; transform: none; filter: none; }
}


/* Акцент внутри текста, если понадобится: <em>10 лет</em> */
.chip em{ color:#FFFFFF; opacity:.9; font-style: normal; }

@media (max-width: 768px){
  .chip-list{ grid-template-columns: 1fr; gap: 10px; }
  .chip{ font-size: 14px; }
  .chip::before{ font-size: 14px; }
}

@keyframes chip-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); filter: blur(2px); }
  to   { opacity: 1; transform: translateY(0) scale(1);   filter: blur(0); }
}




/* ===== Кнопка ===== */
.btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn-light {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 20px;
  padding: 16px 42px;
  height: 56px;

  border-radius: 12px;
  border: 1px solid rgba(233, 5, 5, 0.15);          /* тонкая обводка */
  color: #111111;                                 /* тёмный текст */
  background: rgba(255, 255, 255, 0.9);           /* белая база */

  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.15),              /* внешняя тень */
    inset 0 1px 0 rgba(255, 255, 255, 0.6),      /* верхний блик */
    inset 0 -1px 0 rgba(0, 0, 0, 0.06);          /* нижняя грань */

  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;

  text-decoration: none;
  letter-spacing: .02em;
  transition:
    transform .15s ease,
    box-shadow .25s ease,
    background .25s ease,
    border-color .25s ease;
  overflow: hidden;
}


.btn-light::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(120% 120% at 0% 0%,
      rgba(255,255,255,0.6) 0%,
      rgba(250, 247, 247, 0.404) 40%,
      transparent 70%);
  transform: translate(-10%, -10%);
  transition: transform .6s ease;
  pointer-events: none;
}



/* Блик раз в 4 секунды */
.btn-light::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%; /* начинаем за пределами */
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(240, 55, 55, 0.6) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  opacity: 0;
  pointer-events: none;

  animation: shine 4s infinite; /* каждые 4 секунды */
}

@keyframes shine {
  0%   { left: -150%; opacity: 0; }
  10%  { left: -50%;  opacity: 1; }
  20%  { left: 150%;  opacity: 1; }
  100% { left: 150%;  opacity: 1; }
}



.btn-light:hover {
  background: rgba(255, 255, 255, 1);            /* ярко-белая */
  border-color: rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
  box-shadow:
    0 12px 24px rgb(0, 0, 0),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(255, 0, 0, 0.08);
}


.btn-light:hover::before {
  transform: translate(5%, 5%) rotate(0.0001deg); /* сдвиг блика при ховере */
}

.btn-light:active {
  transform: translateY(0);
  box-shadow:
    0 6px 12px rgb(0, 0, 0),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* доступность: фокус-обводка */
.btn-light:focus-visible {
  outline: 2px solid rgba(247, 10, 10, 0.4);
  outline-offset: 3px;
}

/* Фолбэк для браузеров без backdrop-filter */
@supports not ((backdrop-filter: blur(10px))) {
  .btn-light {
    background: rgba(255, 255, 255, 0.16);
  }
}

/* ===== Правая колонка ===== */
.hero-image {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 1;
}


.hero-image img {
  height: 100%;
  width: auto;
  object-fit: cover;
  transform: translateX(15%);
}



/* ===== Адаптив ===== */
@media (max-width: 1280px) {
  .hero-container { padding-left: 80px; padding-right: 160px; }
  .hero-image img { transform: translateX(4%); }
}

@media (max-width: 1100px) {
  .hero-container { padding-left: 48px; padding-right: 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { order: 2; justify-content: center; align-items: center; }
  .hero-image img { transform: none; max-height: 54vh; height: auto; }
  .hero-content { order: 1; text-align: left; margin-top: 0; }
  .hero-title { font-size: clamp(32px, 6vw, 48px); line-height: 1.1; }
  .hero-subtitle { font-size: clamp(16px, 2.6vw, 20px); line-height: 1.4; }
}

@media (max-width: 768px) {
  .hero {
    position: relative;
    min-height: calc(100svh - var(--topbar-h));
  }

  .hero-container {
    min-height: inherit;
    padding: 16px 20px 24px;
  }

  .hero-grid {
    min-height: inherit;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 18px;
  }

  /* Картинка */
  .hero-image {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 0;
    pointer-events: none;
  }
  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    transform: none;
    max-height: none;
  }
  .hero-image .abs { display: none !important; }

  /* Контент */
  .hero-content {
    position: relative;
    z-index: 2; /* текст и кнопки поверх подложки */
    text-align: center;
    width: 100%;
    padding: 24px 16px;
  }
  .hero-content::before {
    content: "";
    position: absolute;
    inset: 0; /* подложка на весь блок контента */
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    border-radius: 16px;
    z-index: 1; /* стекло под текстом */
  }

  /* Заголовок и подзаголовок внутри подложки */
  .hero-title,
  .hero-subtitle,
  .hero-actions {
    position: relative;
    z-index: 2; /* выше стекла */
  }

  .hero-title {
    margin: 0 0 14px;
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.22;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0,0,0,.35);
  }
  .hero-subtitle {
    margin: 0 0 22px;
    color: rgba(255,255,255,.92);
    font-weight: 400;
    font-size: clamp(14px, 4vw, 17px);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
  }

  /* Чипс карточками */
  .chip-cube { display: none !important; }
  .hero-chip { width: 100%; max-width: 320px; min-height: 48px; }
  .chip-card { font-size: 14px; padding: 10px 14px; }
  .chip-card.enter-from { transform: translateX(105%) scale(.98); }
  .chip-card.leave-to   { transform: translateX(-105%) scale(.98); }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 14px;
  }

  .btn { padding: 14px 22px; }
}

/* Доступно для SEO/скринридеров, невидимо в UI */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
  clip-path: inset(50%);
}


/* === MOBILE: блок всегда помещается на 1 экран === */
@media (max-width: 768px) {
  .hero {
    position: relative;
    min-height: calc(100svh - var(--topbar-h));
    overflow: hidden;
  }

  /* фон за текстом */
  .hero-image {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: .32;
    pointer-events: none;
    z-index: 0;
  }
  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    transform: none;
    max-height: none;
  }

  .hero-container { min-height: inherit; padding: 10px 12px 12px; }
  .hero-grid {
    min-height: inherit;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;       /* вертикально центрируем */
    gap: 10px;
  }

  /* стеклянный блок ограничиваем по высоте экрана */
  .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    padding: 12px 12px;
    text-align: center;

    /* ключ: не позволяем блоку быть выше видимой части */
    max-height: calc(100svh - var(--topbar-h) - 20px);
    display: grid;
    grid-auto-rows: min-content; /* все секции по контенту */
    gap: 10px;
  }
  .hero-content::before{
    content:"";
    position:absolute; inset:0;
    border-radius:14px;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(6px) saturate(150%);
    -webkit-backdrop-filter: blur(6px) saturate(150%);
    z-index:1;
  }
  .hero-title,
  .hero-subtitle,
  .hero-actions { position: relative; z-index: 2; }

  /* текст компактнее */
  .hero-title{
    margin: 0;
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.14;
  }
  .hero-title::after{
    width: 60%;
    height: 2px;
    margin: 8px auto 6px;
  }
  .hero-subtitle{
    margin: 0;
    font-size: clamp(13px, 3.8vw, 15px);
    line-height: 1.45;
    color: rgba(255,255,255,.9);
  }

  /* чипсы в одну колонку и ниже по высоте */
  .hero-chips{ width: 100%; max-width: 460px; margin-top: 2px; }
  .chip-list{ grid-template-columns: 1fr; gap: 8px; }
  .chip{
    min-height: 40px;
    padding: 8px 10px;
    font-size: 12.5px;
    border-radius: 10px;
  }

  /* кнопка помещается */
  .hero-actions{
    display: grid;
    justify-items: center;
    gap: 10px;
    margin-top: 4px;
  }
  .btn{
    width: 100%;
    max-width: 280px;
    padding: 12px 16px;
    height: auto;
    font-size: 14px;
  }
}

/* доп. сжатие для низких экранов (например, 640px по высоте и ниже) */
@media (max-width: 768px) and (max-height: 640px) {
  .hero-title{ font-size: clamp(20px, 5.6vw, 26px); }
  .hero-subtitle{ font-size: 12.5px; }
  .chip{ min-height: 36px; font-size: 12px; padding: 7px 9px; }
  .btn{ max-width: 260px; padding: 10px 14px; font-size: 13.5px; }
}
/* === MOBILE ≤768px — единый блок === */
@media (max-width: 768px) {
  /* На мобилке стартуем дальше за экран, чтобы выезд был очевидней */
  :root{
    --hero-slide-from: -120vw; /* у тебя в анимации уже используется эта переменная */
  }

  .hero{
    position: relative;
    min-height: calc(100svh - var(--topbar-h));
    overflow: hidden;
  }

  .hero-container{
    min-height: inherit;
    padding: 10px 12px 14px;
  }

  .hero-grid{
    min-height: inherit;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center; /* вертикальная центровка */
    gap: 12px;
  }

  /* Фон-картинка за текстом */
  .hero-image{
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: .32;
    pointer-events: none;
    z-index: 0;
  }
  .hero-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    transform: none;
    max-height: none;
  }
  .hero-image .abs{ display: none !important; }

  /* Контентное стекло */
  .hero-content{
    position: relative;
    z-index: 2;                 /* текст и кнопки поверх подложки */
    width: 100%;
    max-width: 480px;
    padding: 14px 14px;
    text-align: center;

    /* чтобы блок гарантированно помещался в 1 экран */
    max-height: calc(100svh - var(--topbar-h) - 20px);
    display: grid;
    grid-auto-rows: min-content;
    gap: 10px;
  }
  .hero-content::before{
    content:"";
    position:absolute; inset:0;
    border-radius:14px;
    background: rgba(0,0,0,.36);
    backdrop-filter: blur(6px) saturate(150%);
    -webkit-backdrop-filter: blur(6px) saturate(150%);
    z-index:1;
    /* если увидишь мерцание в iOS: раскомментируй следующую строку */
    /* transform: translateZ(0); */
  }
  .hero-title, .hero-subtitle, .hero-actions{ position: relative; z-index: 2; }

  /* Тайпскейл компактнее */
  .hero-title{
    margin: 0 0 12px;
    font-size: clamp(24px, 6.4vw, 30px);
    line-height: 1.18;
    letter-spacing: -0.01em;
  }
  .hero-title::after{
    width: 58%;
    height: 2px;
    margin: 8px auto 6px;
  }
  .hero-subtitle{
    margin: 0;
    font-size: clamp(13px, 3.8vw, 15.5px);
    line-height: 1.5;
    color: rgba(255,255,255,.92);
  }

  /* Чипсы — одна колонка */
  .hero-chips{ width: 100%; max-width: 460px; margin-top: 2px; }
  .chip-list{ grid-template-columns: 1fr; gap: 8px; }
  .chip{ min-height: 40px; padding: 0; font-size: 13.5px; }
  .chip::before{ font-size: 14px; }

  /* Кнопки */
  .hero-actions{
    display: grid;
    justify-items: center;
    gap: 10px;
    margin-top: 4px;
  }
  .btn{
    width: 100%;
    max-width: 280px;
    padding: 12px 16px;
    height: auto;
    font-size: 14px;
  }
}

/* Доп. сжатие для низких экранов (≤640px по высоте) */
@media (max-width: 768px) and (max-height: 640px){
  .hero-title{ font-size: clamp(20px, 5.6vw, 26px); }
  .hero-subtitle{ font-size: 12.5px; }
  .chip{ min-height: 36px; font-size: 12px; }
  .btn{ max-width: 260px; padding: 10px 14px; font-size: 13.5px; }
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-link {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  color: #222;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.topbar-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .topbar-link {
    display: none; /* если в моб версии не нужна – можно убрать эту строку */
  }
}
