/* ==========================================
   VILLA HERO
========================================== */

.villa-hero {

    position: relative;

    width: 100%;

    min-height: 700px;

    padding: 35px 3.2% 40px;

    background: #f5f0e6;

    overflow: hidden;

}


/* ==========================================
   BACK BUTTON
========================================== */

.villa-back-wrap {

    position: relative;
top: 70px;
    z-index: 20;

    margin-bottom: 0px;

}


.villa-back-btn {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    height: 44px;

    padding: 0 18px;

    border: 1px solid #a87932;

    border-radius: 50px;

    color: #916528;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: .14em;

    transition: all .3s ease;

}


.villa-back-btn:hover {

    color: #fff;

    background: #b98535;

    transform: translateX(-3px);

}


/* ==========================================
   MAIN HERO LAYOUT
========================================== */

.villa-hero-inner {

    display: grid;

    grid-template-columns:
        minmax(420px, .95fr)
        minmax(550px, 1.05fr);

    align-items: center;

    gap: 70px;

    width: 100%;

    max-width: 1500px;

    min-height: 610px;

    margin: 0 auto;

}


/* ==========================================
   LEFT CONTENT
========================================== */

.villa-hero-content {

    position: relative;

    z-index: 5;

    max-width: 650px;

}


.villa-hero-title {

    margin: 0;

    color: #292725;

    font-size: clamp(
        55px,
        5.5vw,
        52px
    );

    line-height: .95;

    letter-spacing: -.055em;

}


.villa-hero-title em {

    color: #b88638;

    font-family: "Poppins", serif;

    font-weight: 400;

}


.villa-hero-title span {

    color: #292725;

}


.villa-hero-subtitle {

    margin: 25px 0 0;

    color: #292725;

    font-size: 20px;

    font-weight: 400;

}


.villa-hero-line {

    width: 75px;

    height: 2px;

    margin: 27px 0;

    background: #d9ccb6;

}


.villa-hero-description {

    max-width: 610px;

    margin: 0;

    color: #666;

    font-size: 16px;

    line-height: 1.95;

}


/* ==========================================
   VILLA HERO ACTIONS
========================================== */

.villa-hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 38px;
}


/* ==========================================
   CONSULTATION BUTTON
========================================== */

.villa-consult-btn {
    position: relative;
    isolation: isolate;

    display: flex;
    align-items: center;
    justify-content: space-between;

    /* min-width: 345px; */
    /* height: 66px; */

    padding:  15px  25px;

    overflow: hidden;

    border-radius: 30px;

    color: #fff;
    text-decoration: none;

    background: linear-gradient(
        110deg,
        #d3a34f,
        #ae7929,
        #c28d36
    );

    background-size: 200% 100%;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: .075em;

    box-shadow:
        0 12px 30px rgba(161, 111, 35, .18);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        background-position .5s ease;
}


/* subtle moving shine */

.villa-consult-btn::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background: linear-gradient(
        100deg,
        transparent,
        rgba(255,255,255,.22),
        transparent
    );

    transform: skewX(-20deg);

    transition: left .7s ease;

    z-index: -1;
}


.villa-consult-btn:hover {
    transform: translateY(-3px);

    background-position: 100% 0;

    box-shadow:
        0 18px 38px rgba(161, 111, 35, .28);
}


.villa-consult-btn:hover::before {
    left: 140%;
}


.villa-consult-btn span:last-child {
    font-size: 22px;

    line-height: 1;

    transition:
        transform .35s ease;
}


.villa-consult-btn:hover span:last-child {
    transform: translateX(5px);
}


/* ==========================================
   PREMIUM PDF BROCHURE BUTTON
========================================== */

.villa-brochure-btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 14px;

    min-height: 58px;

    padding: 4px 12px 4px 0;

    color: #211f1b;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .105em;

    white-space: nowrap;

    transition:
        transform .3s ease,
        color .3s ease;
}


/* ==========================================
   PDF ICON CIRCLE
========================================== */

.villa-download-icon {
    position: relative;

    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dfd3bd;

    border-radius: 50%;

    color: #b47c2b;

    background: rgba(255,255,255,.35);

    box-shadow:
        0 0 0 0 rgba(180,124,43,.12);

    transition:
        all .35s ease;
}


/* PDF ICON */

.villa-download-icon i {
    position: relative;

    z-index: 2;

    font-size: 22px;

    line-height: 1;

    transition:
        transform .35s ease,
        color .35s ease;
}


/* ==========================================
   ROTATING GOLD RING
========================================== */

.villa-download-icon::after {
    content: "";

    position: absolute;

    inset: -4px;

    border: 1px solid transparent;

    border-top-color: #b98232;

    border-radius: 50%;

    opacity: 0;

    transition: opacity .3s ease;
}


/* ==========================================
   PDF LABEL
========================================== */

.villa-brochure-text {
    position: relative;

    padding-bottom: 4px;
}


/* underline */

.villa-brochure-text::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 1px;

    background: #b98232;

    transition:
        width .4s ease;
}


/* ==========================================
   HOVER
========================================== */

.villa-brochure-btn:hover {
    color: #9c6b29;

    transform: translateY(-3px);
}


.villa-brochure-btn:hover
.villa-download-icon {

    color: #fff;

    background: #b98232;

    border-color: #b98232;

    box-shadow:
        0 10px 28px
        rgba(180,124,43,.25);
}


.villa-brochure-btn:hover
.villa-download-icon i {

    color: #fff;

    transform:
        scale(1.12)
        translateY(-1px);
}


.villa-brochure-btn:hover
.villa-download-icon::after {

    opacity: 1;

    animation:
        pdfRing 1s linear infinite;
}


.villa-brochure-btn:hover
.villa-brochure-text::after {

    width: 100%;
}


/* ==========================================
   ROTATING RING
========================================== */

@keyframes pdfRing {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* ==========================================
   IDLE PDF PULSE
========================================== */

.villa-download-icon {

    animation:
        pdfPulse 3s ease-in-out infinite;
}


@keyframes pdfPulse {

    0%,
    100% {

        box-shadow:
            0 0 0 0
            rgba(180,124,43,.08);
    }

    50% {

        box-shadow:
            0 0 0 7px
            rgba(180,124,43,.04);
    }

}


.villa-brochure-btn:hover
.villa-download-icon {

    animation: none;
}
/* ==========================================
   RIGHT IMAGE
========================================== */

.villa-hero-visual {

    position: relative;

    width: 100%;

    height: 450px;

    border-radius: 28px;

    overflow: visible;

    background: #ddd;

}


/* ==========================================
   ACTUAL SLIDER
========================================== */

.villa-image-slider {

    position: absolute;

    inset: 0;

    overflow: hidden;

    border-radius: 28px;

}


.villa-image-slide {

    position: absolute;

    inset: 0;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 1s ease,
        visibility 1s ease;

}


.villa-image-slide.active {

    opacity: 1;

    visibility: visible;

}


.villa-image-slide img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transform: scale(1.08);

    transition:
        transform 6s
        cubic-bezier(.2,.7,.2,1);

}


.villa-image-slide.active img {

    transform: scale(1);

}


/* ==========================================
   IMAGE OVERLAY
========================================== */

.villa-image-overlay {

    position: absolute;

    inset: 0;

    z-index: 2;

    border-radius: 28px;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.02),
            rgba(0,0,0,.22)
        );

}





@keyframes villaFeatureIn {

    from {

        opacity: 0;

        transform:
            translateX(-30px);

    }

    to {

        opacity: 1;

        transform:
            translateX(0);

    }

}


/* ==========================================
   SLIDER NUMBER
========================================== */

.villa-slide-number {

    position: absolute;

    z-index: 8;

    top: 22px;

    right: 25px;

    display: flex;

    align-items: baseline;

    gap: 6px;

    color: rgba(255,255,255,.7);

}


.villa-slide-number strong {

    color: #fff;

    font-size: 22px;

}


/* ==========================================
   SLIDER CONTROLS
========================================== */

