:root {
    --villa-primary: #585E4E;
    --villa-primary-dark: #3D4136;
    --villa-secondary: #6e7662;
    --villa-accent: #c67d52;
    --villa-accent-soft: #e6ccb8;
    --villa-surface: #F5F4F2;
    --villa-surface-alt: #E6E4E0;
    --villa-white: #ffffff;
    --villa-text: #3f392d;
    --villa-text-soft: #6a6458;
    --villa-border: rgba(81, 73, 52, 0.12);
    --villa-shadow: 0 24px 60px rgba(62, 56, 40, 0.14);
}

/* Base */
body {
    overflow-x: hidden;
    font-family: "Nunito", sans-serif;
    font-weight: 400;
    line-height: 1.4;
    color: var(--villa-text);
    background-color: #fbf8f2;
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background-color: rgba(81, 73, 52, 0.08);
    color: var(--villa-primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-kicker--light {
    background-color: rgba(255, 255, 255, 0.14);
    color: var(--villa-white);
}

.hero-title,
.section-title,
.card-title,
.apartment-title,
.sidebar-title,
.cta-title {
    font-family: "DM Serif Display", serif;
    letter-spacing: 0.01em;
}

.hero-title {
    margin-bottom: 1.25rem;
    color: var(--villa-white);
    font-size: clamp(2.5rem, 3.8vw, 3.8rem);
    line-height: 1;
}

.section-title {
    margin-bottom: 1.2rem;
    color: var(--villa-primary);
    font-size: clamp(2.2rem, 2.8vw, 2.8rem);
    line-height: 1.05;
}

.section-title--centered {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

.card-title {
    margin-bottom: 0.85rem;
    color: var(--villa-primary);
    font-size: 1.6rem;
    line-height: 1.1;
}

.apartment-title,
.sidebar-title {
    margin-bottom: 0.85rem;
    color: var(--villa-primary);
    font-size: 1.9rem;
    line-height: 1.05;
}

.cta-title {
    margin-bottom: 1rem;
    color: var(--villa-white);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
}

.section-text {
    margin-bottom: 0;
    color: var(--villa-text-soft);
    font-size: 1.02rem;
}

.section-text--lead {
    margin-bottom: 1rem;
    color: var(--villa-text);
    font-size: 1.1rem;
    font-weight: 700;
}

.section-text--compact {
    max-width: 38rem;
}

.section-text--light {
    max-width: 46rem;
    margin: 0 auto 0;
    color: rgba(255, 255, 255, 0.84);
}

.section-heading {
    margin-bottom: 3rem;
}

.section-heading--split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.section-actions {
    margin-top: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-actions--center {
    justify-content: center;
}

.btn-booking,
.btn-outline-booking {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.4rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease,
        border-color 0.25s ease;
}

.btn-booking {
    color: var(--villa-white);
    background: linear-gradient(135deg, var(--villa-accent), #b76040);
    box-shadow: 0 16px 34px rgba(182, 96, 64, 0.28);
}

.btn-booking:hover {
    color: var(--villa-white);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(182, 96, 64, 0.38);
}

.btn-booking--light {
    color: var(--villa-primary);
    background: var(--villa-white);
    box-shadow: 0 16px 34px rgba(18, 19, 14, 0.2);
}

.btn-booking--light:hover {
    color: var(--villa-white);
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-booking--full {
    width: 100%;
}


.btn-outline-booking {
    color: var(--villa-white);
    border-color: rgba(255, 255, 255, 0.45);
    background-color: transparent;
}

.btn-outline-booking:hover {
    color: var(--villa-white);
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* Hero Slider */

.sec_video {
    position: relative;
    overflow: hidden;
    height: 750px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    transform: translate(-50%, -50%);

}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(27, 24, 19, 0.72) 0%, rgba(27, 24, 19, 0.28) 46%, rgba(27, 24, 19, 0.18) 100%),
        linear-gradient(180deg, rgba(18, 19, 14, 0.12) 0%, rgba(18, 19, 14, 0.64) 100%);
}

.hero-slide__content {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    margin-bottom: 1.1rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-text {
    max-width: 38rem;
    margin-bottom: 1.6rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
    line-height: 1.8;
}


/* Intro */
.intro-section {
    padding: 6.5rem 0;
    background:
        radial-gradient(circle at top right, rgba(198, 125, 82, 0.1), transparent 28%),
        var(--villa-surface);
}

.intro-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.intro-highlight-card {
    padding: 1.25rem 1rem;
    border: 1px solid var(--villa-border);
    border-radius: 1.35rem;
    background-color: rgba(255, 255, 255, 0.66);
    box-shadow: 0 14px 30px rgba(81, 73, 52, 0.08);
}

.intro-highlight-card__number {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--villa-accent);
    font-family: "DM Serif Display", serif;
    font-size: 2rem;
    line-height: 1;
}

.intro-highlight-card__label {
    color: var(--villa-text);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1;
}

.intro-visual-card {
    position: relative;
    min-height: 100%;
}

.intro-visual-card__image {
    width: 100%;
    min-height: 520px;
    border-radius: 2rem;
    object-fit: cover;
    box-shadow: var(--villa-shadow);
}

.intro-visual-card__panel {
    position: absolute;
    right: -2rem;
    bottom: -10rem;
    width: min(88%, 26rem);
    padding: 1.8rem;
    border-radius: 1.5rem;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 40px rgba(62, 56, 40, 0.16);
}

.feature-list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.feature-list--inline {
    margin-top: 1rem;
}

.feature-list__item {
    position: relative;
    padding-left: 1.4rem;
    color: var(--villa-text-soft);
}

.feature-list__item::before {
    content: "";
    position: absolute;
    top: 0.4rem;
    left: 0;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--villa-accent);
}

/* Services */
.services-section {
    padding: 6.5rem 0;
    background-color: var(--villa-white);
}

.service-card {
    height: 100%;
    padding: 2rem 1.7rem;
    border: 1px solid var(--villa-border);
    border-radius: 1.8rem;
    background-color: var(--villa-white);
    box-shadow: 0 18px 34px rgba(81, 73, 52, 0.07);
}

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.2rem;
    border-radius: 1.2rem;
    background: var(--villa-surface);
    color: var(--villa-primary);
    font-size: 1.45rem;
}

/* Territory */
.territory-section {
    padding: 6.5rem 0;
    background-color: var(--villa-surface-alt);
}

.territory-visual__image {
    width: 100%;
    min-height: 560px;
    border-radius: 2rem;
    object-fit: cover;
    box-shadow: var(--villa-shadow);
}

.territory-points {
    display: grid;
    gap: 1.35rem;
    margin-top: 2rem;
}

.territory-point {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border-radius: 1.4rem;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(81, 73, 52, 0.08);
}

.territory-point__icon {
    display: inline-flex;
    flex: 0 0 3rem;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background-color: rgba(81, 73, 52, 0.08);
    color: var(--villa-primary);
    font-size: 1.1rem;
}

/* Apartments */
.apartments-section {
    padding: 6.5rem 0;
    background-color: var(--villa-surface);
}

.apartment-list {
    display: grid;
    gap: 1.6rem;
}

.apartment-card {
    overflow: hidden;
    border: 1px solid var(--villa-border);
    border-radius: 2rem;
    background-color: var(--villa-white);
    box-shadow: 0 18px 38px rgba(81, 73, 52, 0.08);
}

.apartment-card__image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.apartment-card__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 2rem;
}

.apartment-card__top {
    margin-bottom: 0.5rem;
}

.apartment-card__badge {
    display: inline-flex;
    margin-bottom: 0.85rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background-color: rgba(198, 125, 82, 0.12);
    color: var(--villa-accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.apartment-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.apartment-card .btn-booking {
    min-height: 3rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}


.booking-sidebar {
    position: relative;
    height: 100%;
}

.booking-sidebar__card {
    position: sticky;
    top: 2rem;
    padding: 2rem;
    border-radius: 2rem;
    background: var(--villa-primary-dark);
    box-shadow: var(--villa-shadow);
}

.booking-sidebar .section-kicker {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.86);
}

.booking-sidebar__card .sidebar-title,
.booking-sidebar__card .section-text {
    color: var(--villa-white);
}

.sidebar-data-list {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.sidebar-data-list__item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.sidebar-data-list__label {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sidebar-data-list__value {
    color: var(--villa-white);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
}

.booking-sidebar__actions {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.7rem;
}

/* Extras */
.extras-section {
    padding: 6.5rem 0;
    background: var(--villa-white)
}

.extra-card {
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--villa-border);
    border-radius: 1.8rem;
    background-color: var(--villa-white);
    box-shadow: 0 18px 34px rgba(81, 73, 52, 0.08);
}

.extra-card__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.extra-card__body {
    padding: 1.7rem;
}

/* CTA Finale */
.cta-section {
    padding: 0 0 6.5rem;
    background-color: var(--villa-white);
}

.cta-panel {
    padding: 4rem 2rem;
    border-radius: 2.4rem;
    background: var(--villa-primary-dark);
    box-shadow: var(--villa-shadow);
}

/* Responsive XL */
@media (max-width: 1399.98px) {
    .intro-visual-card__panel {
        bottom: -7rem;
        right: -2rem;
        padding: 1.5rem;
    }
}

/* Responsive LG */
@media (max-width: 1199.98px) {

    .section-heading--split {
        flex-direction: column;
        align-items: start;
    }

    .booking-sidebar__card {
        padding: 1.8rem;
    }

    .intro-visual-card__panel {
        bottom: -11rem;
        right: 1.5rem;
    }


}

/* Responsive LG */
@media (max-width: 991.98px) {

    .hero-title {
       font-size: clamp(3rem, 6vw, 6rem);
    }

    .intro-section,
    .services-section,
    .territory-section,
    .apartments-section,
    .extras-section {
        padding: 5rem 0;
    }

    .intro-visual-card__image,
    .territory-visual__image {
        min-height: 420px;
    }

    .booking-sidebar__card {
        position: static;
    }

    .intro-visual-card__panel {
        bottom: -3rem;
        right: 0;
        left: -2rem;
    }
}

/* Responsive MD */
@media (max-width: 767.98px) {
    .hero-slide__content {
        padding-top: 6.5rem;
    }

    .hero-actions,
    .apartment-card__actions {
        flex-direction: column;
    }

    .btn-booking,
    .btn-outline-booking {
        width: 100%;
    }

    .intro-highlights {
        grid-template-columns: 1fr;
    }

    .intro-visual-card__image,
    .territory-visual__image {
        min-height: 320px;
    }

    .intro-visual-card__panel {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: -3rem;
    }

    .apartment-card__image {
        min-height: 260px;
    }

    .hero-carousel__control {
        bottom: 1rem;
        width: 3.5rem;
        height: 3.5rem;
    }

    .carousel-control-prev.hero-carousel__control {
        right: 4.5rem;
    }

    .cta-panel {
        padding: 3rem 1.4rem;
    }
}

/* Responsive SM */
@media (max-width: 575.98px) {
    .hero-slide__content {
        padding-top: 6rem;
        padding-bottom: 7rem;
    }

    .hero-caption-card {
        padding: 1rem 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .card-title,
    .apartment-title,
    .sidebar-title {
        font-size: 1.55rem;
    }

    .service-card,
    .apartment-card__body,
    .booking-sidebar__card,
    .extra-card__body {
        padding: 1.4rem;
    }

    .territory-point {
        padding: 1rem;
    }
}