/* CSS Custom Properties */
:root {
    --primary-color: #1a5f7a;
    --secondary-color: #2d8f9e;
    --accent-color: #f4a261;
    --text-dark: #2b2d42;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-heading: 'Georgia', serif;

    /* Villa navigation — warm stone & terrace accents */
    --nav-villa-stone-top: #fdfbf8;
    --nav-villa-stone-mid: #f3ebe3;
    --nav-villa-stone-deep: #e8dfd4;
    --nav-villa-ink: #3d342c;
    --nav-villa-ink-soft: #6b5e54;
    --nav-villa-border: rgba(74, 60, 48, 0.14);
    --nav-villa-cta-mid: #c9713d;
    --nav-villa-cta-deep: #9e5730;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation — villa residence bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.75rem clamp(14px, 3.5vw, 28px);
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    transition: padding 0.35s ease, background 0.35s ease;
}

.navbar.scrolled {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    background: linear-gradient(180deg, rgba(245, 238, 230, 0.55) 0%, transparent 100%);
}

.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0.55rem clamp(14px, 2vw, 22px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-radius: 18px;
    border: 1px solid var(--nav-villa-border);
    background: linear-gradient(
        168deg,
        var(--nav-villa-stone-top) 0%,
        var(--nav-villa-stone-mid) 52%,
        var(--nav-villa-stone-deep) 100%
    );
    box-shadow:
        0 14px 40px rgba(42, 35, 28, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.75) inset;
    backdrop-filter: blur(14px);
    transition: box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.navbar.scrolled .nav-container {
    border-color: rgba(74, 60, 48, 0.2);
    box-shadow:
        0 18px 48px rgba(42, 35, 28, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.navbar:not(.scrolled) .nav-container {
    background: linear-gradient(
        168deg,
        rgba(253, 251, 248, 0.88) 0%,
        rgba(241, 232, 224, 0.82) 100%
    );
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 54px;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    border-radius: 10px;
    outline-offset: 3px;
}

.logo-img {
    height: 100%;
    width: auto;
    max-width: 188px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(42, 35, 28, 0.08));
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.35rem;
}

@media (min-width: 769px) {
    .nav-menu {
        gap: 0.2rem;
        padding-left: 1.35rem;
        margin-left: 0.35rem;
        border-left: 1px solid rgba(90, 72, 58, 0.16);
    }

    .nav-menu li {
        display: flex;
        align-items: center;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--nav-villa-ink);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.25s ease, transform 0.2s ease;
    position: relative;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.35rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--nav-villa-cta-mid), transparent);
    transition: width 0.28s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 1rem);
}

.nav-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.nav-link.active:not(.nav-link-cta) {
    color: var(--primary-color);
}

/* Primary stay action — terrace / wrought-iron gate cue */
.nav-link.nav-link-cta {
    margin-left: 0.15rem;
    padding: 0.48rem 1.2rem;
    border-radius: 999px;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    color: #fffbf7 !important;
    background: linear-gradient(165deg, var(--nav-villa-cta-mid) 0%, var(--nav-villa-cta-deep) 100%);
    box-shadow:
        0 2px 10px rgba(158, 87, 48, 0.38),
        0 1px 0 rgba(255, 255, 255, 0.22) inset;
    border: 1px solid rgba(120, 62, 32, 0.35);
}

.nav-link.nav-link-cta::after {
    display: none;
}

.nav-link.nav-link-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    color: #fffbf7 !important;
}

.nav-link.nav-link-cta.active {
    box-shadow:
        0 0 0 2px rgba(253, 251, 248, 0.95),
        0 2px 14px rgba(158, 87, 48, 0.45),
        0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid var(--nav-villa-border);
    border-radius: 12px;
    cursor: pointer;
    gap: 5px;
    padding: 11px 12px;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(74, 60, 48, 0.22);
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--nav-villa-ink);
    transition: transform 0.3s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
    .navbar,
    .nav-container,
    .nav-link,
    .menu-toggle span,
    .nav-menu {
        transition-duration: 0.01ms !important;
    }
}

/* Hero Section — villa cinematic entrance */
.hero {
    position: relative;
    height: 100vh;
    min-height: 520px;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1512;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: linear-gradient(
        165deg,
        rgba(253, 251, 248, 0.94) 0%,
        rgba(237, 229, 218, 0.92) 100%
    );
    border: 1px solid rgba(255, 251, 247, 0.65);
    box-shadow:
        0 12px 40px rgba(28, 22, 18, 0.35),
        0 1px 0 rgba(255, 255, 255, 0.85) inset;
    cursor: pointer;
    z-index: 4;
    display: none;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.25s ease;
    font-size: 1.65rem;
    color: var(--nav-villa-cta-deep);
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.06);
    filter: brightness(1.03);
    box-shadow:
        0 16px 48px rgba(28, 22, 18, 0.42),
        0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.video-play-btn.hidden {
    display: none !important;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 100% 85% at 50% 100%, rgba(42, 35, 28, 0.78) 0%, transparent 58%),
        radial-gradient(ellipse 70% 55% at 70% 25%, rgba(26, 95, 122, 0.22) 0%, transparent 50%),
        radial-gradient(ellipse 55% 45% at 18% 40%, rgba(201, 113, 61, 0.14) 0%, transparent 48%),
        linear-gradient(195deg, rgba(22, 28, 32, 0.52) 0%, rgba(28, 22, 18, 0.38) 42%, rgba(18, 14, 12, 0.72) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fffbf7;
    z-index: 3;
    width: 92%;
    max-width: 44rem;
    padding: 0 0.5rem;
}

.hero-kicker {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255, 251, 247, 0.82);
    margin: 0 0 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 24px rgba(18, 14, 12, 0.65);
}

.hero-title {
    font-size: clamp(2.6rem, 8vw, 4rem);
    font-family: var(--font-heading);
    margin: 0 0 1rem;
    animation: fadeInUp 1s ease;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #fffbf7;
    text-shadow:
        0 2px 4px rgba(18, 14, 12, 0.45),
        0 12px 48px rgba(18, 14, 12, 0.55);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    margin: 0 auto 1.85rem;
    max-width: 34rem;
    animation: fadeInUp 1s ease 0.15s both;
    font-weight: 500;
    line-height: 1.55;
    color: rgba(255, 251, 247, 0.88);
    text-shadow: 0 2px 20px rgba(18, 14, 12, 0.5);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem 1rem;
    animation: fadeInUp 1s ease 0.28s both;
}

.hero .hero-actions .btn-primary.hero-btn-book {
    padding: 0.95rem 2rem;
    border-radius: 999px;
    border: 1px solid rgba(120, 62, 32, 0.35);
    background: linear-gradient(165deg, var(--nav-villa-cta-mid) 0%, var(--nav-villa-cta-deep) 100%);
    color: #fffbf7;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.78rem;
    box-shadow:
        0 6px 28px rgba(158, 87, 48, 0.45),
        0 1px 0 rgba(255, 255, 255, 0.22) inset;
    text-shadow: none;
}

.hero .hero-actions .btn-primary.hero-btn-book:hover {
    background: linear-gradient(165deg, #d67d4a 0%, var(--nav-villa-cta-deep) 100%);
    transform: translateY(-2px);
    box-shadow:
        0 12px 36px rgba(158, 87, 48, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.28) inset;
}

.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.88rem 1.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 251, 247, 0.42);
    background: rgba(255, 251, 247, 0.08);
    backdrop-filter: blur(12px);
    color: #fffbf7;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.2s ease;
    text-shadow: 0 1px 12px rgba(18, 14, 12, 0.45);
}

.hero-btn-ghost:hover {
    background: rgba(255, 251, 247, 0.16);
    border-color: rgba(255, 251, 247, 0.62);
    transform: translateY(-2px);
}

.hero-btn-ghost:focus-visible {
    outline: 2px solid rgba(244, 162, 97, 0.95);
    outline-offset: 3px;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 20px rgba(244, 162, 97, 0.3);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: #e76f51;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(244, 162, 97, 0.4);
}

.hero .hero-actions .btn-primary {
    animation: none;
}

/* Hero Reviews — below CTAs inside .hero-content (avoids overlap on short viewports) */
.hero-reviews {
    position: relative;
    left: auto;
    transform: none;
    bottom: auto;
    z-index: 3;
    width: 100%;
    max-width: 36rem;
    margin: clamp(1rem, 3vh, 1.85rem) auto 0;
    text-align: center;
    min-height: 8.25rem;
    pointer-events: none;
}

.hero-reviews .review-card {
    pointer-events: auto;
}