.villa-slider-controls {

    position: absolute;

    z-index: 10;

    right: 22px;

    bottom: 20px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 6px 8px;

    border: 1px solid rgba(
        255,
        255,
        255,
        .25
    );

    border-radius: 50px;

    background: rgba(
        30,
        25,
        18,
        .28
    );

    backdrop-filter: blur(12px);

}


.villa-slider-arrow {

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(
        255,
        255,
        255,
        .35
    );

    border-radius: 50%;

    color: #fff;

    background: transparent;

    cursor: pointer;

    transition: all .3s ease;

}


.villa-slider-arrow:hover {

    color: #222;

    background: #fff;

}


.villa-slider-dots {

    display: flex;

    align-items: center;

    gap: 6px;

}


.villa-slider-dot {

    width: 6px;

    height: 6px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(
        255,
        255,
        255,
        .5
    );

    cursor: pointer;

    transition:
        width .3s ease;

}


.villa-slider-dot.active {

    width: 23px;

    border-radius: 20px;

    background: #fff;


}

/* =========================================================
   VILLA HERO - MOBILE RESPONSIVE FIX
   ========================================================= */

@media (max-width: 900px) {

    .villa-hero {
        width: 100%;
        min-height: auto;
        padding: 50px 18px 50px;
        overflow: hidden;
    }

    .villa-back-wrap {
        margin-bottom: 35px;
    }

    .villa-hero-inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 35px;
        min-height: auto;
    }

    /* -----------------------------------------
       CONTENT
    ----------------------------------------- */

    .villa-hero-content {
        width: 100%;
        max-width: 100%;
    }

    .villa-hero-title {
        font-size: clamp(44px, 11vw, 65px);
        line-height: .95;
    }

    .villa-hero-subtitle {
        margin-top: 20px;
        font-size: 18px;
        line-height: 1.4;
    }

    .villa-hero-description {
        width: 100%;
        max-width: 100%;
        font-size: 14px;
        line-height: 1.75;
    }

    .villa-hero-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-top: 28px;
    }

    .villa-consult-btn {
        width: 100%;
        min-width: 0;
        height: 58px;
        padding: 0 20px;
        border-radius: 14px;
    }

    .villa-brochure-btn {
        width: fit-content;
        height: 48px;
    }


    /* =====================================================
       IMPORTANT
       MOBILE IMAGE SLIDER
       ===================================================== */

    .villa-hero-visual {
        position: relative !important;

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        height: 430px !important;
        min-height: 430px !important;

        margin: 0 !important;

        flex: none !important;

        overflow: hidden !important;

        border-radius: 22px !important;

        background: #d8d5cf !important;

        isolation: isolate;

        order: 2;
    }


    /* -----------------------------------------
       SLIDER CONTAINER
    ----------------------------------------- */

    .villa-image-slider {
        position: absolute !important;

        display: block !important;

        inset: 0 !important;

        width: 100% !important;
        height: 100% !important;

        overflow: hidden !important;

        border-radius: 22px !important;

        z-index: 1;
    }


    /* -----------------------------------------
       EACH SLIDE
    ----------------------------------------- */

    .villa-image-slide {
        position: absolute !important;

        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        width: 100% !important;
        height: 100% !important;

        display: block !important;

        opacity: 0;

        visibility: hidden;

        overflow: hidden;

        transition:
            opacity .8s ease,
            visibility .8s ease;

        z-index: 1;
    }


    .villa-image-slide.active {
        opacity: 1 !important;

        visibility: visible !important;

        z-index: 2;
    }


    /* -----------------------------------------
       ACTUAL IMAGE
    ----------------------------------------- */

    .villa-image-slide img {
        position: absolute !important;

        top: 0 !important;
        left: 0 !important;

        width: 100% !important;
        height: 100% !important;

        max-width: none !important;

        display: block !important;

        object-fit: cover !important;

        object-position: center center !important;

        opacity: 1 !important;

        visibility: visible !important;

        transform: scale(1.06);

        transition:
            transform 5s ease;
    }


    .villa-image-slide.active img {
        transform: scale(1) !important;
    }


    /* -----------------------------------------
       OVERLAY
    ----------------------------------------- */

    .villa-image-overlay {
        position: absolute !important;

        inset: 0 !important;

        width: 100% !important;
        height: 100% !important;

        display: block !important;

        z-index: 3;

        pointer-events: none;

        border-radius: 22px !important;

        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, .05) 0%,
                rgba(0, 0, 0, .02) 40%,
                rgba(0, 0, 0, .45) 100%
            );
    }


    /* =====================================================
       FEATURE CARD
       ===================================================== */

    .villa-feature-cards {
        position: absolute !important;

        z-index: 8 !important;

        top: auto !important;

        right: 15px !important;
        bottom: 70px !important;
        left: 15px !important;

        width: auto !important;

        display: block !important;

        transform: none !important;

        margin: 0 !important;
    }


    .villa-feature-card {
        width: 100% !important;

        min-height: 68px !important;

        display: flex !important;

        align-items: center;

        padding: 10px 12px !important;

        gap: 11px;

        border-radius: 14px !important;

        background:
            rgba(255, 255, 255, .94) !important;

        box-shadow:
            0 10px 30px
            rgba(0, 0, 0, .15) !important;
    }


    .villa-feature-card:nth-child(2),
    .villa-feature-card:nth-child(3) {
        display: none !important;
    }


    .villa-feature-icon {
        flex: 0 0 38px !important;

        width: 38px !important;
        height: 38px !important;

        border-radius: 10px !important;
    }


    .villa-feature-card h4 {
        margin: 0 0 3px !important;

        font-size: 11px !important;
    }


    .villa-feature-card p {
        margin: 0 !important;

        font-size: 9px !important;

        line-height: 1.4 !important;
    }


    /* =====================================================
       SLIDER NUMBER
       ===================================================== */

    .villa-slide-number {
        position: absolute !important;

        z-index: 10 !important;

        top: 15px !important;
        right: 17px !important;

        display: flex !important;

        align-items: baseline;

        gap: 5px;

        color: rgba(255,255,255,.8);
    }


    .villa-slide-number strong,
    .villa-slide-number #villaCurrentNumber {
        color: #fff !important;

        font-size: 19px !important;
    }


    /* =====================================================
       SLIDER CONTROLS
       ===================================================== */

    .villa-slider-controls {
        position: absolute !important;

        z-index: 10 !important;

        right: 14px !important;
        bottom: 15px !important;
        left: auto !important;

        display: flex !important;

        align-items: center;

        justify-content: center;

        width: auto !important;

        height: auto !important;

        padding: 5px 7px !important;

        gap: 7px !important;

        border-radius: 50px !important;

        background:
            rgba(25, 22, 18, .35) !important;

        backdrop-filter: blur(12px);

        -webkit-backdrop-filter: blur(12px);
    }


    .villa-slider-arrow {
        flex: 0 0 32px !important;

        width: 32px !important;
        height: 32px !important;

        display: grid !important;

        place-items: center;

        padding: 0 !important;

        border-radius: 50% !important;
    }


    .villa-slider-dots {
        display: flex !important;

        align-items: center;

        gap: 5px !important;
    }


    .villa-slider-dot {
        flex: 0 0 5px;

        width: 5px !important;
        height: 5px !important;

        padding: 0 !important;

        border: 0 !important;
    }


    .villa-slider-dot.active {
        flex-basis: 20px;

        width: 20px !important;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .villa-hero {
        padding: 55px 14px 40px;
    }

    .villa-back-wrap {
        margin-bottom: 70px;
    }

    .villa-back-btn {
 height: 34px;
    }
    .villa-hero-line {
    width: 75px;
    height: 2px;
    margin: 13px 0;
    background: #d9ccb6;
}
    .villa-hero-title {
        font-size: 43px;
    }

    .villa-hero-subtitle {
        font-size: 16px;
    }

    .villa-hero-description {
        font-size: 13px;
        line-height: 1.7;
    }

    .villa-hero-visual {
        height: 370px !important;
        min-height: 370px !important;
        border-radius: 18px !important;
    }

    .villa-image-slider,
    .villa-image-overlay {
        border-radius: 18px !important;
    }

    .villa-feature-cards {
        right: 10px !important;
        bottom: 60px !important;
        left: 10px !important;
    }

    .villa-slider-controls {
        right: 10px !important;
        bottom: 10px !important;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 360px) {

    .villa-hero-title {
        font-size: 38px;
    }

    .villa-hero-visual {
        height: 340px !important;
        min-height: 340px !important;
    }

    .villa-feature-card p {
        font-size: 8px !important;
    }

}



/* =====================================================
   VILLA SIGNATURE DESIGN STYLES
===================================================== */

.villa-signature-section {

    position: relative;

    padding: 110px 4% 120px;

    background: #faf7f0;

    overflow: hidden;

}


.villa-signature-container {

    width: 100%;

    max-width: 1450px;

    margin: auto;

}


/* =====================================================
   HEADER
===================================================== */

.villa-signature-header {

    margin-bottom: 55px;

}


.villa-section-eyebrow-1 {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 22px;

    color: #ad7930;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .18em;

}


.villa-section-eyebrow-1 span {

    width: 35px;

    height: 1px;

    background: #b98535;

}


.villa-signature-heading-row {

    display: grid;

    grid-template-columns: 1.15fr .85fr;

    align-items: end;

    gap: 70px;

}


.villa-signature-heading-row h2 {

    margin: 0;

    color: #292725;

    font-size: clamp(
        42px,
        5vw,
        72px
    );

    font-weight: 400;

    line-height: normal;

    letter-spacing: -.045em;

}


.villa-signature-heading-row h2 em {

    display: block;

    color: #b78335;

    font-family: Georgia, serif;

    font-weight: 400;

}


.villa-signature-heading-row > p {

    max-width: 480px;

    margin: 0 0 5px;

    color: #707070;

    font-size: 14px;

    line-height: 1.85;

}


/* =====================================================
   CARD GRID
===================================================== */

.villa-style-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;

}


