/* ГАЛЕРЕЯ */

.about-gallery-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-block812-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 14px 0 20px;
  flex: 1;
}

.about-block812-scroll::-webkit-scrollbar {
  display: none;
}

.about-block812-track {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: max-content;
  padding: 8px 6px;
}

.about-photo-card {
  flex: 0 0 auto;
  width: 240px;
  height: 320px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 22px rgba(141,107,255,0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.about-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-gallery-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  transition: 0.25s ease;
  flex: 0 0 auto;
}

.about-gallery-btn:hover {
  color: #ff4fd8;
  box-shadow:
    0 0 12px rgba(255,79,216,0.55),
    0 0 22px rgba(99,102,241,0.35);
}

min-width: 1024px {
  .about-block812-scroll {
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  }

  .about-photo-card {
    opacity: 0.8;
    transform: scale(0.94);
  }

  .about-photo-card:hover {
    opacity: 1;
    transform: scale(1);
    box-shadow:
      0 0 18px rgba(255,79,216,0.22),
      0 0 30px rgba(99,102,241,0.16);
  }

  .about-block812-track .about-photo-card:nth-child(2),
  .about-block812-track .about-photo-card:nth-child(3),
  .about-block812-track .about-photo-card:nth-child(4) {
    width: 300px;
    height: 410px;
    opacity: 1;
    transform: scale(1);
  }
}

max-width: 768px {
  .about-gallery-btn {
    display: none;
  }

  .about-block812-track {
    gap: 14px;
  }

  .about-photo-card {
    width: 74vw;
    height: 94vw;
    max-height: 430px;
    border-radius: 20px;
    opacity: 1;
    transform: none;
  }
}
.footer-links a,
.news-card a,
.cta a,
a {
  color: #d8b4fe !important;
  text-decoration: none !important;
  transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover,
.news-card a:hover,
.cta a:hover,
a:hover {
  color: #ffffff !important;
  text-shadow:
    0 0 8px #ff4fd8,
    0 0 16px #ff4fd8,
    0 0 24px #8b5cf6,
    0 0 36px #22d3ee;
  transform: translateY(-1px);
}
/* НИЖНИЙ БЛОК */

.cta-final {
  max-width: 980px !important;
  margin: 0 auto !important;
  text-align: center !important;
  padding: 8px 24px 50px !important;
}

.cta-final .eyebrow {
  text-align: center !important;
  display: block;
  margin: 0 auto 14px !important;
}

.cta-final h2 {
  text-align: center !important;
  margin: 0 0 14px !important;
}

.cta-final .lead {
  max-width: 680px !important;
  margin: 0 auto 30px !important;
  text-align: center !important;
}

.footer-links {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 16px !important;
  max-width: 820px !important;
  margin: 0 auto !important;
  align-items: stretch !important;
}

.footer-links a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 76px !important;
  padding: 16px 18px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  background:
    linear-gradient(135deg, rgba(255,79,216,0.08), rgba(34,211,238,0.05)),
    rgba(255,255,255,0.03) !important;
  box-shadow:
    0 0 18px rgba(139,92,246,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.02) !important;
  font-weight: 600 !important;
  text-align: center !important;
  color: #d8ccff !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, text-shadow 0.25s ease, color 0.25s ease;
}

/* шахматная сетка */
.footer-links a:nth-child(1) {
  grid-column: 1 / span 2;
}
.footer-links a:nth-child(2) {
  grid-column: 4 / span 2;
}
.footer-links a:nth-child(3) {
  grid-column: 2 / span 2;
}
.footer-links a:nth-child(4) {
  grid-column: 5 / span 1;
}
.footer-links a:nth-child(5) {
  grid-column: 2 / span 2;
}

.footer-links a:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow:
    0 0 16px rgba(255,79,216,0.24),
    0 0 30px rgba(34,211,238,0.14) !important;
  text-shadow:
    0 0 8px #ff4fd8,
    0 0 14px #8b5cf6;
}

