/* Elementor homepage presentation */
.home #primary {
    overflow: hidden;
}

.home .elementor-element.aiv-home-section {
    padding: 88px 24px;
}

.home .elementor-element.aiv-home-section-soft {
    background: #f7f3ef;
}

.home .aiv-section-inner {
    width: min(100%, 1200px);
    margin: 0 auto;
}

.home .elementor-element.aiv-home-hero {
    position: relative;
    min-height: clamp(620px, 78vh, 780px);
    padding: 90px 24px 120px;
    justify-content: center;
    isolation: isolate;
}

.home .elementor-element.aiv-home-hero::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(5, 10, 18, 0.88) 0%, rgba(5, 10, 18, 0.7) 48%, rgba(5, 10, 18, 0.46) 100%),
        linear-gradient(180deg, rgba(5, 10, 18, 0.32) 0%, rgba(5, 10, 18, 0.18) 45%, rgba(5, 10, 18, 0.38) 100%);
    content: "";
    pointer-events: none;
}

.home .aiv-hero-content {
    position: relative;
    z-index: 2;
    width: min(100%, 1240px);
    margin: 0 auto;
}

.home .aiv-hero-kicker,
.home .aiv-section-kicker {
    margin-bottom: 12px;
    color: #a81f2d;
    font-family: "Jost", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.home .aiv-hero-kicker {
    color: #f2c5ae;
}

.home .aiv-hero-title .elementor-heading-title {
    max-width: 850px;
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 0.98;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.62), 0 1px 2px rgba(0, 0, 0, 0.45);
}

.home .aiv-hero-copy {
    max-width: 690px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.55;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.58);
}

.home .aiv-hero-copy p,
.home .aiv-section-copy p {
    margin: 0;
}

.home .aiv-primary-button .elementor-button,
.home .aiv-secondary-button .elementor-button {
    min-height: 52px;
    padding: 16px 26px;
    border-radius: 999px;
    font-family: "Jost", Arial, sans-serif;
    font-size: 15px;
    font-weight: 650;
    text-decoration: none;
}

.home .aiv-primary-button .elementor-button {
    background: #a81f2d;
    color: #fff;
}

.home .aiv-secondary-button .elementor-button {
    border: 1px solid #d8ccc5;
    background: #fff;
    color: #172433;
}

.home .aiv-hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.home .aiv-hero-search {
    position: relative;
    z-index: 3;
    width: min(100%, 1120px);
    margin: -78px auto 0;
    padding: 0 24px;
}

.home .villa-search-bar {
    display: grid;
    grid-template-columns: minmax(240px, 1.25fr) minmax(220px, 1fr) auto;
    gap: 12px;
    align-items: end;
    max-width: none;
    margin: 0;
    padding: 16px 22px;
    border: 1px solid rgba(23, 36, 51, 0.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(23, 36, 51, 0.2);
}

.home .villa-search-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
}

.home .villa-search-field > span {
    color: #6f645e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.home .villa-search-bar input.villa-search-input,
.home .villa-search-bar select.villa-search-select {
    width: 100%;
    height: 50px;
    min-height: 50px;
    max-height: 50px;
    padding: 0 15px;
    border: 1px solid #e3ddd8;
    border-radius: 10px;
    background: #fbfaf8;
    color: #172433;
    font-size: 15px;
    line-height: 50px;
    box-sizing: border-box;
}

.home .villa-search-field .villa-search-input,
.home .villa-search-field .villa-search-select {
    display: block;
    flex: 0 0 auto;
}

.home .villa-search-bar .villa-search-btn {
    min-height: 50px;
    padding: 0 25px;
    border-radius: 10px;
    background: #a81f2d;
    color: #fff;
    white-space: nowrap;
}

.home .aiv-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    width: min(100% - 48px, 1120px);
    margin: 112px auto 0;
    overflow: hidden;
    border: 1px solid #e7e0da;
    border-radius: 18px;
    background: #e7e0da;
}

.home .aiv-stat {
    padding: 26px 22px;
    background: #fff;
    text-align: center;
}

.home .aiv-stat .elementor-heading-title {
    color: #172433;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 400;
}

.home .aiv-stat-copy {
    margin-top: 5px;
    color: #746963;
    font-size: 14px;
}

.home .aiv-section-header {
    max-width: 760px;
    margin-bottom: 38px;
}

.home .aiv-section-title .elementor-heading-title {
    margin: 0;
    color: #172433;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.home .aiv-section-copy {
    margin-top: 14px;
    color: #6f6863;
    font-size: 17px;
    line-height: 1.7;
}

