/* ===== VARIABLES & RESET ===== */
:root {
    --black: #0a0a0a;
    --black-light: #1a1a1a;
    --black-card: #1e1e1e;
    --gold: #c9a84c;
    --gold-light: #d4b965;
    --gold-dark: #a8882e;
    --white: #ffffff;
    --white-off: #f5f3ef;
    --gray: #999999;
    --gray-light: #cccccc;
    --gray-dark: #333333;
    --font-heading: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection where needed */
.chatbot-input,
.chatbot-msg-bubble,
.terms-section,
.terms-toc,
.faq-answer,
.bp-field input,
.bp-textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== INTRO SPLASH ===== */
.intro-splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-splash.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: introReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.intro-logo.logo-fade-out {
    animation: introLogoFade 0.6s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.intro-villa {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.55em;
    color: rgba(255, 255, 255, 0.6);
}

.intro-neoma {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin-top: 6px;
}

@keyframes introReveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes introLogoFade {
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

/* ===== NAVBAR (Ultima minimalist) ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background var(--transition), transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0 40px;
}

.navbar.transparent {
    background: transparent;
}

.navbar.transparent.on-hero:hover {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.solid {
    background: var(--black);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 160px;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
}

.menu-bar {
    display: block;
    width: 32px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active .menu-bar:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.menu-toggle.active .menu-bar:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

.menu-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--white);
    text-transform: uppercase;
}

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    gap: 2px;
}

.logo-villa {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.45em;
    color: var(--white);
}

.logo-neoma {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--gold);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 160px;
    justify-content: flex-end;
}

.lang-dropdown {
    position: relative;
}

.lang-dropdown-mobile {
    display: none;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 6px 4px;
    transition: color var(--transition-fast);
}

.lang-toggle:hover {
    color: var(--gold);
}

.lang-toggle svg {
    transition: transform 0.3s ease;
}

.lang-dropdown.open .lang-toggle svg {
    transform: rotate(180deg);
}

.lang-current {
    font-size: 0.95rem;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--black);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 6px 0;
    min-width: 60px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.lang-opt {
    display: block;
    width: 100%;
    padding: 8px 16px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--gray);
    text-align: left;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.lang-opt:hover {
    color: var(--white);
    background: rgba(255,255,255,0.05);
}

.lang-opt.active {
    color: var(--gold);
}

.nav-book-btn {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--black);
    background: var(--gold);
    padding: 14px 32px;
    border-radius: 2px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav-book-btn:hover {
    background: var(--gold-light);
    transform: scale(1.03);
}

/* ===== FULLSCREEN MENU OVERLAY ===== */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.5s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-overlay-content {
    text-align: center;
}

.menu-links {
    list-style: none;
}

.menu-links li {
    margin: 20px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu-overlay.active .menu-links li {
    opacity: 1;
    transform: translateY(0);
}

.menu-overlay.active .menu-links li:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active .menu-links li:nth-child(2) { transition-delay: 0.15s; }
.menu-overlay.active .menu-links li:nth-child(3) { transition-delay: 0.2s; }
.menu-overlay.active .menu-links li:nth-child(4) { transition-delay: 0.25s; }
.menu-overlay.active .menu-links li:nth-child(5) { transition-delay: 0.3s; }
.menu-overlay.active .menu-links li:nth-child(6) { transition-delay: 0.35s; }

.menu-links a {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--white);
    transition: color var(--transition-fast), letter-spacing var(--transition-fast);
    display: inline-block;
}

.menu-links a:hover {
    color: var(--gold);
    letter-spacing: 0.15em;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.15) 40%,
        rgba(0,0,0,0.2) 70%,
        rgba(0,0,0,0.6) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeUp 1s 0.3s forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 0;
    opacity: 0;
    animation: fadeUp 1s 0.6s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESERVATION BAR ===== */
.reservation-bar {
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 16px;
    padding: 16px 40px;
    gap: 0;
    margin-top: 15px;
    width: 750px;
    max-width: 95vw;
    opacity: 0;
    animation: fadeUp 1s 1s forwards;
}

.res-field {
    display: flex;
    flex-direction: column;
    padding: 10px 28px;
    cursor: pointer;
    border-radius: 30px;
    transition: background var(--transition-fast);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    position: relative;
}

.res-field:hover {
    background: rgba(255, 255, 255, 0.08);
}

.res-field label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
    pointer-events: none;
    user-select: none;
}

.res-display {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--white);
    pointer-events: none;
    user-select: none;
}

/* Calendar icon + inline dates field */
#resDatesField {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding-left: 8px;
    padding-right: 16px;
    min-width: 320px;
}

#resDatesField label {
    display: none;
}

.res-cal-icon {
    color: var(--gold);
    flex-shrink: 0;
    pointer-events: none;
}

#datesDisplay {
    font-size: 0.82rem;
    font-weight: 400;
    white-space: nowrap;
}

.res-dates-placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.res-input-hidden {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Custom guests dropdown */
.guests-dropdown {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    position: relative;
}

.guests-dropdown label {
    margin-bottom: 0;
    margin-right: 4px;
}

.guests-chevron {
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.guests-dropdown.open .guests-chevron {
    transform: rotate(180deg);
}

.guests-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    background: var(--black-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 100;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    min-width: 160px;
}

.guests-dropdown.open .guests-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.guests-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.guests-option:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.guests-option.selected {
    color: var(--black);
    background: var(--gold);
    font-weight: 600;
    border-color: var(--gold);
    border-radius: 50%;
}

.res-divider {
    width: 1px;
    height: 40px;
    background: rgba(201, 168, 76, 0.3);
}

.res-search-btn {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--black);
    background: var(--gold);
    border: none;
    border-radius: 50px;
    padding: 18px 36px;
    white-space: nowrap;
    transition: background var(--transition-fast), transform var(--transition-fast);
    margin-left: 10px;
    user-select: none;
    -webkit-user-select: none;
}

.res-search-btn:hover {
    background: var(--gold-light);
    transform: scale(1.03);
}

/* ===== CUSTOM CALENDAR ===== */
.cal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
}

.cal-overlay.active {
    display: block;
}

.cal-popup {
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    width: calc(100% + 2px);
    background: rgb(20, 20, 20);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 0 0 16px 16px;
    padding: 24px 40px 28px;
    z-index: 100;
    box-sizing: border-box;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    /* Slide-down animation */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-color: transparent;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease,
                padding 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease;
    pointer-events: none;
}

.cal-popup.active {
    max-height: 500px;
    opacity: 1;
    padding-top: 24px;
    padding-bottom: 28px;
    border-color: rgba(201, 168, 76, 0.2);
    pointer-events: auto;
}