/* =====================================================
   CARD
===================================================== */

.villa-style-card {

    position: relative;

    cursor: pointer;

    opacity: 0;

    transform: translateY(35px);

    animation:
        villaStyleReveal .8s
        cubic-bezier(.2,.7,.2,1)
        forwards;

}


.villa-style-card:nth-child(1) {
    animation-delay: .05s;
}

.villa-style-card:nth-child(2) {
    animation-delay: .12s;
}

.villa-style-card:nth-child(3) {
    animation-delay: .19s;
}

.villa-style-card:nth-child(4) {
    animation-delay: .26s;
}

.villa-style-card:nth-child(5) {
    animation-delay: .33s;
}

.villa-style-card:nth-child(6) {
    animation-delay: .40s;
}


@keyframes villaStyleReveal {

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* =====================================================
   IMAGE
===================================================== */

.villa-style-image {

    position: relative;

    width: 100%;

    height: 315px;

    overflow: hidden;

    border-radius: 20px;

    background: #ddd;

}


.villa-style-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .8s
        cubic-bezier(.2,.7,.2,1);

}


.villa-style-card:hover
.villa-style-image img {

    transform: scale(1.07);

}


/* =====================================================
   IMAGE OVERLAY
===================================================== */

.villa-style-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.02) 35%,
            rgba(0,0,0,.5) 100%
        );

    opacity: .75;

    transition:
        opacity .5s ease;

}


.villa-style-card:hover
.villa-style-overlay {

    opacity: .9;

}


/* =====================================================
   NUMBER
===================================================== */

.villa-style-number {

    position: absolute;

    top: 18px;

    left: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 39px;

    height: 39px;

    border: 1px solid
        rgba(255,255,255,.4);

    border-radius: 50%;

    color: #fff;

    background:
        rgba(30,25,18,.18);

    backdrop-filter: blur(8px);

    font-size: 10px;

    letter-spacing: .1em;

}


/* =====================================================
   VIEW BUTTON
===================================================== */

.villa-style-view {

    position: absolute;

    right: 17px;

    bottom: 17px;

    width: 32px;

    height: 32px;

    display: grid;

    place-items: center;

    border: 1px solid
        rgba(255,255,255,.5);

    border-radius: 50%;

    color: #fff;

    background:
        rgba(25,22,18,.25);

    backdrop-filter: blur(10px);

    cursor: pointer;

    transition:
        all .35s ease;

}


.villa-style-view span {

    font-size: 14px;

    transition:
        transform .35s ease;

}


.villa-style-card:hover
.villa-style-view {

    color: #fff;

    background: #b78234;

    border-color: #b78234;

    transform: translateY(3px);

}


.villa-style-card:hover
.villa-style-view span {

    transform: rotate(-45deg);

}


/* =====================================================
   CARD CONTENT
===================================================== */

.villa-style-content {

    padding: 20px 4px 0;

}


.villa-style-content h3 {

    margin: 0 0 7px;

    color: #0f0e0e;

    font-size: 22px;

    font-weight: 600;

    letter-spacing: -.02em;

}


.villa-style-content p {

    margin: 0;

    color: #3d3d3c;

    font-size: 13.5px;

    letter-spacing: .03em;

}


/* =====================================================
   BOTTOM
===================================================== */

.villa-signature-footer {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 65px;

    color: #a17a43;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .16em;

}


.villa-footer-line {

    width: 100px;

    height: 1px;

    background: #d8cbb7;

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .villa-signature-section {

        padding:
            90px 4% 100px;

    }


    .villa-signature-heading-row {

        grid-template-columns: 1fr;

        gap: 25px;

    }


    .villa-style-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 25px;

    }


    .villa-style-image {

        height: 290px;

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .villa-signature-section {

        padding:
            50px 18px 80px;

    }


    .villa-signature-header {

        margin-bottom: 35px;

    }


    .villa-signature-heading-row {

        gap: 20px;

    }


    .villa-signature-heading-row h2 {

        font-size: 38px;

    }


    .villa-signature-heading-row > p {

        font-size: 13px;

        line-height: 1.75;

    }


    .villa-style-grid {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .villa-style-image {

        height: 270px;

        border-radius: 17px;

    }


    .villa-style-content {

        padding-top: 15px;

    }


    .villa-style-content h3 {

        font-size: 18px;

    }


    .villa-signature-footer {

        margin-top: 45px;

        gap: 10px;

        font-size: 8px;

    }


    .villa-footer-line {

        width: 45px;

    }

}



/* =====================================================
   VILLA STYLE DETAIL MODAL
===================================================== */

.villa-style-modal {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity .45s ease,
        visibility .45s ease;

}


.villa-style-modal.active {

    visibility: visible;

    opacity: 1;

    pointer-events: auto;

}


/* =====================================================
   BACKDROP
===================================================== */

.villa-modal-backdrop {

    position: absolute;

    inset: 0;

    background:
        rgba(24, 21, 17, .72);

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);

}


/* =====================================================
   MODAL
===================================================== */

.villa-modal-container {

    position: relative;

    z-index: 2;

    width: min(1280px, 100%);

    height: min(760px, 90vh);

    display: grid;

    grid-template-columns:
        1.12fr .88fr;

    overflow: hidden;

    border-radius: 28px;

    background: #f8f4eb;

    box-shadow:
        0 40px 100px
        rgba(0,0,0,.28);

    transform:
        translateY(30px)
        scale(.97);

    transition:
        transform .55s
        cubic-bezier(.2,.7,.2,1);

}


.villa-style-modal.active
.villa-modal-container {

    transform:
        translateY(0)
        scale(1);

}


/* =====================================================
   CLOSE
===================================================== */

.villa-modal-close {

    position: absolute;

    z-index: 20;

    top: 18px;

    right: 18px;

    width: 48px;

    height: 48px;

    display: grid;

    place-items: center;

    border: 1px solid
        rgba(255,255,255,.45);

    border-radius: 50%;

    background:
        rgba(25,22,18,.3);

    backdrop-filter: blur(10px);

    cursor: pointer;

    transition:
        background .3s ease,
        transform .3s ease;

}


