/* Главная страница: текст внутри секции «Место силы» и мобильная композиция. */
.home-page .home-feature__content {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 4.5vw, 84px);
  top: clamp(80px, 11vh, 130px);
  width: min(580px, calc(100% - 40px));
  color: #0b223d;
  text-align: right;
  opacity: 1;
}

.home-page .home-feature__content .home-feature__title {
  position: static;
  display: block;
  margin: 0 0 24px;
  padding: 0;
  color: #0b223d;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.4vw, 3.3rem);
  line-height: 1.15;
  letter-spacing: 0.14em;
  text-align: right;
  white-space: normal;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.95), 0 1px 3px rgba(255, 255, 255, 0.9);
  pointer-events: auto;
  opacity: 1 !important;
  transform: none !important;
  will-change: auto;
}

.home-page .home-feature__copy p {
  margin: 0;
  color: #0e2238;
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.28vw, 1.28rem);
  line-height: 1.65;
  letter-spacing: 0.01em;
  text-transform: none;
  text-align: right;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(255, 255, 255, 0.9);
}

.home-page .home-feature__copy p + p {
  margin-top: 18px;
}

.home-page .home-feature__note {
  padding-top: 22px;
}

.home-page .home-feature__note strong,
.home-page .home-feature__note span {
  display: block;
}

.home-page .home-feature__note strong {
  margin-bottom: 10px;
  color: #0b223d;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.6vw, 1.65rem);
  font-weight: 400;
  line-height: 1.35;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.95), 0 1px 3px rgba(255, 255, 255, 0.9);
}

.home-page .home-feature__note span {
  color: #1a2f45;
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(255, 255, 255, 0.9);
}

