:root {
    --primary: #5f6d4f;
    --secondary: #d9ccb8;
    --accent: #b99563;
    --bg-soft: #f4efe8;
    --bg-dark: #1f1b18;
    --text: #2f2a25;
    --radius: 1.1rem;
    --shadow-soft: 0 16px 40px rgba(38, 28, 18, 0.08);
    --shadow-premium: 0 24px 60px rgba(28, 20, 13, 0.2);
    --transition: 280ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body.theme-premium {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background: var(--bg-soft);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

main {
    overflow: hidden;
}

.brand-display,
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.2px;
}

.hero-title{
    text-wrap: balance;
}

.text-muted-soft {
    color: rgba(36, 55, 70, 0.72);
}

.premium-navbar {
    padding: 1rem 0;
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
    background: rgba(26, 21, 17, 0.84);
}

.premium-navbar .navbar-brand {
    color: #fff;
    font-size: 1.3rem;
}

.premium-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    position: relative;
}

.premium-navbar .nav-link.active,
.premium-navbar .nav-link:hover {
    color: #fff;
}

.premium-navbar.is-scrolled {
    background: rgba(26, 21, 17, 0.84);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.menu-dot {
    width: 22px;
    height: 2px;
    display: block;
    background: #fff;
    margin: 4px 0;
    border-radius: 10px;
}

.btn-premium-primary,
.btn-premium-outline {
    border-radius: 999px;
    padding: 0.72rem 1.45rem;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn-premium-primary {
    background: linear-gradient(130deg, #d3b27d, var(--accent));
    border: none;
    color: #251d15;
    box-shadow: 0 12px 26px rgba(185, 149, 99, 0.35);
}

.btn-premium-primary:hover {
    transform: translateY(-1px);
    color: #fff;
}

.btn-premium-outline {
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.section-soft .btn-premium-outline,
.premium-footer .btn-premium-outline {
    border-color: rgba(47, 42, 37, 0.26);
    color: var(--text);
    background: rgba(255, 255, 255, 0.4);
}

.btn-premium-outline:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.22);
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-weight: 700;
    color: #4f473d;
    background: rgba(217, 204, 184, 0.55);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
}

.hero-premium {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 7.5rem 0 5rem;
    color: #fff;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, rgba(20, 17, 14, 0.84), rgba(24, 18, 14, 0.38)),
        url('../img/banner-header.jpg');
    background-size: cover;
    background-position: center;
}

/* =========================
   HERO PREMIUM GLASS EFFECT
========================= */

.hero-shell {
    position: relative;
    z-index: 1;
    max-width: 90%;
}

.hero-title{
    text-wrap: balance;
    font-size: clamp(2.3rem, 4.8vw, 4.5rem);
    line-height: 1.05;
}

.hero-subtitle {
    max-width: 640px;
    color: rgba(255,255,255,.86);
    font-size: 1.1rem;
}

/* =========================
   FORM GLASS
========================= */

.hero-form-col{
    display:flex;
    justify-content:flex-end;
}

.hero-reservation-widget{
    width:100%;
    max-width:440px;
    padding:32px !important;

    background: rgba(255,255,255,.14) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border:1px solid rgba(255,255,255,.24) !important;

    box-shadow:
        0 24px 60px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.12);

    border-radius:28px !important;

    color:#fff;

    overflow:hidden;

    position:relative;
}

.hero-reservation-widget::before{
    content:'';
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.10),
            rgba(255,255,255,.02)
        );

    pointer-events:none;
}

.hero-reservation-widget h3{
    color:#fff !important;
    font-size:2.2rem;
    line-height:.95;
    margin-bottom:26px !important;
}

.hero-reservation-widget .form-label{
    color:rgba(255,255,255,.88) !important;
    font-size:.82rem;
    font-weight:600;
    margin-bottom:7px;
}

.hero-reservation-widget .form-control,
.hero-reservation-widget .form-select{
    height:54px;

    border-radius:18px;

    background: rgba(255,255,255,.92) !important;

    border:1px solid rgba(255,255,255,.28) !important;

    color:#243746 !important;

    font-size:.95rem;

    padding-left:16px;

    box-shadow:none !important;
}