.villa-modal-close span {

    position: absolute;

    width: 17px;

    height: 1.5px;

    background: #fff;

}


.villa-modal-close span:first-child {

    transform: rotate(45deg);

}


.villa-modal-close span:last-child {

    transform: rotate(-45deg);

}


.villa-modal-close:hover {

    background: #b78335;

    transform: rotate(90deg);

}


/* =====================================================
   GALLERY
===================================================== */

.villa-modal-gallery {

    position: relative;

    min-width: 0;

    overflow: hidden;

    background: #ddd;

}


.villa-modal-slides {

    position: absolute;

    inset: 0;

}


.villa-modal-slide {

    position: absolute;

    inset: 0;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .65s ease,
        visibility .65s ease;

}


.villa-modal-slide.active {

    opacity: 1;

    visibility: visible;

}


.villa-modal-slide img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transform: scale(1.06);

    transition:
        transform 5s
        cubic-bezier(.2,.7,.2,1);

}


.villa-modal-slide.active img {

    transform: scale(1);

}


/* IMAGE DARK GRADIENT */

.villa-modal-gallery::after {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.1),
            transparent 40%,
            rgba(0,0,0,.4)
        );

}


/* =====================================================
   IMAGE COUNT
===================================================== */

.villa-modal-count {

    position: absolute;

    z-index: 5;

    left: 25px;

    bottom: 25px;

    display: flex;

    align-items: baseline;

    gap: 5px;

    color: rgba(255,255,255,.7);

}


.villa-modal-count strong {

    color: #fff;

    font-size: 25px;

    font-weight: 400;

}


/* =====================================================
   CONTROLS
===================================================== */

.villa-modal-controls {

    position: absolute;

    z-index: 10;

    right: 25px;

    bottom: 20px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 6px;

    border-radius: 50px;

    background:
        rgba(20,18,15,.35);

    backdrop-filter: blur(12px);

}


.villa-modal-arrow {

    width: 39px;

    height: 39px;

    display: grid;

    place-items: center;

    border: 1px solid
        rgba(255,255,255,.35);

    border-radius: 50%;

    color: #fff;

    background: transparent;

    cursor: pointer;

    transition:
        all .3s ease;

}


.villa-modal-arrow:hover {

    color: #222;

    background: #fff;

}


/* =====================================================
   PROGRESS
===================================================== */

.villa-modal-progress {

    display: flex;

    align-items: center;

    gap: 5px;

}


.villa-modal-progress span {

    width: 5px;

    height: 5px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.45);

    transition:
        width .3s ease;

}


.villa-modal-progress span.active {

    width: 20px;

    border-radius: 20px;

    background: #fff;

}


/* =====================================================
   CONTENT
===================================================== */

.villa-modal-content {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 35px 30px 30px;

    overflow-y: auto;

}


.villa-modal-content-top {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 10px;

}


.villa-modal-number {

    display: grid;

    place-items: center;

    width: 36px;

    height: 36px;

    border-radius: 50%;

    color: #b27d32;

    background: #eee4d2;

    font-size: 10px;

    font-weight: 700;

}


.villa-modal-label {

    color: #a77a40;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .17em;

}


/* =====================================================
   TITLE
===================================================== */

.villa-modal-content h2 {

    margin: 0;

    color: #292725;

    font-size: clamp(
        30px,
        4vw,
        30px
    );

    font-weight: 400;

    line-height: .98;

    letter-spacing: -.045em;

}


.villa-modal-tagline {

    margin: 18px 0 0;

    color: #a97935;

    font-family: Georgia, serif;

    font-size: 18px;

    font-style: italic;

}


.villa-modal-divider {

    width: 55px;

    height: 1px;

    margin: 10px 0;

    background: #cda86a;

}


.villa-modal-description {

    max-width: 500px;

    margin: 0;

    color: #6e6a64;

    font-size: 13px;

    line-height: 1.85;

}


/* =====================================================
   DETAILS
===================================================== */

.villa-modal-details {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-top: 20px;

    padding-top: 15px;

    border-top: 1px solid #e2d9ca;

}


.villa-modal-detail {

    display: flex;

    flex-direction: column;

    gap: 8px;

}


.villa-modal-detail > span {

    color: #bd8b3d;

    font-size: 11px;

    font-weight: 700;

}


.villa-modal-detail small {

    display: block;

    margin-bottom: 5px;

    color: #9b9488;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: .1em;

}


.villa-modal-detail strong {

    color: #302d29;

    font-size: 12px;

    font-weight: 500;

    line-height: 1.4;

}

.PDF-download{

    display: flex;
    align-items: center;

    justify-content: space-between;
}
.villa-modal-download{

        display: flex;

    align-items: center;

    justify-content: space-between;
     height: 45px;

    /* margin-top: 20px; */

    padding: 0 22px 0 27px;

    border-radius: 14px;

    color: #fff;

    background:
        linear-gradient(
            110deg,
            #d0a04c,
            #aa7628
        );

    text-decoration: none;

    font-size: 13px;
    
    font-weight: 700;

    letter-spacing: .1em;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

/* =====================================================
   CTA
===================================================== */

.villa-modal-cta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    /* width: 100%; */

    /* max-width: 420px; */

    height: 45px;

    /* margin-top: 20px; */

    padding: 0 22px 0 27px;

    border-radius: 14px;

    color: #fff;

    background:
        linear-gradient(
            110deg,
            #d0a04c,
            #aa7628
        );

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .1em;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.villa-modal-cta > span:last-child {

    /* font-size: 20px; */

}


.villa-modal-cta:hover,.villa-modal-download:hover {

    color: #fff;

    transform: translateY(-3px);

    box-shadow:
        0 15px 30px
        rgba(169,117,39,.25);

}


/* =====================================================
   STYLE NAVIGATION
===================================================== */

.villa-modal-style-nav {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 28px;

}


.villa-modal-style-nav button {

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 0;

    border: 0;

    color: #8c7556;

    background: transparent;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .12em;

    cursor: pointer;

    transition:
        color .3s ease;

}


.villa-modal-style-nav button:hover {

    color: #a8752d;

}


.villa-modal-style-nav button span {

    font-size: 15px;

}


/* =====================================================
   MOBILE MODAL
===================================================== */

@media (max-width: 900px) {

    .villa-style-modal {

        padding: 12px;

    }


    .villa-modal-container {

        width: 100%;

        height: 94vh;

        max-height: none;

        display: flex;

        flex-direction: column;

        border-radius: 20px;

        overflow-y: auto;

    }


    .villa-modal-gallery {

        flex: none;

        width: 100%;

        height: 43vh;

        min-height: 300px;

        max-height: 430px;

    }


    .villa-modal-content {

        flex: none;

        padding: 35px 22px 30px;

    }


    .villa-modal-content h2 {

        font-size: 40px;

    }


    .villa-modal-tagline {

        font-size: 16px;

    }


    .villa-modal-description {

        font-size: 12px;

        line-height: 1.75;

    }


    .villa-modal-details {

        grid-template-columns: 1fr;

        gap: 15px;

    }


    .villa-modal-detail {

        flex-direction: row;

        align-items: flex-start;

        gap: 12px;

    }


    .villa-modal-detail > span {

        min-width: 20px;

    }


    .villa-modal-cta {

        max-width: none;

    }


    .villa-modal-style-nav {

        padding-bottom: 5px;

    }

}


@media (max-width: 480px) {

    .villa-style-modal {

        padding: 7px;

    }


    .villa-modal-container {

        height: 96vh;

        border-radius: 18px;

    }


    .villa-modal-gallery {

        height: 38vh;

        min-height: 260px;

    }


    .villa-modal-content {

        padding: 28px 18px 25px;

    }


    .villa-modal-content h2 {

        font-size: 34px;

    }


    .villa-modal-tagline {

        font-size: 15px;

    }


    .villa-modal-count {

        left: 16px;

        bottom: 16px;

    }


    .villa-modal-controls {

        right: 12px;

        bottom: 12px;

    }


    .villa-modal-close {

        width: 40px;

        height: 40px;

    }

}


/* =====================================================
   VILLA DESIGN APPROACH
===================================================== */

.villa-design-approach {

    position: relative;

    padding: 85px 0;

    overflow: hidden;

    background: #f5f0e7;

}


/* SUBTLE BACKGROUND */

.villa-approach-bg {

    position: absolute;

    width: 650px;

    height: 650px;

    top: -280px;

    right: -220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(196,153,83,.12),
            transparent 68%
        );

    pointer-events: none;

}