.review-card {
    background: linear-gradient(
        165deg,
        rgba(253, 251, 248, 0.94) 0%,
        rgba(237, 227, 216, 0.92) 100%
    );
    backdrop-filter: blur(14px);
    padding: 1.35rem 1.65rem;
    border-radius: 18px;
    border: 1px solid rgba(74, 60, 48, 0.14);
    box-shadow:
        0 14px 40px rgba(18, 14, 12, 0.28),
        0 1px 0 rgba(255, 255, 255, 0.65) inset;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
}

.review-card.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.review-stars {
    color: #c9713d;
    font-size: 1rem;
    margin-bottom: 0.65rem;
    letter-spacing: 0.2em;
    filter: drop-shadow(0 1px 2px rgba(42, 35, 28, 0.12));
}

.review-text {
    font-size: 0.95rem;
    color: var(--nav-villa-ink-soft);
    font-style: italic;
    margin: 0;
    line-height: 1.55;
    min-height: 3.2em;
    font-family: var(--font-heading);
}

@media (max-height: 720px), (max-width: 480px) {
    .hero-kicker {
        margin-bottom: 0.7rem;
    }

    .hero-title {
        margin-bottom: 0.7rem;
    }

    .hero-subtitle {
        margin-bottom: 1rem;
        font-size: clamp(1rem, 2.8vw, 1.2rem);
    }

    .hero-reviews {
        min-height: 6.75rem;
        margin-top: clamp(0.65rem, 2vh, 1.1rem);
    }

    .review-card {
        padding: 1.05rem 1.35rem;
    }

    .review-text {
        min-height: 2.85em;
        font-size: 0.885rem;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator-label {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 251, 247, 0.82);
    text-shadow: 0 2px 18px rgba(18, 14, 12, 0.55);
}

/* Nature Sounds Control */
.nature-sounds-control {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.nature-sounds-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.15rem;
    background: linear-gradient(
        165deg,
        rgba(253, 251, 248, 0.94) 0%,
        rgba(237, 229, 218, 0.9) 100%
    );
    backdrop-filter: blur(12px);
    border: 1px solid rgba(74, 60, 48, 0.14);
    border-radius: 999px;
    color: var(--nav-villa-ink);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    box-shadow:
        0 8px 26px rgba(28, 22, 18, 0.18),
        0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.nature-sounds-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(74, 60, 48, 0.22);
    box-shadow:
        0 12px 32px rgba(28, 22, 18, 0.22),
        0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.nature-sounds-btn.active {
    background: linear-gradient(165deg, var(--nav-villa-cta-mid) 0%, var(--nav-villa-cta-deep) 100%);
    color: #fffbf7;
    border-color: rgba(120, 62, 32, 0.35);
}

.nature-sounds-btn.muted .sound-icon {
    opacity: 0.6;
}

.sound-icon {
    font-size: 1.15rem;
    display: inline-block;
}

.sound-label {
    font-size: 0.82rem;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: linear-gradient(
        165deg,
        rgba(253, 251, 248, 0.96) 0%,
        rgba(231, 221, 208, 0.94) 100%
    );
    backdrop-filter: blur(12px);
    border-radius: 999px;
    border: 1px solid rgba(74, 60, 48, 0.12);
    box-shadow: 0 8px 24px rgba(28, 22, 18, 0.14);
    min-width: 200px;
}

.volume-control input[type='range'] {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(74, 60, 48, 0.15);
    outline: none;
    -webkit-appearance: none;
}

.volume-control input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.volume-control input[type='range']::-webkit-slider-thumb:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.volume-control input[type='range']::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.volume-control input[type='range']::-moz-range-thumb:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.volume-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nav-villa-ink);
    min-width: 40px;
    text-align: right;
}

.scroll-arrow {
    width: 2px;
    height: 28px;
    background: linear-gradient(180deg, rgba(255, 251, 247, 0.95), rgba(255, 251, 247, 0.35));
    margin: 0 auto;
    position: relative;
    border-radius: 2px;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 251, 247, 0.92);
    border-bottom: 2px solid rgba(255, 251, 247, 0.92);
    transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-kicker,
    .hero-subtitle,
    .hero-actions {
        animation: none !important;
        opacity: 1;
    }

    .scroll-indicator {
        animation: none !important;
    }
}

.hero-fallback {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-fallback img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.admin-main section{
    padding: 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Booking Modal */
.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    overflow-y: auto;
}

.booking-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Full-page booking layout (book.html) */
.booking-modal.booking-modal--page {
    display: block;
    position: relative;
    z-index: 1;
    overflow: visible;
    width: 100%;
}

.booking-modal.booking-modal--page .modal-overlay {
    display: none;
}

.booking-modal.booking-modal--page .modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: none;
    margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;
}

.booking-page-body {
    min-height: 100vh;
    background: linear-gradient(
        185deg,
        #fdfcfa 0%,
        var(--nav-villa-stone-top) 35%,
        var(--nav-villa-stone-mid) 100%
    );
}

.booking-page-main {
    padding-top: 6rem;
    padding-left: clamp(1rem, 4vw, 1.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);
    padding-bottom: 2.5rem;
}

/* Book page — intro (matches index section headers) */
.booking-page-intro {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 1.75rem;
    padding: 0 0.25rem;
}

.booking-page-kicker {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--nav-villa-cta-deep);
    margin: 0 0 0.65rem;
}

.booking-page-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--nav-villa-ink);
    margin: 0 0 0.85rem;
    line-height: 1.15;
}

.booking-page-rule {
    width: min(11rem, 55%);
    height: 3px;
    margin: 0 auto 1.15rem;
    border-radius: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary-color) 22%,
        var(--nav-villa-cta-mid) 50%,
        var(--primary-color) 78%,
        transparent
    );
    opacity: 0.85;
}

.booking-page-lead {
    margin: 0;
    font-size: clamp(0.98rem, 2vw, 1.1rem);
    line-height: 1.6;
    font-weight: 500;
    color: var(--nav-villa-ink-soft);
}

.booking-page-pricing-note {
    margin: 0.85rem 0 0;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(0.9rem, 1.85vw, 1.02rem);
    line-height: 1.55;
    color: var(--nav-villa-ink-soft);
}

.booking-page-pricing-note strong {
    color: var(--nav-villa-ink);
    font-weight: 650;
}

/* Book page — wizard card */
.booking-modal.booking-modal--page .modal-content.booking-container {
    background: linear-gradient(
        168deg,
        rgba(255, 254, 251, 0.98) 0%,
        rgba(247, 241, 233, 0.96) 55%,
        rgba(241, 233, 223, 0.97) 100%
    );
    border: 1px solid var(--nav-villa-border);
    box-shadow:
        0 14px 48px rgba(42, 35, 28, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.85) inset;
    padding: 0;
}

.booking-modal.booking-modal--page .booking-modal-header-steps {
    padding: 1.65rem 1.75rem 1.15rem;
    border-bottom: 1px solid rgba(74, 60, 48, 0.12);
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.65) 0%, transparent 100%);
}

.booking-modal.booking-modal--page .step-indicator::before {
    background: rgba(74, 60, 48, 0.14);
    height: 2px;
    top: 19px;
}

.booking-modal.booking-modal--page .step-number {
    background: rgba(255, 253, 249, 0.95);
    border: 2px solid rgba(74, 60, 48, 0.18);
    color: var(--nav-villa-ink-soft);
}

.booking-modal.booking-modal--page .step-item.completed .step-number {
    border-color: rgba(201, 113, 61, 0.55);
}

.booking-modal.booking-modal--page .modal-body {
    padding: 1.75rem clamp(1.15rem, 3vw, 2rem) 2rem;
}

.booking-modal.booking-modal--page .modal-footer {
    padding: 1.25rem clamp(1.15rem, 3vw, 2rem) 1.5rem;
    border-top: 1px solid rgba(74, 60, 48, 0.12);
    background: linear-gradient(180deg, transparent 0%, rgba(237, 229, 218, 0.45) 100%);
}

.booking-modal.booking-modal--page .booking-step h3 {
    font-family: var(--font-heading);
    color: var(--nav-villa-ink);
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    margin-bottom: 1.25rem;
}

.booking-modal.booking-modal--page .booking-summary {
    background: rgba(255, 253, 249, 0.65);
    border: 1px solid rgba(74, 60, 48, 0.12);
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(42, 35, 28, 0.05);
}

.booking-modal.booking-modal--page .summary-row.total {
    border-top-color: rgba(74, 60, 48, 0.14);
}

.booking-modal.booking-modal--page .booking-summary-important-notice {
    margin: 1.25rem 0 0;
    padding: 1rem 1.15rem;
    font-size: clamp(0.88rem, 2vw, 0.98rem);
    line-height: 1.55;
    font-weight: 500;
    color: var(--nav-villa-ink);
    background: rgba(201, 113, 61, 0.09);
    border: 1px solid rgba(201, 113, 61, 0.35);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(42, 35, 28, 0.06);
}