/* Staggered fade-in for day cells */
@keyframes calDayAppear {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cal-popup.active .cal-day {
    animation: calDayAppear 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Month headers & weekdays fade in */
@keyframes calFadeSlide {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cal-popup.active .cal-month-header,
.cal-popup.active .cal-weekdays {
    animation: calFadeSlide 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
    animation-delay: 0.08s;
}

/* When calendar is open, merge bar and calendar into one element */
.reservation-bar.cal-open {
    border-radius: 16px 16px 0 0;
    border-bottom: none;
}

.cal-months {
    display: flex;
    gap: 24px;
}

.cal-month {
    flex: 1;
}

.cal-month-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cal-month-title {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.04em;
}

.cal-nav {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cal-nav:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.cal-next-mobile {
    display: none;
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
}

.cal-weekdays span {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    padding: 4px 0;
}

.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(6, 46px);
    gap: 2px 0;
}

/* --- Booking.com-style day cell --- */
.cal-day {
    position: relative;
    height: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--white);
    cursor: pointer;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    z-index: 1;
    transition: color 0.12s ease;
    gap: 2px;
}

.cal-day-num {
    line-height: 1;
}

.cal-day-price {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
    line-height: 1;
}

.cal-day.disabled .cal-day-price,
.cal-day.blocked .cal-day-price {
    display: none;
}

/* ::before = range band (rectangular, full cell width) */
.cal-day::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: -2;
    transition: background 0.12s ease;
}

/* ::after = circle highlight (hover / selected) */
.cal-day::after {
    content: '';
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    z-index: -1;
    transition: background 0.12s ease, transform 0.12s ease;
    transform: scale(0.85);
}

@media (max-width: 768px) {
    .cal-day::after {
        width: 40px;
        height: 40px;
    }
}

/* Hover: show circle */
.cal-day:hover:not(.disabled):not(.empty)::after {
    background: rgba(201, 168, 76, 0.18);
    transform: scale(1);
}
.cal-day:hover:not(.disabled):not(.empty) {
    color: var(--gold-light);
}

/* Today: subtle ring + dot */
.cal-day.today {
    color: var(--gold);
    font-weight: 600;
}
.cal-day.today::after {
    border: 1.5px solid rgba(201, 168, 76, 0.4);
    transform: scale(1);
}

/* --- Selected (single, no range yet) --- */
.cal-day.selected {
    color: var(--black);
    font-weight: 600;
}
.cal-day.selected::after {
    background: var(--gold);
    transform: scale(1);
}

/* --- Range band (in-between dates) --- */
.cal-day.in-range::before {
    background: rgba(201, 168, 76, 0.13);
}
.cal-day.in-range {
    color: var(--white);
}
.cal-day.in-range:hover:not(.disabled)::after {
    background: rgba(201, 168, 76, 0.25);
}

/* --- Range start: circle + right-half band --- */
.cal-day.range-start {
    color: var(--black);
    font-weight: 600;
}
.cal-day.range-start::after {
    background: var(--gold);
    transform: scale(1);
}
.cal-day.range-start::before {
    background: rgba(201, 168, 76, 0.13);
    left: 50%;
    right: 0;
}

/* --- Range end: circle + left-half band --- */
.cal-day.range-end {
    color: var(--black);
    font-weight: 600;
}
.cal-day.range-end::after {
    background: var(--gold);
    transform: scale(1);
}
.cal-day.range-end::before {
    background: rgba(201, 168, 76, 0.13);
    left: 0;
    right: 50%;
}

/* --- Start == End (same day, no band) --- */
.cal-day.range-start.range-end::before {
    background: transparent;
}

/* --- Hover preview range (after check-in selected, hovering) --- */
.cal-day.hover-in-range::before {
    background: rgba(201, 168, 76, 0.08);
}
.cal-day.hover-in-range {
    color: rgba(255, 255, 255, 0.8);
}

/* Hover preview endpoint */
.cal-day.hover-end {
    color: var(--gold);
}
.cal-day.hover-end::after {
    background: rgba(201, 168, 76, 0.22);
    transform: scale(1);
}
.cal-day.hover-end::before {
    background: rgba(201, 168, 76, 0.08);
    left: 0;
    right: 50%;
}

/* When range-start has a hover preview extending right */
.cal-day.range-start.has-hover-range::before {
    background: rgba(201, 168, 76, 0.08);
    left: 50%;
    right: 0;
}

/* --- Diagonal-cut band on arrival/departure days --- */
/* blocked-start = arrival day: normal band, cut diagonally, keep top-left half */
.cal-day.in-range.blocked-start::before,
.cal-day.hover-in-range.blocked-start::before,
.cal-day.hover-end.blocked-start::before,
.cal-day.range-end.blocked-start::before {
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(135deg, rgba(201,168,76,0.13) 48%, transparent 52%) !important;
}
.cal-day.hover-in-range.blocked-start::before,
.cal-day.hover-end.blocked-start::before {
    background: linear-gradient(135deg, rgba(201,168,76,0.08) 48%, transparent 52%) !important;
}
/* blocked-end = departure day: normal band, cut diagonally, keep bottom-right half */
.cal-day.in-range.blocked-end::before,
.cal-day.hover-in-range.blocked-end::before,
.cal-day.range-start.blocked-end::before {
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(135deg, transparent 48%, rgba(201,168,76,0.13) 52%) !important;
}
.cal-day.hover-in-range.blocked-end::before {
    background: linear-gradient(135deg, transparent 48%, rgba(201,168,76,0.08) 52%) !important;
}

/* Disabled */
.cal-day.disabled {
    color: rgba(255, 255, 255, 0.13);
    cursor: default;
}
.cal-day.disabled:hover::after {
    background: transparent;
    transform: scale(0.85);
}
.cal-day.disabled::after {
    border: none;
}

/* Blocked dates (from iCal sync) — fully blocked interior days */
.cal-day.blocked {
    color: rgba(255, 255, 255, 0.25);
    position: relative;
}
.cal-day.blocked::after {
    background: rgba(200, 60, 60, 0.18) !important;
    border: none !important;
    transform: scale(0.85) !important;
    border-radius: 50% !important;
}
.cal-day.blocked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 25%;
    width: 50%;
    height: 1.5px;
    background: rgba(200, 60, 60, 0.5);
    transform: rotate(-45deg);
    z-index: 2;
}

/* Half-day blocked: arrival day (right half circle + diagonal) */
.cal-day.blocked-start {
    position: relative;
}
.cal-day.blocked-start::after {
    background: linear-gradient(
        135deg,
        transparent 0%, transparent 48%,
        rgba(200, 60, 60, 0.5) 48%, rgba(200, 60, 60, 0.5) 52%,
        rgba(200, 60, 60, 0.18) 52%, rgba(200, 60, 60, 0.18) 100%
    ) !important;
    border: none !important;
    transform: scale(0.85) !important;
    border-radius: 50% !important;
}

/* Half-day blocked: departure day (left half circle + diagonal) */
.cal-day.blocked-end {
    position: relative;
}
.cal-day.blocked-end::after {
    background: linear-gradient(
        135deg,
        rgba(200, 60, 60, 0.18) 0%, rgba(200, 60, 60, 0.18) 48%,
        rgba(200, 60, 60, 0.5) 48%, rgba(200, 60, 60, 0.5) 52%,
        transparent 52%, transparent 100%
    ) !important;
    border: none !important;
    transform: scale(0.85) !important;
    border-radius: 50% !important;
}

/* When a day is both departure AND arrival (back-to-back bookings) — full blocked circle */
.cal-day.blocked-start.blocked-end {
    color: rgba(255, 255, 255, 0.25);
    cursor: default;
}
.cal-day.blocked-start.blocked-end::after {
    background: rgba(200, 60, 60, 0.18) !important;
}
.cal-day.blocked-start.blocked-end::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 25%;
    width: 50%;
    height: 1.5px;
    background: rgba(200, 60, 60, 0.5);
    transform: rotate(-45deg);
    z-index: 2;
}

/* Empty */
.cal-day.empty {
    cursor: default;
}
.cal-day.empty::before,
.cal-day.empty::after {
    display: none;
}