/* =====================================================
   HEADER
===================================================== */

.villa-approach-heading {

    max-width: 760px;

    margin: 0 auto 90px;

    text-align: center;

}


.villa-section-eyebrow {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    margin-bottom: 25px;

    color: #a77a3b;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .2em;

}


.villa-section-eyebrow span {

    width: 35px;

    height: 1px;

    background: #c6a06a;

}


.villa-approach-heading h2 {

    margin: 0;

    color: #282623;

    font-size: clamp(
        42px,
        4vw,
        72px
    );

    font-weight: 400;

    line-height: .98;

    letter-spacing: -.05em;

}


.villa-approach-heading h2 em {

    display: inline-block;

    color: #b07c34;

    font-family: Georgia, serif;

    font-weight: 400;

}


.villa-approach-heading p {

    max-width: 650px;

    margin: 28px auto 0;

    color: #31302f;

    font-size: 14px;

    line-height: 1.9;

}


/* =====================================================
   MAIN WRAPPER
===================================================== */

.villa-approach-wrapper {

    display: grid;

    grid-template-columns:
        minmax(380px, .9fr)
        minmax(450px, 1.1fr);

    gap: 90px;

    align-items: center;

}


/* =====================================================
   LEFT IMAGE
===================================================== */

.villa-approach-visual {

    position: relative;

}


.villa-approach-image {

    position: relative;

    height: 650px;

    overflow: hidden;

    border-radius: 4px;

}


.villa-approach-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 50%,
            rgba(0,0,0,.55)
        );

}


.villa-approach-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 1.2s
        cubic-bezier(.2,.7,.2,1);

}


.villa-approach-visual:hover
.villa-approach-image img {

    transform: scale(1.045);

}


/* =====================================================
   IMAGE CAPTION
===================================================== */

.villa-approach-image-caption {

    position: absolute;

    z-index: 2;

    left: 35px;

    right: 35px;

    bottom: 35px;

    color: #fff;

}


.villa-approach-image-caption span {

    display: block;

    margin-bottom: 10px;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: .2em;

}


.villa-approach-image-caption strong {

    display: block;

    max-width: 300px;

    font-family: Georgia, serif;

    font-size: 28px;

    font-weight: 400;

    line-height: 1.15;

}


/* IMAGE NUMBER */

.villa-approach-number {

    position: absolute;

    z-index: 4;

    top: 25px;

    left: 25px;

    display: grid;

    place-items: center;

    width: 55px;

    height: 55px;

    border: 1px solid
        rgba(255,255,255,.5);

    border-radius: 50%;

    color: #fff;

    background:
        rgba(20,20,20,.15);

    backdrop-filter: blur(10px);

    font-size: 11px;

    letter-spacing: .1em;

}


/* =====================================================
   STEPS
===================================================== */

.villa-approach-steps {

    border-top: 1px solid #ddd4c7;

}


.villa-approach-step {

    position: relative;

    display: grid;

    grid-template-columns: 55px 1fr 35px;

    gap: 25px;

    align-items: start;

    padding: 28px 0;

    border-bottom: 1px solid #ddd4c7;

    cursor: pointer;

    transition:
        padding .4s ease;

}


.villa-approach-step::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 2px;

    height: 0;

    background: #b78640;

    transition:
        height .4s ease;

}


.villa-approach-step.active {

    padding-left: 18px;

}


.villa-approach-step.active::before {

    height: 100%;

}


/* NUMBER */

.villa-step-number {

    color: #b4874b;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .08em;

}


/* CONTENT */

.villa-step-content span {

    display: block;

    margin-bottom: 8px;

    color: #a9824c;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .18em;

}


.villa-step-content h3 {

    margin: 0;

    color: #302d29;

    font-size: 19px;

    font-weight: 500;

    transition:
        color .3s ease;

}


.villa-approach-step.active
.villa-step-content h3 {

    color: #9c6b2c;

}


.villa-step-content p {

    max-width: 550px;

    max-height: 0;

    margin: 0;

    overflow: hidden;

    color: #777067;

    font-size: 13px;

    line-height: 1.8;

    opacity: 0;

    transition:
        max-height .5s ease,
        opacity .4s ease,
        margin .4s ease;

}


.villa-approach-step.active
.villa-step-content p {

    max-height: 150px;

    margin-top: 12px;

    opacity: 1;

}


/* ARROW */

.villa-step-arrow {

    display: grid;

    place-items: center;

    width: 28px;

    height: 28px;

    border: 1px solid #d5c8b6;

    border-radius: 50%;

    color: #9d7642;

    font-size: 13px;

    transition:
        all .4s ease;

}


.villa-approach-step.active
.villa-step-arrow {

    color: #fff;

    background: #a97834;

    border-color: #a97834;

    transform: rotate(0deg);

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .villa-design-approach {

        padding: 110px 0;

    }


    .villa-approach-heading {

        margin-bottom: 60px;

    }


    .villa-approach-wrapper {

        grid-template-columns: 1fr;

        gap: 55px;

    }


    .villa-approach-image {

        height: 550px;

    }

}


@media (max-width: 767px) {

    .villa-design-approach {

        padding: 80px 0;

    }


    .villa-approach-heading {

        margin-bottom: 45px;

        padding: 0 10px;

    }


    .villa-approach-heading h2 {

        font-size: 43px;

    }


    .villa-approach-heading p {

        font-size: 12px;

        line-height: 1.8;

    }


    .villa-approach-wrapper {

        gap: 40px;

    }


    .villa-approach-image {

        height: 430px;

    }


    .villa-approach-image-caption {

        left: 22px;

        right: 22px;

        bottom: 22px;

    }


    .villa-approach-image-caption strong {

        font-size: 23px;

    }


    .villa-approach-number {

        top: 18px;

        left: 18px;

        width: 45px;

        height: 45px;

    }


    .villa-approach-step {

        grid-template-columns:
            35px 1fr 30px;

        gap: 12px;

        padding: 23px 0;

    }


    .villa-approach-step.active {

        padding-left: 12px;

    }


    .villa-step-content h3 {

        font-size: 16px;

        line-height: 1.3;

    }


    .villa-step-content p {

        font-size: 11px;

    }

}


@media (max-width: 480px) {

    .villa-approach-heading h2 {

        font-size: 38px;

    }


    .villa-approach-image {

        height: 390px;

    }


    .villa-step-arrow {

        width: 28px;

        height: 28px;

        font-size: 12px;

    }

}

/* =====================================================
   APPROACH REVEAL
===================================================== */

.villa-approach-heading,
.villa-approach-visual,
.villa-approach-step {

    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s
        cubic-bezier(.2,.7,.2,1);

}


.villa-approach-visual {

    transition-delay: .15s;

}


.villa-approach-step:nth-child(1) {

    transition-delay: .2s;

}


.villa-approach-step:nth-child(2) {

    transition-delay: .3s;

}


.villa-approach-step:nth-child(3) {

    transition-delay: .4s;

}


.villa-approach-step:nth-child(4) {

    transition-delay: .5s;

}


.villa-approach-step:nth-child(5) {

    transition-delay: .6s;

}


.villa-design-approach.is-visible
.villa-approach-heading,
.villa-design-approach.is-visible
.villa-approach-visual,
.villa-design-approach.is-visible
.villa-approach-step {

    opacity: 1;

    transform: translateY(0);

}

/* =====================================================
   VILLA SPACES SECTION
===================================================== */