@media (max-width: 760px) {
  .home-page {
    overflow-x: clip;
  }

  .home-page .hero {
    min-height: calc(100vh - 60px);
    min-height: calc(100svh - 60px - env(safe-area-inset-top));
  }

  .home-page .hero__slider-nav {
    top: calc(62px + env(safe-area-inset-top)) !important;
    width: min(190px, calc(100% - 40px));
  }

  .home-page .hero__slide-caption {
    top: calc(90px + env(safe-area-inset-top));
    left: 20px;
    right: 20px;
  }

  .home-page .hero__slide-number {
    font-size: clamp(3.1rem, 15vw, 4.1rem);
  }

  .home-page .hero__slide-text {
    max-width: 100%;
    font-size: clamp(1.02rem, 4.4vw, 1.3rem);
    line-height: 1.22;
    letter-spacing: 0.035em;
    text-wrap: balance;
  }

  .home-page .hero__slide-text--lead {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
  }

  .home-page .hero__slide-text--sub {
    font-size: clamp(0.95rem, 4vw, 1.15rem);
  }

  .home-page .hero__scroll {
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  .home-page .home-ready {
    padding-top: 46px;
  }

  .home-page .home-ready__title {
    font-size: clamp(1.7rem, 7.7vw, 2.15rem);
    letter-spacing: 0.1em;
    margin-bottom: 28px;
  }

  .home-page .home-feature__title {
    max-width: 100%;
    font-size: clamp(1.35rem, 6vw, 1.75rem);
    letter-spacing: 0.1em;
    line-height: 1.2;
  }

  .home-page .home-views {
    height: clamp(460px, 74svh, 660px);
  }

  .home-page .home-views__text {
    top: calc(96px + env(safe-area-inset-top));
    left: 20px;
    right: 20px;
    max-width: none;
    font-size: clamp(1rem, 4.8vw, 1.32rem);
    line-height: 1.4;
    letter-spacing: 0.045em;
    text-align: center;
  }

  .home-page .authors.section {
    padding: 54px 0;
  }

  .home-page .authors__head {
    gap: 14px;
    margin-bottom: 30px;
  }

  .home-page .authors__title {
    font-size: clamp(1.45rem, 7.4vw, 2rem);
    letter-spacing: 0.035em;
  }

  .home-page .authors__lead,
  .home-page .authors__philosophy {
    max-width: 36ch;
    font-size: 1rem;
    line-height: 1.65;
    letter-spacing: 0.025em;
    text-transform: none;
    text-wrap: pretty;
  }

  .home-page .authors__people {
    gap: 12px;
    margin-bottom: 28px;
  }

  .home-page .author {
    flex: 1 1 0;
    min-width: 0;
  }

  .home-page .author__avatar {
    width: clamp(88px, 27vw, 108px);
    height: clamp(88px, 27vw, 108px);
  }

  .home-page .author__name {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
  }

  .home-page .author__role {
    font-size: 0.76rem;
    line-height: 1.45;
    letter-spacing: 0.1em;
  }

  .home-page .home-service {
    padding: 44px 0;
  }

  .home-page .home-service--marble + .home-service--marble {
    padding-top: 18px;
  }

  .home-page .home-service__grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .home-page .home-service__media {
    order: 0;
    align-self: stretch;
    width: calc(100% + 40px);
    max-height: 420px;
    aspect-ratio: 4 / 3;
    margin: 0 -20px;
  }

  .home-page .home-service--lobby .home-service__media .parallax__img,
  .home-page .home-service--tech .home-service__media .parallax__img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .home-page .home-service__grid > .reveal {
    order: 1;
    text-align: left;
  }

  .home-page .home-service__eyebrow {
    max-width: 34ch;
    margin: 0 0 14px;
    font-size: 0.86rem;
    line-height: 1.55;
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: none;
  }

  .home-page .home-service__title {
    margin-bottom: 22px;
    font-size: clamp(1.7rem, 8vw, 2.2rem);
    line-height: 1.12;
    letter-spacing: 0.05em;
    text-align: left;
  }

  .home-page .home-service--lobby .acc__head,
  .home-page .home-service--tech .acc__head {
    min-height: 52px;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: 0.045em;
    text-align: left;
  }

  .home-page .home-service--lobby .acc__head .chev,
  .home-page .home-service--tech .acc__head .chev {
    flex: 0 0 auto;
    margin-left: 12px;
  }

  .home-page .home-service--lobby .acc__body p,
  .home-page .home-service--tech .acc__body p {
    padding: 0 0 18px;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
  }

  .home-page .home-count {
    padding: 60px 0;
  }

  .home-page .home-count__num {
    font-size: clamp(5.25rem, 27vw, 7rem);
    line-height: 0.9;
  }

  .home-page .home-count__subtitle {
    margin: 10px 0 18px;
    font-size: 1.15rem;
    letter-spacing: 0.09em;
  }

  .home-page .home-count__text {
    max-width: 32ch;
    padding: 0 20px;
    font-size: 1rem;
    line-height: 1.65;
    letter-spacing: 0.025em;
    text-transform: none;
  }
}

@media (max-width: 700px) {
  .home-page .home-feature__sticky {
    position: relative;
    min-height: 100svh;
    height: auto;
    overflow: hidden;
    background: #19252b;
  }

  .home-page .home-feature__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .home-page .home-feature__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 42% center;
    transform: none !important;
  }

  .home-page .home-feature__content {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    min-height: 100svh;
    overflow: visible;
    padding: clamp(100px, 15svh, 150px) 20px 48px;
    color: var(--navy);
    text-align: right;
    opacity: 1 !important;
    transform: none !important;
  }

  .home-page .home-feature__content .home-feature__title {
    margin-bottom: 20px;
    color: #0b223d;
    font-size: clamp(1.65rem, 6vw, 2.2rem);
    text-align: right;
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(255, 255, 255, 0.9);
  }

  .home-page .home-feature__copy p {
    color: #0e2238;
    font-size: clamp(1.02rem, 3.8vw, 1.15rem);
    font-weight: 500;
    line-height: 1.65;
    text-align: right;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(255, 255, 255, 0.9);
  }

  .home-page .home-feature__copy p + p {
    margin-top: 16px;
  }

  .home-page .home-feature__note {
    padding-top: 18px;
  }

  .home-page .home-feature__note strong {
    margin-bottom: 8px;
    color: #0b223d;
    font-size: clamp(1.2rem, 4.4vw, 1.45rem);
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(255, 255, 255, 0.9);
  }

  .home-page .home-feature__note span {
    color: #1a2f45;
    font-size: clamp(1rem, 3.6vw, 1.1rem);
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(255, 255, 255, 0.9);
  }
}

@media (max-width: 380px) {
  .home-page .hero__slide-caption {
    top: calc(84px + env(safe-area-inset-top));
    left: 16px;
    right: 16px;
  }

  .home-page .hero__slider-nav {
    width: min(170px, calc(100% - 32px));
  }

  .home-page .authors__people {
    gap: 8px;
  }

  .home-page .author__avatar {
    width: 88px;
    height: 88px;
  }
}

@media (max-width: 900px) and (orientation: landscape) and (max-height: 540px) {
  .home-page .hero {
    min-height: calc(100vh - 60px);
    min-height: calc(100svh - 60px - env(safe-area-inset-top));
  }

  .home-page .hero__slide-caption {
    top: calc(76px + env(safe-area-inset-top));
  }

  .home-page .hero__scroll {
    bottom: max(10px, env(safe-area-inset-bottom));
  }
}