@media (max-width: 768px) {
    .cal-popup {
        padding: 20px 16px;
        left: -1px;
        right: -1px;
        width: calc(100% + 2px);
    }
    .cal-months {
        flex-direction: column;
        gap: 20px;
    }
    .reservation-bar.cal-open {
        border-radius: 12px 12px 0 0;
    }
    .cal-popup {
        border-radius: 0 0 12px 12px;
    }
}

/* ===== ABOUT SECTION (Half text / Half image) ===== */
.about-section {
    padding: 0;
}

.about-slide {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
}


.about-text {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 100px;
    background: var(--white);
}

.about-icon {
    color: var(--gray);
    margin-bottom: 30px;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    color: var(--black);
    margin-bottom: 24px;
    line-height: 1.25;
}

.about-desc {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.9;
    color: #444444;
    letter-spacing: 0.02em;
    max-width: 440px;
}

.about-text-centered {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 60px;
    background: #ffffff;
}

.about-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 600;
    line-height: 1.6;
    color: #1a1a1a;
    letter-spacing: 0.01em;
    max-width: 560px;
}

.about-image {
    flex: 0 0 50%;
    overflow: hidden;
    position: relative;
}

/* Alternate about slides: reverse layout */
.about-slide:nth-child(even) {
    flex-direction: row-reverse;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-slide:hover .about-image img {
    transform: none;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--black);
    margin-bottom: 12px;
}

.section-title.light {
    color: var(--white);
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
}

.section-subtitle.light {
    color: var(--gray-light);
}

/* ===== GALLERY COLLAGE ===== */
.gallery-section {
    padding: 80px 40px 40px;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.6fr;
    grid-template-rows: 280px 340px 280px;
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 6px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.gallery-overlay {
    display: none;
}

/* ===== GALLERY LIGHTBOX ===== */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox img {
    max-width: 80%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    background: var(--white-off);
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.gallery-lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--black);
    font-size: 1.5rem;
    transition: background 0.25s ease;
    z-index: 2001;
}

.gallery-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.15);
}

/* Collage grid layout matching reference */
.gi-1 { grid-column: 1 / 2; grid-row: 1 / 2; }
.gi-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.gi-3 { grid-column: 3 / 4; grid-row: 1 / 2; }
.gi-4 { grid-column: 4 / 5; grid-row: 1 / 3; }
.gi-5 { grid-column: 1 / 2; grid-row: 2 / 3; }
.gi-6 { grid-column: 2 / 4; grid-row: 2 / 3; }
.gi-7 { grid-column: 1 / 3; grid-row: 3 / 4; }
.gi-8 { grid-column: 3 / 4; grid-row: 3 / 4; }
.gi-9 { grid-column: 4 / 5; grid-row: 3 / 4; }
.gi-10 { display: none; }

/* Small images in bottom-left row */

/* ===== ADVANTAGES ===== */
.advantages-section {
    padding: 100px 40px;
    background: var(--white);
}

.advantages-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.adv-card {
    background: var(--white-off);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 4px;
    padding: 40px 30px;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.adv-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.adv-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.adv-icon {
    color: var(--gold);
    margin-bottom: 20px;
}

.adv-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 14px;
    letter-spacing: 0.03em;
}

.adv-card p {
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-dark);
}

.adv-cta {
    text-align: center;
    margin-top: 60px;
}

.adv-book-btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--black);
    background: var(--gold);
    padding: 18px 50px;
    border-radius: 2px;
    text-decoration: none;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.adv-book-btn:hover {
    background: var(--gold-light);
    transform: scale(1.03);
}

/* ===== EXPERIENCES (70% center / 15% peek slider) ===== */
.experiences-section {
    padding: 80px 0 100px;
    background: var(--white-off);
    overflow: hidden;
    position: relative;
}

.exp-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.exp-track {
    display: flex;
    will-change: transform;
}

.exp-slide {
    flex: 0 0 84%;
    position: relative;
    margin: 0 0.2%;
    overflow: visible;
}

.exp-slide-img {
    width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    position: relative;
}

.exp-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* White info card at the bottom of the image */
.exp-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 40px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.25s ease;
    z-index: 5;
    min-height: 25%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.exp-card-left {
    flex: 0 0 auto;
    align-self: flex-start;
}

.exp-card-right {
    flex: 1;
    max-width: 550px;
    text-align: right;
    align-self: flex-end;
}

/* Active slide: card slides up */
.exp-slide.active .exp-card {
    transform: translateY(0);
    opacity: 1;
}

.exp-card-label {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--gray);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.exp-card-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 400;
    color: var(--black);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.exp-card-desc {
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.7;
    color: #333333;
    max-width: 550px;
}

/* Navigation arrows */
.exp-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    z-index: 10;
    transition: all var(--transition-fast);
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.exp-arrow:hover {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.exp-arrow-left {
    left: 20px;
}

.exp-arrow-right {
    right: 20px;
}

/* Section heading */
.exp-heading {
    text-align: center;
    margin-bottom: 50px;
    pointer-events: none;
}

.exp-heading h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--black);
}

/* ===== BOOKING CTA ===== */
.booking-section {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.booking-bg {
    position: absolute;
    inset: 0;
}

.booking-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.booking-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
}

.booking-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.booking-content p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.booking-btn {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--black);
    background: var(--gold);
    padding: 16px 42px;
    border-radius: 2px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.booking-btn:hover {
    background: var(--gold-light);
    transform: scale(1.03);
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
    padding: 80px 40px;
    background: var(--white);
}

.newsletter-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white-off);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 8px;
    padding: 50px 60px;
}

.newsletter-card h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 10px;
}

.newsletter-card p {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--gray-dark);
    margin-bottom: 30px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
    transition: border-color var(--transition-fast);
}

.newsletter-form:focus-within {
    border-color: rgba(201, 168, 76, 0.4);
}

.newsletter-input {
    flex: 1;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--black);
    background: transparent;
    border: none;
    outline: none;
    padding: 16px 24px;
}

.newsletter-input::placeholder {
    color: var(--gray);
}

.newsletter-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
    transition: background var(--transition-fast), transform var(--transition-fast);
    color: var(--black);
    flex-shrink: 0;
}

.newsletter-btn:hover {
    background: var(--gold-light);
    transform: scale(1.05);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--white-off);
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 60px 40px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo-villa {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.45em;
    color: var(--black);
}

.footer-logo-neoma {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--gray);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--gray);
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact p {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--gray);
    margin-bottom: 8px;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 16px;
}

.footer-social a {
    color: var(--gray);
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--gray);
}

/* ===== AVAILABILITY RESULT ===== */
.availability-result {
    display: none;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 50px;
    padding: 12px 28px;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
    z-index: 99;
}
.availability-result.active {
    display: flex;
}
.avail-ok {
    color: #5cbf5c;
    font-size: 0.82rem;
    font-weight: 500;
}
.avail-no {
    color: #e05555;
    font-size: 0.82rem;
    font-weight: 500;
}
.avail-price {
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
    font-weight: 300;
}
.avail-book-btn {
    background: var(--gold);
    color: var(--black);
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}
.avail-book-btn:hover {
    background: var(--gold-light);
    transform: scale(1.03);
}

/* ===== AVAILABILITY MODAL ===== */
.avail-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 20px;
}