.villa-spaces-section {

    position: relative;

    padding: 60px 0;

    overflow: hidden;

    background: #24211e;

    color: #fff;

}


/* =====================================================
   HEADER
===================================================== */

.villa-spaces-header {

    margin-bottom: 70px;

}


.villa-spaces-section
.villa-section-eyebrow {

    justify-content: flex-start;

    color: #c69a58;

}


.villa-spaces-heading {

    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    gap: 80px;

    align-items: end;

}


.villa-spaces-heading h2 {

    margin: 0;

    max-width: 750px;

    font-size: clamp(
        45px,
        4.5vw,
        60px
    );

    font-weight: 300;

    line-height: normal;

    letter-spacing: -.055em;

}


.villa-spaces-heading h2 em {

    display: block;

    color: #c79a5b;

    font-family: Georgia, serif;

    font-weight: 400;

}


.villa-spaces-heading p {

    max-width: 450px;

    margin: 0 0 4px;

    color: #d2d1cf;

    font-size: 15px;

    line-height: 1.9;

}


/* =====================================================
   GALLERY GRID
===================================================== */

.villa-spaces-grid {

    display: grid;

    grid-template-columns:
        .85fr .85fr .85fr;

    grid-template-rows:
        350px 350px;

    gap: 14px;

}


/* =====================================================
   CARD
===================================================== */

.villa-space-card {

    position: relative;

    min-width: 0;

    overflow: hidden;

    background: #302d29;

    /* cursor: pointer; */

}


.villa-space-large {

    grid-row: span 0;

}


.villa-space-tall {

    grid-row: span 0;

}


.villa-space-wide {

    grid-column: span 2;

}


/* =====================================================
   IMAGE
===================================================== */

.villa-space-image {

    position: absolute;

    inset: 0;

    overflow: hidden;

}


.villa-space-image img {

    width: 100%;

    height: 100%;

    display: block;

    border-radius: 10px;
    object-fit: cover;

    transition:
        transform 1.2s
        cubic-bezier(.2,.7,.2,1);

}


.villa-space-card:hover
.villa-space-image img {

    transform: scale(1.08);

}


/* =====================================================
   OVERLAY
===================================================== */

.villa-space-overlay {

    position: absolute;

    z-index: 1;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.02) 20%,
            rgba(0,0,0,.72) 100%
        );

    transition:
        background .5s ease;

}


.villa-space-card:hover
.villa-space-overlay {

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.12) 15%,
            rgba(0,0,0,.78) 100%
        );

}


/* =====================================================
   CONTENT
===================================================== */

.villa-space-content {

    position: absolute;

    z-index: 3;

    inset: auto 25px 24px;

    display: grid;

    grid-template-columns:
        35px 1fr 35px;

    gap: 12px;

    align-items: end;

}


.villa-space-number {

    align-self: start;

    color: rgba(255,255,255,.75);

    font-size: 13px;

    letter-spacing: .08em;

}


.villa-space-content small {

    display: block;

    margin-bottom: 7px;

    color: #d0a366;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .18em;

}


.villa-space-content h3 {

    margin: 0;

    color: #fff;

    font-family: Georgia, serif;

    font-size: 25px;

    font-weight: 400;

    line-height: 1.1;

}


.villa-space-content p {

    max-width: 300px;

    max-height: 0;

    margin: 0;

    overflow: hidden;

    color: rgba(255,255,255,.72);

    font-size: 13px;

    line-height: 1.7;

    opacity: 0;

    transition:
        max-height .5s ease,
        opacity .4s ease,
        margin .4s ease;

}


.villa-space-card:hover
.villa-space-content p {

    max-height: 80px;

    margin-top: 10px;

    opacity: 1;

}


/* =====================================================
   ARROW
===================================================== */

.villa-space-arrow {

    display: grid;

    place-items: center;

    width: 34px;

    height: 34px;

    border: 1px solid
        rgba(255,255,255,.45);

    border-radius: 50%;

    color: #fff;

    font-size: 15px;

    transition:
        all .4s ease;

}


.villa-space-card:hover
.villa-space-arrow {

    color: #24211e;

    background: #d0a366;

    border-color: #d0a366;

    transform: rotate(45deg);

}


/* =====================================================
   CARD REVEAL
===================================================== */

.villa-space-card {

    opacity: 0;

    transform: translateY(40px);

}


.villa-spaces-section.is-visible
.villa-space-card {

    opacity: 1;

    transform: translateY(0);

    transition:
        opacity .8s ease,
        transform .8s
        cubic-bezier(.2,.7,.2,1);

}


.villa-spaces-section.is-visible
.villa-space-card:nth-child(1) {
    transition-delay: .05s;
}


.villa-spaces-section.is-visible
.villa-space-card:nth-child(2) {
    transition-delay: .15s;
}


.villa-spaces-section.is-visible
.villa-space-card:nth-child(3) {
    transition-delay: .25s;
}


.villa-spaces-section.is-visible
.villa-space-card:nth-child(4) {
    transition-delay: .35s;
}


.villa-spaces-section.is-visible
.villa-space-card:nth-child(5) {
    transition-delay: .45s;
}


.villa-spaces-section.is-visible
.villa-space-card:nth-child(6) {
    transition-delay: .55s;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .villa-spaces-section {

        padding: 110px 0;

    }


    .villa-spaces-heading {

        grid-template-columns: 1fr;

        gap: 25px;

    }


    .villa-spaces-heading p {

        max-width: 600px;

    }


    .villa-spaces-grid {

        grid-template-columns:
            1fr 1fr;

        grid-template-rows:
            360px 300px 300px;

    }


    .villa-space-large {

        grid-row: span 1;

        grid-column: span 2;

    }


    .villa-space-tall {

        grid-row: span 1;

    }


    .villa-space-wide {

        grid-column: span 2;

    }

}


@media (max-width: 767px) {

    .villa-spaces-section {

        padding: 80px 0;

    }


    .villa-spaces-header {

        margin-bottom: 45px;

    }


    .villa-spaces-heading {

        gap: 20px;

    }


    .villa-spaces-heading h2 {

        font-size: 44px;

    }


    .villa-spaces-heading p {

        font-size: 11px;

    }


    .villa-spaces-grid {

        display: grid;

        grid-template-columns: 1fr;

        grid-template-rows: none;

        gap: 10px;

    }


    .villa-space-large,
    .villa-space-tall,
    .villa-space-wide {

        grid-column: auto;

        grid-row: auto;

    }


    .villa-space-card {

        height: 330px;

    }


    .villa-space-content p {

        max-height: 80px;

        margin-top: 9px;

        opacity: 1;

    }


    .villa-space-content h3 {

        font-size: 23px;

    }

}


@media (max-width: 480px) {

    .villa-space-card {

        height: 290px;

    }


    .villa-space-content {

        inset: auto 18px 18px;

        grid-template-columns:
            28px 1fr 32px;

        gap: 8px;

    }


    .villa-space-content h3 {

        font-size: 21px;

    }


    .villa-space-content p {

        font-size: 9px;

    }

}

/* =====================================================
   WHY CRAFTED BY 2
===================================================== */

.villa-why-section {

    position: relative;

    padding: 145px 0;

    overflow: hidden;

    background: #f5f1e9;

}


/* subtle decorative circle */

.villa-why-section::before {

    content: "";

    position: absolute;

    width: 520px;

    height: 520px;

    top: -250px;

    left: -220px;

    border: 1px solid
        rgba(174,133,73,.12);

    border-radius: 50%;

}


.villa-why-section::after {

    content: "";

    position: absolute;

    width: 380px;

    height: 380px;

    right: -190px;

    bottom: -190px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(174,133,73,.08),
            transparent 70%
        );

}


/* =====================================================
   MAIN GRID
===================================================== */

.villa-why-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 120px;

    align-items: start;

}


/* =====================================================
   INTRO
===================================================== */

.villa-why-intro {

    position: sticky;

    top: 120px;

}


