/* Landing page specific styles */

/* Landing page label styles */
.main__label {
    margin-top: 30px;
}

/* Landing page title styles */
.main__title--landing {
    font-size: 90px;
    line-height: 90%;
    max-width: 700px;
    letter-spacing: -0.02em;
}

@media (max-width: 1199.98px) {
    .main__title--landing {
        font-size: 70px;
        line-height: 95%;
    }
}

@media (max-width: 991.98px) {
    .main__title--landing {
        font-size: 55px;
        line-height: 100%;
        max-width: 500px;
    }
}

@media (max-width: 767.98px) {
    .main__title--landing {
        font-size: 40px;
        line-height: 105%;
        max-width: 350px;
    }
}

/* City landing page — taller hero section */
.main--city {
    padding: 230px 0 80px 0;
}

@media (max-width: 767.98px) {
    .main--city {
        padding: 90px 0 70px 0;
    }
}

/* City landing page H1 — normal font, compact size */
.main__title--city {
    font-family: var(--second-family);
    font-size: 60px;
    line-height: 110%;
    max-width: 600px;
    padding-bottom: 8px;
}

@media (max-width: 1199.98px) {
    .main__title--city {
        font-size: 48px;
        max-width: 500px;
    }
}

@media (max-width: 991.98px) {
    .main__title--city {
        font-size: 38px;
        max-width: 420px;
    }
}

@media (max-width: 767.98px) {
    .main__title--city {
        font-size: 30px;
        max-width: 300px;
    }
}

/* Landing page subtitle styles */
.main__subtitle {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 32px;
    line-height: 120%;
    color: #2f2727;
    margin-bottom: 35px;
}

@media (max-width: 1199.98px) {
    .main__subtitle {
        font-size: 28px;
    }
}

@media (max-width: 991.98px) {
    .main__subtitle {
        font-size: 24px;
    }
}

@media (max-width: 767.98px) {
    .main__subtitle {
        font-size: 20px;
    }
}

/* Landing page button wrapper */
.main__button-wrapper {
    display: flex;
    justify-content: center;
    margin-left: -12px;
}

/* Landing Women Carousel Styles */
.landing-women {
    padding: 60px 0;
    background-color: var(--wh);
}

.landing-women__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.landing-women__main {
    text-align: center;
}

.landing-women__title {
    margin-bottom: 40px;
    color: #2f2727;
    font-size: 56px;
    max-width: 1020px;
    margin: 0 auto 46px;
}

.landing-women__slider {
    position: relative;
    overflow: hidden;
}

.landing-women__slider-wrapper {
    position: relative;
    padding: 0 73px;
}

.landing-women__main {
    position: relative;
}

.landing-women__slide {
    height: 428px;
}

.landing-women__inner {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.landing-women__inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.landing-women__link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.landing-women__top {
    position: relative;
    z-index: 3;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.landing-women__box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.landing-women__text--wrap {
    position: relative;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 5px 10px;
    backdrop-filter: blur(10px);
}

.landing-women__text {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.landing-women__actions {
    display: flex;
    gap: 8px;
    z-index: 4;
}

.landing-women__button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.landing-women__button:hover {
    background: #fff;
    transform: scale(1.1);
}

.landing-women__button._icon-favorite.active {
    color: #ff6b6b;
}

.landing-women__bottom {
    position: relative;
    padding: 20px 15px 15px;
    margin-top: auto;
}

.landing-women__content {
    position: relative;
    z-index: 3;
}

.landing-women__name {
    font-size: 18px;
    font-weight: 700;
    color: #2f2727;
    margin-bottom: 5px;
}

.landing-women__descr {
    color: #666;
    font-size: 14px;
}

.landing-women__bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
    z-index: 1;
}

.landing-women__image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 100%;
    width: 100%;
}

.landing-women__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.landing-women__nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    transform: translateY(-50%);
}

.nav-swiper__button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ff7a6e;
    border: 2px solid #ff7a6e;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    pointer-events: auto;
}

.nav-swiper__button:hover {
    background: #ff6b5a;
    border-color: #ff6b5a;
    color: #fff;
    transform: scale(1.1);
}

.nav-swiper__button._icon-arrow {
    font-size: 18px;
}

.nav-swiper__button._icon-arrow-left {
    transform: rotate(180deg);
}

.nav-swiper__button._icon-arrow-right {
    transform: rotate(0deg);
}

/* Specific styles for landing carousel arrows */
.landing-women-swiper-button-prev {
    transform: rotate(180deg);
}

.landing-women-swiper-button-next {
    transform: rotate(0deg);
}

.landing-women-2-swiper-button-prev {
    transform: rotate(180deg);
}