.avail-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.avail-modal-card {
    background: var(--white);
    border-radius: 16px;
    padding: 48px 40px 40px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.avail-modal-overlay.active .avail-modal-card {
    transform: scale(1) translateY(0);
}

.avail-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 1.4rem;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.avail-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.avail-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avail-modal-icon.success {
    background: rgba(92, 191, 92, 0.12);
}

.avail-modal-icon.error {
    background: rgba(224, 85, 85, 0.12);
}

.avail-modal-icon svg {
    width: 28px;
    height: 28px;
}

.avail-modal-icon.success svg {
    color: #5cbf5c;
}

.avail-modal-icon.error svg {
    color: #e05555;
}

.avail-modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.avail-modal-card.error .avail-modal-title {
    color: #c44040;
}

.avail-modal-sub {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 24px;
}

.avail-modal-price {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--black);
    margin-bottom: 24px;
    display: none;
}

.avail-modal-price.visible {
    display: block;
}

.avail-modal-price .price-nights {
    color: #999;
    font-size: 0.8rem;
}

.avail-modal-price .price-total {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--black);
    display: block;
    margin-top: 4px;
}

.avail-modal-btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    border: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
    width: 100%;
}

.avail-modal-btn.success {
    background: var(--gold);
    color: var(--black);
}

.avail-modal-btn.success:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.avail-modal-btn.error {
    background: #e05555;
    color: var(--white);
}

.avail-modal-btn.error:hover {
    background: #c94444;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .avail-modal-card {
        padding: 40px 24px 32px;
    }

    .avail-modal-title {
        font-size: 1.4rem;
    }

    .avail-modal-price .price-total {
        font-size: 1.5rem;
    }
}

/* ===== BOOKING MODAL ===== */
.booking-modal,
.booking-success-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.booking-modal.active,
.booking-success-modal.active {
    display: flex;
}
.booking-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}
.booking-modal-content {
    position: relative;
    background: #151515;
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 16px;
    padding: 40px;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
}
.booking-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
}
.booking-modal-close:hover {
    color: var(--white);
}

.bk-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 24px;
}

/* Step 1: Price Summary */
.bk-summary {
    margin-bottom: 28px;
}
.bk-dates-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bk-date-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.bk-date-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}
.bk-date-value {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--white);
}
.bk-arrow {
    color: rgba(255,255,255,0.25);
    font-size: 1.2rem;
}

.bk-price-breakdown {
    margin-bottom: 16px;
}
.bk-price-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.bk-price-line.bk-discount {
    color: #5cbf5c;
}
.bk-price-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    border-top: 1px solid rgba(201, 168, 76, 0.3);
}

/* Step 2: Form */
.bk-form {
    margin-bottom: 24px;
}
.bk-field {
    margin-bottom: 16px;
}
.bk-field label {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}
.bk-field input,
.bk-field textarea {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--white);
    transition: border-color var(--transition-fast);
}
.bk-field input:focus,
.bk-field textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.bk-field textarea {
    resize: vertical;
}
.bk-row {
    display: flex;
    gap: 16px;
}
.bk-row .bk-field {
    flex: 1;
}

/* Buttons */
.bk-btn {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding: 16px 32px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.bk-btn-primary {
    background: var(--gold);
    color: var(--black);
    width: 100%;
}
.bk-btn-primary:hover {
    background: var(--gold-light);
    transform: scale(1.02);
}
.bk-btn-secondary {
    background: transparent;
    color: var(--gray);
    border: 1px solid rgba(255,255,255,0.15);
}
.bk-btn-secondary:hover {
    border-color: var(--white);
    color: var(--white);
}
.bk-btn-row {
    display: flex;
    gap: 12px;
}
.bk-btn-row .bk-btn-secondary {
    flex: 0 0 auto;
}
.bk-btn-row .bk-btn-primary {
    flex: 1;
}

/* Step 3: Loading */
.bk-loading {
    text-align: center;
    padding: 40px 0;
}
.bk-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--gold);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: bk-spin 0.8s linear infinite;
}
@keyframes bk-spin {
    to { transform: rotate(360deg); }
}
.bk-loading p {
    color: var(--gray);
    font-size: 0.88rem;
}

/* Success Modal */
.bk-success-content {
    text-align: center;
}
.bk-success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(92, 191, 92, 0.15);
    color: #5cbf5c;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.bk-success-desc {
    color: var(--gray);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 24px;
}
.bk-success-details {
    text-align: left;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}