.villa-why-intro
.villa-section-eyebrow {

    justify-content: flex-start;

}


.villa-why-intro h2 {

    margin: 25px 0 30px;

    color: #292622;

    font-size: clamp(
        48px,
        5vw,
        75px
    );

    font-weight: 300;

    line-height: normal;

    letter-spacing: -.055em;

}


.villa-why-intro h2 em {

    display: block;

    color: #a97636;

    font-family: Georgia, serif;

    font-weight: 400;

}


.villa-why-intro p {

    max-width: 460px;

    color: #756f67;

    font-size: 14px;

    line-height: 1.95;

}


/* =====================================================
   LINK
===================================================== */

.villa-why-link {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    margin-top: 35px;

    color: #9d6e32;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .16em;

}


.villa-why-link i {

    display: grid;

    place-items: center;

    width: 37px;

    height: 37px;

    border: 1px solid #c7a36e;

    border-radius: 50%;

    font-style: normal;

    font-size: 15px;

    transition:
        all .35s ease;

}


.villa-why-link:hover i {

    color: #fff;

    background: #a87535;

    border-color: #a87535;

    transform: rotate(45deg);

}


/* =====================================================
   CONTENT
===================================================== */

.villa-why-content {

    border-top: 1px solid #d9d0c2;

}


/* =====================================================
   ITEM
===================================================== */

.villa-why-item {

    position: relative;

    display: grid;

    grid-template-columns:
        55px 1fr;

    gap: 25px;

    padding: 34px 0;

    border-bottom: 1.5px solid #d9d0c2;

    transition:
        padding .4s ease;

}


.villa-why-item::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 2px;

    height: 0;

    background: #ae7c3d;

    transition:
        height .45s ease;

}


.villa-why-item:hover {

    padding-left: 18px;

}


.villa-why-item:hover::before {

    height: 100%;

}


/* =====================================================
   NUMBER
===================================================== */

.villa-why-item-number {

    color: #ad7d3d;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: .08em;

}


/* =====================================================
   TEXT
===================================================== */

.villa-why-item span {

    display: block;

    margin-bottom: 9px;

    color: #a4773e;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .18em;

}


.villa-why-item h3 {

    margin: 0;

    color: #302d28;

    font-size: 23px;

    font-weight: 400;

    line-height: 1.25;

}


.villa-why-item p {

    max-width: 510px;

    margin: 12px 0 0;

    color: #777169;

    font-size: 14px;

    line-height: 1.8;

}


/* =====================================================
   STATS
===================================================== */

.villa-why-stats {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    margin-top: 100px;

    border-top: 1px solid #d9d0c2;

    border-bottom: 1px solid #d9d0c2;

}


.villa-why-stat {

    display: flex;

    flex-direction: column;

    gap: 10px;

    padding: 30px 25px;

    border-right: 1px solid #d9d0c2;

}


.villa-why-stat:first-child {

    padding-left: 0;

}


.villa-why-stat:last-child {

    border-right: 0;

}


.villa-why-stat strong {

    color: #a87535;

    font-family: Georgia, serif;

    font-size: 34px;

    font-weight: 400;

    line-height: 1;

}


.villa-why-stat span {

    color: #817970;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: .17em;

}


/* =====================================================
   REVEAL ANIMATION
===================================================== */

.villa-why-intro,
.villa-why-item,
.villa-why-stat {

    opacity: 0;

    transform: translateY(35px);

}


.villa-why-section.is-visible
.villa-why-intro {

    opacity: 1;

    transform: translateY(0);

    transition:
        opacity .8s ease,
        transform .8s
        cubic-bezier(.2,.7,.2,1);

}


.villa-why-section.is-visible
.villa-why-item {

    opacity: 1;

    transform: translateY(0);

    transition:
        opacity .7s ease,
        transform .7s
        cubic-bezier(.2,.7,.2,1);

}


.villa-why-section.is-visible
.villa-why-item:nth-child(1) {
    transition-delay: .15s;
}

.villa-why-section.is-visible
.villa-why-item:nth-child(2) {
    transition-delay: .25s;
}

.villa-why-section.is-visible
.villa-why-item:nth-child(3) {
    transition-delay: .35s;
}

.villa-why-section.is-visible
.villa-why-item:nth-child(4) {
    transition-delay: .45s;
}


.villa-why-section.is-visible
.villa-why-stat {

    opacity: 1;

    transform: translateY(0);

    transition:
        opacity .7s ease,
        transform .7s
        cubic-bezier(.2,.7,.2,1);

}


.villa-why-section.is-visible
.villa-why-stat:nth-child(1) {
    transition-delay: .2s;
}

.villa-why-section.is-visible
.villa-why-stat:nth-child(2) {
    transition-delay: .3s;
}

.villa-why-section.is-visible
.villa-why-stat:nth-child(3) {
    transition-delay: .4s;
}

.villa-why-section.is-visible
.villa-why-stat:nth-child(4) {
    transition-delay: .5s;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .villa-why-section {

        padding: 110px 0;

    }


    .villa-why-grid {

        grid-template-columns: 1fr;

        gap: 60px;

    }


    .villa-why-intro {

        position: static;

    }


    .villa-why-stats {

        margin-top: 70px;

    }

}


@media (max-width: 767px) {

    .villa-why-section {

        padding: 80px 0;

    }


    .villa-why-grid {

        gap: 45px;

    }


    .villa-why-intro h2 {

        font-size: 45px;

    }


    .villa-why-intro p {

        font-size: 11px;

    }


    .villa-why-item {

        grid-template-columns:
            35px 1fr;

        gap: 12px;

        padding: 25px 0;

    }


    .villa-why-item:hover {

        padding-left: 10px;

    }


    .villa-why-item h3 {

        font-size: 18px;

    }


    .villa-why-item p {

        font-size: 10px;

    }


    .villa-why-stats {

        grid-template-columns:
            1fr 1fr;

        margin-top: 55px;

    }


    .villa-why-stat {

        padding: 23px 15px;

        border-bottom: 1px solid #d9d0c2;

    }


    .villa-why-stat:nth-child(2) {

        border-right: 0;

    }


    .villa-why-stat:nth-child(3) {

        padding-left: 0;

        border-bottom: 0;

    }


    .villa-why-stat:nth-child(4) {

        border-bottom: 0;

    }

}


@media (max-width: 480px) {

    .villa-why-intro h2 {

        font-size: 40px;

    }


    .villa-why-stat strong {

        font-size: 28px;

    }

}
/* =====================================================
   PREMIUM CENTERED FINAL CTA
===================================================== */

.villa-final-cta {

    position: relative;

    min-height: 720px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    color: #fff;

    isolation: isolate;

}


/* =====================================================
   BACKGROUND IMAGE
===================================================== */

.villa-final-cta-image {

    position: absolute;

    z-index: -3;

    inset: 0;

    overflow: hidden;

}


.villa-final-cta-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transform: scale(1.08);

    transition:
        transform 2.5s
        cubic-bezier(.2,.7,.2,1);

}


.villa-final-cta.is-visible
.villa-final-cta-image img {

    transform: scale(1);

}


/* =====================================================
   CINEMATIC OVERLAY
===================================================== */

.villa-final-cta-overlay {

    position: absolute;

    z-index: -2;

    inset: 0;

    background:

        radial-gradient(
            circle at center,
            rgba(18,16,13,.35) 0%,
            rgba(18,16,13,.60) 45%,
            rgba(12,10,8,.88) 100%
        );

}


/* =====================================================
   SOFT GOLD GLOW
===================================================== */

.villa-final-cta::before {

    content: "";

    position: absolute;

    z-index: -1;

    width: 600px;

    height: 600px;

    top: 50%;

    left: 50%;

    transform: translate(
        -50%,
        -50%
    );

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(207,162,99,.12),
            transparent 68%
        );

    filter: blur(10px);

    pointer-events: none;

}


/* =====================================================
   FRAME
===================================================== */

.villa-final-frame {

    position: absolute;

    inset: 25px;

    border: 1px solid
        rgba(221,181,119,.28);

    pointer-events: none;

    opacity: .8;

}