.hero-reservation-widget .form-control::placeholder{
    color:#7b7b7b;
}

.hero-reservation-widget .form-control:focus,
.hero-reservation-widget .form-select:focus{
    border-color: rgba(47,127,166,.55) !important;

    box-shadow:
        0 0 0 .22rem rgba(47,127,166,.16) !important;
}

.hero-reservation-widget .btn{
    min-height:60px;

    border-radius:999px !important;

    font-size:1.05rem;
    font-weight:700;

    margin-top:20px !important;
}

.hero-reservation-widget p{
    color:rgba(255,255,255,.74) !important;

    font-size:.92rem;

    margin-top:14px !important;
}

/* =========================
   HERO CTA
========================= */

.hero-cta{
    gap:14px !important;
}

.hero-cta .btn{
    min-width:240px;
    min-height:58px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:20px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 991px){

    .hero-shell{
        padding-top:110px;
        padding-bottom:70px;
    }

    .hero-premium .container{
        padding-left:22px;
        padding-right:22px;
    }

    .hero-premium .row{
        margin-left:0 !important;
        margin-right:0 !important;
    }

    .hero-premium [class*="col-"]{
        padding-left:0 !important;
        padding-right:0 !important;
    }

    /* TEXTOS */

    .hero-title{
        font-size:3rem;
        line-height:.95;
        max-width:290px;
        margin-bottom:22px !important;
    }

    .hero-subtitle{
        font-size:1.08rem;
        line-height:1.65;
        margin-bottom:30px !important;
    }

    .badge-soft{
        font-size:.72rem;
        letter-spacing:.18em;
        padding:12px 18px;
        margin-bottom:22px !important;
    }

    /* BOTÕES */

    .hero-cta{
        width:100%;

        display:flex;
        flex-direction:column;

        margin-bottom:36px;
    }

    .hero-cta .btn{
        width:100%;
        min-width:100%;
        min-height:58px;

        border-radius:18px;
    }

    /* FORM */

    .hero-form-col{
        justify-content:center;
    }

    .hero-reservation-widget{
        width:100% !important;

        max-width:360px !important;

        margin:8px auto 0 !important;

        padding:26px 22px !important;

        border-radius:26px !important;

        background: rgba(255,255,255,.18) !important;

        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
    }

    .hero-reservation-widget h3{
        font-size:2.15rem !important;
        line-height:.95 !important;
    }

    .hero-reservation-widget .row{
        --bs-gutter-x:10px;
        --bs-gutter-y:12px;
    }

    .hero-reservation-widget .col-6{
        width:50% !important;
        flex:0 0 50% !important;
    }

    .hero-reservation-widget .form-control,
    .hero-reservation-widget .form-select{
        width: 95% !important;
        min-width: 0 !important;
        height: 43px !important;
        font-size: .9rem !important;
    }

    .hero-reservation-widget .btn{
        width:100% !important;

        min-height:58px !important;
    }

    .hero-reservation-widget p{
        font-size:.92rem;
        line-height:1.5;
    }

}

/* =========================
   EXTRA SMALL
========================= */

@media (max-width: 420px){

    .hero-title{
        font-size:2.65rem;
        max-width:250px;
    }

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

    .hero-reservation-widget{
        max-width:100% !important;
    }

}

.hero-shell {
    position: relative;
    z-index: 1;
    max-width: 90%;
}

.hero-title {
    font-size: clamp(2.3rem, 4.8vw, 4.5rem);
    line-height: 1.05;
}

.hero-subtitle {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.1rem;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.8rem;
    width: 32px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    display: grid;
    place-items: center;
}

.scroll-indicator span {
    width: 4px;
    height: 12px;
    border-radius: 8px;
    background: #fff;
    animation: scrollPulse 1.8s infinite;
}

@keyframes scrollPulse {
    0% { transform: translateY(-5px); opacity: 0; }
    25% { opacity: 1; }
    80% { transform: translateY(5px); opacity: 0.2; }
    100% { opacity: 0; }
}