.bk-success-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.85rem;
}
.bk-success-row span:first-child {
    color: var(--gray);
}
.bk-success-row span:last-child {
    color: var(--white);
    font-weight: 500;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-35px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(35px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Advantages section — slower, more pronounced reveal */
.advantages-section .section-header.reveal {
    transform: translateY(35px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.adv-card {
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Gallery section — slower reveal */
.gallery-section .section-header.reveal {
    transform: translateY(35px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Gallery items — slower staggered scale-up reveal */
.gallery-reveal {
    opacity: 0;
    transform: scale(0.94) translateY(15px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-reveal.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* ===== RESPONSIVE ===== */

/* --- Tablet (1024px) --- */
@media (max-width: 1024px) {
    .about-text {
        padding: 60px 40px;
    }

    .about-slide,
    .about-slide:nth-child(even) {
        min-height: 450px;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reservation-bar {
        width: auto;
        border-radius: 12px;
        padding: 16px 20px;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .reservation-bar.cal-open {
        border-radius: 12px 12px 0 0;
    }

    .cal-popup {
        border-radius: 0 0 12px 12px;
    }

    .res-divider {
        display: none;
    }

    .res-field {
        padding: 8px 16px;
    }

    .res-search-btn {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 200px 240px 200px;
        gap: 12px;
    }

    .gi-4 { grid-column: 3 / 4; grid-row: 1 / 2; }
    .gi-5 { grid-column: 1 / 2; grid-row: 2 / 3; display: block; }
    .gi-6 { grid-column: 2 / 4; grid-row: 2 / 3; }
    .gi-7 { grid-column: 1 / 2; grid-row: 3 / 4; }
    .gi-8 { grid-column: 2 / 3; grid-row: 3 / 4; }
    .gi-9 { grid-column: 3 / 4; grid-row: 3 / 4; }

    .exp-slide {
        flex: 0 0 88%;
    }

    .exp-card {
        padding: 20px 30px;
    }
}

/* --- Mobile landscape / small tablet (768px) --- */
@media (max-width: 768px) {
    /* -- Navbar -- */
    .navbar {
        padding: 0 16px;
    }

    .nav-container {
        height: 60px;
    }

    .menu-label {
        display: none;
    }

    .nav-left {
        min-width: auto;
    }

    .nav-right {
        min-width: auto;
        gap: 12px;
    }

    .lang-dropdown-desktop {
        display: none;
    }

    .lang-dropdown-mobile {
        display: block;
        margin-left: 0;
    }

    .lang-dropdown-mobile .lang-current {
        font-size: 0.78rem;
    }

    .nav-book-btn {
        font-size: 0.65rem;
        padding: 13px 20px;
        letter-spacing: 0.1em;
    }

    .logo-villa {
        font-size: 0.65rem;
        letter-spacing: 0.35em;
    }

    .logo-neoma {
        font-size: 1.6rem;
    }

    .lang-current {
        font-size: 0.82rem;
    }

    /* -- Hero -- */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

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

    .hero-subtitle {
        font-size: 0.7rem;
        letter-spacing: 0.3em;
    }

    .hero-content {
        padding: 0 16px;
        margin-bottom: 10px;
    }

    /* -- Reservation Bar -- */
    .reservation-bar {
        width: calc(100% - 32px);
        max-width: 100%;
        flex-direction: column;
        border-radius: 12px;
        padding: 16px;
        margin-top: 20px;
        gap: 4px;
    }

    .reservation-bar.cal-open {
        border-radius: 12px 12px 0 0;
    }

    .res-field {
        width: 100%;
        padding: 10px 8px;
    }

    #resDatesField {
        min-width: unset;
        padding-left: 8px;
        padding-right: 8px;
    }

    #datesDisplay {
        font-size: 0.78rem;
    }

    .res-divider {
        display: none;
    }

    .guests-dropdown {
        justify-content: flex-start;
    }

    .guests-menu {
        left: 0;
        transform: translateX(0) translateY(-6px);
    }

    .guests-dropdown.open .guests-menu {
        transform: translateX(0) translateY(0);
    }

    .res-search-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 4px;
        padding: 16px 24px;
        font-size: 0.72rem;
    }

    /* -- Calendar -- */
    .cal-popup {
        padding: 16px 12px 20px;
        left: -1px;
        right: -1px;
        width: calc(100% + 2px);
        border-radius: 0 0 12px 12px;
    }

    .cal-popup.active {
        max-height: 600px;
    }

    .cal-months {
        flex-direction: column;
        gap: 16px;
    }

    #calMonth2 {
        display: none;
    }

    .cal-next-mobile {
        display: flex;
    }

    .cal-days {
        grid-template-rows: repeat(6, 42px);
    }

    .cal-day {
        height: 42px;
        font-size: 0.85rem;
    }

    .cal-day-price {
        font-size: 0.42rem;
    }

    .cal-month-title {
        font-size: 0.75rem;
    }

    /* -- Availability Result -- */
    .availability-result {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 12px;
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 12px;
        white-space: normal;
        text-align: center;
        padding: 12px 20px;
        gap: 10px;
    }

    .avail-ok, .avail-no {
        font-size: 0.78rem;
        width: 100%;
    }

    .avail-price {
        font-size: 0.75rem;
    }

    .avail-book-btn {
        width: 100%;
        padding: 12px 24px;
    }

    /* -- Booking Modal -- */
    .booking-modal-content {
        padding: 24px 16px;
        width: 96%;
        max-height: 92vh;
        max-height: 92dvh;
        border-radius: 12px;
    }

    .bk-heading {
        font-size: 1.4rem;
    }

    .bk-dates-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .bk-arrow {
        display: none;
    }

    .bk-date-block {
        flex: 1;
        min-width: 0;
    }

    .bk-row {
        flex-direction: column;
        gap: 0;
    }

    .bk-btn {
        padding: 14px 24px;
        font-size: 0.7rem;
    }

    .bk-btn-row {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .bk-btn-row .bk-btn-secondary,
    .bk-btn-row .bk-btn-primary {
        width: 100%;
        text-align: center;
    }

    /* -- About Section -- */
    .about-slide,
    .about-slide:nth-child(even) {
        flex-direction: column;
        min-height: auto;
    }

    .about-text {
        flex: 1;
        padding: 40px 20px;
        order: 2;
    }

    .about-image {
        flex: unset;
        height: 280px;
        order: 1;
    }

    .about-heading {
        font-size: 1.6rem;
    }

    .about-desc {
        font-size: 0.82rem;
        max-width: 100%;
    }

    .about-icon {
        margin-bottom: 20px;
    }

    .about-icon svg {
        width: 28px;
        height: 28px;
    }

    /* -- Section Headers -- */
    .section-header {
        margin-bottom: 40px;
    }

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

    .section-subtitle {
        font-size: 0.75rem;
    }

    /* -- Gallery -- */
    .gallery-section {
        padding: 60px 16px 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 160px);
        gap: 8px;
    }

    .gi-1 { grid-column: 1 / 2; grid-row: 1 / 2; }
    .gi-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
    .gi-3 { grid-column: 1 / 3; grid-row: 2 / 3; }
    .gi-4 { grid-column: 1 / 2; grid-row: 3 / 4; }
    .gi-5 { grid-column: 2 / 3; grid-row: 3 / 4; display: block; }
    .gi-6 { grid-column: 1 / 3; grid-row: 4 / 5; }
    .gi-7, .gi-8, .gi-9, .gi-10 { display: none; }

    .gallery-item {
        border-radius: 4px;
    }

    .gallery-item:hover {
        transform: none;
    }

    /* Lightbox */
    .gallery-lightbox img {
        max-width: 95%;
        max-height: 75vh;
        padding: 6px;
    }

    .gallery-lightbox-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    /* -- Advantages -- */
    .advantages-section {
        padding: 60px 16px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .adv-card {
        padding: 30px 24px;
    }

    .adv-cta {
        margin-top: 40px;
    }

    .adv-book-btn {
        padding: 16px 40px;
        font-size: 0.85rem;
    }

    /* -- Experiences -- */
    .experiences-section {
        padding: 60px 0 80px;
    }

    .exp-heading {
        margin-bottom: 30px;
        padding: 0 16px;
    }

    .exp-heading h2 {
        font-size: 1.8rem;
    }

    .exp-slide {
        flex: 0 0 92%;
    }

    .exp-slide-img {
        aspect-ratio: 16 / 10;
    }

    .exp-card {
        position: relative;
        flex-direction: column;
        gap: 10px;
        padding: 16px 18px;
        transform: none;
        opacity: 1;
        bottom: auto;
    }

    .exp-card-left {
        width: 100%;
    }

    .exp-card-right {
        text-align: left;
        max-width: 100%;
    }

    .exp-card-title {
        font-size: 1.2rem;
    }

    .exp-card-desc {
        font-size: 0.75rem;
        line-height: 1.6;
    }

    .exp-card-label {
        font-size: 0.55rem;
    }

    .exp-arrow {
        width: 38px;
        height: 38px;
        top: 35%;
    }

    .exp-arrow-left {
        left: 8px;
    }

    .exp-arrow-right {
        right: 8px;
    }

    /* -- FAQ -- */
    .faq-section {
        padding: 50px 16px;
        background: var(--white);
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .faq-header {
        margin-bottom: 28px;
    }

    .faq-header h2 {
        font-size: 1.8rem;
    }

    .faq-label {
        font-size: 0.62rem;
        margin-bottom: 10px;
    }

    .faq-item {
        padding: 16px 18px;
        border-radius: 10px;
        background: var(--white-off);
        border: 1px solid transparent;
        box-shadow: none;
        transition: background 0.3s ease, border-color 0.3s ease;
    }

    .faq-item:hover {
        box-shadow: none;
        border-color: transparent;
    }

    .faq-item.active {
        background: var(--white);
        border-color: var(--gold);
        box-shadow: 0 4px 20px rgba(201, 168, 76, 0.1);
    }

    .faq-num {
        display: none;
    }

    .faq-question {
        gap: 14px;
    }

    .faq-question span {
        font-family: var(--font-body);
        font-size: 0.88rem;
        font-weight: 600;
        color: var(--gray-dark);
        line-height: 1.4;
    }

    .faq-item.active .faq-question span {
        color: var(--black);
    }

    .faq-toggle {
        width: 22px;
        height: 22px;
        border: none;
        background: rgba(201, 168, 76, 0.12);
    }

    .faq-item.active .faq-toggle {
        background: var(--gold);
        border: none;
    }

    .faq-toggle span {
        background: var(--gold);
    }

    .faq-item.active .faq-toggle span {
        background: var(--white);
    }

    .faq-toggle span:first-child {
        width: 9px;
    }

    .faq-toggle span:last-child {
        height: 9px;
    }

    .faq-answer p {
        font-size: 0.8rem;
        line-height: 1.7;
        color: #666;
    }

    .faq-item.active .faq-answer {
        max-height: 500px;
    }

    /* -- Booking CTA -- */
    .booking-section {
        height: 400px;
    }

    .booking-content h2 {
        font-size: 1.8rem;
    }

    .booking-content p {
        font-size: 0.82rem;
    }

    .booking-btn {
        padding: 14px 36px;
        font-size: 0.72rem;
    }

    /* -- Newsletter -- */
    .newsletter-section {
        padding: 50px 16px;
    }

    .newsletter-card {
        padding: 28px 20px;
    }

    .newsletter-card h2 {
        font-size: 1.5rem;
    }

    .newsletter-card p {
        font-size: 0.82rem;
        margin-bottom: 20px;
    }

    .newsletter-input {
        padding: 14px 16px;
        font-size: 0.82rem;
    }

    .newsletter-btn {
        width: 44px;
        height: 44px;
    }

    /* -- Footer -- */
    .footer {
        padding: 40px 16px 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 30px;
    }

    .footer-tagline {
        font-size: 0.78rem;
    }

    /* -- Chatbot -- */
    .chatbot-window {
        right: 8px;
        left: 8px;
        bottom: 84px;
        width: auto;
        max-height: 72vh;
        max-height: 72dvh;
        border-radius: 14px;
    }

    .chatbot-messages {
        min-height: 200px;
        max-height: 52vh;
        max-height: 52dvh;
    }

    .chatbot-msg-bubble {
        font-size: 0.85rem;
    }

    .chatbot-fab {
        bottom: 20px;
        right: 16px;
        width: 54px;
        height: 54px;
    }

    .chatbot-fab-icon {
        width: 24px;
        height: 24px;
    }

    /* -- Intro -- */
    .intro-neoma {
        font-size: 3.5rem;
    }

    .intro-villa {
        font-size: 0.9rem;
    }
}

/* --- Small mobile (480px) --- */
@media (max-width: 480px) {
    .nav-container {
        height: 56px;
    }

    .nav-book-btn {
        font-size: 0.55rem;
        padding: 8px 12px;
    }

    .logo-villa {
        font-size: 0.55rem;
    }

    .logo-neoma {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.6rem;
        letter-spacing: 0.25em;
    }

    .reservation-bar {
        padding: 14px 12px;
        margin-top: 16px;
        width: calc(100% - 24px);
    }

    #datesDisplay {
        font-size: 0.72rem;
    }

    .cal-days {
        grid-template-rows: repeat(6, 38px);
    }

    .cal-day {
        height: 38px;
        font-size: 0.8rem;
    }

    .cal-day::after {
        width: 34px;
        height: 34px;
    }

    .cal-day-price {
        font-size: 0.38rem;
    }

    /* About */
    .about-text {
        padding: 32px 16px;
    }

    .about-image {
        height: 240px;
    }

    .about-heading {
        font-size: 1.4rem;
    }

    .about-desc {
        font-size: 0.78rem;
        line-height: 1.8;
    }

    /* Gallery */
    .gallery-section {
        padding: 50px 12px 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 200px);
        gap: 8px;
    }

    .gi-1 { grid-column: 1; grid-row: 1; }
    .gi-2 { grid-column: 1; grid-row: 2; }
    .gi-3 { grid-column: 1; grid-row: 3; }
    .gi-4 { grid-column: 1; grid-row: 4; }
    .gi-5, .gi-6, .gi-7, .gi-8, .gi-9, .gi-10 { display: none; }

    /* Advantages */
    .adv-card {
        padding: 24px 20px;
    }

    .adv-card h3 {
        font-size: 1.2rem;
    }

    /* Experiences */
    .exp-slide {
        flex: 0 0 96%;
    }

    .exp-slide-img {
        aspect-ratio: 16 / 9;
    }

    .exp-card {
        padding: 14px 16px;
    }

    .exp-card-title {
        font-size: 1.1rem;
    }

    .exp-arrow {
        width: 34px;
        height: 34px;
    }

    .exp-arrow-left {
        left: 4px;
    }

    .exp-arrow-right {
        right: 4px;
    }

    /* Booking CTA */
    .booking-section {
        height: 350px;
    }

    .booking-content h2 {
        font-size: 1.6rem;
    }

    /* Newsletter */
    .newsletter-card {
        padding: 24px 16px;
    }

    .newsletter-form {
        border-radius: 40px;
    }

    .newsletter-input {
        padding: 12px 14px;
    }

    .newsletter-btn {
        width: 40px;
        height: 40px;
    }

    /* Booking modal */
    .booking-modal-content {
        padding: 20px 14px;
        width: 98%;
        max-height: 95vh;
        max-height: 95dvh;
    }

    .bk-heading {
        font-size: 1.25rem;
    }

    .bk-price-total {
        font-size: 1rem;
    }

    /* Chatbot fullscreen */
    .chatbot-window {
        right: 0;
        bottom: 0;
        left: 0;
        top: 0;
        width: 100%;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0;
        height: 100%;
        animation: chatbotSlideUpMobile 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes chatbotSlideUpMobile {
        from { opacity: 0; transform: translateY(100%); }
        to { opacity: 1; transform: translateY(0); }
    }

    .chatbot-header {
        padding: 14px 16px;
        padding-top: calc(14px + env(safe-area-inset-top, 0px));
    }

    .chatbot-avatar {
        width: 34px;
        height: 34px;
        font-size: 0.78rem;
    }

    .chatbot-header-title {
        font-size: 1rem;
    }

    .chatbot-messages {
        max-height: none;
        min-height: 0;
        flex: 1;
        padding: 16px 14px;
        gap: 10px;
    }

    .chatbot-msg {
        max-width: 88%;
    }

    .chatbot-msg-bubble {
        font-size: 0.85rem;
        padding: 10px 14px;
        line-height: 1.55;
    }

    .chatbot-input-area {
        padding: 10px 12px;
        gap: 8px;
    }

    .chatbot-input {
        padding: 11px 16px;
        font-size: 0.9rem;
    }

    .chatbot-send {
        width: 42px;
        height: 42px;
    }

    .chatbot-fab {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }

    .chatbot-fab-icon {
        width: 22px;
        height: 22px;
    }

    /* Intro */
    .intro-neoma {
        font-size: 2.8rem;
    }

    .intro-villa {
        font-size: 0.8rem;
    }

    /* Footer */
    .footer-bottom p {
        font-size: 0.68rem;
    }
}

/* --- Extra small (360px and below) --- */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 0.55rem;
    }

    .nav-book-btn {
        font-size: 0.55rem;
        padding: 11px 14px;
    }

    .logo-neoma {
        font-size: 1.1rem;
    }

    .reservation-bar {
        padding: 12px 10px;
    }

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

    .about-heading {
        font-size: 1.3rem;
    }

    .faq-header h2 {
        font-size: 1.5rem;
    }

    .booking-content h2 {
        font-size: 1.4rem;
    }

    .exp-heading h2 {
        font-size: 1.5rem;
    }

    .newsletter-card h2 {
        font-size: 1.3rem;
    }
}

/* --- Safe area padding for notch devices --- */
@supports (padding: env(safe-area-inset-bottom)) {
    .chatbot-input-area {
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }

    .chatbot-fab {
        bottom: calc(20px + env(safe-area-inset-bottom));
    }

    .footer-bottom {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

/* --- Touch device optimizations --- */
@media (hover: none) and (pointer: coarse) {
    .gallery-item:hover {
        transform: none;
        box-shadow: none;
    }

    .adv-card:hover {
        transform: none;
    }

    .nav-book-btn:hover {
        transform: none;
    }

    .res-search-btn:hover {
        transform: none;
    }

    .booking-btn:hover {
        transform: none;
    }
}

/* ===================================================================
   BOOKING PAGE (/booking) — Premium cream/white/gold
   =================================================================== */

.booking-page {
    background: #f5f5f5;
    color: #2c2c2c;
    min-height: 100vh;
    font-family: var(--font-body);
}

/* Booking Nav */
.booking-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: #fffdf8;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.booking-nav-back {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-dark);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color var(--transition-fast);
}

.booking-nav-back:hover { color: var(--gold); }

.booking-nav-logo {
    text-decoration: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.booking-nav .logo-villa,
.booking-nav .logo-neoma { color: #2c2c2c; }

.booking-nav .lang-toggle { color: #2c2c2c; }
.booking-nav .lang-toggle:hover { color: var(--gold); }
.booking-nav .lang-menu { background: #fff; border: 1px solid rgba(201, 168, 76, 0.2); }
.booking-nav .lang-opt { color: #2c2c2c; }
.booking-nav .lang-opt:hover { background: #faf6ed; color: var(--gold-dark); }
.booking-nav .lang-opt.active { color: var(--gold); }

/* Layout: sidebar left + main right */
.bp-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 28px 20px 60px;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 24px;
    align-items: start;
}

/* ===== CARDS ===== */
.bp-card {
    background: #ffffff;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.bp-card-body {
    padding: 20px;
}

.bp-card-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    color: #2c2c2c;
    margin: 0 0 16px;
}

/* ===== LEFT SIDEBAR ===== */
.bp-sidebar {
    position: sticky;
    top: 76px;
}

/* Property image */
.bp-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Rating */
.bp-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.bp-rating-badge {
    background: var(--gold);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px 6px 6px 0;
    line-height: 1;
}

.bp-rating-text {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

/* Property name & address */
.bp-card-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    color: #2c2c2c;
    margin: 0 0 6px;
}

.bp-card-address {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    font-size: 0.78rem;
    color: #888;
    margin: 0 0 12px;
    line-height: 1.4;
}

.bp-card-address svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--gold);
}

/* Quick amenities row */
.bp-card-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 0.75rem;
    color: #666;
}

.bp-card-amenities span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bp-card-amenities svg { color: var(--gold); }

/* Booking details grid */
.bp-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 14px;
}

.bp-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bp-detail-label {
    font-size: 0.7rem;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bp-detail-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2c2c2c;
}

.bp-detail-sub {
    font-size: 0.72rem;
    color: #999;
}

.bp-detail-summary {
    font-size: 0.82rem;
    color: #555;
    padding-top: 12px;
    border-top: 1px solid rgba(201, 168, 76, 0.12);
    margin-bottom: 8px;
}

.bp-change-link {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 500;
}

.bp-change-link:hover { text-decoration: underline; color: var(--gold); }

/* Price breakdown */
.bp-price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.bp-price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #555;
}

.bp-price-discount {
    color: #3a8a3a;
}

/* Total row */
.bp-price-total-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 14px 20px;
    margin: 0 -20px -20px;
    background: #faf6ed;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 0 0 10px 10px;
}

.bp-price-total-label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    color: #2c2c2c;
}

.bp-price-total-right {
    text-align: right;
}

.bp-price-original {
    display: block;
    font-size: 0.78rem;
    color: #999;
    text-decoration: line-through;
}

.bp-price-final {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-dark);
    font-family: var(--font-heading);
}

/* Savings card */
.bp-savings-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    background: #faf6ed;
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-left: 4px solid var(--gold);
    border-radius: 10px;
    font-size: 0.8rem;
    color: var(--gold-dark);
    line-height: 1.4;
}

.bp-savings-card svg {
    flex-shrink: 0;
    color: var(--gold);
}

/* ===== RIGHT MAIN ===== */

.bp-main-heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: #2c2c2c;
    margin: 0 0 12px;
}

.bp-form-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    background: #faf6ed;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 8px;
    font-size: 0.82rem;
    color: #555;
}

