/* ============================================================
   hero.css — первый экран
   ============================================================ */

.hero-section {
  background: var(--navy);
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(96px, 12vh, 140px) clamp(24px, 5vw, 96px) clamp(48px, 4vh, 48px);
  z-index: 2;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.hero-mobile {
  display: none;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@keyframes heroBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ---- Большие экраны (> Full HD) ---- */
/* Все значения стартуют от тех же значений, что были на 1920px,
   и масштабируются дальше — нормальные экраны не затронуты. */
@media (min-width: 1921px) {
  .hero-text h1      { font-size: clamp(58px, 4vw, 100px) !important; }
  .hero-subtitle     { font-size: clamp(26px, 2vw, 46px)  !important; }
  .hero-desc         { font-size: clamp(17px, 1vw, 21px)  !important;
                       max-width: clamp(460px, 22vw, 660px) !important; }
  .hero-ctas         { gap: 16px !important; }
  .hero-text         { padding-bottom: clamp(48px, 5vh, 80px) !important; }
}

@media (min-width: 2561px) {
  .hero-text h1      { font-size: clamp(90px, 4vw, 130px) !important; }
  .hero-subtitle     { font-size: clamp(40px, 2vw, 60px)  !important; }
  .hero-desc         { font-size: clamp(19px, 1vw, 26px)  !important;
                       max-width: clamp(540px, 22vw, 780px) !important; }
  .hero-ctas         { gap: 20px !important; }
}

/* ---- Мобиль ---- */
@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr !important;
    min-height: 100dvh !important;
    min-height: -webkit-fill-available !important;
  }

  .hero-text   { display: none !important; }
  .hero-photo  { display: none !important; }

  .hero-mobile {
    display: flex !important;
    flex-direction: column;
    position: relative;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
  }

  .hero-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