.section-premium {
    padding: 5.5rem 0;
}

.section-soft {
    background: linear-gradient(160deg, #FCFAF7, #F3E9DC);
}

.section-header {
    max-width: 680px;
    margin-bottom: 1.6rem;
}

.section-kicker {
    display: inline-block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 1.7px;
    color: #4f473d;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.section-header h2 {
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    margin: 0;
}

.premium-image {
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.feature-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
}

.feature-inline i {
    width: 18px;
    color: var(--primary);
}

.premium-card {
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(13, 76, 115, 0.08);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), box-shadow var(--transition);
}

.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
}

.extra-media {
    border-radius: 0.85rem;
    overflow: hidden;
}

.extra-media img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.cabin-card {
    overflow: hidden;
    height: 100%;
}

.cabin-media {
    position: relative;
    overflow: hidden;
}

.cabin-media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.cabin-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(11, 36, 54, 0.48));
}

.cabin-card:hover .cabin-media img {
    transform: scale(1.06);
}

.cabin-detail-page {
    position: relative;
}

.cabin-detail-gallery,
.cabin-detail-slider{
    overflow: hidden;
    position: relative;
}

.cabin-detail-hero-image {
    display: block;
    flex: 0 0 100%;
    min-height: 460px;
    max-height: 610px;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid rgba(107, 84, 58, 0.22);
    box-shadow: var(--shadow-soft);
}

.cabin-detail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: rgba(29, 23, 19, 0.62);
    color: #fff;
    transition: background var(--transition), transform var(--transition);
}

.cabin-detail-nav:hover {
    background: rgba(29, 23, 19, 0.8);
    transform: translateY(-50%) scale(1.04);
}

.cabin-detail-nav-prev { left: 0.9rem; }
.cabin-detail-nav-next { right: 0.9rem; }

.cabin-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.cabin-detail-thumb {
    border: 1px solid rgba(109, 87, 61, 0.28);
    border-radius: 0.7rem;
    overflow: hidden;
    padding: 0;
    background: #fff;
    opacity: 0.75;
    transition: opacity var(--transition), border-color var(--transition), transform var(--transition);
}

.cabin-detail-thumb img {
    width: 100%;
    aspect-ratio: 1 / 0.72;
    object-fit: cover;
    display: block;
}

.cabin-detail-thumb:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.cabin-detail-thumb.is-active {
    opacity: 1;
    border-color: rgba(185, 149, 99, 0.95);
}

.cabin-detail-sidebar {
    padding: 1.35rem;
    top: 96px;
}

.cabin-detail-title {
    font-size: clamp(2rem, 2.7vw, 2.65rem);
    line-height: 1.08;
}

.cabin-detail-meta {
    display: grid;
    gap: 0.55rem;
    font-size: 0.95rem;
    color: #4d4238;
    font-weight: 600;
}

.cabin-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.cabin-detail-meta svg {
    width: 16px;
    height: 16px;
    color: #8f7453;
}

.cabin-detail-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
}

.cabin-detail-price strong {
    font-size: 2rem;
    line-height: 1;
    font-family: 'Playfair Display', serif;
    color: #30251b;
}

.cabin-detail-price small {
    color: #6a5a49;
    font-weight: 600;
}

.cabin-detail-booking .form-label {
    margin-bottom: 0.32rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #4f4338;
}

.cabin-detail-content p {
    font-size: 1.02rem;
}

.cabin-detail-content svg {
    width: 16px;
    height: 16px;
    color: #8f7453;
    transform: translateY(-1px);
}

.cabin-detail-contact a {
    color: #2f261d;
}

.cabin-detail-contact a:hover {
    color: #16100c;
}

.cabin-body {
    padding: 1.1rem 1rem 1.2rem;
}

.gallery-masonry {
    column-count: 3;
    column-gap: 1rem;
}

.gallery-card {
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: var(--radius);
    break-inside: avoid;
    box-shadow: var(--shadow-soft);
}

.gallery-card img {
    width: 100%;
    display: block;
    transition: transform 0.65s ease;
}

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