.bp-form-hint svg { color: var(--gold); flex-shrink: 0; }

/* Form */
.bp-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.bp-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
}

.bp-field input {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 13px 14px;
    color: #2c2c2c;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color var(--transition-fast);
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.bp-field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.15);
}

.bp-field input::placeholder { color: #aaa; }

.bp-field-required {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 700;
}

.bp-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Textarea */
.bp-textarea {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 13px 14px;
    color: #2c2c2c;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    min-height: 80px;
    transition: border-color var(--transition-fast);
}

.bp-textarea::placeholder { color: #aaa; }

.bp-textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.15);
}

/* Villa features */
.bp-villa-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bp-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #555;
}

.bp-feature-item svg { flex-shrink: 0; color: #999; }
.bp-feature-good svg { color: #3a8a3a; }
.bp-feature-no svg { color: #c45555; }

/* Amenities list */
.bp-amenities-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bp-amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #555;
}

.bp-amenity-item svg {
    flex-shrink: 0;
    color: var(--gold);
}

/* Pay button */
.bp-submit-section {
    margin-top: 16px;
}

.bp-pay-btn {
    width: 100%;
    padding: 18px;
    background: var(--gold);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition-fast);
}

.bp-pay-btn:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

.bp-pay-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Secure note */
.bp-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.72rem;
    color: #999;
}