.landing-women-2-swiper-button-next {
    transform: rotate(0deg);
}

/* Landing Gallery Search Styles */
.gallery-search {
    position: relative;
    z-index: 2;
    padding: 7px 0 45px 0;
}

/* Why City Section */
.why-city {
    position: relative;
    z-index: 2;
    padding: 10px 15px 35px;
}

.why-city__wrap {
    max-width: 1100px;
    margin: 0 auto;
    background: #f9f8f8;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.why-city__wrap.blur-1::before {
    width: 500px;
    height: 500px;
    background: #f6dadc;
    top: -20%;
    left: -10%;
}

.why-city__wrap.blur-2::after {
    width: 600px;
    height: 600px;
    background: #e6e5fa;
    bottom: -30%;
    right: -15%;
    top: auto;
}

.why-city__inner {
    position: relative;
    z-index: 3;
    padding: 40px 55px 45px;
}

.why-city__title {
    text-align: center;
    padding-bottom: 22px;
}

.why-city__body {
    max-width: 820px;
    margin: 0 auto;
}

.why-city__lead {
    position: relative;
    padding-left: 16px;
    margin-bottom: 20px;
}

.why-city__lead::before {
    content: "";
    position: absolute;
    width: 3px;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 2px;
    background: linear-gradient(0deg, #fd5e51 0%, #ff7a6e 100%);
    box-shadow: 0 4px 35px 0 rgba(245, 80, 66, 0.35);
}

.why-city__lead p {
    font-size: 15px;
    line-height: 1.55;
    color: #2f2727;
}

.why-city__columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 28px;
}

.why-city__item {
    position: relative;
    padding-left: 12px;
}

.why-city__item::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fd5e51;
    top: 9px;
    left: 0;
}

.why-city__item p {
    font-size: 14px;
    line-height: 1.55;
    color: #555;
}

@media (max-width: 991.98px) {
    .why-city {
        padding: 10px 15px 30px;
    }

    .why-city__inner {
        padding: 30px 30px 35px;
    }

    .why-city__columns {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 767.98px) {
    .why-city__inner {
        padding: 24px 18px 28px;
    }

    .why-city__lead p {
        font-size: 14px;
    }

    .why-city__item p {
        font-size: 13px;
    }
}

/* About block overrides for landing pages */
.about-block__content {
    padding: 40px 0 60px 0;
}

.about-block__title {
    padding-bottom: 14px;
}

.about-block__text {
    line-height: 1.5;
}

.about-block__text:not(:last-child) {
    margin: 0 0 16px 0;
}

.about-block {
    margin: 30px 0;
}

@media (max-width: 767.98px) {
    .about-block__content {
        padding: 0;
    }

    .about-block__text {
        font-size: 14px;
    }
}

/* FAQ section — prevent main-gallery from overlapping FAQ on landing pages */
.faq + .main-gallery {
    margin-top: 0;
    border-radius: 0;
}

/* Landing Women Carousel 2 (without title) */
.landing-women--no-title .landing-women__title {
    display: none;
}

/* Button under carousel 2 */
.landing-women__button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 0 20px;
    margin-bottom: 44px;
}

/* Landing Testimonials - using main-gallery styles from main page */
.main-gallery__title.h2 {
    text-align: center;
    color: #2f2727;
    margin: 40px auto 40px;
    max-width: 840px;
}

/* Landing Package Block */
.package-block {
    overflow: hidden;
}

/* Viewed profiles styles for landing */
.landing-women .viewed-profiles__slide {
    height: 370px;
}

.landing-women .viewed-profiles__inner {
    height: 100%;
    position: relative;
}

.landing-women .viewed-profiles__image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 100%;
    width: 100%;
}

.landing-women .viewed-profiles__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.landing-hero .main__label {
    line-height: 1;
    padding-bottom: 24px;
}

.landing-hero .text-l {
    font-size: 68px;
}

.landing-hero .main__subtitle {
    font-size: 38px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .landing-hero .main__subtitle {
        font-size: 26px;
    }
    .landing-hero .text-l {
        font-size: 40px;
        margin-top: 18px;
    }
    .landing-women {
        padding: 40px 0;
    }

    .landing-women__container {
        padding: 0 15px;
    }

    .landing-women__title {
        margin-bottom: 30px;
        font-size: 28px;
    }

    .landing-women__slide {
        height: 350px;
    }

    .landing-women__nav {
        margin-top: 20px;
    }

    .nav-swiper__button {
        width: 40px;
        height: 40px;
    }

    .landing-women__button-wrapper {
        margin-top: 30px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .landing-women__slide {
        height: 300px;
    }
}