max-width: 768px {
  .footer-links {
    grid-template-columns: 1fr !important;
    max-width: 420px !important;
  }

  .footer-links a:nth-child(1),
  .footer-links a:nth-child(2),
  .footer-links a:nth-child(3),
  .footer-links a:nth-child(4),
  .footer-links a:nth-child(5) {
    grid-column: auto !important;
  }
}
.nav a {
  color: #d8ccff !important;
  text-decoration: none !important;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.nav a:hover {
  color: #ffffff !important;
  text-shadow:
    0 0 8px #ff4fd8,
    0 0 16px #8b5cf6,
    0 0 24px #22d3ee;


  @meda (min-width: 1024px) {
  /* Общая ширина и воздух */
  .container,
  .section,
  .header,
  .footer {
    width: min(calc(100% - 80px), 1440px) !important;
  }

  .section {
    padding-top: 110px !important;
    padding-bottom: 110px !important;
  }

  /* Шапка */
  .header {
    padding: 22px 34px !important;
    min-height: 92px !important;
    border-radius: 28px !important;
  }

 .brand-mark {
  background: linear-gradient(135deg, #ff003c, #ff4fd8);
  color: white;
  font-weight: 700;
  border-radius: 16px;
  padding: 8px 14px;

  box-shadow:
    0 0 8px #ff003c,
    0 0 16px #ff4fd8,
    0 0 24px rgba(255, 0, 60, 0.6);

  transition: 0.3s;
}

.brand-mark:hover {
  box-shadow:
    0 0 12px #ff003c,
    0 0 24px #ff4fd8,
    0 0 40px rgba(255, 0, 60, 0.9);
}

  .brand-title {
    font-size: 1.2rem !important;
    letter-spacing: 0.18em !important;
  }

  .brand-subtitle {
    font-size: 0.95rem !important;
  }

  .nav {
    gap: 28px !important;
  }

  .nav a {
    font-size: 1.02rem !important;
    font-weight: 600 !important;
  }

  /* Главный экран */
  .hero {
    min-height: calc(100vh - 150px) !important;
    gap: 48px !important;
    align-items: center !important;
  }

  .eyebrow {
    font-size: 0.9rem !important;
    letter-spacing: 0.28em !important;
  }

  .hero h1 {
    font-size: clamp(4.4rem, 7vw, 7.2rem) !important;
    line-height: 0.95 !important;
    max-width: 12ch !important;
  }

  .lead {
    font-size: 1.18rem !important;
    line-height: 1.9 !important;
    max-width: 72ch !important;
  }

  .hero-actions {
    margin-top: 34px !important;
    gap: 18px !important;
  }

  .btn {
    min-height: 60px !important;
    padding: 0 28px !important;
    font-size: 1rem !important;
  }

  /* Правая часть главного блока */
  .hero-panel,
  .grid-box {
    min-height: 580px !important;
    border-radius: 32px !important;
  }

  .pill,
  .floating-card {
    width: 250px !important;
    padding: 22px !important;
  }

  .pill strong,
  .floating-card span {
    font-size: 1.15rem !important;
  }

  .pill p,
  .floating-card p {
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }

  /* Заголовки секций */
  .section-head {
    margin-bottom: 36px !important;
  }

  .section h2 {
    font-size: clamp(2.8rem, 4vw, 4.4rem) !important;
    line-height: 1.02 !important;
    max-width: 16ch !important;
  }

  /* Текст в карточках */
  .card,
  .feature,
  .glass-card,
  .direction-card,
  .service-card,
  .news-card,
  .price-card,
  .cta,
  .cta-card {
    padding: 34px !important;
    border-radius: 28px !important;
  }

  .card h3,
  .feature h3,
  .glass-card h3,
  .direction-card h3,
  .service-card h3,
  .news-card h3,
  .timeline-card h3 {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
  }

  .card p,
  .feature p,
  .glass-card p,
  .direction-card p,
  .service-card p,
  .news-card p,
  .timeline-card p,
  .price-card p {
    font-size: 1.03rem !important;
    line-height: 1.8 !important;
  }

  /* Галерея */
  .about-block812-track {
    gap: 22px !important;
  }

  .about-photo-card {
    width: 280px !important;
    height: 380px !important;
  }

  .about-block812-track .about-photo-card:nth-child(2),
  .about-block812-track .about-photo-card:nth-child(3),
  .about-block812-track .about-photo-card:nth-child(4) {
    width: 340px !important;
    height: 470px !important;
  }

  .about-gallery-btn {
    width: 58px !important;
    height: 58px !important;
    font-size: 34px !important;
  }

  /* Контакты и низ */
  .cta-final h2,
  .cta h2 {
    font-size: 3.2rem !important;
  }

  .cta-final .lead,
  .cta .lead {
    font-size: 1.12rem !important;
  }

  .footer-links a {
    min-height: 82px !important;
    font-size: 1.02rem !important;
    padding: 18px 20px !important;
  }
}
}


@media (min-width: 1024px) {
  .header {
    position: sticky !important;
    top: 18px !important;
    z-index: 50 !important;
    width: min(calc(100% - 72px), 1460px) !important;
    margin: 18px auto 0 !important;
    padding: 20px 34px !important;
    min-height: 94px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px !important;
    border-radius: 30px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    background:
      linear-gradient(135deg, rgba(255,79,216,0.05), rgba(34,211,238,0.03)),
      rgba(8,12,20,0.78) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow:
      0 0 28px rgba(139,92,246,0.16),
      inset 0 0 0 1px rgba(255,255,255,0.02) !important;
  }

  .brand {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    text-decoration: none !important;
    color: #fff !important;
    min-width: max-content !important;
  }

 .brand-mark span {
  color: white;
  text-shadow:
    0 0 6px #ff003c,
    0 0 12px #ff4fd8,
    0 0 20px #8b5cf6;
}

  .brand-title {
    font-size: 1.2rem !important;
    letter-spacing: 0.18em !important;
    line-height: 1.1 !important;
  }

  .brand-subtitle {
    font-size: 0.95rem !important;
    opacity: 0.88 !important;
    letter-spacing: 0.04em !important;
  }

  .nav {
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
  }

  .nav a {
    position: relative !important;
    font-size: 1.03rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    color: #e8dcff !important;
    text-decoration: none !important;
    padding: 8px 0 !important;
    transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease !important;
  }

  .nav a::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: -2px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ff4fd8, #22d3ee) !important;
    transform: scaleX(0) !important;
    transform-origin: center !important;
    transition: transform 0.25s ease !important;
    opacity: 0.9 !important;
  }

  .nav a:hover {
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    text-shadow:
      0 0 8px #ff4fd8,
      0 0 16px #8b5cf6,
      0 0 24px #22d3ee !important;
  }

  .nav a:hover::after {
    transform: scaleX(1) !important;
  }
}


.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(10px);
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 18px;
  box-shadow:
    0 0 40px rgba(255,79,216,0.25),
    0 0 80px rgba(34,211,238,0.15);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 42px;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}