.bp-secure-note svg { flex-shrink: 0; }

/* Loading overlay */
.bp-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(250, 248, 243, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.bp-loading-content {
    text-align: center;
    color: #2c2c2c;
}

.bp-loading-content .bk-spinner {
    border-color: rgba(201, 168, 76, 0.2);
    border-top-color: var(--gold);
}

/* No dates state */
.bp-no-dates {
    text-align: center;
    padding: 40px 20px;
}

.bp-no-dates svg { margin-bottom: 16px; color: var(--gold); }

.bp-no-dates h2 { color: #2c2c2c; }

.bp-no-dates p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 12px 0 24px;
}

.bp-back-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--gold);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: background var(--transition);
}

.bp-back-btn:hover { background: var(--gold-dark); }

/* Footer */
.bp-footer {
    text-align: center;
    padding: 24px;
    font-size: 0.72rem;
    color: #999;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

/* ===== BOOKING PAGE RESPONSIVE ===== */
@media (max-width: 960px) {
    .bp-container {
        grid-template-columns: 1fr;
        padding: 20px 16px 60px;
        gap: 16px;
    }

    .bp-sidebar {
        position: static;
    }

    .booking-nav {
        padding: 14px 20px;
    }

    .booking-nav-logo {
        position: static;
        transform: none;
    }
}

@media (max-width: 640px) {
    .bp-amenities-list {
        grid-template-columns: 1fr;
    }

    .bp-field-row {
        grid-template-columns: 1fr;
    }

    .bp-details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bp-card-image img {
        height: 160px;
    }
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 110px 40px;
    background: var(--white-off);
}

.faq-container {
    max-width: 1100px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 70px;
}

.faq-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.faq-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--black);
    letter-spacing: 0.03em;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 28px;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(201, 168, 76, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.faq-item.active {
    border-color: rgba(201, 168, 76, 0.35);
    box-shadow: 0 6px 24px rgba(201, 168, 76, 0.08);
}

.faq-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    color: rgba(201, 168, 76, 0.2);
    line-height: 1;
    margin-bottom: 14px;
    transition: color 0.4s ease;
}