.home .aiv-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home .aiv-image-card {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    justify-content: flex-end;
    padding: 26px;
    border-radius: 18px;
    background-position: center;
    background-size: cover;
    box-shadow: 0 16px 36px rgba(23, 36, 51, 0.12);
    isolation: isolate;
}

.home .aiv-image-card::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(7, 13, 20, 0.18) 0%, rgba(7, 13, 20, 0.38) 42%, rgba(7, 13, 20, 0.88) 100%),
        linear-gradient(90deg, rgba(7, 13, 20, 0.52) 0%, rgba(7, 13, 20, 0.16) 58%, rgba(7, 13, 20, 0.34) 100%);
    content: "";
}

.home .aiv-image-card .elementor-heading-title {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 400;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72), 0 1px 2px rgba(0, 0, 0, 0.52);
}

.home .aiv-card-copy {
    margin-top: 6px;
    color: #fffdf8;
    font-size: 14px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62);
}

.home .aiv-card-link .elementor-button {
    margin-top: 13px;
    padding: 0;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.58);
}

.home .aiv-hero-kicker,
.home .aiv-hero-title .elementor-heading-title,
.home .aiv-hero-copy,
.home .aiv-hero-copy p,
.home .aiv-image-card .elementor-heading-title,
.home .aiv-card-copy,
.home .aiv-card-copy p {
    color: #fff !important;
}

.home .villaSlider {
    padding: 4px 4px 52px;
}

.home .villa-card {
    border: 1px solid #eee8e3;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(23, 36, 51, 0.08);
}

.home .villa-card-thumb {
    height: 250px;
}

.home .villa-card-body {
    padding: 18px;
}

.home .villa-card-location {
    color: #a81f2d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.home .villa-card-title {
    color: #172433;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.2;
}

.home .villa-price {
    color: #172433;
}

.home .villa-card-cta {
    display: inline-block;
    margin-top: 10px;
    color: #a81f2d;
    font-size: 14px;
    font-weight: 700;
}

.home .villaSlider .swiper-button-prev,
.home .villaSlider .swiper-button-next {
    width: 42px;
    height: 42px;
    border: 1px solid #dfd6cf;
    border-radius: 50%;
    background: #fff;
    color: #172433;
    box-shadow: 0 6px 18px rgba(23, 36, 51, 0.1);
}

.home .villaSlider .swiper-button-prev::after,
.home .villaSlider .swiper-button-next::after {
    font-size: 15px;
    font-weight: 800;
}

.home .villaSlider .swiper-pagination-bullet-active {
    background: #a81f2d;
}

.home .aiv-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.home .aiv-benefit-card {
    padding: 34px;
    border: 1px solid #e8e0db;
    border-radius: 18px;
    background: #fff;
}

.home .aiv-benefit-number .elementor-heading-title {
    color: #a81f2d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    font-weight: 400;
}

.home .aiv-benefit-title .elementor-heading-title {
    margin-top: 22px;
    color: #172433;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
}

.home .aiv-benefit-copy {
    margin-top: 10px;
    color: #746963;
    font-size: 15px;
    line-height: 1.65;
}

.home .aiv-home-cta {
    padding: 82px 24px;
    background: #172433;
}

.home .aiv-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    width: min(100%, 1120px);
    margin: auto;
}

.home .aiv-cta-title .elementor-heading-title {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 400;
    line-height: 1.08;
}

.home .aiv-cta-copy {
    max-width: 680px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
}

@media (max-width: 900px) {
    .home .aiv-card-grid,
    .home .aiv-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home .villa-search-bar {
        grid-template-columns: 1fr 1fr;
    }

    .home .villa-search-bar .villa-search-btn {
        grid-column: 1 / -1;
    }

    .home .aiv-cta-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home .elementor-element.aiv-home-section {
        padding: 64px 18px;
    }

    .home .elementor-element.aiv-home-hero {
        min-height: 610px;
        padding: 66px 18px 115px;
    }

    .home .aiv-hero-title .elementor-heading-title {
        font-size: 47px;
    }

    .home .aiv-hero-search {
        margin-top: -68px;
        padding: 0 14px;
    }

    .home .villa-search-bar,
    .home .aiv-stat-strip,
    .home .aiv-card-grid,
    .home .aiv-benefit-grid {
        grid-template-columns: 1fr;
    }

    .home .villa-search-bar {
        padding: 17px;
    }

    .home .aiv-stat-strip {
        width: calc(100% - 28px);
        margin-top: 92px;
    }

    .home .aiv-image-card {
        min-height: 310px;
    }

    .home .aiv-home-cta {
        padding: 64px 18px;
    }
}
