/**
 * Luxury Lifestyle Rentals — supplemental styles
 */

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    max-width: 1em;
    overflow: hidden;
    line-height: 1;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ——— Hero background video ——— */
.hero-section {
    overflow: visible;
}

.hero-media {
    overflow: hidden;
    border-radius: 0;
    background-color: #1a1c1c;
    background-size: cover;
    background-position: center;
}

.hero-content {
    overflow: visible;
}

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

.hero-poster-img {
    z-index: 0;
}

/* Hide video only when playback truly failed — poster shows via .hero-media background */
.hero-section.is-video-off .hero-video {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
}

/* Screen-reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ——— Inner page banner ——— */
.page-banner {
    min-height: 280px;
}

.page-banner__img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 768px) {
    .page-banner {
        min-height: 340px;
    }
}

/* Isolated image sections */
.home-about-media,
.guest-service-card__media,
.home-featured-property__media,
.section-split-media,
.section-grid-card-media,
.section-featured-property__media,
.section-property-card__media,
.destination-card-media,
.collection-tour__card,
.brand-logo-card__media {
    position: relative;
    isolation: isolate;
}

.home-about-media__img,
.guest-service-card__img,
.home-featured-property__img,
.section-split-media__img,
.section-grid-card-media__img,
.section-featured-property__img,
.section-property-card__img,
.destination-card-media__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.home-about-media__img {
    object-position: center;
}

.home-featured-property__img,
.section-featured-property__img,
.section-property-card__img {
    object-position: center;
}

.section-grid-card-media__img,
.destination-card-media__img {
    object-position: center;
}

.page-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.luxury-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.luxury-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* ——— Site navigation (desktop / laptop — mockup style) ——— */
.site-nav {
    background: #f3f3f4;
    border-top: 1px solid #000000;
    border-bottom: none;
}

.site-nav__inner {
    min-height: 4.25rem;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
}

@media (min-width: 1280px) {
    .site-nav__inner {
        min-height: 5.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* Logo — brand image */
.nav-logo {
    display: block;
    line-height: 0;
    text-decoration: none;
}

.nav-logo__img {
    display: block;
    width: auto;
    height: 3.5rem;
    max-width: none;
}

@media (min-width: 768px) {
    .nav-logo__img {
        height: 4rem;
    }
}

@media (min-width: 1280px) {
    .nav-logo__img {
        height: 4.5rem;
    }
}

/* Brand network — partner logo cards */
.brand-network-grid {
    align-items: stretch;
}

.brand-logo-card {
    display: flex;
    flex-direction: column;
    background: #f3f3f4;
    border: 1px solid rgba(26, 28, 28, 0.08);
    border-radius: 0.75rem;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.brand-logo-card--on-primary {
    background: #f3f3f4;
}

.brand-logo-card--flagship {
    border-color: rgba(201, 169, 98, 0.55);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(201, 169, 98, 0.25);
}

.brand-logo-card--linked:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
    border-color: rgba(201, 169, 98, 0.45);
}

.brand-logo-card--soon-card {
    opacity: 0.92;
}

.brand-logo-card__link-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.brand-logo-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 9rem;
    min-height: 9rem;
    padding: 1.5rem 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(26, 28, 28, 0.06);
}

.brand-logo-card__img {
    display: block;
    width: auto;
    height: auto;
    max-width: 11rem;
    max-height: 5.5rem;
    object-fit: contain;
    object-position: center;
}

.brand-logo-card__img--cover {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
}

.brand-logo-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.125rem 1.25rem 1.375rem;
    text-align: center;
}

.brand-logo-card__name {
    font-family: Montserrat, sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1a1c1c;
    margin-bottom: 0.375rem;
    line-height: 1.3;
}

.brand-logo-card__badge {
    display: inline-block;
    align-self: center;
    font-family: Montserrat, sans-serif;
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9a7b2f;
    margin-bottom: 0.5rem;
}