.booking-modal.booking-modal--page .booking-summary-important-notice strong {
    font-weight: 700;
    color: var(--nav-villa-cta-deep);
}

.booking-modal.booking-modal--page .review-section {
    background: rgba(255, 253, 249, 0.75);
    border: 1px solid rgba(74, 60, 48, 0.1);
    border-radius: 16px;
}

.booking-modal.booking-modal--page .review-section h4 {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--nav-villa-ink);
}

.booking-modal.booking-modal--page .review-item {
    border-bottom-color: rgba(74, 60, 48, 0.08);
}

/* Upgrade panel — villa typography */
.upgrade-options-panel {
    margin-bottom: 1.75rem;
}

.upgrade-options-heading {
    margin: 0 0 1rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--nav-villa-ink);
}

.upgrade-options-heading-note {
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--nav-villa-ink-soft);
}

.upgrade-option-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
}

.upgrade-option-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
}

.upgrade-option-price {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--nav-villa-cta-deep);
    white-space: nowrap;
}

.upgrade-option-desc {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--nav-villa-ink-soft);
}

.upgrade-options-note {
    margin: 0 0 1rem;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--nav-villa-ink-soft);
    font-style: italic;
}

.booking-modal.booking-modal--page .upgrade-option-card {
    border: 1px solid var(--nav-villa-border);
    border-radius: 16px;
    background: rgba(255, 253, 249, 0.85);
    box-shadow: 0 4px 14px rgba(42, 35, 28, 0.05);
}

.booking-modal.booking-modal--page .upgrade-option-card:hover {
    border-color: rgba(26, 95, 122, 0.35);
    background: rgba(255, 253, 249, 0.98);
    box-shadow: 0 10px 26px rgba(42, 35, 28, 0.08);
}

.booking-modal.booking-modal--page .upgrade-option-card.selected {
    border-color: rgba(26, 95, 122, 0.55);
    background: rgba(26, 95, 122, 0.06);
    box-shadow: 0 0 0 2px rgba(26, 95, 122, 0.15);
}

.legend-today-num {
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
}

.booking-modal.booking-modal--page .room-package-card {
    border: 1px solid var(--nav-villa-border);
    border-radius: 18px;
    background: rgba(255, 253, 249, 0.88);
    box-shadow: 0 6px 22px rgba(42, 35, 28, 0.06);
}

.booking-modal.booking-modal--page .room-package-card:hover {
    border-color: rgba(26, 95, 122, 0.38);
    box-shadow: 0 12px 32px rgba(42, 35, 28, 0.09);
}

.booking-modal.booking-modal--page .room-package-card.selected {
    border-color: rgba(201, 113, 61, 0.5);
    background: rgba(244, 162, 97, 0.09);
    box-shadow: 0 0 0 2px rgba(244, 162, 97, 0.2);
}

.booking-modal.booking-modal--page .package-header {
    border-bottom-color: rgba(74, 60, 48, 0.12);
}

.booking-modal.booking-modal--page .form-group input,
.booking-modal.booking-modal--page .form-group textarea,
.booking-modal.booking-modal--page .date-input {
    border-radius: 12px;
    border-color: rgba(74, 60, 48, 0.15);
    background: rgba(255, 253, 249, 0.92);
}

.booking-modal.booking-modal--page .btn-secondary {
    border-radius: 12px;
    border: 1px solid rgba(74, 60, 48, 0.18);
    background: rgba(255, 253, 249, 0.96);
}

.booking-modal.booking-modal--page .btn-submit {
    border-radius: 12px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    margin: 2rem auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    z-index: 3001;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 3002;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 2px solid var(--border-color);
}

.modal-header h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 1rem;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-light);
    transition: var(--transition);
    margin-bottom: 0.5rem;
}

.step-item.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step-item.completed .step-number {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.step-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.step-item.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.booking-step h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    background: var(--bg-light);
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.review-summary {
    display: grid;
    gap: 1.5rem;
}

.review-section {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
}

.review-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
    border-bottom: none;
}

.review-item.total {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

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

/* Booking Section */
.booking-section {
    background: var(--bg-light);
}

.booking-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.date-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    display: none !important;
}

.date-input-group {
    display: flex;
    flex-direction: column;
}

.date-input-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.date-input {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.date-input:hover {
    border-color: var(--primary-color);
}

.room-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.room-package-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.room-package-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.room-package-card.selected {
    border-color: var(--accent-color);
    background: rgba(244, 162, 97, 0.05);
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.2);
}

.package-badge {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.package-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.package-name {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
}

/* Price Breakdown Styles */
.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.price-line .price-label {
    color: var(--text-light);
    font-size: 0.85rem;
}

.price-line .price-amount {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.total-price-line {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 2px solid var(--primary-color);
    font-weight: bold;
}

.total-price-line .price-amount {
    font-size: 2rem;
    color: var(--primary-color);
}

.total-price-line .price-period {
    font-size: 1rem;
    color: var(--text-light);
    margin-left: 0.3rem;
}

.package-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.package-details .detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.package-details .detail-item:last-child {
    border-bottom: none;
}

.package-details .detail-item strong {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.package-details .detail-item span {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Upgrade Option Cards */
.upgrade-option-card {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.upgrade-option-card:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.upgrade-option-card.selected {
    border-color: var(--primary-color);
    background: rgba(26, 95, 122, 0.05);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.upgrade-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.loading-message {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 2rem;
    grid-column: 1 / -1;
}

.guest-inputs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.guest-input-group {
    display: flex;
    flex-direction: column;
}

.guest-input-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.guest-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: white;
    transition: var(--transition);
}

.guest-stepper:hover {
    border-color: var(--primary-color);
}

.guest-stepper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.stepper-btn {
    background: var(--bg-light);
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    user-select: none;
    -webkit-user-select: none;
}

.stepper-btn:hover {
    background: var(--primary-color);
    color: white;
}

.stepper-btn:active {
    transform: scale(0.95);
}

.stepper-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-light);
    color: var(--text-light);
}

.stepper-btn:disabled:hover {
    background: var(--bg-light);
    color: var(--text-light);
}

.stepper-btn span {
    line-height: 1;
    display: block;
}

.stepper-input {
    flex: 1;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-radius: 0;
    padding: 0.75rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    background: white;
    min-width: 60px;
}

.stepper-input:hover {
    border-color: var(--border-color);
}

.stepper-input:focus {
    outline: none;
    border-color: var(--border-color);
}

.stepper-input::-webkit-inner-spin-button,
.stepper-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stepper-input[type=number] {
    -moz-appearance: textfield;
}

.guest-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.guest-input:hover {
    border-color: var(--primary-color);
}

.guest-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.booking-summary {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.summary-row.total {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.summary-row:has(span:nth-child(3)) {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.5rem;
    align-items: center;
}

.booking-summary-important-notice {
    margin: 1rem 0 0;
    padding: 0.95rem 1rem;
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 500;
    color: var(--text-dark);
    background: rgba(201, 113, 61, 0.08);
    border: 1px solid rgba(201, 113, 61, 0.32);
    border-radius: 10px;
}

.booking-summary-important-notice strong {
    font-weight: 700;
    color: #b45309;
}

.booking-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ef5350;
}

.error-message {
    display: block;
    color: #c62828;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Amenities Section — villa residence */
.amenities-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        185deg,
        var(--nav-villa-stone-top) 0%,
        var(--nav-villa-stone-mid) 38%,
        var(--nav-villa-stone-deep) 100%
    );
    border-top: 1px solid rgba(74, 60, 48, 0.1);
    border-bottom: 1px solid rgba(74, 60, 48, 0.08);
}

.amenities-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 1;
    background-image:
        radial-gradient(ellipse 70% 50% at 15% 20%, rgba(26, 95, 122, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 60% 45% at 88% 75%, rgba(201, 113, 61, 0.06) 0%, transparent 50%),
        repeating-linear-gradient(
            -12deg,
            transparent,
            transparent 52px,
            rgba(74, 60, 48, 0.03) 52px,
            rgba(74, 60, 48, 0.03) 53px
        );
}

.amenities-section-inner {
    position: relative;
    z-index: 1;
}

.amenities-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
}

.amenities-kicker {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--nav-villa-cta-deep);
    margin-bottom: 0.65rem;
}

.amenities-section .section-title {
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    margin-bottom: 0.85rem;
    color: var(--nav-villa-ink);
    letter-spacing: -0.02em;
}

.amenities-rule {
    width: min(12rem, 50%);
    height: 3px;
    margin: 0 auto 1.25rem;
    border-radius: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary-color) 20%,
        var(--nav-villa-cta-mid) 50%,
        var(--primary-color) 80%,
        transparent
    );
    opacity: 0.85;
}