.pricing-card {
    padding: 1.2rem;
}

.price-tag {
    font-size: 1.28rem;
    color: #0B2436;
}

.availability-board,
.reservation-widget {
    padding: 1.2rem;
}

#agenda .availability-board,
#agenda .reservation-widget {
    width: 100%;
}

.availability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    font-weight: 600;
    font-size: 0.92rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.35rem;
}

.available { background: #4f473d; }
.busy { background: #D98C7A; }
.limited { background: #C7A977; }

.month-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.month-chip {
    border: 1px solid rgba(93, 77, 58, 0.22);
    border-radius: 999px;
    padding: 0.3rem 0.78rem;
    font-size: 0.84rem;
}

.month-chip-active {
    border-color: transparent;
    background: var(--primary);
    color: #fff;
}

.availability-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.availability-cabin-select {
    min-width: 220px;
}

.month-nav-btn {
    border: 1px solid rgba(93, 77, 58, 0.3);
    background: #fff;
    color: #3a3026;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    line-height: 1;
    font-size: 1.2rem;
    display: inline-grid;
    place-items: center;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.4rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6d6359;
    font-weight: 700;
}

.availability-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.calendar-loading {
    grid-column: 1 / -1;
    font-size: 0.92rem;
    color: #6f655a;
    padding: 0.45rem 0;
}

.day-cell {
    min-height: 40px;
    border-radius: 0.65rem;
    border: 1px solid rgba(108, 89, 67, 0.2);
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #473d33;
}

.day-cell.is-out {
    opacity: 0.45;
}

.day-cell.is-available {
    background: #EAF4FB;
    border-color: rgba(47, 127, 166, 0.35);
    color: #af8959;
}

.day-cell.is-busy {
    background: #f5e3e3;
    border-color: rgba(170, 96, 96, 0.4);
    color: #904949;
}

.day-cell.is-limited {
    background: #F8EEDC;
    border-color: rgba(199, 169, 119, 0.42);
    color: #8A6734;
}

.day-cell.is-today {
    box-shadow: inset 0 0 0 2px #2f2a25;
}

.form-control,
.form-select {
    border-radius: 0.85rem;
    border-color: rgba(83, 62, 41, 0.2);
    color: #2d271f;
    background: rgba(255, 255, 255, 0.84);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(47, 127, 166, 0.55);
    box-shadow: 0 0 0 0.22rem rgba(47, 127, 166, 0.18);
}

.extra-item {
    border: 1px solid rgba(83, 62, 41, 0.24);
    border-radius: 0.8rem;
    padding: 0.55rem 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.55);
}

.extra-item-rich input[type="checkbox"] {
    margin-top: 0;
}

.extra-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 0.55rem;
    border: 1px solid rgba(83, 62, 41, 0.18);
}

.testimonial-card {
    text-align: center;
    overflow: visible;
    padding: 10px 0 40px;
}



.testimonial-swiper{
    overflow: visible;
    padding-bottom: 40px;
}

.testimonial-swiper .swiper-slide{
    opacity: .45;
    transform: scale(.92);
    transition: .35s ease;
}

.testimonial-swiper .swiper-slide-active{
    opacity: 1;
    transform: scale(1);
}

#depoimentos .section-header {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.testimonial-card i {
    width: 20px;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.testimonial-card p {
    margin-bottom: 1rem;
}

.premium-accordion .accordion-item {
    border: 1px solid rgba(78, 63, 46, 0.14);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.premium-accordion .accordion-button {
    color: #ffffff;
    background: #4f473d;
    font-weight: 700;
}

.premium-accordion .accordion-button:not(.collapsed) {
    color: #2a241f;
    background: rgba(237, 227, 214, 0.86);
    box-shadow: none;
}

.premium-accordion .accordion-body {
    background: #fff;
    color: #5c5043;
}

.final-cta {
    color: #fff;
    background-image:
        linear-gradient(120deg, rgba(29, 22, 17, 0.9), rgba(37, 28, 21, 0.66)),
        url('../img/sec-final-home.jpg');
    background-size: cover;
    background-position: center;
}

.final-cta .text-muted-soft {
    color: rgba(255, 255, 255, 0.76);
}

.premium-footer {
    background: #1d1713;
    color: #e9ddcd;
}

.cabins-search-shell {
    background: linear-gradient(135deg, #af8959, #4f473d);
    padding: 1rem 0;
}

.cabins-search-bar {
    margin: 0;
}

.cabins-search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr 1fr 0.9fr;
    gap: 0.9rem;
    align-items: center;
}

.search-pill .form-control,
.search-pill .form-select {
    border-radius: 999px;
    height: 54px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(88, 64, 39, 0.22);
    font-weight: 600;
}

.cabins-search-btn {
    border-radius: 999px;
    height: 54px;
    border: none;
    background: #C7A977;
    color: #0B2436;
    font-weight: 700;
}

.cabins-header {
    max-width: 520px;
}

.cabins-row-card {
    border: 1px solid rgba(104, 84, 58, 0.18);
    background: rgba(255, 255, 255, 0.72);
    border-radius: 0.9rem;
    overflow: hidden;
}

.cabins-media-link {
    display: block;
    height: 100%;
}

.cabins-media {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cabins-row-card:hover .cabins-media {
    transform: scale(1.04);
}

.cabins-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    font-size: 0.9rem;
    color: #5b4b3d;
    font-weight: 600;
}

.cabins-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.cabin-tag {
    border: 1px dashed rgba(99, 80, 55, 0.3);
    border-radius: 0.45rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.84rem;
    color: #5c4a3a;
}

.cabins-cta-col {
    border-left: 1px solid rgba(104, 84, 58, 0.18);
}

.cabins-price strong {
    font-size: 1.7rem;
    font-family: 'Playfair Display', serif;
    color: #34291f;
    line-height: 1.05;
}

.cabins-outline-btn {
    border-color: rgba(53, 42, 31, 0.3);
    color: #3f3125;
    background: rgba(255, 255, 255, 0.42);
}

.gallery-page {
    min-height: 70vh;
}

.gallery-album-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.gallery-tab-chip {
    border: 1px solid rgba(86, 67, 44, 0.27);
    background: rgba(255, 255, 255, 0.58);
    color: #443426;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    transition: all var(--transition);
}

.gallery-tab-chip:hover,
.gallery-tab-chip.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #af8959, #4f473d);
    color: #fff;
    box-shadow: 0 10px 24px rgba(13, 76, 115, 0.25);
}

.gallery-album-panel {
    animation: fadeReveal 0.32s ease;
}

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

.gallery-album-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.9rem;
}