.brand-logo-card__here {
    align-self: center;
    margin-top: auto;
    font-family: Montserrat, sans-serif;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9a7b2f;
    padding: 0.45rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(201, 169, 98, 0.45);
    background: rgba(201, 169, 98, 0.08);
}

.brand-logo-card__location {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9a7b2f;
    margin-bottom: 0.625rem;
}

.brand-logo-card__text {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #5c5f5f;
    flex: 1;
    margin-bottom: 1rem;
}

.brand-logo-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    align-self: center;
    margin-top: auto;
    font-family: Montserrat, sans-serif;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1a1c1c;
    padding: 0.5rem 0.875rem;
    border: 1px solid rgba(26, 28, 28, 0.15);
    border-radius: 9999px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.brand-logo-card--linked:hover .brand-logo-card__cta {
    background: #1a1c1c;
    color: #ffffff;
    border-color: #1a1c1c;
}

.brand-logo-card__cta-icon {
    font-size: 0.875rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.brand-logo-card--linked:hover .brand-logo-card__cta-icon {
    transform: translateX(2px);
}

.brand-logo-card__soon {
    align-self: center;
    margin-top: auto;
    font-family: Montserrat, sans-serif;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5c5f5f;
    padding: 0.45rem 0.75rem;
    border-radius: 9999px;
    background: #f3f3f4;
}

/* Service / icon card titles — compact sans-serif, not display serif */
.service-card__title {
    font-family: Montserrat, sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.4;
    color: #1a1c1c;
    margin-bottom: 0.625rem;
}

@media (min-width: 768px) {
    .service-card__title {
        font-size: 0.875rem;
    }
}

/* Desktop menu — single row, no wrap */
@media (min-width: 1024px) {
    .site-nav__desktop {
        gap: 1.125rem;
    }

    .site-nav__desktop .nav-link {
        font-family: Montserrat, sans-serif;
        font-size: 0.6875rem;
        font-weight: 500;
        letter-spacing: 0.14em;
        line-height: 1;
        color: #5c5f5f;
        text-decoration: none;
        white-space: nowrap;
        padding: 0.25rem 0;
        flex-shrink: 0;
    }

    .site-nav__desktop .nav-link:hover,
    .site-nav__desktop .nav-link.is-active {
        color: #1a1c1c;
    }

    .site-nav__chevron {
        font-size: 1rem !important;
        color: #5c5f5f;
        margin-top: 1px;
    }

    .site-nav__dropdown-trigger:hover .site-nav__chevron,
    .site-nav__dropdown-trigger.is-active .site-nav__chevron {
        color: #1a1c1c;
    }

    /* CTA — black box, two lines */
    .site-nav__desktop .nav-cta {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 2.75rem;
        padding: 0.5rem 1.125rem;
        background: #000000;
        color: #ffffff;
        font-family: Montserrat, sans-serif;
        font-size: 0.625rem;
        font-weight: 500;
        letter-spacing: 0.16em;
        line-height: 1.15;
        text-decoration: none;
        text-transform: uppercase;
        transition: opacity 0.2s ease;
    }

    .site-nav__desktop .nav-cta:hover {
        opacity: 0.88;
    }

    .nav-cta__line {
        display: block;
        white-space: nowrap;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .site-nav__desktop {
        gap: 0.75rem;
    }

    .site-nav__desktop .nav-link {
        font-size: 0.625rem;
        letter-spacing: 0.12em;
    }

    .site-nav__desktop .nav-cta {
        padding: 0.45rem 0.875rem;
        font-size: 0.5625rem;
    }
}

@media (min-width: 1280px) {
    .site-nav__desktop {
        gap: 1.5rem;
    }

    .site-nav__desktop .nav-link {
        font-size: 0.6875rem;
        letter-spacing: 0.15em;
    }

    .site-nav__desktop .nav-cta {
        min-height: 3rem;
        padding: 0.55rem 1.35rem;
        font-size: 0.6875rem;
    }
}


/* ——— Contact Google Map ——— */
.contact-map-iframe {
    display: block;
    height: 280px;
    min-height: 240px;
}

@media (min-width: 768px) {
    .contact-map-iframe {
        height: 320px;
    }
}

/* ——— Forms ——— */
.form-error {
    color: #ba1a1a;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.form-alert-success {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #1b5e20;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-alert-error {
    background: #ffdad6;
    border: 1px solid #ba1a1a;
    color: #93000a;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

/* ——— Gallery ——— */
.contact-request-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

/* Owner listing application */
.owner-application {
    scroll-margin-top: 6rem;
}

.owner-application__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.4fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.owner-application__intro {
    position: sticky;
    top: 7rem;
}

.owner-application__service-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26, 28, 28, 0.14);
}

.owner-application__service-list span {
    position: relative;
    padding-left: 1.25rem;
    color: #5c5f5f;
    font-family: Montserrat, sans-serif;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.owner-application__service-list span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 9999px;
    background: #775a19;
}

.owner-application__panel {
    background: #ffffff;
    border: 1px solid rgba(26, 28, 28, 0.1);
    border-radius: 0.5rem;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.owner-listing-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.owner-form-progress {
    display: grid;
    grid-template-columns: max-content minmax(1.5rem, 1fr) max-content;
    align-items: center;
    gap: 0.875rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(26, 28, 28, 0.12);
}

.owner-form-progress span {
    height: 1px;
    background: rgba(26, 28, 28, 0.18);
}

.owner-form-progress__step {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    color: #747878;
    font-family: Montserrat, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.35;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
}

.owner-form-progress__step.is-active {
    color: #1a1c1c;
}

.owner-form-step {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.owner-form-step[hidden] {
    display: none;
}

.owner-form-note,
.owner-form-contact-note,
.owner-form-privacy {
    color: #5c5f5f;
    font-size: 0.85rem;
    line-height: 1.6;
}

.owner-form-contact-note {
    padding: 1rem 1.125rem;
    background: #f3f3f4;
    border-left: 2px solid #775a19;
}

.owner-form-contact-note a {
    color: #1a1c1c;
    border-bottom: 1px solid rgba(26, 28, 28, 0.35);
}

.owner-form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.owner-form-back {
    min-width: 8rem;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(26, 28, 28, 0.22);
    color: #1a1c1c;
    font-family: Montserrat, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.owner-form-back:hover {
    background: #f3f3f4;
    border-color: rgba(26, 28, 28, 0.4);
}

.contact-request-intro {
    position: sticky;
    top: 7rem;
}

.contact-request-panel {
    background: #ffffff;
    border: 1px solid rgba(26, 28, 28, 0.1);
    border-radius: 0.5rem;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.contact-request-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
}

.contact-form-field {
    border: 0;
    margin: 0;
    padding: 0;
}

.contact-form-label {
    display: block;
    margin-bottom: 0.55rem;
    font-family: Montserrat, sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.35;
    text-transform: uppercase;
    color: #5c5f5f;
}

.contact-form-control {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(26, 28, 28, 0.28);
    border-radius: 0;
    background: transparent;
    color: #1a1c1c;
    padding: 0.75rem 0 0.8rem;
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

select.contact-form-control {
    cursor: pointer;
    overflow: hidden;
    padding-right: 1.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

select.contact-form-control option {
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    color: #1a1c1c;
    background: #ffffff;
}

.contact-form-control:focus {
    outline: none;
    border-color: #1a1c1c;
    box-shadow: 0 1px 0 #1a1c1c;
}

.contact-form-control.is-invalid {
    border-color: #ba1a1a;
}

.contact-form-control--textarea {
    min-height: 9rem;
    resize: vertical;
}

.contact-radio-group {
    display: inline-flex;
    border: 1px solid rgba(26, 28, 28, 0.18);
    border-radius: 0.375rem;
    overflow: hidden;
    background: #f7f7f7;
}

.contact-radio-option {
    position: relative;
    min-width: 5rem;
    cursor: pointer;
    text-align: center;
    font-family: Montserrat, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5c5f5f;
}

.contact-radio-option + .contact-radio-option {
    border-left: 1px solid rgba(26, 28, 28, 0.12);
}

.contact-radio-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contact-radio-option span {
    display: block;
    padding: 0.75rem 1rem;
}

.contact-radio-option input:checked + span {
    background: #1a1c1c;
    color: #ffffff;
}

.contact-form-divider {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(26, 28, 28, 0.12);
}

.contact-consent {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    color: #5c5f5f;
    font-size: 0.85rem;
    line-height: 1.55;
}

.contact-consent input {
    margin-top: 0.2rem;
    border-color: rgba(26, 28, 28, 0.35);
}

.contact-submit-button {
    align-self: flex-start;
    min-width: min(100%, 14rem);
    background: #1a1c1c;
    color: #ffffff;
    padding: 1rem 1.5rem;
    font-family: Montserrat, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-submit-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .contact-request-layout,
    .owner-application__layout {
        grid-template-columns: 1fr;
    }

    .contact-request-intro,
    .owner-application__intro {
        position: static;
    }
}

@media (max-width: 639px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-request-panel {
        padding: 1.25rem;
    }

    .owner-application__panel {
        padding: 1.25rem;
    }

    .contact-submit-button {
        width: 100%;
    }

    .contact-form-control,
    select.contact-form-control option {
        font-size: 16px;
        line-height: 1.45;
    }

    select.contact-form-control {
        padding-top: 0.65rem;
        padding-bottom: 0.7rem;
    }

    .owner-form-progress {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .owner-form-progress span {
        display: none;
    }

    .owner-form-actions,
    .owner-form-back {
        width: 100%;
    }
}

.collection-tour {
    position: relative;
    overflow: hidden;
}

.collection-tour__head {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.8fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: end;
    margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
}

.collection-tour__intro {
    max-width: 36rem;
    color: #5c5f5f;
    font-size: 0.98rem;
    line-height: 1.75;
}

.collection-tour__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
    grid-auto-rows: minmax(13rem, auto);
    gap: clamp(0.875rem, 2vw, 1.25rem);
}

.collection-tour__card {
    position: relative;
    min-height: 18rem;
    overflow: hidden;
    border-radius: 0.5rem;
    background: #1a1c1c;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.14);
    isolation: isolate;
}

.collection-tour__card--feature {
    grid-row: span 2;
    min-height: 34rem;
}

.collection-tour__card--tall {
    min-height: 18rem;
}

.collection-tour__card--wide {
    grid-column: span 2;
}

.collection-tour__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.7s ease, filter 0.7s ease;
}

.collection-tour__card:hover .collection-tour__img {
    filter: saturate(1.06) contrast(1.04);
    transform: scale(1.055);
}

.collection-tour__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0.42) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.02) 58%);
    pointer-events: none;
}

.collection-tour__meta {
    position: absolute;
    left: clamp(1rem, 2vw, 1.5rem);
    right: clamp(1rem, 2vw, 1.5rem);
    bottom: clamp(1rem, 2vw, 1.5rem);
    z-index: 2;
    color: #ffffff;
}

.collection-tour__meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 9999px;
    font-family: Montserrat, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.collection-tour__meta p {
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.78);
    font-family: Montserrat, sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.35;
    text-transform: uppercase;
}