.villa-final-frame::before {

    content: "";

    position: absolute;

    top: -1px;

    left: 50%;

    width: 100px;

    height: 2px;

    transform: translateX(-50%);

    background: #d2a66a;

}


/* =====================================================
   CONTENT
===================================================== */

.villa-final-cta-content {

    position: relative;

    z-index: 5;

    width: min(
        900px,
        100%
    );

    margin: auto;

    padding: 95px 45px;

    text-align: center;

    opacity: 0;

    transform: translateY(45px);

}


.villa-final-cta.is-visible
.villa-final-cta-content {

    opacity: 1;

    transform: translateY(0);

    transition:
        opacity 1s ease,
        transform 1s
        cubic-bezier(.2,.7,.2,1);

}


/* =====================================================
   EYEBROW
===================================================== */

.villa-final-eyebrow {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    color: #d2a66a;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .23em;

}


.villa-final-eyebrow span {

    width: 42px;

    height: 1px;

    background: #c99a5d;

}


/* =====================================================
   HEADING
===================================================== */

.villa-final-cta h2 {

    max-width: 820px;

    margin: 25px auto 25px;

    color: #fff;

    font-size: clamp(
        48px,
        6vw,
        82px
    );

    font-weight: 300;

    line-height: .95;

    letter-spacing: -.055em;

}


.villa-final-cta h2 em {

    display: block;

    margin-top: 8px;

    color: #d2a66a;

    font-family: Georgia, serif;

    font-weight: 400;

    letter-spacing: -.035em;

}


/* =====================================================
   DESCRIPTION
===================================================== */

.villa-final-cta-content > p {

    max-width: 570px;

    margin: 0 auto;

    color:
        rgba(255,255,255,.70);

    font-size: 14px;

    line-height: 1.9;

}


/* =====================================================
   ACTIONS
===================================================== */

.villa-final-actions {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 38px;

}


/* =====================================================
   PRIMARY BUTTON
===================================================== */

.villa-final-primary {

    display: inline-flex;

    align-items: center;

    gap: 22px;

    min-height: 53px;

    padding: 0 8px 0 23px;

    color: #211e1a;

    background: #d0a267;

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;

    border-radius: 30px;
    letter-spacing: .16em;

    transition:
        transform .35s ease,
        background .35s ease,
        box-shadow .35s ease;

}


.villa-final-primary i {

    display: grid;

    place-items: center;

    width: 37px;

    height: 37px;

    border-radius: 50%;

    color: #d0a267;

    background: #211e1a;

    font-style: normal;

    font-size: 15px;

    transition:
        transform .4s ease;

}


.villa-final-primary:hover {

    color: #211e1a;

    background: #e2bc85;

    transform: translateY(-4px);

    box-shadow:
        0 15px 40px
        rgba(0,0,0,.25);

}


.villa-final-primary:hover i {

    transform: rotate(45deg);

}


/* =====================================================
   BROCHURE BUTTON
===================================================== */

.villa-final-pdf {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 11px;

    min-height: 53px;

    padding: 0 23px;

    border: 1px solid
        rgba(255,255,255,.42);

    color: #fff;

    background:
        rgba(255,255,255,.06);

    backdrop-filter: blur(12px);

    text-decoration: none;

    font-size: 11px;

    border-radius: 30px;
    font-weight: 700;

    letter-spacing: .14em;

    transition:
        all .35s ease;

}


.villa-final-pdf i {

    color: #e15348;

    font-size: 17px;

}


.villa-final-pdf:hover {

    color: #fff;

    border-color: #d0a267;

    background:
        rgba(208,162,103,.16);

    transform: translateY(-4px);

}


/* =====================================================
   CONTACT
===================================================== */

.villa-final-contact {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    margin-top: 35px;

}


.villa-final-contact a {

    color:
        rgba(255,255,255,.62);

    text-decoration: none;

    font-size: 16px;

    transition:
        color .3s ease;

}


.villa-final-contact a:hover {

    color: #d2a66a;

}


.villa-final-contact span {

    width: 4px;

    height: 4px;

    border-radius: 50%;

    background: #b98a4d;

}


/* =====================================================
   DECORATIVE CORNERS
===================================================== */

.villa-final-corner {

    position: absolute;

    z-index: 5;

    width: 55px;

    height: 55px;

    pointer-events: none;

}


.villa-final-corner::before,
.villa-final-corner::after {

    content: "";

    position: absolute;

    background: #d0a267;

}


/* top left */

.villa-final-corner.top-left {

    top: 45px;

    left: 45px;

}


.villa-final-corner.top-left::before {

    top: 0;

    left: 0;

    width: 28px;

    height: 1px;

}


.villa-final-corner.top-left::after {

    top: 0;

    left: 0;

    width: 1px;

    height: 28px;

}


/* top right */

.villa-final-corner.top-right {

    top: 45px;

    right: 45px;

}


.villa-final-corner.top-right::before {

    top: 0;

    right: 0;

    width: 28px;

    height: 1px;

}


.villa-final-corner.top-right::after {

    top: 0;

    right: 0;

    width: 1px;

    height: 28px;

}


/* bottom left */

.villa-final-corner.bottom-left {

    bottom: 45px;

    left: 45px;

}


.villa-final-corner.bottom-left::before {

    bottom: 0;

    left: 0;

    width: 28px;

    height: 1px;

}


.villa-final-corner.bottom-left::after {

    bottom: 0;

    left: 0;

    width: 1px;

    height: 28px;

}


/* bottom right */

.villa-final-corner.bottom-right {

    right: 45px;

    bottom: 45px;

}


.villa-final-corner.bottom-right::before {

    right: 0;

    bottom: 0;

    width: 28px;

    height: 1px;

}


.villa-final-corner.bottom-right::after {

    right: 0;

    bottom: 0;

    width: 1px;

    height: 28px;

}


/* =====================================================
   DECORATIVE NUMBER
===================================================== */

.villa-final-number {

    position: absolute;

    z-index: 2;

    right: 50px;

    bottom: 35px;

    color:
        rgba(255,255,255,.09);

    font-family: Georgia, serif;

    font-size: 130px;

    font-weight: 400;

    line-height: 1;

    pointer-events: none;

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 767px) {

    .villa-final-cta {

        min-height: 680px;

    }


    .villa-final-frame {

        inset: 12px;

    }


    .villa-final-cta-content {

        padding: 75px 15px;

    }


    .villa-final-eyebrow {

        gap: 9px;

        font-size: 7px;

    }


    .villa-final-eyebrow span {

        width: 25px;

    }


    .villa-final-cta h2 {

        margin-top: 22px;

        font-size: 45px;

        line-height: .98;

    }


    .villa-final-cta-content > p {

        max-width: 500px;

        font-size: 11px;

        line-height: 1.8;

    }


    .villa-final-actions {

        flex-direction: column;

        width: 70%;

        max-width: 360px;

        margin: 32px auto 0;

    }


    .villa-final-primary,
    .villa-final-pdf {

        width: 100%;

        justify-content: start;

    }


    .villa-final-contact {

        flex-direction: column;

        gap: 8px;

        margin-top: 28px;

    }


    .villa-final-contact span {

        display: none;

    }


    .villa-final-corner {

        width: 35px;

        height: 35px;

    }


    .villa-final-corner.top-left {

        top: 25px;

        left: 25px;

    }


    .villa-final-corner.top-right {

        top: 25px;

        right: 25px;

    }


    .villa-final-corner.bottom-left {

        bottom: 25px;

        left: 25px;

    }


    .villa-final-corner.bottom-right {

        right: 25px;

        bottom: 25px;

    }


    .villa-final-number {

        right: 20px;

        bottom: 15px;

        font-size: 70px;

    }

}


@media (max-width: 480px) {

    .villa-final-cta {

        min-height: 650px;

    }


    .villa-final-cta h2 {

        font-size: 39px;

    }


    .villa-final-cta-content {

        padding: 65px 12px;

    }

}