.amenities-section .section-subtitle.amenities-lead {
    margin-bottom: 0;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    color: var(--nav-villa-ink-soft);
    font-weight: 500;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.15rem, 2.5vw, 1.75rem);
    margin-top: clamp(2.25rem, 5vw, 3.5rem);
}

.amenity-card {
    position: relative;
    text-align: left;
    padding: 0;
    border-radius: 20px;
    border: 1px solid var(--nav-villa-border);
    background: linear-gradient(168deg, rgba(255, 254, 251, 0.98) 0%, rgba(247, 241, 233, 0.96) 55%, rgba(241, 233, 223, 0.98) 100%);
    box-shadow:
        0 8px 28px rgba(42, 35, 28, 0.07),
        0 1px 0 rgba(255, 255, 255, 0.88) inset;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.25s ease;
    overflow: hidden;
}

.amenity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color) 45%, var(--nav-villa-cta-mid));
    opacity: 0.88;
}

.amenity-card:hover {
    transform: translateY(-6px);
    border-color: rgba(74, 60, 48, 0.22);
    box-shadow:
        0 18px 42px rgba(42, 35, 28, 0.11),
        0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.amenity-card-inner {
    padding: 1.85rem 1.45rem 1.65rem;
    padding-top: calc(1.55rem + 4px);
}

.amenity-icon-wrap {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(237, 229, 218, 0.85) 100%);
    border: 1px solid rgba(74, 60, 48, 0.12);
    box-shadow: 0 4px 14px rgba(42, 35, 28, 0.06);
}

.amenity-icon {
    font-size: 1.85rem;
    line-height: 1;
}

.amenity-name {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    color: var(--nav-villa-ink);
    letter-spacing: -0.015em;
}

.amenity-desc {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--nav-villa-ink-soft);
}

/* Featured amenities — full-bleed photo cards */
.amenity-card.amenity-card--pool-photo,
.amenity-card.amenity-card--parking-photo,
.amenity-card.amenity-card--kitchen-photo,
.amenity-card.amenity-card--entertainment-photo,
.amenity-card.amenity-card--videoke-photo,
.amenity-card.amenity-card--climate-photo {
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-color: rgba(255, 251, 247, 0.14);
    min-height: clamp(220px, 32vw, 300px);
}

.amenity-card.amenity-card--pool-photo {
    background-image: url('../assets/images/villa-images/pool/IMG_4802.JPG');
}

.amenity-card.amenity-card--parking-photo {
    background-image: url('../assets/images/villa-images/parking-area/IMG_5153.JPG');
}

.amenity-card.amenity-card--kitchen-photo {
    background-image: url('../assets/images/villa-images/living%20area/IMG_4664.JPG');
}

.amenity-card.amenity-card--entertainment-photo {
    background-image: url('../assets/images/villa-images/living%20area/IMG_4663.JPG');
}

.amenity-card.amenity-card--videoke-photo {
    background-image: url('../assets/images/villa-images/cabana/videoke.JPG');
}

.amenity-card.amenity-card--climate-photo {
    background-image: url('../assets/images/villa-images/living%20area/aircon.JPG');
    /* Tall portrait crop: keep the wall-mounted AC in frame */
    background-position: center 18%;
}

.amenity-card.amenity-card--pool-photo::before,
.amenity-card.amenity-card--parking-photo::before,
.amenity-card.amenity-card--kitchen-photo::before,
.amenity-card.amenity-card--entertainment-photo::before,
.amenity-card.amenity-card--videoke-photo::before,
.amenity-card.amenity-card--climate-photo::before {
    inset: 0;
    height: auto;
    z-index: 0;
    border-radius: inherit;
    /* Light veil — photos stay bright; text strip carries contrast */
    background: linear-gradient(
        165deg,
        rgba(8, 10, 14, 0.06) 0%,
        rgba(12, 16, 22, 0.1) 42%,
        rgba(6, 8, 12, 0.16) 100%
    );
    opacity: 1;
    pointer-events: none;
}

.amenity-card.amenity-card--pool-photo .amenity-card-inner,
.amenity-card.amenity-card--parking-photo .amenity-card-inner,
.amenity-card.amenity-card--kitchen-photo .amenity-card-inner,
.amenity-card.amenity-card--entertainment-photo .amenity-card-inner,
.amenity-card.amenity-card--videoke-photo .amenity-card-inner,
.amenity-card.amenity-card--climate-photo .amenity-card-inner {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 2rem;
    padding-bottom: 1.85rem;
}

/* Darkens only behind the text stack so the upper photo stays clear */
.amenity-card.amenity-card--pool-photo .amenity-card-inner::before,
.amenity-card.amenity-card--parking-photo .amenity-card-inner::before,
.amenity-card.amenity-card--kitchen-photo .amenity-card-inner::before,
.amenity-card.amenity-card--entertainment-photo .amenity-card-inner::before,
.amenity-card.amenity-card--videoke-photo .amenity-card-inner::before,
.amenity-card.amenity-card--climate-photo .amenity-card-inner::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: -5rem;
    z-index: -1;
    border-radius: 0 0 18px 18px;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(6, 8, 12, 0) 0%,
        rgba(6, 8, 12, 0.32) 38%,
        rgba(4, 6, 10, 0.62) 100%
    );
}

.amenity-card.amenity-card--pool-photo .amenity-icon-wrap,
.amenity-card.amenity-card--parking-photo .amenity-icon-wrap,
.amenity-card.amenity-card--kitchen-photo .amenity-icon-wrap,
.amenity-card.amenity-card--entertainment-photo .amenity-icon-wrap,
.amenity-card.amenity-card--videoke-photo .amenity-icon-wrap,
.amenity-card.amenity-card--climate-photo .amenity-icon-wrap {
    background: rgba(255, 253, 249, 0.22);
    border-color: rgba(255, 251, 247, 0.38);
    box-shadow:
        0 6px 22px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(0, 0, 0, 0.12) inset;
    backdrop-filter: blur(10px);
}

.amenity-card.amenity-card--pool-photo .amenity-name,
.amenity-card.amenity-card--parking-photo .amenity-name,
.amenity-card.amenity-card--kitchen-photo .amenity-name,
.amenity-card.amenity-card--entertainment-photo .amenity-name,
.amenity-card.amenity-card--videoke-photo .amenity-name,
.amenity-card.amenity-card--climate-photo .amenity-name {
    color: #fffef9;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.78),
        0 2px 20px rgba(0, 0, 0, 0.52);
}

.amenity-card.amenity-card--pool-photo .amenity-desc,
.amenity-card.amenity-card--parking-photo .amenity-desc,
.amenity-card.amenity-card--kitchen-photo .amenity-desc,
.amenity-card.amenity-card--entertainment-photo .amenity-desc,
.amenity-card.amenity-card--videoke-photo .amenity-desc,
.amenity-card.amenity-card--climate-photo .amenity-desc {
    color: rgba(255, 254, 250, 0.96);
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.74),
        0 2px 16px rgba(0, 0, 0, 0.48);
}

@media (prefers-reduced-motion: reduce) {
    .amenity-card {
        transition-duration: 0.01ms !important;
    }

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

    .amenity-card.amenity-card--pool-photo .amenity-icon-wrap,
    .amenity-card.amenity-card--parking-photo .amenity-icon-wrap,
    .amenity-card.amenity-card--kitchen-photo .amenity-icon-wrap,
    .amenity-card.amenity-card--entertainment-photo .amenity-icon-wrap,
    .amenity-card.amenity-card--videoke-photo .amenity-icon-wrap,
    .amenity-card.amenity-card--climate-photo .amenity-icon-wrap {
        backdrop-filter: none;
    }
}

/* Guest tour — blogger reel preview (Facebook) */
.guest-tour-section {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 4.75rem) 0;
    background: linear-gradient(
        178deg,
        var(--nav-villa-stone-mid) 0%,
        #f8f3ec 40%,
        #fdfcfa 100%
    );
    border-top: 1px solid rgba(74, 60, 48, 0.07);
    border-bottom: 1px solid rgba(74, 60, 48, 0.06);
}

.guest-tour-inner {
    position: relative;
    z-index: 1;
}

.guest-tour-header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto clamp(2rem, 4vw, 2.65rem);
}

.guest-tour-kicker {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--nav-villa-cta-deep);
    margin-bottom: 0.65rem;
}

.guest-tour-section .section-title {
    font-size: clamp(2rem, 4.2vw, 2.65rem);
    margin-bottom: 0.85rem;
    color: var(--nav-villa-ink);
    letter-spacing: -0.02em;
}