.collection-tour__meta h3 {
    color: #ffffff;
    font-family: Playfair Display, serif;
    font-size: clamp(1.45rem, 2.4vw, 2.25rem);
    font-weight: 600;
    line-height: 1.05;
}

.collection-tour__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: clamp(1.25rem, 3vw, 2rem);
    padding-top: clamp(1.25rem, 3vw, 1.75rem);
    border-top: 1px solid rgba(26, 28, 28, 0.12);
}

.collection-tour__footer p {
    max-width: 48rem;
    color: #5c5f5f;
    line-height: 1.65;
}

.collection-tour__link {
    flex-shrink: 0;
    border-bottom: 1px solid currentColor;
    color: #775a19;
    font-family: Montserrat, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.2;
    padding-bottom: 0.25rem;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .collection-tour__head,
    .collection-tour__grid {
        grid-template-columns: 1fr;
    }

    .collection-tour__card,
    .collection-tour__card--feature,
    .collection-tour__card--tall,
    .collection-tour__card--wide {
        grid-column: auto;
        grid-row: auto;
        min-height: clamp(15rem, 58vw, 24rem);
    }

    .collection-tour__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 479px) {
    .collection-tour__card,
    .collection-tour__card--feature,
    .collection-tour__card--tall,
    .collection-tour__card--wide {
        min-height: 16rem;
    }
}