.lightbox-close:hover {
  color: #ff4fd8;
  text-shadow: 0 0 12px #ff4fd8;
}

.footer-links svg {
  width: 20px;
  height: 20px;
  fill: white;
  transition: 0.3s;
}

.footer-links a:hover svg {
  fill: #ff4fd8;
  filter: drop-shadow(0 0 6px #ff4fd8);
}

/* БАЗОВЫЙ ТЕКСТ */
body {
  font-size: 18px;
  line-height: 1.6;
}

/* ЗАГОЛОВКИ */
h1 {
  font-size: 56px;
  line-height: 1.1;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 24px;
}

/* ПОДЗАГОЛОВКИ */
.lead {
  font-size: 20px;
  opacity: 0.9;
}

/* МЕНЮ НАВЕРХУ */
.nav a {
  font-size: 18px;
  padding: 10px 14px;
}

/* ЛОГО ТЕКСТ */
.brand-title {
  font-size: 22px;
}

/* ОТСТУПЫ СЕКЦИЙ */
.section {
  padding: 80px 40px;
}

@media (min-width: 1200px) {
  /* Единая ширина сайта */
  .header,
  main.container,
  .container,
  .footer {
    width: min(calc(100% - 72px), 1560px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Шапка не шире сайта */
  .header {
    padding: 22px 34px !important;
    min-height: 92px !important;
    border-radius: 28px !important;
  }

  /* Воздух между секциями */
  .section {
    padding-top: 90px !important;
    padding-bottom: 90px !important;
  }

  /* Первый экран */
  .hero {
    grid-template-columns: 1.08fr 0.92fr !important;
    gap: 56px !important;
    align-items: center !important;
    min-height: calc(100vh - 150px) !important;
  }

  /* Главный заголовок */
  .hero h1 {
    font-size: clamp(4.8rem, 7vw, 7.2rem) !important;
    line-height: 0.94 !important;
    max-width: 11ch !important;
    margin-bottom: 20px !important;
  }

  /* Маленький заголовок над h1 */
  .eyebrow {
    font-size: 0.92rem !important;
    letter-spacing: 0.28em !important;
  }

  /* Основной текст */
  .lead,
  .hero p,
  .section p {
    font-size: 1.16rem !important;
    line-height: 1.8 !important;
  }

  /* Кнопки */
  .btn,
  .hero-actions a {
    min-height: 60px !important;
    padding: 0 28px !important;
    font-size: 1rem !important;
    border-radius: 999px !important;
  }

  /* Правая панель */
  .hero-panel {
    min-height: 620px !important;
    padding: 34px !important;
    border-radius: 30px !important;
  }

  .pill {
    width: 250px !important;
    padding: 20px 20px !important;
    border-radius: 24px !important;
  }

  .pill strong {
    font-size: 1.12rem !important;
  }

  .pill p {
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
  }

  /* Меню */
  .nav a {
    font-size: 1.03rem !important;
  }

  .brand-title {
    font-size: 1.2rem !important;
  }

  .brand-subtitle {
    font-size: 0.95rem !important;
  }

  /* Следующая секция тоже крупнее */
  h2 {
    font-size: 3rem !important;
    line-height: 1.05 !important;
  }
}
.hero h1 {
  font-size: clamp(3.6rem, 5vw, 5rem) !important;
  line-height: 1.05 !important;
  max-width: 12ch !important;
}

.hero p {
  font-size: 1.05rem !important;
  max-width: 520px !important;
}

.hero-actions {
  margin-top: 18px !important;
}

.hero-panel {
  min-height: 520px !important;
  transform: scale(1.08);
}

.pill {
  width: 260px !important;
  padding: 20px !important;
}

.pill strong {
  font-size: 1.1rem !important;
}

.about-photo-card {
  width: 240px !important;
  height: 320px !important;
}

.about-block812-track {
  gap: 18px !important;
}

.hero {
  margin-bottom: 40px !important;
}

.section:first-of-type {
  margin-top: 0 !important;
}

.about-block812-scroll {
  margin-top: 20px !important;
  margin-bottom: 30px !important;
}

.for-whom {
  margin: 30px 0 !important;
}

.for-whom p {
  font-size: 1.2rem !important;
  margin: 10px 0 !important;
}

.section p {
  font-size: 1.12rem !important;
  line-height: 1.75 !important;
}

h2 {
  font-size: 2.6rem !important;
}
/* ===== КОНТАКТНЫЙ БЛОК — ЧИСТАЯ СЕТКА ===== */

.cta-final {
  max-width: 980px !important;
  margin: 0 auto !important;
  text-align: center !important;
  padding: 12px 24px 64px !important;
}

.cta-final .eyebrow {
  display: block !important;
  margin: 0 auto 14px !important;
  text-align: center !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.22em !important;
}

.cta-final h2 {
  margin: 0 0 14px !important;
  text-align: center !important;
  font-size: clamp(2.2rem, 4vw, 3.8rem) !important;
  line-height: 1.05 !important;
}

.cta-final .lead {
  max-width: 720px !important;
  margin: 0 auto 34px !important;
  text-align: center !important;
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
}

.footer-links {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 16px !important;
  max-width: 920px !important;
  margin: 0 auto !important;
  align-items: stretch !important;
}

.footer-links a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 82px !important;
  padding: 18px 20px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  background:
    linear-gradient(135deg, rgba(255,79,216,0.08), rgba(34,211,238,0.05)),
    rgba(255,255,255,0.03) !important;
  box-shadow:
    0 0 18px rgba(139,92,246,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.02) !important;
  font-weight: 700 !important;
  text-align: center !important;
  color: #f3ecff !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, text-shadow 0.25s ease, color 0.25s ease !important;
}

/* Верхний ряд — две большие карточки */
.footer-links a:nth-child(1) {
  grid-column: 1 / span 3 !important;
}

.footer-links a:nth-child(2) {
  grid-column: 4 / span 3 !important;
}

/* Нижний ряд — три аккуратные карточки */
.footer-links a:nth-child(3) {
  grid-column: 1 / span 2 !important;
}

.footer-links a:nth-child(4) {
  grid-column: 3 / span 2 !important;
}

.footer-links a:nth-child(5) {
  grid-column: 5 / span 2 !important;
}

.footer-links a:hover {
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow:
    0 0 16px rgba(255,79,216,0.24),
    0 0 30px rgba(34,211,238,0.14) !important;
  text-shadow:
    0 0 8px #ff4fd8,
    0 0 14px #8b5cf6,
    0 0 20px #22d3ee !important;
}

/* Иконки внутри */
.footer-links .icon,
.footer-links svg {
  flex: 0 0 auto;
}

.footer-links svg {
  width: 20px !important;
  height: 20px !important;
  fill: currentColor !important;
}

max-width: 900px {
  .footer-links {
    grid-template-columns: 1fr !important;
    max-width: 420px !important;
  }

  .footer-links a:nth-child(1),
  .footer-links a:nth-child(2),
  .footer-links a:nth-child(3),
  .footer-links a:nth-child(4),
  .footer-links a:nth-child(5) {
    grid-column: auto !important;
  }
}
html {
  font-size: 18px !important;
}

body {
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
}

/* заголовки */
h1 {
  font-size: clamp(3rem, 5vw, 4.5rem) !important;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
}

h3 {
  font-size: 1.6rem !important;
}

/* основной текст */
p {
  font-size: 1.1rem !important;
}

/* меню сверху */
.nav a {
  font-size: 1.05rem !important;
}

/* кнопки */
button,
a {
  font-size: 1.05rem !important;
}

/* маленькие подписи */
.eyebrow {
  font-size: 0.95rem !important;
}

/* ===== ДЕСКТОП МАСШТАБ ===== */

@media (min-width: 1024px) {

  /* контейнер сайта */
  .container,
  .section,
  .header {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  /* главный экран */
  .hero {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 5vw, 5rem) !important;
    line-height: 1.05 !important;
  }

  .hero p {
    font-size: 1.2rem !important;
    max-width: 600px !important;
  }

  /* кнопки — СДЕЛАТЬ НОРМАЛЬНЫМИ */
  .hero button,
  .hero a {
    font-size: 1.1rem !important;
    padding: 16px 28px !important;
    border-radius: 30px !important;
  }

  /* галерея */
  .about-photo-card {
    min-width: 460px !important;
    height: 560px !important;
    border-radius: 22px !important;
  }

  /* стрелки галереи */
  .about-gallery-btn {
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
  }

  /* текст блока */
  .section h2 {
    font-size: 2.6rem !important;
  }

  .section p {
    font-size: 1.15rem !important;
  }

  /* расстояния убрать */
  .section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

}
@media (max-width: 768px) {
  .about-gallery-btn {
    display: none !important;
  }

  .footer-links {
    grid-template-columns: 1fr !important;
  }

  .footer-links a {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}
/* === МОБИЛКА: вернуть нормальный масштаб и контакты === */
@media (max-width: 768px) {
  html, body {
    font-size: 16px !important;
    transform: none !important;
    zoom: 1 !important;
    overflow-x: hidden !important;
  }

  body {
    line-height: 1.5 !important;
  }

  .header,
  .section,
  .container,
  .footer,
  main {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  .header {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    border-radius: 24px !important;
  }

  .brand-mark {
    width: 72px !important;
    height: 72px !important;
    border-radius: 16px !important;
  }

  .brand-title {
    font-size: 2.8rem !important;
  }

  .brand-subtitle {
    font-size: 1.2rem !important;
    line-height: 1.4 !important;
  }

  .hero {
    padding-top: 18px !important;
    padding-bottom: 28px !important;
    gap: 22px !important;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 12vw, 4.5rem) !important;
    line-height: 0.98 !important;
    max-width: 100% !important;
    margin-bottom: 14px !important;
  }

  .hero p,
  .lead,
  .section p {
    font-size: 1.08rem !important;
    line-height: 1.6 !important;
    max-width: 100% !important;
  }

  .hero-actions,
  .buttons,
  .cta-actions {
    gap: 12px !important;
  }

  .hero a,
  .hero button,
  .btn {
    min-height: 52px !important;
    padding: 12px 18px !important;
    font-size: 1rem !important;
  }

  .hero-panel,
  .pill,
  .about-photo-card,
  .news-card,
  .card {
    transform: none !important;
  }

  /* галерея на телефоне как раньше */
  .about-gallery-wrap {
    display: block !important;
  }

  .about-block812-scroll {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    width: 100% !important;
    padding: 8px 0 10px !important;
    margin: 14px 0 18px !important;
    scrollbar-width: none !important;
  }

  .about-block812-scroll::-webkit-scrollbar {
    display: none !important;
  }

  .about-block812-track {
    display: flex !important;
    gap: 12px !important;
    width: max-content !important;
    padding: 0 !important;
  }

  .about-photo-card {
    width: 72vw !important;
    min-width: 72vw !important;
    height: 96vw !important;
    max-height: 430px !important;
    border-radius: 20px !important;
  }

  /* блок "для тех кто..." */
  .for-whom {
    margin: 20px 0 24px !important;
  }

  .for-whom p {
    font-size: 1.05rem !important;
    margin: 10px 0 !important;
    text-align: center !important;
  }

  /* контакты — вернуть аккуратную одну колонку */
  .cta-final {
    padding: 24px 16px 40px !important;
  }

  .cta-final .eyebrow {
    font-size: 0.9rem !important;
    text-align: center !important;
    margin-bottom: 12px !important;
  }

  .cta-final h2 {
    font-size: clamp(2.2rem, 10vw, 3.2rem) !important;
    line-height: 1.02 !important;
    text-align: center !important;
    margin-bottom: 14px !important;
  }

  .cta-final .lead {
    font-size: 1.05rem !important;
    line-height: 1.55 !important;
    text-align: center !important;
    margin-bottom: 22px !important;
  }

  .footer-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .footer-links a {
    width: 100% !important;
    min-height: 68px !important;
    padding: 14px 16px !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    font-size: 1rem !important;
    text-align: left !important;
  }

  .footer-links .icon,
  .footer-links svg {
    flex: 0 0 20px !important;
    width: 20px !important;
    height: 20px !important;
  }
}
.nav-auth {
  margin-left: 20px;
  font-size: 16px;
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.nav-auth:hover {
  color: #fff;
}

.nav-auth.reg {
  padding: 8px 16px;
  border-radius: 12px;
  background: linear-gradient(45deg, #ff0055, #aa00ff);
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 0, 100, 0.6);
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
}

.header-actions,
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin-left: auto;
}

.login-link {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  white-space: nowrap;
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg,#ff4040,#ff57d8,#77f0ff);
  box-shadow: 0 0 14px rgba(255,87,216,.22);
}

@media (max-width: 900px) {
  .header {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    order: 2;
    flex-wrap: wrap;
    gap: 14px;
  }

  .header-actions,
  .auth-buttons {
    order: 1;
    margin-left: 0;
  }
}
.page-transition{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:16px;
  background:#05070c;
  transition:opacity .4s ease, visibility .4s ease;
}

.page-transition.hide{
  opacity:0;
  visibility:hidden;
}

.page-transition__logo{
  font-size:32px;
  font-weight:700;
  letter-spacing:3px;
  color:white;
}

.page-transition__bar{
  width:200px;
  height:4px;
  background:rgba(255,255,255,0.1);
  border-radius:999px;
  overflow:hidden;
}

.page-transition__bar span{
  display:block;
  width:100%;
  height:100%;
  background:linear-gradient(90deg, #ff4081, #7df9ff);
  animation:loading 1s linear infinite;
}

@keyframes loading{
  0%{ transform:translateX(-100%); }
  100%{ transform:translateX(100%); }
}
.nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-auth {
  display: flex;
  gap: 14px;
  align-items: center;
}
.auth-link,
.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.auth-btn {
  color: white;
  background: linear-gradient(90deg, #ff3b5f, #ff4fd8, #7ae7ff);
  box-shadow: 0 0 18px rgba(255, 79, 216, 0.35);
}

.auth-link {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  position: relative;
  min-height: 620px;
  border-radius: 36px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit {
  position: absolute;
  inset: 40px;
  border-radius: 32px;
  background:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  box-shadow:
    0 0 40px rgba(90, 140, 255, 0.18),
    0 0 80px rgba(255, 80, 180, 0.12);
}

.pill {
  position: absolute;
  width: 320px;
  min-height: 180px;
  padding: 24px 22px;
  border-radius: 28px;
  background: rgba(10, 14, 24, 0.88);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 24px rgba(98, 120, 255, 0.22);
  z-index: 2;
}

.pill strong {
  display: block;
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1;
}

.pill p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.p1 {
  top: 80px;
  left: 60px;
}

.p2 {
  top: 240px;
  right: 40px;
}

.p3 {
  bottom: 80px;
  left: 90px;
}
@media (max-width: 900px) {
  .hero-panel {
    min-height: auto;
    padding: 24px;
    display: grid;
    gap: 18px;
  }

  .orbit {
    inset: 20px;
  }

  .pill {
    position: relative;
    width: 100%;
    min-height: auto;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .p1,
  .p2,
  .p3 {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
}
.hero-panel {
  position: relative;
  min-height: 720px;
  border-radius: 42px;
  padding: 56px;
  overflow: hidden;
  background: rgba(10, 14, 24, 0.35);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 50px rgba(120, 110, 255, 0.12);
}

.orbit {
  position: absolute;
  top: 80px;
  left: 110px;
  right: 110px;
  bottom: 90px;
  border-radius: 34px;
  background:
    linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 42px 42px;
  box-shadow:
    0 0 30px rgba(80, 120, 255, 0.20),
    0 0 70px rgba(255, 70, 170, 0.12);
}

.pill {
  position: absolute;
  z-index: 2;
  width: 320px;
  min-height: 190px;
  padding: 26px 24px;
  border-radius: 30px;
  background: rgba(11, 16, 30, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 0 24px rgba(90, 120, 255, 0.22);
}

.pill strong {
  display: block;
  margin-bottom: 16px;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 1px;
}

.pill p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.p1 {
  top: 130px;
  left: 150px;
}

.p2 {
  top: 360px;
  right: 120px;
}

.p3 {
  top: 430px;
  left: 200px;
  width: 290px;
  min-height: 150px;
}

@media (max-width: 1100px) {
  .hero-panel {
    min-height: auto;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .orbit {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .pill,
  .p1,
  .p2,
  .p3 {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    min-height: auto;
  }
}
/* галерея */
.about-photo-card {
  min-width: 460px !important;
  height: 560px !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: #0b1020 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.about-photo-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}
.hero-panel {
  position: relative;
  border-radius: 42px;
  padding: 40px;
  background: rgba(10, 14, 24, 0.35);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 50px rgba(120, 110, 255, 0.12);
  overflow: hidden;
  min-height: 760px;
}

.orbit {
  position: absolute;
  top: 90px;
  left: 120px;
  right: 120px;
  bottom: 90px;
  border-radius: 34px;
  background:
    linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 42px 42px;
  box-shadow:
    0 0 30px rgba(80, 120, 255, 0.20),
    0 0 70px rgba(255, 70, 170, 0.12);
}

.pill {
  position: relative;
  z-index: 2;
  width: 420px;
  padding: 24px 24px;
  border-radius: 28px;
  background: rgba(11, 16, 30, 0.94);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 0 24px rgba(90, 120, 255, 0.22);
}

.pill strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 1px;
}

.pill p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.p1 {
  position: absolute;
  top: 150px;
  left: 170px;
}

.p2 {
  position: absolute;
  top: 420px;
  left: 190px;
}

.p3 {
  position: absolute;
  top: 560px;
  left: 230px;
  width: 360px;
}
@media screen and (max-width: 768px) {
  .header {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin-left: auto !important;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 32px !important;
    line-height: 1 !important;
    z-index: 30 !important;
  }

  .nav {
    display: none !important;
    width: 100% !important;
  }

  .header.mobile-open .nav {
    display: block !important;
    margin-top: 16px !important;
  }

  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .nav-auth {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255,255,255,0.16) !important;
  }

  .nav-auth .auth-link,
  .nav-auth .auth-btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media screen and (min-width: 769px) {
  .menu-btn {
    display: none !important;
  }
}