.guest-tour-rule {
    width: min(11rem, 48%);
    height: 3px;
    margin: 0 auto 1.25rem;
    border-radius: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary-color) 15%,
        var(--nav-villa-cta-mid) 50%,
        var(--primary-color) 85%,
        transparent
    );
    opacity: 0.85;
}

.guest-tour-lead {
    margin-bottom: 0;
    font-size: clamp(0.98rem, 2vw, 1.12rem);
    line-height: 1.62;
    color: var(--nav-villa-ink-soft);
}

.guest-tour-media {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

/* Guest tour carousel — swipe / arrows same pattern as Gallery */
.guest-tour-carousel-wrap {
    position: relative;
    padding: 0 clamp(2.85rem, 6vw, 3.5rem);
}

.guest-tour-carousel {
    display: flex;
    /* Used for two-up layout on wide screens */
    --gt-gap: clamp(1rem, 2.2vw, 1.45rem);
    gap: var(--gt-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.25rem;
    padding: 0.35rem 0 1.1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(74, 60, 48, 0.35) transparent;
    outline: none;
    scroll-behavior: smooth;
}

.guest-tour-carousel:focus-visible {
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.35);
    border-radius: 12px;
}

.guest-tour-carousel::-webkit-scrollbar {
    height: 7px;
}

.guest-tour-carousel::-webkit-scrollbar-thumb {
    background: rgba(74, 60, 48, 0.28);
    border-radius: 99px;
}

.guest-tour-carousel-slide {
    flex: 0 0 min(480px, 100%);
    scroll-snap-align: start;
    min-width: min(480px, 100%);
}

/* Wide viewports: show two reels side by side in the strip */
@media (min-width: 992px) {
    .guest-tour-carousel-slide {
        flex: 0 0 calc((100% - var(--gt-gap)) / 2);
        min-width: calc((100% - var(--gt-gap)) / 2);
        max-width: calc((100% - var(--gt-gap)) / 2);
    }
}

.guest-tour-more-slide-poster {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            ellipse 90% 80% at 50% 20%,
            rgba(255, 255, 255, 0.28) 0%,
            transparent 55%
        ),
        linear-gradient(
            160deg,
            rgba(26, 95, 122, 0.22) 0%,
            rgba(241, 233, 223, 0.95) 45%,
            rgba(74, 60, 48, 0.12) 100%
        );
    border-bottom: 1px solid rgba(74, 60, 48, 0.08);
}

.guest-tour-more-slide-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: clamp(1.25rem, 4vw, 2rem) 1.25rem;
    text-align: center;
    max-width: 26rem;
}

.guest-tour-more-slide-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--nav-villa-ink);
}

.guest-tour-more-slide-lead {
    font-size: clamp(0.85rem, 2vw, 0.94rem);
    line-height: 1.52;
    font-weight: 500;
    color: var(--nav-villa-ink-soft);
}

@media (prefers-reduced-motion: reduce) {
    .guest-tour-carousel {
        scroll-behavior: auto;
    }
}

.guest-tour-watch {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(74, 60, 48, 0.14);
    background: rgba(255, 253, 249, 0.88);
    box-shadow:
        0 12px 42px rgba(42, 35, 28, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.28s ease;
}

.guest-tour-watch:focus {
    outline: none;
}

.guest-tour-watch:focus-visible {
    outline: 3px solid rgba(26, 95, 122, 0.55);
    outline-offset: 4px;
}

.guest-tour-watch:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 60, 48, 0.22);
    box-shadow:
        0 20px 52px rgba(42, 35, 28, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.guest-tour-poster-wrap {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    background: rgba(42, 35, 28, 0.18);
}

.guest-tour-poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guest-tour-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: linear-gradient(
        185deg,
        rgba(14, 12, 18, 0.05) 0%,
        rgba(14, 12, 18, 0.22) 100%
    );
}

.guest-tour-play-icon {
    width: clamp(4rem, 14vw, 5.25rem);
    height: clamp(4rem, 14vw, 5.25rem);
    border-radius: 50%;
    background: rgba(255, 251, 247, 0.92);
    border: 1px solid rgba(74, 60, 48, 0.12);
    box-shadow:
        0 8px 28px rgba(22, 18, 14, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    position: relative;
}

.guest-tour-play-icon::after {
    content: '';
    position: absolute;
    left: calc(50% + 5px);
    top: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.65em 0 0.65em 1.05em;
    border-color: transparent transparent transparent var(--primary-color);
}

.guest-tour-cta-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.95rem 1.25rem 1.05rem;
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(241, 233, 223, 0.85));
}

.guest-tour-cta-text {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--nav-villa-ink);
}

.guest-tour-cta-meta {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--nav-villa-ink-soft);
}

@media (prefers-reduced-motion: reduce) {
    .guest-tour-watch {
        transition-duration: 0.01ms !important;
    }

    .guest-tour-watch:hover {
        transform: none;
    }
}

/* Gallery Section — villa portfolio wall */
.gallery-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        175deg,
        #fdfcfa 0%,
        #f8f3ec 35%,
        var(--nav-villa-stone-mid) 100%
    );
    border-top: 1px solid rgba(74, 60, 48, 0.06);
}

.gallery-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 55% 40% at 92% 8%, rgba(26, 95, 122, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse 45% 35% at 8% 92%, rgba(201, 113, 61, 0.05) 0%, transparent 50%);
    opacity: 1;
}

.gallery-section-inner {
    position: relative;
    z-index: 1;
}

.gallery-header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
}

.gallery-kicker {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--nav-villa-cta-deep);
    margin-bottom: 0.65rem;
}

.gallery-section .section-title {
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    margin-bottom: 0.85rem;
    color: var(--nav-villa-ink);
    letter-spacing: -0.02em;
}

.gallery-rule {
    width: min(12rem, 50%);
    height: 3px;
    margin: 0 auto 1.25rem;
    border-radius: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary-color) 20%,
        var(--nav-villa-cta-mid) 50%,
        var(--primary-color) 80%,
        transparent
    );
    opacity: 0.85;
}

.gallery-section .section-subtitle.gallery-lead {
    margin-bottom: 0;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    color: var(--nav-villa-ink-soft);
    font-weight: 500;
}

.gallery-carousels {
    margin-top: clamp(2.25rem, 5vw, 3.5rem);
    display: flex;
    flex-direction: column;
    gap: clamp(2.25rem, 4.5vw, 3.25rem);
}

.gallery-album-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
    font-weight: 700;
    color: var(--nav-villa-ink);
    margin: 0 0 0.45rem;
    letter-spacing: -0.02em;
}

.gallery-album-head {
    margin-bottom: 1rem;
}

.gallery-album-desc {
    margin: 0;
    max-width: 42rem;
    font-size: clamp(0.92rem, 1.55vw, 1.02rem);
    line-height: 1.55;
    color: var(--nav-villa-ink-soft);
    font-weight: 500;
}

.gallery-carousel-wrap {
    position: relative;
    padding: 0 clamp(2.85rem, 6vw, 3.5rem);
}

.gallery-carousel {
    display: flex;
    gap: clamp(1rem, 2.2vw, 1.45rem);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.25rem;
    padding: 0.35rem 0 1.1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(74, 60, 48, 0.35) transparent;
    outline: none;
    scroll-behavior: smooth;
}

.gallery-carousel:focus-visible {
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.35);
    border-radius: 12px;
}

.gallery-carousel::-webkit-scrollbar {
    height: 7px;
}

.gallery-carousel::-webkit-scrollbar-thumb {
    background: rgba(74, 60, 48, 0.28);
    border-radius: 99px;
}

.gallery-carousel-slide {
    flex: 0 0 min(420px, 100%);
    scroll-snap-align: start;
    min-width: min(420px, 100%);
}

.gallery-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 46px;
    height: 46px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--nav-villa-border);
    background: rgba(255, 253, 249, 0.96);
    color: var(--nav-villa-ink);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow:
        0 8px 28px rgba(42, 35, 28, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.88) inset;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.2s ease;
}

.gallery-carousel-btn:hover {
    background: #fff;
    border-color: rgba(74, 60, 48, 0.28);
}

.gallery-carousel-btn:focus-visible {
    outline: 3px solid rgba(26, 95, 122, 0.45);
    outline-offset: 3px;
}

.gallery-carousel-btn--prev {
    left: 0;
}

.gallery-carousel-btn--next {
    right: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(1.25rem, 3vw, 1.85rem);
    margin-top: clamp(2.25rem, 5vw, 3.5rem);
}