.villa-slider {
    width: 100%;
}

.villa-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.villa-slider__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.villa-slider__thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid rgba(116, 120, 120, 0.35);
    border-radius: 0.375rem;
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.villa-slider__thumb:hover,
.villa-slider__thumb.is-active {
    border-color: #000000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.villa-slider__thumb:not(.is-active) {
    opacity: 0.72;
}

.villa-slider__thumb img {
    display: block;
}

@media (max-width: 767px) {
    .gallery-grid {
        height: auto !important;
    }

    .gallery-grid > div {
        min-height: 220px;
    }
}

/* ——— Testimonials ——— */
.testimonial-nav {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    transition: background 0.2s, border-color 0.2s;
}

.testimonial-nav:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #c4c7c7;
    transition: background 0.2s, transform 0.2s;
}

.testimonial-dot.is-active {
    background: #775a19;
    transform: scale(1.25);
}

/* ——— Scroll to top ——— */
.scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 40;
    width: 3rem;
    height: 3rem;
    background: #000;
    color: #fff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, transform 0.3s;
}

.scroll-top:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.scroll-top.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}

/* ——— Cookie banner ——— */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(26, 28, 28, 0.97);
    color: #f0f1f1;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .cookie-banner-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-banner-text {
    font-size: 0.875rem;
    line-height: 1.5;
    opacity: 0.9;
    max-width: 52rem;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.65rem 1.25rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