.gallery-image-button {
    border: 0;
    padding: 0;
    border-radius: 0.85rem;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.gallery-image-button:nth-child(6n + 1),
.gallery-image-button:nth-child(6n + 4) {
    grid-column: span 6;
}

.gallery-image-button:nth-child(6n + 2),
.gallery-image-button:nth-child(6n + 3),
.gallery-image-button:nth-child(6n + 5),
.gallery-image-button:nth-child(6n + 6) {
    grid-column: span 3;
}

.gallery-image-button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 14, 10, 0), rgba(20, 14, 10, 0.35));
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-image-button img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.gallery-image-button:hover::after {
    opacity: 1;
}

.gallery-image-button:hover img {
    transform: scale(1.04);
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: rgba(8, 8, 10, 0.86);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.gallery-lightbox-frame {
    margin: 0;
    max-width: min(1100px, 90vw);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gallery-lightbox-frame img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    border-radius: 0.9rem;
    object-fit: contain;
}

.gallery-lightbox-frame figcaption {
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
    font-size: 0.94rem;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    position: absolute;
    transition: background var(--transition), transform var(--transition);
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.05);
}

.gallery-lightbox-close {
    top: 1.2rem;
    right: 1.2rem;
}

.gallery-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lightbox-nav:hover {
    transform: translateY(-50%) scale(1.05);
}

.gallery-lightbox-nav.is-prev { left: 1.1rem; }
.gallery-lightbox-nav.is-next { right: 1.1rem; }