.gallery-item {
    position: relative;
    margin: 0;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    padding: 11px;
    border-radius: 22px;
    border: 1px solid var(--nav-villa-border);
    background: linear-gradient(
        155deg,
        rgba(255, 253, 249, 0.98) 0%,
        rgba(241, 233, 222, 0.95) 100%
    );
    box-shadow:
        0 10px 32px rgba(42, 35, 28, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.85) inset;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: rgba(74, 60, 48, 0.22);
    box-shadow:
        0 20px 48px rgba(42, 35, 28, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

.gallery-item:focus-within {
    outline: 3px solid rgba(26, 95, 122, 0.45);
    outline-offset: 4px;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition:
        transform 0.55s ease,
        opacity 0.45s ease;
    position: relative;
    z-index: 1;
}

.gallery-item--loading img {
    opacity: 0;
}

.gallery-item--loaded img {
    opacity: 1;
}

.gallery-item--loading::before {
    content: '';
    position: absolute;
    inset: 11px;
    border-radius: 14px;
    z-index: 0;
    background: linear-gradient(
        118deg,
        rgba(241, 233, 222, 0.95) 0%,
        rgba(255, 253, 249, 0.98) 42%,
        rgba(232, 239, 237, 0.92) 78%,
        rgba(241, 233, 222, 0.95) 100%
    );
    background-size: 200% 100%;
    animation: gallery-img-shimmer 1.35s ease-in-out infinite;
}

.gallery-item--loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2.35rem;
    height: 2.35rem;
    margin: -1.175rem 0 0 -1.175rem;
    border-radius: 50%;
    border: 3px solid rgba(26, 95, 122, 0.14);
    border-top-color: var(--primary-color);
    z-index: 2;
    animation: gallery-img-spin 0.7s linear infinite;
    box-sizing: border-box;
}

@keyframes gallery-img-shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

@keyframes gallery-img-spin {
    to {
        transform: rotate(360deg);
    }
}

.gallery-overlay {
    position: absolute;
    top: 11px;
    left: 11px;
    right: 11px;
    bottom: 11px;
    z-index: 3;
    border-radius: 14px;
    background: linear-gradient(
        165deg,
        rgba(26, 43, 52, 0.55) 0%,
        rgba(42, 35, 28, 0.72) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-view-hint {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #fffbf7;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 251, 247, 0.35);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

/* Legacy class — safe if any markup still references */
.gallery-icon {
    font-size: 1.75rem;
    line-height: 1;
    filter: grayscale(0.2);
}

@media (prefers-reduced-motion: reduce) {
    .gallery-item,
    .gallery-item img,
    .gallery-overlay {
        transition-duration: 0.01ms !important;
    }

    .gallery-carousel {
        scroll-behavior: auto;
    }

    .gallery-item--loading::before {
        animation: none;
        background: rgba(247, 241, 233, 0.96);
    }

    .gallery-item--loading::after {
        animation: none;
        border-top-color: rgba(26, 95, 122, 0.55);
        opacity: 0.85;
    }

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

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(35, 42, 48, 0.88) 0%, rgba(18, 22, 26, 0.96) 100%);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(155deg, rgba(255, 253, 249, 0.06) 0%, transparent 50%);
    border: 1px solid rgba(255, 251, 247, 0.08);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 251, 247, 0.14);
    color: #fffbf7;
    border: 1px solid rgba(255, 251, 247, 0.22);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    z-index: 2001;
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(244, 162, 97, 0.35);
    border-color: rgba(244, 162, 97, 0.55);
}

/* Pricing Section — villa rates wall */
.pricing-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        188deg,
        #fefdfb 0%,
        var(--nav-villa-stone-top) 30%,
        var(--nav-villa-stone-mid) 70%,
        var(--nav-villa-stone-deep) 100%
    );
    border-top: 1px solid rgba(74, 60, 48, 0.08);
}

.pricing-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 50% 42% at 12% 22%, rgba(26, 95, 122, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse 48% 38% at 90% 78%, rgba(201, 113, 61, 0.055) 0%, transparent 52%),
        repeating-linear-gradient(
            8deg,
            transparent,
            transparent 48px,
            rgba(74, 60, 48, 0.025) 48px,
            rgba(74, 60, 48, 0.025) 49px
        );
}

.pricing-section-inner {
    position: relative;
    z-index: 1;
}

.pricing-page-header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
}

.pricing-kicker {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--nav-villa-cta-deep);
    margin-bottom: 0.65rem;
}

.pricing-section .section-title {
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    margin-bottom: 0.85rem;
    color: var(--nav-villa-ink);
    letter-spacing: -0.02em;
}

.pricing-rule {
    width: min(12rem, 50%);
    height: 3px;
    margin: 0 auto 1.25rem;
    border-radius: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary-color) 20%,
        var(--nav-villa-cta-mid) 50%,
        var(--primary-color) 80%,
        transparent
    );
    opacity: 0.85;
}

.pricing-section .section-subtitle.pricing-lead {
    margin-bottom: 0;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    color: var(--nav-villa-ink-soft);
    font-weight: 500;
}

.pricing-category {
    margin-top: clamp(2.5rem, 5vw, 3.75rem);
    margin-bottom: 0;
}

.pricing-category-head {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 0.25rem;
}

.category-title {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    margin-bottom: 0.65rem;
    color: var(--nav-villa-ink);
    letter-spacing: -0.02em;
    font-weight: 700;
}

.category-subtitle {
    margin: 0 auto;
    color: var(--nav-villa-ink-soft);
    font-size: clamp(0.95rem, 1.8vw, 1.08rem);
    line-height: 1.6;
    font-weight: 500;
    font-style: normal;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr));
    gap: clamp(1.15rem, 2.5vw, 1.75rem);
    margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.pricing-card {
    margin: 0;
    position: relative;
    padding: 0;
    border-radius: 22px;
    border: 1px solid var(--nav-villa-border);
    background: linear-gradient(
        168deg,
        rgba(255, 254, 251, 0.98) 0%,
        rgba(247, 241, 233, 0.96) 55%,
        rgba(241, 233, 223, 0.98) 100%
    );
    box-shadow:
        0 8px 28px rgba(42, 35, 28, 0.07),
        0 1px 0 rgba(255, 255, 255, 0.88) inset;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.25s ease;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color) 45%, var(--nav-villa-cta-mid));
    opacity: 0.88;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(74, 60, 48, 0.22);
    box-shadow:
        0 18px 42px rgba(42, 35, 28, 0.11),
        0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.pricing-card-inner {
    padding: 1.85rem 1.45rem 1.65rem;
    padding-top: calc(1.65rem + 4px);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.pricing-card-featured {
    border-color: rgba(201, 113, 61, 0.42);
    box-shadow:
        0 10px 32px rgba(158, 87, 48, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.pricing-card-featured::before {
    height: 5px;
    opacity: 1;
    background: linear-gradient(90deg, var(--nav-villa-cta-deep), var(--nav-villa-cta-mid), var(--accent-color));
}

.pricing-card-featured:hover {
    border-color: rgba(201, 113, 61, 0.55);
}

.pricing-badge {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    padding: 0.38rem 1.15rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fffbf7;
    background: linear-gradient(165deg, var(--nav-villa-cta-mid) 0%, var(--nav-villa-cta-deep) 100%);
    border: 1px solid rgba(120, 62, 32, 0.35);
    box-shadow: 0 4px 14px rgba(158, 87, 48, 0.35);
}

.pricing-card-featured .pricing-card-inner {
    padding-top: 2.65rem;
}

.pricing-header {
    margin-bottom: 1.15rem;
}

.pricing-plan-name {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 700;
    margin: 0 0 0.55rem;
    color: var(--nav-villa-ink);
    letter-spacing: -0.015em;
}

.pricing-period {
    margin: 0;
    font-size: clamp(1.85rem, 4vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary-color);
    line-height: 1.15;
}

.pricing-currency {
    font-size: 0.55em;
    font-weight: 700;
    opacity: 0.88;
    vertical-align: super;
    margin-right: 0.06em;
}

.pricing-period-caption {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nav-villa-ink-soft);
}

.pricing-details {
    text-align: left;
    border-top: 1px solid rgba(74, 60, 48, 0.1);
    padding-top: 1rem;
    flex: 1 1 auto;
}

.pricing-detail-line {
    margin: 0;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--nav-villa-ink-soft);
    border-bottom: 1px solid rgba(74, 60, 48, 0.06);
}

.pricing-detail-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pricing-detail-line strong {
    color: var(--nav-villa-ink);
    font-weight: 700;
    margin-right: 0.35rem;
}

.pricing-detail-line--sub {
    padding-left: 0.85rem;
    border-left: 3px solid rgba(26, 95, 122, 0.28);
    margin-top: 0.15rem;
    margin-bottom: 0.15rem;
    border-bottom: none;
    padding-bottom: 0.35rem;
    padding-top: 0.35rem;
    font-size: 0.87rem;
}

/* Rate sheet rows — Homepage pricing (spreadsheet-aligned)
   Use with .pricing-grid (inherits grid gap + spacing). */

.pricing-card-span-full {
    grid-column: 1 / -1;
}

.pricing-muted {
    margin: -0.2rem auto 0.5rem;
    max-width: 38rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--nav-villa-ink-soft);
}