.faq-item.active .faq-num {
    color: rgba(201, 168, 76, 0.4);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 0;
}

.faq-question span {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--black);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faq-question:hover span {
    color: var(--gold-dark);
}

.faq-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    position: relative;
    margin-top: 2px;
    transition: border-color 0.35s ease, transform 0.35s ease;
}

.faq-toggle span {
    position: absolute;
    background: var(--gold);
    border-radius: 1px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.faq-toggle span:first-child {
    width: 12px;
    height: 1.5px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-toggle span:last-child {
    width: 1.5px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-item.active .faq-toggle {
    border-color: var(--gold);
    transform: rotate(90deg);
}

.faq-item.active .faq-toggle span:last-child {
    opacity: 0;
    transform: translate(-50%, -50%) scaleY(0);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 18px 0 4px;
}

.faq-answer p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.85;
    color: var(--gray-dark);
    font-weight: 300;
}

/* FAQ stagger reveal */
.faq-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ mobile styles are consolidated in the main responsive section above */

/* ===== TERMS & CONDITIONS PAGE ===== */

/* Light navbar for terms page */
.navbar.terms-nav {
    background: var(--white);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.navbar.terms-nav .logo-villa,
.navbar.terms-nav .logo-neoma {
    color: var(--black);
}

.navbar.terms-nav .lang-toggle {
    color: var(--gray-dark);
}

.navbar.terms-nav .lang-toggle:hover {
    color: var(--gold);
}

.navbar.terms-nav .lang-menu {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar.terms-nav .lang-opt {
    color: var(--gray-dark);
}

.navbar.terms-nav .lang-opt:hover {
    background: var(--white-off);
    color: var(--gold-dark);
}

.navbar.terms-nav .lang-opt.active {
    color: var(--gold);
}

.terms-back-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-dark);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.terms-back-link:hover { color: var(--gold); }

.terms-page {
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 100vh;
    background: var(--white);
}

.terms-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.terms-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.terms-header h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.terms-updated {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 400;
}

/* Table of Contents */
.terms-toc {
    background: var(--white-off);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 8px;
    padding: 30px 35px;
    margin-bottom: 50px;
}

.terms-toc h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 16px;
}

.terms-toc ol {
    list-style: none;
    counter-reset: toc-counter;
    padding: 0;
    columns: 2;
    column-gap: 30px;
}

.terms-toc ol li {
    counter-increment: toc-counter;
    margin-bottom: 8px;
    break-inside: avoid;
}

.terms-toc ol li a {
    display: inline;
    font-size: 0.88rem;
    color: var(--gray-dark);
    transition: color var(--transition-fast);
    line-height: 1.6;
}

.terms-toc ol li a::before {
    content: counter(toc-counter) ". ";
    color: var(--gold);
    font-weight: 600;
}

.terms-toc ol li a:hover {
    color: var(--gold-dark);
}

/* Section Styles */
.terms-section {
    margin-bottom: 45px;
    scroll-margin-top: 100px;
}

.terms-section h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.terms-section p {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 14px;
}

.terms-section strong {
    color: var(--black);
    font-weight: 600;
}

.terms-section ul,
.terms-section ol {
    margin: 10px 0 16px 24px;
}

.terms-section ul li,
.terms-section ol li {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 6px;
}

.terms-section ul li strong,
.terms-section ol li strong {
    color: var(--black);
}

.terms-contact-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.terms-contact-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.terms-contact-list li:last-child {
    border-bottom: none;
}

/* Private host notice box */
.terms-notice {
    margin-top: 24px;
    padding: 20px 24px;
    background: var(--white-off);
    border-left: 3px solid var(--gold);
    border-radius: 0 6px 6px 0;
}

.terms-notice strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 8px;
}

.terms-notice p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--gray-dark);
    margin-bottom: 0;
}

/* Menu terms link divider */
.menu-terms-link {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
}

/* Terms page responsive */
@media (max-width: 768px) {
    .terms-container {
        padding: 0 20px;
    }

    .terms-header h1 {
        font-size: 2rem;
    }

    .terms-toc {
        padding: 20px 24px;
    }

    .terms-toc ol {
        columns: 1;
    }

    .terms-section h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .terms-page {
        padding-top: 80px;
        padding-bottom: 50px;
    }

    .terms-header h1 {
        font-size: 1.6rem;
    }

    .terms-header {
        margin-bottom: 30px;
    }

    .terms-section {
        margin-bottom: 35px;
    }
}

/* ===== CHATBOT WIDGET ===== */
.chatbot-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    z-index: 9998;
    transition: transform 0.3s ease, background 0.3s ease;
    border: none;
}

.chatbot-fab:hover {
    transform: scale(1.08);
    background: var(--gold-dark);
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 380px;
    max-height: 520px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.18);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: chatbotSlideUp 0.3s ease;
}

.chatbot-window.open {
    display: flex;
}

@keyframes chatbotSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chatbot-header {
    background: var(--black);
    color: var(--white);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.chatbot-header-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.chatbot-header-status {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-top: 1px;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.chatbot-close:hover {
    color: var(--white);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 280px;
    max-height: 340px;
    background: #fafaf8;
}

.chatbot-msg {
    display: flex;
    max-width: 85%;
}

.chatbot-msg-bot {
    align-self: flex-start;
}

.chatbot-msg-user {
    align-self: flex-end;
}

.chatbot-msg-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.chatbot-msg-bot .chatbot-msg-bubble {
    background: var(--white);
    color: var(--black);
    border: 1px solid #e8e6e1;
    border-bottom-left-radius: 4px;
}

.chatbot-msg-user .chatbot-msg-bubble {
    background: var(--black);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chatbot-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
}

.chatbot-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gray);
    animation: chatbotTyping 1.4s infinite;
}

.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatbotTyping {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

.chatbot-input-area {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-top: 1px solid #e8e6e1;
    gap: 8px;
    background: var(--white);
    flex-shrink: 0;
}

.chatbot-input {
    flex: 1;
    border: 1px solid #e0ddd6;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
    background: #fafaf8;
}

.chatbot-input:focus {
    border-color: var(--gold);
}

.chatbot-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.chatbot-send:hover {
    background: var(--gold-dark);
}

.chatbot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chatbot-h2 {
    display: block;
    font-size: 0.95rem;
    margin: 4px 0 2px;
    color: var(--gold-dark);
}

.chatbot-h3 {
    display: block;
    font-size: 0.9rem;
    margin: 3px 0 1px;
    color: var(--gold-dark);
}

.chatbot-msg-bubble em {
    font-style: italic;
}

.chatbot-code {
    background: #f0ede6;
    padding: 1px 5px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.82rem;
}

.chatbot-li {
    display: block;
    padding-left: 14px;
    position: relative;
}

.chatbot-li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.chatbot-li-num {
    counter-increment: chatbot-list;
}

.chatbot-li-num::before {
    content: counter(chatbot-list) '.';
    font-size: 0.82rem;
    color: var(--gold);
}

.chatbot-msg-bubble {
    counter-reset: chatbot-list;
}

/* Chatbot mobile styles are consolidated in the main responsive section */