body.lightbox-open {
    overflow: hidden;
}

.legal-content {
    border: 1px solid rgba(99, 78, 54, 0.18);
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
    font-family: 'Playfair Display', serif;
    margin: 1.2rem 0 0.7rem;
    color: #2b2219;
}

.legal-content p,
.legal-content li {
    color: #3a3129;
    line-height: 1.75;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.25rem;
}

.legal-content a {
    color: #7d5f3a;
}

.premium-footer .text-muted-soft {
    color: rgba(234, 244, 251, 0.72);
}

.footer-title {
    font-size: 0.9rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

.footer-links a {
    color: rgba(234, 244, 251, 0.86);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.92rem;
}

.footer-bottom a {
    text-decoration: none;
}

.inner-page-spacer {
    height: 80px;
}

.swiper {
    overflow: hidden;
}

.testimonial-swiper {
    overflow: visible;
}

.swiper-pagination {
    position: relative;
    margin-top: 1.2rem;
}

.cabin-detail-slider-shell {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.cabin-detail-swiper {
    width: 100%;
    overflow: hidden;
}

.cabin-detail-swiper .swiper-slide {
    width: 100% !important;
    flex-shrink: 0;
}

.cabin-detail-swiper .swiper-slide img,
.cabin-detail-hero-image {
    width: 100%;
    height: 610px;
    object-fit: cover;
    display: block;
}

@media (max-width: 1200px) {
    .gallery-masonry { column-count: 2; }
    .gallery-image-button:nth-child(6n + 1),
    .gallery-image-button:nth-child(6n + 2),
    .gallery-image-button:nth-child(6n + 3),
    .gallery-image-button:nth-child(6n + 4),
    .gallery-image-button:nth-child(6n + 5),
    .gallery-image-button:nth-child(6n + 6) { grid-column: span 6; }

    .cabins-search-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cabins-search-btn {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991px) {
    .premium-navbar {
        background: rgba(26, 21, 17, 0.84);
        backdrop-filter: blur(10px);
    }

    .premium-navbar .navbar-collapse {
        margin-top: 0.8rem;
        border-radius: 1rem;
        padding: 0.7rem;
        background: rgba(0, 0, 0, 0.25);
    }

    .section-premium {
        padding: 4.2rem 0;
    }

    .hero-premium {
        min-height: 88vh;
    }

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

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

    .availability-cabin-select {
        min-width: 100%;
    }

    .cabins-cta-col {
        border-left: 0;
        border-top: 1px solid rgba(104, 84, 58, 0.18);
    }

    .gallery-album-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .gallery-lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .cabin-detail-sidebar {
        position: static !important;
    }

    .cabin-detail-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .gallery-masonry { column-count: 1; }
    .cabin-media img { height: 220px; }
    .cabin-detail-hero-image { min-height: 300px; max-height: 420px; }
    .hero-premium { padding-top: 6.6rem; }
    .scroll-indicator { display: none; }

    .cabins-search-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-swiper .swiper-slide img{
        height: 360px;
    }

    .cabins-media {
        min-height: 240px;
    }
    
    .cabin-detail-swiper .swiper-slide img,
    .cabin-detail-hero-image {
        height: 360px;
        min-height: 360px;
        max-height: 360px;
    }

    .gallery-album-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .gallery-image-button:nth-child(6n + 1),
    .gallery-image-button:nth-child(6n + 2),
    .gallery-image-button:nth-child(6n + 3),
    .gallery-image-button:nth-child(6n + 4),
    .gallery-image-button:nth-child(6n + 5),
    .gallery-image-button:nth-child(6n + 6) {
        grid-column: span 1;
    }

    .gallery-image-button img {
        min-height: 150px;
    }

    .gallery-lightbox {
        padding: 0.65rem;
    }

    .gallery-lightbox-nav.is-prev { left: 0.45rem; }
    .gallery-lightbox-nav.is-next { right: 0.45rem; }

    .cabin-detail-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cabin-detail-title {
        font-size: 1.9rem;
    }

    .cabin-detail-nav {
        width: 40px;
        height: 40px;
    }
}
