


.hero-title {
  position: absolute;
  top: 43%;
  left: 48%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-size: clamp(7rem, 4.6774rem + 10.3226vw, 15rem);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1;
  margin: 0;
  z-index: 1;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    padding-top: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent, #000);
    pointer-events: none;
    z-index: 3;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

.hero-cutout {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
    pointer-events: none;
}



.hero-section .container {
    max-width: 1450px;
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 8rem;
    margin-bottom: 8rem;
    box-sizing: border-box;
}

.hero-top {
  position: relative;
  transform: translate(-50%, -50%);
}

.hero-socials {
    position: absolute;
    top: 12rem;
    right: 18rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-socials img {
    width: 30px;
}

.card-plans {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.card-item {
    position: relative;
    width: 150px;
    aspect-ratio: 150 / 270;
    border-radius: 10px;
    overflow: hidden;
    transition: transform .3s ease;
    flex-shrink: 0;
}

.card-item:hover {
    transform: translateY(-20px);
}

.card-plans img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(90%);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.8);
}

.card-text {
   position: absolute;
   bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 8px 8px 8px;
  color: #fff;
  font-size: clamp(0.7rem, 1vw + 1rem, 1.4rem);
  z-index: 2;
}

.card-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
  pointer-events: none;
  z-index: 1;
}

.card-text p {
    line-height: 1;
}

.button-action {
    position: relative;
    margin: 0;
    padding: 10px 90px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    background-image: none;
    border: 1px solid #131313;
    border-radius: 0.8rem;
    color: #131313;
}

.swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
}




#hero-cards-swiper .card-item {
    width: 150px;
    height: auto;
    flex-shrink: 0;
}

/* ===================== ≤1024px: планшеты + телефоны ===================== */
@media (max-width: 1024px) {
    .hero-bg,
    .hero-cutout {
        object-position: center 30%;
    }

    .hero-section .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        margin-bottom: 4rem;
    }

    .hero-top {
        position: static;
        transform: none;
    }

    .hero-socials {
        top: 6rem;
        right: 1.5rem;
    }

    .button-action {
        padding: 10px 60px;
        font-size: 1.2rem;
    }

    .card-plans {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .card-plans .swiper-wrapper {
        align-items: flex-start;
    }
}





@media (max-width: 600px) {
    .hero-title {
        top: 40%;
        left: 48%;
        color: rgba(255, 255, 255, 0.9);
    }

    .hero-socials {
        top: 5rem;
        
    }

    .hero-socials img {
        width: 30px;
    }

    .button-action {
        padding: 10px 44px;
        font-size: 1rem;
    }
}