.cookie-btn-primary {
    background: #ffdea5;
    color: #000;
}

.cookie-btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.cookie-btn:hover {
    opacity: 0.88;
}

/* Offset scroll-top when cookie visible */
body.cookie-visible .scroll-top {
    bottom: 5.5rem;
}

@media (min-width: 768px) {
    body.cookie-visible .scroll-top {
        bottom: 1.5rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Responsive — mobile, tablet, desktop, large screens
   ═══════════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@supports (overflow-x: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

main,
section,
header,
footer,
nav {
    max-width: 100%;
}

.grid > *,
.flex > * {
    min-width: 0;
}

a,
button,
p,
li,
h1,
h2,
h3,
h4,
h5,
h6,
span {
    overflow-wrap: anywhere;
}

img:not(.nav-logo__img),
iframe,
svg {
    max-width: 100%;
    height: auto;
}

img.page-banner__img,
img.home-about-media__img,
img.guest-service-card__img,
img.home-featured-property__img,
img.section-split-media__img,
img.section-grid-card-media__img,
img.section-featured-property__img,
img.section-property-card__img,
img.destination-card-media__img,
img.collection-tour__img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.hero-video {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

/* Fluid typography */
.responsive-heading,
.font-headline-lg.text-headline-lg,
h2.font-headline-lg {
    font-size: clamp(1.625rem, 3.5vw + 0.75rem, 3rem) !important;
    line-height: 1.2 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.font-headline-md.text-headline-md,
h3.font-headline-md {
    font-size: clamp(1.25rem, 2vw + 0.65rem, 2rem);
    line-height: 1.3;
}

h1.font-display-lg {
    font-size: clamp(1.875rem, 5vw + 0.5rem, 4rem) !important;
    line-height: 1.1 !important;
}

/* Section spacing */
.site-section,
section.py-stack-xl {
    scroll-margin-top: 5rem;
}

@media (max-width: 1023px) {
    .site-section,
    section.py-stack-xl {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
}

@media (max-width: 639px) {
    .site-section,
    section.py-stack-xl {
        padding-top: 2.75rem !important;
        padding-bottom: 2.75rem !important;
    }
}

.page-section {
    padding-top: clamp(2.5rem, 6vw, 5rem);
    padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

@media (max-width: 639px) {
    .page-banner {
        min-height: 220px;
    }
}

/* Safe areas (notched phones) */
body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

body.mobile-menu-open {
    overflow: hidden;
    touch-action: none;
}

#site-nav {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
}

/* Hero — small phones */
@media (max-width: 639px) {
    .hero-section {
        min-height: min(100dvh, 880px);
    }

    .hero-content .font-body-lg {
        font-size: 1rem;
        line-height: 1.55;
    }
}

/* Touch targets — mobile nav & CTA; desktop CTA sized in .site-nav block */
.mobile-nav-link,
button.testimonial-nav,
.cookie-btn,
.scroll-top {
    min-height: 44px;
}

@media (min-width: 1024px) {
    .site-nav__desktop .nav-cta {
        min-height: 2.75rem;
    }
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Gallery */
@media (max-width: 767px) {
    .gallery-grid {
        height: auto !important;
        grid-template-rows: auto !important;
    }

    .gallery-grid > div {
        min-height: 200px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .gallery-grid {
        height: auto !important;
        min-height: 480px;
    }
}

/* Testimonials */
.testimonial-track {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: paint;
    isolation: isolate;
}

.testimonial-slides {
    max-width: 100%;
}

.testimonial-slide p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

@media (max-width: 639px) {
    .testimonial-nav {
        width: 2.75rem;
        height: 2.75rem;
    }

    .testimonial-slide {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Contact */
@media (max-width: 767px) {
    .contact-map-footer {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }

    .contact-map-footer a {
        width: 100%;
        text-align: left;
    }
}

/* Brand cards — readable on narrow screens */
@media (max-width: 479px) {
    .brand-card > div:first-child {
        aspect-ratio: 4 / 5;
    }
}

/* Focus / icon rows */
@media (max-width: 639px) {
    #focus .flex.gap-stack-md {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Guest service cards */
#guest-services .guest-service-card {
    display: flex;
    flex-direction: column;
}

#guest-services .guest-service-card__media {
    aspect-ratio: 4 / 3;
    min-height: 0;
    background: #e8e5df;
}

#guest-services .guest-service-card__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

@media (max-width: 639px) {
    #guest-services .group {
        grid-template-columns: 1fr;
    }

    #guest-services .guest-service-card__media {
        aspect-ratio: 4 / 3;
        min-height: 0;
        max-height: none;
    }
}

/* Forms — prevent iOS zoom on focus */
@media (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    textarea,
    select {
        font-size: 16px;
    }
}

/* Footer */
@media (max-width: 639px) {
    footer .font-headline-md {
        font-size: 1.35rem;
    }
}

/* Scroll top — safe area */
.scroll-top {
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
}

/* Cookie banner */
.cookie-banner {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

@media (max-width: 479px) {
    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* Inner page contact blocks */
@media (max-width: 639px) {
    .page-section.px-margin-mobile,
    .page-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Wide screens — cap content width */
@media (min-width: 1536px) {
    .max-w-container-max {
        max-width: 1280px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .luxury-card-hover:hover {
        transform: none;
    }

    .testimonial-slides {
        transition: none;
    }
}

/* Navbar logo — must stay after global img reset */
#site-nav .nav-logo__img {
    display: block !important;
    width: auto !important;
    height: 3.5rem !important;
    max-width: none !important;
    max-height: none !important;
}

@media (min-width: 768px) {
    #site-nav .nav-logo__img {
        height: 4rem !important;
    }
}

@media (min-width: 1280px) {
    #site-nav .nav-logo__img {
        height: 4.5rem !important;
    }
}
