/* ===== Адаптив: десктоп → планшет → мобильный ===== */

/* Крупные мониторы */
@media (min-width: 1400px) {
  .container {
    width: min(1240px, 100% - 3rem);
  }

  .hero__title {
    font-size: 3.25rem;
  }
}

/* Ноутбук / малый десктоп */
@media (max-width: 1200px) {
  .hero__grid {
    gap: 2rem;
  }

  .card-3d {
    width: 300px;
    height: 188px;
  }

  .card-3d__pan {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Планшет альбом */
@media (max-width: 1024px) {
  .benefits-spotlight__bar {
    margin-top: -2rem;
    padding: 0;
    gap: 0.75rem;
    max-width: min(900px, 100%);
  }

  .benefits-metric {
    padding: 0.9rem 0.65rem;
  }

  .benefits-metric__label {
    font-size: 0.72rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-card--feature {
    grid-column: span 2;
    grid-row: span 1;
  }

  .hero__grid,
  .promo__layout,
  .cta-final__grid,
  .countries__grid,
  .transfer-visual__grid,
  .faq-faq-grid {
    grid-template-columns: 1fr;
  }

  .countries-stage,
  .transfer-stage {
    max-width: 520px;
    margin-inline: auto;
    overflow-x: clip;
  }

  .countries__text {
    margin-inline: auto;
  }

  .countries__flags {
    margin-inline: auto;
    max-width: 480px;
  }

  .countries__content .btn,
  .transfer-visual__text .btn {
    display: inline-flex;
    max-width: 360px;
    width: 100%;
    justify-content: center;
  }

  .hero__visual {
    order: -1;
    max-width: 520px;
    margin-inline: auto;
  }

  .hero__content {
    text-align: center;
  }

  .hero__lead,
  .hero__checks {
    margin-inline: auto;
  }

  .hero__checks {
    max-width: 28rem;
    text-align: left;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .countries__content {
    text-align: center;
  }

  .countries__flags {
    margin-inline: auto;
  }

  .transfer-visual__text {
    text-align: center;
  }

  .transfer-visual__list {
    display: inline-block;
    text-align: left;
  }

  .transfer-visual__text .btn {
    display: inline-flex;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-faq-grid__visual {
    position: static;
    max-height: 320px;
  }

  .faq-faq-grid__visual img {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-grid .audience-card:last-child {
    grid-column: 1 / -1;
  }

  .audience-bar {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .audience-bar__item:not(:last-child) {
    padding-right: 0;
    padding-bottom: 1.25rem;
    border-right: none;
    border-bottom: 1px solid rgba(44, 40, 37, 0.08);
  }

  .cta-final__content {
    text-align: center;
  }

  .cta-final__list,
  .cta-final__legal {
    margin-inline: auto;
  }

  .cta-final__content .btn {
    display: inline-flex;
  }
}

/* Планшет портрет */
@media (max-width: 900px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-card--feature {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-card__media {
    min-height: 200px;
  }

  .gallery-card:not(.gallery-card--feature) .gallery-card__media {
    min-height: 140px;
  }

  .transfer-route {
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }

  .transfer-route__track {
    flex: 1 1 100%;
    order: 3;
    max-width: 260px;
    margin-inline: auto;
  }

  .transfer-phone__img {
    max-width: 200px;
  }

  .transfer-phone__toast--sum {
    left: 0;
    top: 12%;
  }

  .transfer-phone__toast--ok {
    right: 0;
  }

  .transfer-chip--fast {
    right: 0;
    top: 22%;
  }

  .transfer-chip--safe {
    left: 0;
    bottom: 28%;
  }
}

/* Мобильный */
@media (max-width: 768px) {
  .section__head {
    margin-bottom: 2rem;
  }

  .section__subtitle {
    font-size: 1rem;
  }

  .benefits-spotlight__bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .benefits-metric__value {
    font-size: 1.1rem;
  }

  .benefits-metric__label {
    font-size: 0.65rem;
  }

  .benefits-tags {
    margin-bottom: 1.75rem;
  }

  .promo__panel {
    padding: 1.5rem 1.25rem;
  }

  .promo__cta,
  .promo__panel .btn {
    width: 100%;
  }

  .countries__content .btn,
  .transfer-visual__text .btn {
    width: 100%;
    max-width: none;
  }

  .transfer-visual__list {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }

  .transfer-stage {
    padding-inline: 0.25rem;
  }

  .transfer-chip--safe {
    display: none;
  }

  .transfer-phone__toast--sum {
    left: -4%;
    max-width: calc(100% - 1rem);
  }

  .transfer-phone__toast--ok {
    right: -4%;
  }

  .countries-float--limit {
    display: none;
  }

  .countries-orbit__flag--2,
  .countries-orbit__flag--5 {
    opacity: 0.95;
  }

  .features-strip {
    mask-image: none;
  }

  .features-strip__track {
    padding-inline: 0.5rem;
  }

  .photo-marquee__edge {
    width: 48px;
  }
  .hero__float-icons .float-icon--4,
  .hero__float-icons .float-icon--2 {
    display: none;
  }

  .float-icon {
    width: 42px;
    height: 42px;
  }

  .float-icon svg {
    width: 22px;
    height: 22px;
  }

  .showcase-band {
    padding: 2rem 0 1.5rem;
  }

  .photo-card {
    flex: 0 0 220px;
    width: 220px;
    height: 200px;
  }

  .feature-chip__text {
    font-size: 0.8rem;
  }

  :root {
    --header-h: 56px;
  }

  .nav,
  .header__cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header {
    padding-top: 0.65rem;
  }

  .header__shell {
    width: min(100% - 1rem, 1100px);
  }

  .header__bar {
    min-height: var(--header-h);
    padding-left: 1rem;
  }

  .header--scrolled {
    padding: 0.45rem 0;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 1.25rem);
    padding-bottom: 2.5rem;
  }

  .hero__title {
    font-size: clamp(1.65rem, 6vw, 2.25rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .card-scene {
    min-height: 320px;
  }

  .card-3d {
    width: min(280px, 88vw);
    height: 175px;
    margin-right: 0;
  }

  .card-3d__pan {
    font-size: 0.62rem;
    letter-spacing: 0.07em;
  }

  .card-3d__details {
    gap: 0.65rem;
  }

  .card-3d__brand {
    font-size: 0.85rem;
  }

  .card-glow,
  .card-shine {
    width: min(280px, 88vw);
    height: 175px;
  }

  .hero__photo {
    width: 120px;
    height: 150px;
    right: 0;
  }

  .hero__limit {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 1rem;
    max-width: 100%;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .btn--lg {
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
    min-height: 48px;
  }

  .section {
    padding: 3rem 0;
  }

  .section--compact {
    padding: 2rem 0 2.5rem;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .stat-card {
    padding: 1.25rem 0.75rem;
  }

  .stat-card__value {
    font-size: 1.2rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }

  .audience-grid .audience-card:last-child {
    grid-column: auto;
  }

  .audience-bar {
    padding: 1rem 1.15rem;
  }

  .promo__visual {
    max-width: 520px;
    margin-inline: auto;
  }

  .promo__visual-card {
    width: 110px;
    bottom: 1rem;
    right: 1rem;
  }

  .promo__panel .section__title,
  .promo__lead {
    text-align: center;
    margin-inline: auto;
  }

  .promo__panel .badge {
    display: table;
    margin-inline: auto;
  }

  .promo__cta {
    display: block;
    margin-inline: auto;
  }

  .cta-cards__secondary {
    width: 42%;
    right: 0;
    bottom: -0.5rem;
  }

  .photo-card {
    flex: 0 0 200px;
    width: 200px;
    height: 180px;
  }

  .countries {
    padding: 2.5rem 0;
  }

  .transfer-stage {
    min-height: auto;
    padding-bottom: 1rem;
  }
}

/* Маленький телефон */
@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefits-spotlight__media {
    height: clamp(180px, 52vw, 280px);
    margin-inline: auto;
  }

  .benefits-spotlight__bar {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin-top: -1.25rem;
    margin-inline: auto;
  }

  .benefits-metric {
    text-align: center;
  }

  .transfer-route__track {
    max-width: 220px;
  }

  .transfer-route__avatar {
    width: 56px;
    height: 56px;
  }

  .transfer-route__avatar img {
    width: 56px;
    height: 56px;
  }

  .transfer-chip--fast {
    display: none;
  }

  .transfer-phone__toast {
    font-size: 0.72rem;
    padding: 0.45rem 0.65rem;
  }

  .transfer-phone__toast strong {
    font-size: 0.8rem;
  }

  .transfer-phone__img {
    max-width: min(220px, 78vw);
  }

  .countries-float--speed {
    display: none;
  }

  .countries-float--phone {
    left: 0;
    right: 0;
    bottom: 2%;
    max-width: calc(100% - 1.5rem);
    white-space: normal;
    text-align: left;
    font-size: 0.7rem;
  }

  .countries-stage {
    min-height: 340px;
    padding-bottom: 0.5rem;
  }

  .countries-globe {
    width: 100%;
  }

  .countries-orbit {
    inset: -2%;
  }

  .gallery-card__panel {
    padding: 0.75rem 0.85rem;
  }

  .gallery-card__copy h3 {
    font-size: 0.88rem;
  }

  .gallery-card__copy p {
    font-size: 0.72rem;
  }

  .gallery-card__icon {
    width: 36px;
    height: 36px;
  }

  .container,
  .container--narrow {
    width: min(100% - 1.25rem, 1140px);
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery-card--feature {
    grid-column: span 1;
  }

  .gallery-card__media {
    min-height: 180px;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .hero__checks li {
    font-size: 0.9rem;
  }

  .hero__trust {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
  }

  .hero__trust span {
    font-size: 0.95rem;
  }

  .badge--promo {
    font-size: 1.35rem;
    padding: 0.4rem 0.95rem;
  }

  .countries__flags {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }

  .countries-stage {
    min-height: 360px;
    max-width: 440px;
    margin-inline: auto;
  }

  .countries-float--phone {
    left: 0;
    bottom: 4%;
    font-size: 0.72rem;
    padding: 0.5rem 0.75rem;
  }

  .countries-float--speed {
    right: 0;
    top: 8%;
  }

  .countries-float--limit {
    left: 0;
    top: auto;
    bottom: 28%;
  }

  .countries-orbit__flag {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .promo-card {
    padding: 0.9rem 1rem;
  }

  .promo__visual-card {
    width: 96px;
    bottom: 0.75rem;
    right: 0.75rem;
  }

  .faq-faq-grid {
    gap: 1.5rem;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .cta-final {
    padding: 3rem 0;
  }

  .cta-final__content h2 {
    font-size: 1.5rem;
  }

  .scroll-top {
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }
}

/* Очень узкие экраны */
@media (max-width: 360px) {
  .logo__mark {
    font-size: 1.05rem;
  }

  .card-scene {
    min-height: 280px;
  }

  .hero__photo {
    width: 100px;
    height: 125px;
  }

  .benefits-spotlight__bar {
    max-width: 100%;
    padding: 0;
  }

  .benefits-tag,
  .benefits-pill {
    font-size: 0.75rem;
  }

  .photo-card {
    flex: 0 0 180px;
    width: 180px;
    height: 160px;
  }

  .feature-chip {
    padding: 0.55rem 0.85rem 0.55rem 0.55rem;
  }

  .feature-chip__text {
    font-size: 0.75rem;
  }

  .transfer-route__name {
    font-size: 0.65rem;
  }

  .countries-orbit__flag {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
}

/* Ландшафт на телефоне */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-block: calc(var(--header-h) + 1rem) 2rem;
  }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__content {
    text-align: left;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero__actions .btn {
    width: auto;
    flex: 1 1 auto;
  }

  .hero__visual {
    order: 0;
  }

  .card-scene {
    min-height: 260px;
  }

  .transfer-stage,
  .countries-stage {
    min-height: auto;
  }

  .gallery-card__media {
    min-height: 120px;
  }
}

/* Крупные сенсорные экраны (планшет) — чуть больше отступы */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    width: min(1140px, 100% - 2rem);
  }

  .section {
    padding: 4rem 0;
  }
}

/* Safe area (вырезы iPhone) */
@supports (padding: max(0px)) {
  .header__shell {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .menu-panel {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
}

/* Иллюстрации: единое отображение на хостинге и локально */
.content-img,
.hero__photo,
.gallery-card__media img,
.countries-globe__img,
.benefits-spotlight__media img,
.promo__visual-frame > img,
.step__img,
.audience-card__media img,
.faq-faq-grid__visual img,
.cta-cards__main,
.cta-cards__secondary,
.transfer-phone__img,
.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-card__media,
.photo-card,
.audience-card__media {
  background: #1a2420;
}

.transfer-route__avatar img {
  object-fit: cover;
}