.pricing-muted-detail {
    margin: 0 auto 1rem;
    max-width: 44rem;
    font-size: 0.9175rem;
    line-height: 1.55;
    font-weight: 500;
    color: var(--nav-villa-ink-soft);
    letter-spacing: 0;
    text-transform: none;
}

.pricing-muted-detail strong {
    color: var(--nav-villa-ink);
    font-weight: 700;
}

/* Homepage pricing — same visual as navbar .nav-link-cta (“Book Now”) */

.pricing-book-btn {
    display: block;
    width: 100%;
    max-width: 14rem;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1.25;
    padding: 0.48rem 1.2rem;
    border-radius: 999px;
    color: #fffbf7;
    background: linear-gradient(165deg, var(--nav-villa-cta-mid) 0%, var(--nav-villa-cta-deep) 100%);
    box-shadow:
        0 2px 10px rgba(158, 87, 48, 0.38),
        0 1px 0 rgba(255, 255, 255, 0.22) inset;
    border: 1px solid rgba(120, 62, 32, 0.35);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.25s ease;
    animation: none;
}

.pricing-book-btn:hover {
    color: #fffbf7;
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.pricing-book-btn:focus {
    outline: none;
}

.pricing-book-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.pricing-room-col .pricing-book-btn {
    margin-top: auto;
    max-width: none;
}

.pricing-card-actions {
    margin-top: auto;
    padding-top: 1.05rem;
    border-top: 1px solid rgba(74, 60, 48, 0.1);
    text-align: center;
}

.pricing-card-actions .pricing-book-btn {
    margin-top: 0;
}

.pricing-card-inner > .pricing-header {
    flex-shrink: 0;
}

.pricing-card-span-full .pricing-room-grid {
    flex: 1 1 auto;
    align-items: stretch;
}

.pricing-room-grid {
    display: grid;
    gap: clamp(1.15rem, 2vw, 1.5rem);
    margin-top: 0.35rem;
    padding-top: 1.05rem;
    border-top: 1px solid rgba(74, 60, 48, 0.1);
    align-items: stretch;
}

@media (min-width: 720px) {
    .pricing-room-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem 1.15rem;
    }
}

.pricing-room-col {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 1rem 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 253, 249, 0.65);
    border: 1px solid rgba(74, 60, 48, 0.08);
    min-height: 100%;
}

.pricing-room-heading {
    margin: 0 0 0.85rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--nav-villa-ink);
    padding-bottom: 0.45rem;
    border-bottom: 2px solid rgba(26, 95, 122, 0.2);
}

.pricing-room-rate {
    margin: 0 0 0.75rem;
    font-size: clamp(1.35rem, 2.8vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--primary-color);
    line-height: 1.2;
}

.pricing-spec-grid {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(auto, 7rem) 1fr;
    column-gap: 0.6rem;
    row-gap: 0.45rem;
    font-size: 0.825rem;
    line-height: 1.48;
}

.pricing-spec-grid dt {
    margin: 0;
    padding: 0;
    font-weight: 700;
    color: var(--nav-villa-ink-soft);
}

.pricing-spec-grid dd {
    margin: 0;
    padding: 0;
    color: var(--nav-villa-ink-soft);
}

.pricing-spec-grid-dd-note {
    color: var(--nav-villa-ink);
    font-weight: 600;
}

.pricing-spec-grid--stack {
    padding-top: 0.35rem;
}

.pricing-rate-suffix {
    font-size: 0.52em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: 0.12em;
    color: var(--nav-villa-ink-soft);
    margin-left: 0.06em;
}

.pricing-detail-hint {
    margin: 1rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px dashed rgba(74, 60, 48, 0.12);
    font-size: 0.8125rem;
    line-height: 1.55;
    font-weight: 500;
    color: var(--nav-villa-ink-soft);
}

.pricing-detail-hint strong {
    color: var(--nav-villa-ink);
}

/* Stay details — concierge strip */
.stay-details {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding: clamp(1.75rem, 4vw, 2.25rem) clamp(1.35rem, 3vw, 2rem);
    border-radius: 22px;
    border: 1px solid var(--nav-villa-border);
    background: linear-gradient(
        165deg,
        rgba(255, 253, 249, 0.95) 0%,
        rgba(237, 227, 216, 0.92) 100%
    );
    box-shadow:
        0 12px 36px rgba(42, 35, 28, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.stay-details-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    text-align: center;
    margin: 0 0 1.35rem;
    color: var(--nav-villa-ink);
    letter-spacing: -0.02em;
    font-weight: 700;
}

.stay-details .details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1rem;
}

.stay-details .detail-box {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 1.15rem;
    background: rgba(255, 253, 249, 0.85);
    border-radius: 16px;
    border: 1px solid rgba(74, 60, 48, 0.1);
    box-shadow: 0 4px 16px rgba(42, 35, 28, 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.stay-details .detail-box:hover {
    border-color: rgba(74, 60, 48, 0.18);
    box-shadow: 0 8px 22px rgba(42, 35, 28, 0.08);
}

.detail-icon-wrap {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(231, 221, 208, 0.85) 100%);
    border: 1px solid rgba(74, 60, 48, 0.1);
    box-shadow: 0 2px 10px rgba(42, 35, 28, 0.05);
}

.stay-details .detail-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.detail-box-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--nav-villa-ink-soft);
}

.detail-box-copy strong {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
}

.pricing-note {
    text-align: center;
    color: var(--nav-villa-ink-soft);
    font-size: 0.88rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-style: normal;
    font-weight: 500;
    line-height: 1.55;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .stay-details {
        padding: 1.5rem 1.15rem;
    }

    .stay-details .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pricing-card {
        transition-duration: 0.01ms !important;
    }

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

    .pricing-room-col .pricing-book-btn:hover,
    .pricing-card-actions .pricing-book-btn:hover {
        transform: none;
        filter: none;
    }
}

@media (min-width: 700px) {
    .pricing-grid-tiered:not(.pricing-grid-weekend-duo) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Weekend band: typically two packages — balanced pair */
.pricing-grid-weekend-duo {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

/* FAQ Section */
.faq-section {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 6vw, 4.75rem) 0;
    background: linear-gradient(
        182deg,
        #faf7f3 0%,
        #fefdfb 45%,
        var(--nav-villa-stone-top) 100%
    );
    border-top: 1px solid rgba(74, 60, 48, 0.07);
}

.faq-section-inner {
    position: relative;
    z-index: 1;
}

.faq-header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
}

.faq-kicker {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--nav-villa-cta-deep);
    margin-bottom: 0.65rem;
}

.faq-section .section-title {
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    margin-bottom: 0.85rem;
    color: var(--nav-villa-ink);
    letter-spacing: -0.02em;
}

.faq-rule {
    width: min(12rem, 50%);
    height: 3px;
    margin: 0 auto 1.25rem;
    border-radius: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary-color) 20%,
        var(--nav-villa-cta-mid) 50%,
        var(--primary-color) 80%,
        transparent
    );
    opacity: 0.85;
}

.faq-section .section-subtitle.faq-lead {
    margin-bottom: 0;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    color: var(--nav-villa-ink-soft);
    font-weight: 500;
}

.faq-list {
    margin-top: clamp(2rem, 4vw, 2.75rem);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    margin-bottom: 0.65rem;
    border-radius: 16px;
    border: 1px solid rgba(74, 60, 48, 0.12);
    background: rgba(255, 253, 249, 0.92);
    box-shadow: 0 4px 18px rgba(42, 35, 28, 0.06);
    overflow: hidden;
}

.faq-summary {
    cursor: pointer;
    list-style: none;
    padding: 1.05rem 1.25rem 1.05rem 1.15rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.08rem);
    color: var(--nav-villa-ink);
    letter-spacing: -0.01em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary::after {
    content: '';
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid var(--nav-villa-cta-mid);
    border-bottom: 2px solid var(--nav-villa-cta-mid);
    transform: rotate(45deg);
    transition: transform 0.22s ease;
    margin-top: -0.2rem;
}

.faq-item[open] .faq-summary::after {
    transform: rotate(225deg);
    margin-top: 0.15rem;
}

.faq-summary:hover {
    background: rgba(255, 255, 255, 0.65);
}

.faq-item[open] .faq-summary {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(74, 60, 48, 0.08);
}

.faq-body {
    padding: 0 1.25rem 1.15rem 1.15rem;
}

.faq-body p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--nav-villa-ink-soft);
}

.faq-body p + p {
    margin-top: 0.65rem;
}

.faq-body a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.faq-body a:hover {
    color: var(--nav-villa-cta-deep);
}

.faq-summary:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .faq-summary,
    .faq-summary::after {
        transition-duration: 0.01ms !important;
    }
}

/* Contact Section - Full-width Map */
.contact-section {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
}

.contact-map-wrapper {
    width: 100%;
    padding: 0;
    margin: 0;
}

.contact-map-wrapper iframe {
    display: block;
    width: 100%;
    min-height: 450px;
    height: 50vh;
    border: 0;
}

/* Footer — villa residence (light stone, matches amenities / pricing) */
.footer {
    position: relative;
    overflow: hidden;
    color: var(--nav-villa-ink);
    padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.25rem;
    background: linear-gradient(
        188deg,
        #fefdfb 0%,
        var(--nav-villa-stone-top) 28%,
        var(--nav-villa-stone-mid) 72%,
        #ebe3d9 100%
    );
    border-top: 1px solid rgba(74, 60, 48, 0.08);
}

.footer-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 1;
    background-image:
        radial-gradient(ellipse 52% 42% at 14% 25%, rgba(26, 95, 122, 0.07) 0%, transparent 56%),
        radial-gradient(ellipse 46% 38% at 88% 78%, rgba(201, 113, 61, 0.055) 0%, transparent 52%),
        repeating-linear-gradient(
            -18deg,
            transparent,
            transparent 54px,
            rgba(74, 60, 48, 0.028) 54px,
            rgba(74, 60, 48, 0.028) 55px
        );
}

.footer-inner {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
    align-items: start;
}

.footer-logo {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 1px 3px rgba(42, 35, 28, 0.08));
}

.footer-tagline {
    margin: 0;
    max-width: 26rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--nav-villa-ink-soft);
    font-weight: 500;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    margin: 0 0 1.15rem;
    color: var(--nav-villa-ink);
}

.footer-heading::after {
    content: '';
    display: block;
    width: 2.5rem;
    height: 2px;
    margin-top: 0.65rem;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--nav-villa-cta-mid), transparent);
    opacity: 0.85;
}

.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-list li {
    margin-bottom: 0.55rem;
}

.footer-nav-list li:last-child {
    margin-bottom: 0;
}

.footer-section a {
    color: var(--nav-villa-ink-soft);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-nav-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0;
}

.footer-nav-list a::before {
    content: '';
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--nav-villa-cta-mid), var(--accent-color));
    transition: width 0.25s ease;
    opacity: 0.9;
}

.footer-nav-list a:hover::before {
    width: 1rem;
}

.footer-nav-list a:focus-visible,
.footer .social-links a:focus-visible {
    outline: 2px solid rgba(26, 95, 122, 0.45);
    outline-offset: 3px;
}

.footer .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.48rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--nav-villa-border);
    background: rgba(255, 253, 249, 0.92);
    box-shadow: 0 2px 10px rgba(42, 35, 28, 0.05);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nav-villa-ink);
}

.footer .social-links a:hover {
    color: var(--nav-villa-cta-deep);
    border-color: rgba(201, 113, 61, 0.42);
    background: rgba(244, 162, 97, 0.14);
    box-shadow: 0 4px 14px rgba(158, 87, 48, 0.12);
}

.footer-bottom {
    text-align: center;
    padding-top: clamp(1.35rem, 3vw, 1.85rem);
    border-top: 1px solid rgba(74, 60, 48, 0.12);
}

.footer-copyright {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--nav-villa-ink-soft);
    letter-spacing: 0.03em;
}

/* Booking page — slim footer band using same palette */
.footer.footer--compact.booking-page-footer-min {
    padding: 1.35rem 0 1.45rem;
}

.footer-inner--compact {
    text-align: center;
}

.footer-back-home {
    margin: 0;
}

.footer-back-home a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    border: 1px solid var(--nav-villa-border);
    background: rgba(255, 253, 249, 0.95);
    box-shadow: 0 2px 12px rgba(42, 35, 28, 0.06);
    color: var(--nav-villa-ink);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.footer-back-home a:hover {
    color: var(--nav-villa-cta-deep);
    border-color: rgba(201, 113, 61, 0.42);
    background: rgba(244, 162, 97, 0.12);
    box-shadow: 0 4px 16px rgba(158, 87, 48, 0.1);
}

.footer-back-home a:focus-visible {
    outline: 2px solid rgba(26, 95, 122, 0.45);
    outline-offset: 3px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logo {
        height: 50px;
    }
    
    .logo-img {
        max-width: 150px;
    }
    
    .footer-logo {
        height: 40px;
        max-width: 140px;
    }
    
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        width: 100%;
        top: calc(env(safe-area-inset-top, 0px) + 5.65rem);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 0.75rem 0 1.25rem;
        background: linear-gradient(
            180deg,
            var(--nav-villa-stone-top) 0%,
            var(--nav-villa-stone-mid) 45%,
            var(--nav-villa-stone-deep) 100%
        );
        border-bottom: 1px solid var(--nav-villa-border);
        box-shadow: 0 18px 36px rgba(42, 35, 28, 0.12);
        text-align: center;
        transition: transform 0.35s ease, opacity 0.3s ease, visibility 0.3s ease;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 1050;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu li {
        width: 100%;
        display: block;
    }

    .nav-link {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0.85rem 1.25rem;
        font-size: 0.74rem;
        letter-spacing: 0.12em;
        white-space: normal;
    }

    .nav-link::after {
        bottom: 0.55rem;
        height: 1px;
    }

    .nav-link.nav-link-cta {
        margin: 0.65rem 1.5rem 0.35rem;
        width: auto;
        align-self: center;
    }

    .hero-title {
        font-size: 2rem;
        text-shadow:
            0 2px 4px rgba(18, 14, 12, 0.45),
            0 10px 36px rgba(18, 14, 12, 0.5);
    }

    .hero-subtitle {
        font-size: 1.2rem;
        text-shadow: 0 2px 16px rgba(18, 14, 12, 0.55);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.65rem;
    }

    .hero .hero-actions .btn-primary.hero-btn-book,
    .hero-btn-ghost {
        width: 100%;
        max-width: 17rem;
    }

    .hero-reviews {
        max-width: 100%;
        min-height: 7.75rem;
        margin-top: clamp(0.85rem, 2vh, 1.35rem);
    }

    .review-card {
        padding: 1.25rem 1.5rem;
    }

    .review-text {
        font-size: 0.9rem;
        min-height: 4em;
    }

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

    .date-selector {
        grid-template-columns: 1fr;
    }

    .guest-inputs {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
        margin: 1rem auto;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1.5rem;
    }

    .step-indicator {
        gap: 0.5rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer button {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-carousel-wrap,
    .guest-tour-carousel-wrap {
        padding: 0;
    }

    .gallery-carousel,
    .guest-tour-carousel {
        /* Inset strips so ‹ › don't cover photo edges — width stays inside section */
        padding-left: clamp(44px, 12vw, 52px);
        padding-right: clamp(44px, 12vw, 52px);
        scroll-padding-inline: 14px;
    }

    .gallery-carousel-slide {
        flex: 0 0 min(380px, 100%);
        min-width: min(380px, 100%);
    }

    .guest-tour-carousel-slide {
        flex: 0 0 min(340px, 100%);
        min-width: min(340px, 100%);
    }

    /* Keep ‹ › visible — sit in gutters from track padding above */
    .gallery-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.15rem;
        box-shadow:
            0 4px 16px rgba(42, 35, 28, 0.16),
            0 1px 0 rgba(255, 255, 255, 0.9) inset;
    }

    .gallery-carousel-btn--prev {
        left: 4px;
    }

    .gallery-carousel-btn--next {
        right: 4px;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .nature-sounds-control {
        bottom: 20px;
        right: 20px;
    }

    .room-packages-grid {
        grid-template-columns: 1fr;
    }

    .package-name {
        font-size: 1.1rem;
    }

    .price-amount {
        font-size: 1.5rem;
    }

    .nature-sounds-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .sound-label {
        display: none;
    }

    .volume-control {
        min-width: 150px;
        padding: 0.6rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 45px;
    }
    
    .logo-img {
        max-width: 120px;
    }
    
    .footer-logo {
        height: 35px;
        max-width: 120px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }

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

    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero .hero-actions .btn-primary.hero-btn-book {
        padding: 0.75rem 1.5rem;
        font-size: 0.72rem;
    }

    .hero-btn-ghost {
        padding: 0.72rem 1.35rem;
        font-size: 0.72rem;
    }

    .booking-container {
        padding: 1.5rem;
    }
}


