/* ==========================================================================
   AURA GRAND LUXE - "CEYLON EMERALD & TEMPLE GOLD" DESIGN SYSTEM
   Tea-country emerald + antique temple gold on ivory, with a touch of flag maroon.
   Every page uses these tokens; the class names (luxe-*, btn-luxe-*) are shared app-wide.
   ========================================================================== */

:root {
    /* ---- Brand palette: "Ceylon Emerald & Temple Gold" ----
       lagoon-* = tea-country emerald, sunset-* = antique temple gold, sand-* = ivory, maroon-* = flag maroon */
    --lagoon-950: #04140F;
    --lagoon-900: #0B2A22;           /* deep emerald - navbar, dark surfaces */
    --lagoon-800: #10392E;
    --lagoon-700: #154A3B;
    --lagoon-600: #1C6150;
    --lagoon-500: #23806A;           /* primary emerald */
    --lagoon-400: #3FA088;
    --lagoon-200: #B5DCCD;
    --lagoon-100: #DEF0E8;
    --lagoon-50:  #EFF8F3;

    --sunset-600: #8F6416;           /* gold text on light backgrounds */
    --sunset-500: #C9A14A;           /* temple gold */
    --sunset-400: #D9B566;
    --sunset-300: #E8CC88;           /* champagne - gold text on dark backgrounds */
    --sunset-100: #F5EBD3;
    --sunset-50:  #FBF6EA;

    --maroon-700: #5E1220;
    --maroon-600: #7A1A2A;
    --maroon-500: #962638;

    --sand-50:  #FBF8F1;             /* page background (ivory) */
    --sand-100: #F4EEE1;
    --sand-200: #E8DEC9;

    --grad-sunset: linear-gradient(135deg, #B8862E 0%, #E6C77E 48%, #C9A14A 100%);
    --grad-sunset-hover: linear-gradient(135deg, #C4923A 0%, #F0D490 48%, #D3AB55 100%);
    --grad-lagoon: linear-gradient(135deg, #0B2A22 0%, #154A3B 55%, #23806A 100%);
    --grad-lagoon-soft: linear-gradient(160deg, #10392E 0%, #1C6150 100%);
    --grad-maroon: linear-gradient(140deg, #4A0E19 0%, #7A1A2A 55%, #962638 100%);

    /* ---- Legacy names (used across templates) mapped to the new palette ---- */
    --brand-primary: var(--lagoon-900);
    --brand-primary-light: var(--lagoon-700);
    --brand-gold: var(--sunset-500);
    --brand-gold-light: var(--sunset-300);
    --brand-gold-hover: var(--sunset-600);
    --brand-accent: var(--lagoon-500);
    --brand-accent-hover: var(--lagoon-600);
    --brand-success: #0F9D6B;
    --brand-success-light: #E7F8F0;
    --brand-danger: #E23D52;
    --brand-danger-light: #FFF0F2;
    --brand-warning: #E08A1E;
    --brand-warning-light: #FFF6E8;
    --brand-info: var(--lagoon-500);
    --brand-info-light: var(--lagoon-50);

    /* ---- Surfaces & text ---- */
    --bg-page: var(--sand-50);
    --bg-surface: #FFFFFF;
    --bg-surface-elevated: #FFFFFF;
    --border-color: #E7E0D4;
    --border-light: #F1ECE3;

    --text-primary: #0E2329;
    --text-secondary: #42575C;
    --text-muted: #66797D;
    --text-light: #9DB0B3;

    /* ---- Elevation ---- */
    --shadow-subtle: 0 1px 2px rgba(11, 42, 34, 0.05);
    --shadow-card: 0 6px 20px -8px rgba(11, 42, 34, 0.12), 0 2px 6px -2px rgba(11, 42, 34, 0.06);
    --shadow-card-hover: 0 22px 40px -14px rgba(11, 42, 34, 0.25), 0 8px 16px -8px rgba(11, 42, 34, 0.1);
    --shadow-dropdown: 0 24px 48px -12px rgba(11, 42, 34, 0.25);
    --shadow-glow-gold: 0 8px 24px -6px rgba(201, 161, 74, 0.55);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);

    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* ---- Bootstrap 5.3 theme overrides so utility classes match the palette ---- */
    --bs-primary: #23806A;
    --bs-primary-rgb: 35, 128, 106;
    --bs-warning: #C9A14A;
    --bs-warning-rgb: 201, 161, 74;
    --bs-success: #0F9D6B;
    --bs-success-rgb: 15, 157, 107;
    --bs-danger: #E23D52;
    --bs-danger-rgb: 226, 61, 82;
    --bs-dark: #0B2A22;
    --bs-dark-rgb: 11, 42, 34;
    --bs-link-color: #1C6150;
    --bs-link-color-rgb: 28, 97, 80;
    --bs-link-hover-color: #8F6416;
    --bs-link-hover-color-rgb: 143, 100, 22;
    --bs-body-font-family: var(--font-body);
    --bs-primary-bg-subtle: var(--lagoon-50);
    --bs-primary-border-subtle: var(--lagoon-200);
    --bs-primary-text-emphasis: var(--lagoon-700);
    --bs-warning-bg-subtle: var(--sunset-50);
    --bs-warning-border-subtle: var(--sunset-100);
    --bs-focus-ring-color: rgba(35, 128, 106, 0.25);
}

/* ==========================================================================
   BASE
   ========================================================================== */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

main.app-content { flex: 1 0 auto; }

h1, h2, h3, .heading-serif {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--lagoon-900);
}

h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: -0.005em;
}

.font-brand { font-family: var(--font-display); letter-spacing: 0.08em; }

::selection { background: var(--sunset-100); color: var(--lagoon-900); }

a { text-underline-offset: 3px; }

.text-gradient-sunset,
.text-gradient-sunset .word {
    background: var(--grad-sunset);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    padding-right: 0.06em;   /* keep italic glyph overhang inside the painted box */
}

/* Bootstrap components re-tinted */
.btn-dark {
    --bs-btn-bg: var(--lagoon-900);
    --bs-btn-border-color: var(--lagoon-900);
    --bs-btn-hover-bg: var(--lagoon-700);
    --bs-btn-hover-border-color: var(--lagoon-700);
    --bs-btn-active-bg: var(--lagoon-800);
    --bs-btn-active-border-color: var(--lagoon-800);
}
.btn-outline-dark {
    --bs-btn-color: var(--lagoon-900);
    --bs-btn-border-color: rgba(11, 42, 34, 0.35);
    --bs-btn-hover-bg: var(--lagoon-900);
    --bs-btn-hover-border-color: var(--lagoon-900);
    --bs-btn-active-bg: var(--lagoon-800);
}
.btn-primary {
    --bs-btn-bg: var(--lagoon-500);
    --bs-btn-border-color: var(--lagoon-500);
    --bs-btn-hover-bg: var(--lagoon-600);
    --bs-btn-hover-border-color: var(--lagoon-600);
    --bs-btn-active-bg: var(--lagoon-700);
}
.btn-outline-primary {
    --bs-btn-color: var(--lagoon-600);
    --bs-btn-border-color: var(--lagoon-400);
    --bs-btn-hover-bg: var(--lagoon-500);
    --bs-btn-hover-border-color: var(--lagoon-500);
    --bs-btn-active-bg: var(--lagoon-600);
}
.btn-warning {
    --bs-btn-bg: var(--sunset-300);
    --bs-btn-border-color: var(--sunset-300);
    --bs-btn-hover-bg: var(--sunset-400);
    --bs-btn-hover-border-color: var(--sunset-400);
    --bs-btn-color: var(--lagoon-900);
    --bs-btn-hover-color: var(--lagoon-900);
}
.form-control:focus, .form-select:focus, .form-check-input:focus {
    border-color: var(--lagoon-400);
    box-shadow: 0 0 0 0.22rem rgba(35, 128, 106, 0.18);
}
.form-check-input:checked { background-color: var(--lagoon-500); border-color: var(--lagoon-500); }
.nav-pills { --bs-nav-pills-link-active-bg: var(--lagoon-900); --bs-nav-link-color: var(--lagoon-700); --bs-nav-link-hover-color: var(--sunset-600); }
.nav-pills .nav-link { border-radius: var(--radius-full); font-weight: 500; }
.progress-bar.bg-warning { background: var(--grad-sunset) !important; }
.breadcrumb-item a { color: var(--text-muted); }
.dropdown-menu { border: 1px solid var(--border-light); border-radius: var(--radius-md); }
.alert { border-radius: var(--radius-md); }
.modal-content { border-radius: var(--radius-lg); border: none; box-shadow: var(--shadow-dropdown); }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.luxe-navbar {
    background: rgba(11, 42, 34, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0.7rem 0;
    transition: background var(--transition-base), padding var(--transition-base), box-shadow var(--transition-base);
}

/* Home page: transparent over the hero, turns solid once scrolled (site.js adds .is-scrolled) */
.luxe-navbar.navbar-overlay {
    position: fixed;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom-color: transparent;
    padding: 1.1rem 0;
}
.luxe-navbar.navbar-overlay.is-scrolled,
.luxe-navbar.navbar-overlay:has(.navbar-collapse.show) {
    background: rgba(11, 42, 34, 0.97);
    border-bottom-color: rgba(255, 255, 255, 0.07);
    padding: 0.65rem 0;
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.45);
}

.luxe-brand-logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }

.luxe-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--grad-sunset);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lagoon-900);
    font-size: 1.2rem;
    box-shadow: 0 6px 16px -4px rgba(201, 161, 74, 0.6);
    transition: transform 0.5s var(--ease-out-back);
}
.luxe-brand-logo:hover .luxe-brand-icon { transform: rotate(-8deg) scale(1.06); }

.luxe-brand-text { display: flex; flex-direction: column; }

.luxe-brand-title {
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.1;
}

.luxe-brand-subtitle {
    color: var(--sunset-300);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.luxe-nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem !important;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    text-decoration: none;
    transition: all var(--transition-fast);
}
.luxe-nav-link:hover { color: #FFFFFF !important; background: rgba(255, 255, 255, 0.1); }
.luxe-nav-link.active { color: var(--lagoon-900) !important; background: var(--sunset-300); font-weight: 600; }
.luxe-nav-link.active i { color: var(--lagoon-900) !important; }

.luxe-user-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-full);
    padding: 0.3rem 0.85rem 0.3rem 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFFFFF;
    font-size: 0.82rem;
    transition: background var(--transition-fast);
}
.luxe-user-chip:hover { background: rgba(255, 255, 255, 0.16); }

.luxe-avatar {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--grad-sunset);
    color: var(--lagoon-900);
    font-weight: 700;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.luxe-role-pill {
    padding: 0.18rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.role-admin { background: #FDE2E6; color: #B4233A; }
.role-manager { background: var(--sunset-100); color: #A8401F; }
.role-agent { background: #EDE7FB; color: #5B3BB0; }
.role-user { background: var(--lagoon-100); color: var(--lagoon-700); }

/* ==========================================================================
   CARDS, SURFACES, PAGE HEADERS
   ========================================================================== */
.luxe-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    overflow: hidden;
}
.luxe-card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--lagoon-200); }

.luxe-card-header { background: #FFFFFF; border-bottom: 1px solid var(--border-light); padding: 1.25rem 1.5rem; }
.luxe-card-header.dark { background: var(--grad-lagoon-soft); color: #FFFFFF; border-bottom: none; }
.luxe-card-header.dark h4, .luxe-card-header.dark h5 { color: #FFFFFF; }
.luxe-card-body { padding: 1.5rem; }

/* Page header banner used on inner pages */
.luxe-hero-banner {
    background: var(--grad-lagoon);
    color: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 50px -24px rgba(11, 42, 34, 0.6);
    isolation: isolate;
}
.luxe-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 220px at 100% 0%, rgba(232, 204, 136, 0.32), transparent 70%),
        radial-gradient(420px 260px at 0% 100%, rgba(63, 160, 136, 0.35), transparent 70%);
    z-index: -1;
}
.luxe-hero-banner::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.03), 0 0 0 80px rgba(255, 255, 255, 0.02);
    pointer-events: none;
    z-index: -1;
}
.luxe-hero-banner h1, .luxe-hero-banner h2 { color: #FFFFFF; }

/* KPI tiles */
.kpi-stat-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}
.kpi-stat-card:hover { border-color: var(--lagoon-200); transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.kpi-icon-box {
    width: 50px; height: 50px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; flex-shrink: 0;
}
.kpi-blue   { background: var(--lagoon-50);  color: var(--lagoon-600); }
.kpi-gold   { background: var(--sunset-50);  color: var(--sunset-600); }
.kpi-green  { background: #E7F8F0; color: #0F9D6B; }
.kpi-purple { background: #F1ECFC; color: #6A47C9; }
.kpi-red    { background: #FFEFF1; color: #D8344B; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-luxe-primary, .btn-luxe-gold, .btn-luxe-success, .btn-luxe-outline {
    font-weight: 600;
    padding: 0.6rem 1.3rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}
.btn-luxe-primary {
    background: var(--lagoon-900);
    color: #FFFFFF;
    border: 1px solid var(--lagoon-900);
    box-shadow: 0 6px 16px -8px rgba(11, 42, 34, 0.6);
}
.btn-luxe-primary:hover { background: var(--lagoon-700); border-color: var(--lagoon-700); color: #FFFFFF; transform: translateY(-2px); }

.btn-luxe-gold {
    background: var(--grad-sunset);
    color: var(--lagoon-900);
    border: none;
    box-shadow: 0 10px 22px -10px rgba(201, 161, 74, 0.9);
    position: relative;
    overflow: hidden;
}
.btn-luxe-gold::after {
    /* light sweep on hover */
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: -60%;
    width: 50%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
.btn-luxe-gold:hover { background: var(--grad-sunset-hover); color: var(--lagoon-900); transform: translateY(-2px); box-shadow: var(--shadow-glow-gold); }
.btn-luxe-gold:hover::after { left: 120%; }
.btn-luxe-gold:disabled { opacity: 0.55; transform: none; box-shadow: none; }

.btn-luxe-success { background: #0F9D6B; color: #FFFFFF; border: none; }
.btn-luxe-success:hover { background: #0B8459; color: #FFFFFF; transform: translateY(-2px); }

.btn-luxe-outline { background: transparent; color: var(--lagoon-900); border: 1px solid var(--border-color); }
.btn-luxe-outline:hover { background: var(--sand-100); border-color: var(--sand-200); color: var(--lagoon-900); }

.btn-glass {
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    font-weight: 500;
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.25); color: #FFFFFF; }

/* ==========================================================================
   STATUS PILLS
   ========================================================================== */
.luxe-pill {
    padding: 0.28rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-transform: uppercase;
}
.luxe-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; display: inline-block; }

.pill-approved, .pill-resolved, .pill-available, .pill-active { background: #E3F6EE; color: #0B7A53; border: 1px solid #C3EBD9; }
.pill-approved::before, .pill-resolved::before, .pill-available::before, .pill-active::before { background: #10A774; }

.pill-pending, .pill-re-requested, .pill-warning { background: #FFF3E2; color: #A15A0B; border: 1px solid #FCDDB5; }
.pill-pending::before, .pill-re-requested::before, .pill-warning::before { background: #F0962B; }

.pill-cancelled, .pill-rejected, .pill-occupied, .pill-inactive { background: #FDE8EB; color: #B4233A; border: 1px solid #F8C9D1; }
.pill-cancelled::before, .pill-rejected::before, .pill-occupied::before, .pill-inactive::before { background: #E23D52; }

.pill-refund { background: #EFEAFB; color: #5B3BB0; border: 1px solid #DCD2F6; }
.pill-refund::before { background: #7A55D6; }

.pill-priority-high { background: #FFEFF1; color: #D8344B; border: 1px solid #FBD3D9; }
.pill-priority-high::before { background: #E23D52; animation: pulseGlow 1.5s infinite; }

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(226, 61, 82, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(226, 61, 82, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(226, 61, 82, 0); }
}

/* ==========================================================================
   TABLES
   ========================================================================== */
.luxe-table-container {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.luxe-table { margin-bottom: 0; width: 100%; }
.luxe-table thead th {
    background: var(--lagoon-900);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1rem 1.15rem;
    border: none;
}
.luxe-table tbody td {
    padding: 1rem 1.15rem;
    vertical-align: middle;
    font-size: 0.9rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    transition: background-color var(--transition-fast);
}
.luxe-table tbody tr:hover td { background-color: var(--lagoon-50); }
.luxe-table tbody tr:last-child td { border-bottom: none; }

/* ==========================================================================
   HOTEL CARDS (search results, home page)
   ========================================================================== */
.hotel-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.hotel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.hotel-card-media { position: relative; overflow: hidden; display: block; }
.hotel-card-image {
    height: 210px;
    width: 100%;
    object-fit: cover;
    background: var(--grad-lagoon-soft);
    display: block;
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hotel-card:hover .hotel-card-image { transform: scale(1.07); }
.hotel-card-badge { position: absolute; top: 12px; right: 12px; }

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--lagoon-900);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.3);
}
.rating-badge i { color: #F5A524; }

.amenity-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lagoon-700);
    background: var(--lagoon-50);
    border: 1px solid var(--lagoon-100);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
}

/* ==========================================================================
   COUPONS
   ========================================================================== */
.coupon-ticket {
    background: linear-gradient(135deg, var(--sunset-50) 0%, #FFFFFF 100%);
    border: 2px dashed var(--sunset-400);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-fast);
}
.coupon-ticket:hover { box-shadow: var(--shadow-card-hover); border-color: var(--sunset-600); }

.coupon-code-pill {
    background: var(--lagoon-900);
    color: var(--sunset-300);
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.12em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.coupon-code-pill:hover { background: var(--lagoon-700); box-shadow: var(--shadow-glow-gold); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.luxe-form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.68rem 0.95rem;
    font-size: 0.94rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    background-color: #FFFFFF;
}
.luxe-form-control:focus {
    border-color: var(--lagoon-400);
    box-shadow: 0 0 0 0.22rem rgba(35, 128, 106, 0.16);
    outline: none;
}
.luxe-form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.luxe-footer {
    background: var(--lagoon-950);
    color: rgba(255, 255, 255, 0.62);
    padding: 4rem 0 1.75rem;
    margin-top: 5rem;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.luxe-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 300px at 85% 0%, rgba(35, 128, 106, 0.28), transparent 70%),
                radial-gradient(500px 260px at 0% 100%, rgba(201, 161, 74, 0.14), transparent 70%);
    z-index: -1;
}
.luxe-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color var(--transition-fast); }
.luxe-footer a:hover { color: var(--sunset-300); }
.footer-heading {
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.08); color: #FFFFFF;
    transition: all var(--transition-fast);
}
.footer-social a:hover { background: var(--grad-sunset); color: var(--lagoon-900); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 2.5rem; padding-top: 1.5rem; }

/* ==========================================================================
   TOAST
   ========================================================================== */
.luxe-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--lagoon-900);
    color: #FFFFFF;
    padding: 0.8rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-dropdown);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1090;
    border-left: 4px solid var(--sunset-500);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.luxe-toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ==========================================================================
   REVIEWS: star input
   ========================================================================== */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 0.25rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; color: #D9D2C5; cursor: pointer; transition: color var(--transition-fast), transform var(--transition-fast); }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #F5A524; }
.star-input label:hover { transform: scale(1.15); }
.star-input input:focus-visible + label { outline: 2px solid var(--lagoon-500); border-radius: 4px; }

/* ==========================================================================
   NOTIFICATION BELL
   ========================================================================== */
.luxe-bell { position: relative; color: #FFFFFF; font-size: 1.25rem; line-height: 1; }
.luxe-bell:hover { color: var(--sunset-300); }
.luxe-bell-count {
    position: absolute; top: -6px; right: -9px;
    background: var(--sunset-500); color: var(--lagoon-900);
    font-size: 0.65rem; font-weight: 700; border-radius: var(--radius-full);
    padding: 0.1rem 0.35rem; min-width: 1.1rem; text-align: center;
    box-shadow: 0 0 0 2px var(--lagoon-900);
    animation: bellPop 0.6s var(--ease-out-back);
}
@keyframes bellPop { from { transform: scale(0); } to { transform: scale(1); } }
.luxe-notification-menu { width: 340px; max-width: 90vw; }
.luxe-notification-menu .dropdown-item { white-space: normal; }
.notification-unread { background: var(--sunset-50); }

/* ==========================================================================
   ADMIN CHARTS (single-series columns; data palette slot 1 stays blue on purpose)
   ========================================================================== */
.viz-bars {
    --series-1: #2a78d6;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 200px;
    border-bottom: 1px solid var(--border-color);
    padding-top: 1.25rem;
}
.viz-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; outline: none; cursor: default; }
.viz-bar { width: 100%; max-width: 24px; min-height: 2px; background: var(--series-1); border-radius: 4px 4px 0 0; transition: opacity var(--transition-fast); }
.viz-col:hover .viz-bar, .viz-col:focus .viz-bar { opacity: 0.8; }
.viz-col:focus-visible .viz-bar { outline: 2px solid var(--text-primary); outline-offset: 2px; }
.viz-val { font-size: 0.72rem; color: var(--text-secondary); margin-bottom: 2px; }
.viz-label { position: absolute; bottom: -1.4rem; font-size: 0.72rem; color: var(--text-muted); white-space: nowrap; }
.viz-bars + details { margin-top: 1.9rem !important; }
.viz-tooltip {
    position: absolute; transform: translate(-50%, -100%);
    background: var(--lagoon-900); color: #FFFFFF; font-size: 0.75rem;
    padding: 0.3rem 0.55rem; border-radius: var(--radius-sm); pointer-events: none;
    opacity: 0; transition: opacity var(--transition-fast); z-index: 1080;
}
.viz-tooltip.show { opacity: 1; }

/* ==========================================================================
   SCROLL-REVEAL ANIMATIONS (site.js adds .is-visible)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0s);
}
.reveal.reveal-left { transform: translateX(-36px); }
.reveal.reveal-right { transform: translateX(36px); }
.reveal.reveal-zoom { transform: scale(0.94); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   HOME PAGE - "Ceylon" landing: arched photo stage, island route map, temple-gold details
   ========================================================================== */
.page-home main.app-content { padding-top: 0; }
.page-home .luxe-footer { margin-top: 0; }

/* Lotus ornament used as an icon and a section divider */
.lotus { display: inline-block; width: 1.4em; height: 0.9em; vertical-align: -0.1em; }
.lotus, .lotus path { fill: currentColor; }
.lotus-divider { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--sunset-500); margin: 0 auto; max-width: 420px; }
.lotus-divider::before, .lotus-divider::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--sunset-400)); }
.lotus-divider::after { background: linear-gradient(90deg, var(--sunset-400), transparent); }
.lotus-divider .lotus { width: 42px; height: 26px; }

/* ---- Hero ---- */
.home-hero {
    position: relative;
    min-height: 100vh;
    padding: 8rem 0 7.5rem;
    background: var(--lagoon-950);
    color: #FFFFFF;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
}
.home-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(900px 600px at 80% 30%, rgba(35, 128, 106, 0.55), transparent 65%),
        radial-gradient(700px 500px at 5% 95%, rgba(201, 161, 74, 0.22), transparent 65%),
        radial-gradient(500px 400px at 40% 0%, rgba(122, 26, 42, 0.35), transparent 70%),
        linear-gradient(160deg, #04140F 0%, #0B2A22 50%, #10392E 100%);
}
.home-hero-bg::after {
    /* pre-blurred photo wash - only a cheap transform animates */
    content: '';
    position: absolute;
    inset: -40px;
    background: url('/images/stays/hero-wash.jpg') center/cover no-repeat;
    opacity: 0.12;
    mix-blend-mode: luminosity;
    will-change: transform;
    animation: heroDrift 28s ease-in-out infinite alternate;
}
@keyframes heroDrift { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.15) translate(-2%, -3%); } }

/* Kandyan-style lattice pattern in faint gold */
.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23E8CC88' stroke-opacity='.10'%3E%3Cpath d='M36 2 L70 36 L36 70 L2 36Z'/%3E%3Ccircle cx='36' cy='36' r='5'/%3E%3Cpath d='M36 22 C40 30 40 42 36 50 C32 42 32 30 36 22Z'/%3E%3C/g%3E%3C/svg%3E");
    mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 70%);
}

/* rising gold dust */
.hero-dust { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-dust span {
    position: absolute;
    bottom: -12px;
    left: var(--x);
    width: var(--s, 3px);
    height: var(--s, 3px);
    border-radius: 50%;
    background: var(--sunset-300);
    box-shadow: 0 0 8px rgba(232, 204, 136, 0.9);
    opacity: 0;
    will-change: transform, opacity;
    animation: dustRise var(--t, 14s) linear infinite;
    animation-delay: var(--d, 0s);
}
@keyframes dustRise {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 0.8; }
    80% { opacity: 0.5; }
    100% { transform: translate(40px, -105vh); opacity: 0; }
}

.hero-greet {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.7rem;
    border: 1px solid rgba(232, 204, 136, 0.35);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.45rem 1.1rem 0.45rem 0.55rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
}
.hero-greet .lotus-badge {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--grad-sunset); color: var(--lagoon-900);
    display: inline-flex; align-items: center; justify-content: center;
}
.hero-greet .lotus-badge .lotus { width: 18px; height: 12px; }
.hero-greet .si { font-family: 'Noto Serif Sinhala', serif; color: var(--sunset-300); }
.hero-greet .ta { font-family: 'Noto Sans Tamil', sans-serif; color: var(--sunset-300); font-size: 0.82rem; }
.hero-greet .sep { color: rgba(232, 204, 136, 0.5); }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6.6vw, 5.8rem);
    line-height: 0.98;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.015em;
    margin: 1.5rem 0 0.6rem;
}
.hero-title em { font-style: italic; font-weight: 500; }
.text-gradient-gold, .text-gradient-gold .word {
    background: linear-gradient(100deg, #C9A14A 0%, #F3DC9F 30%, #C9A14A 55%, #F3DC9F 80%, #C9A14A 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    padding-right: 0.08em;
    animation: goldShimmer 7s linear infinite;
}
@keyframes goldShimmer { to { background-position: -220% 0; } }

/* "Wake up ..." line with rotating endings */
.hero-rotator {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    flex-wrap: wrap;
}
.hero-rotator .rot-window { display: inline-block; height: 1.25em; overflow: hidden; vertical-align: bottom; }
.hero-rotator .rot-track { display: flex; flex-direction: column; animation: rotWords 14s cubic-bezier(0.7, 0, 0.3, 1) infinite; }
.hero-rotator .rot-track span { display: block; height: 1.25em; line-height: 1.25em; color: var(--sunset-300); white-space: nowrap; }
@keyframes rotWords {
    0%, 17%   { transform: translateY(0); }
    20%, 37%  { transform: translateY(-1.25em); }
    40%, 57%  { transform: translateY(-2.5em); }
    60%, 77%  { transform: translateY(-3.75em); }
    80%, 97%  { transform: translateY(-5em); }
    100%      { transform: translateY(-6.25em); }
}

.hero-lead { font-size: 1.12rem; color: rgba(255, 255, 255, 0.72); max-width: 560px; margin-top: 1.1rem; font-weight: 300; }

/* word-by-word entrance */
.hero-title .word { display: inline-block; opacity: 0; transform: translateY(0.5em); filter: none; animation: wordIn 1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Booking search */
.hero-search {
    background: #FFFFFF;
    border-radius: 22px;
    padding: 0.55rem;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(232, 204, 136, 0.35);
    margin-top: 2rem;
    color: var(--text-primary);
    display: grid;
    grid-template-columns: 1.1fr 1.15fr 1.15fr 0.7fr auto;
    gap: 0.15rem;
    align-items: stretch;
}
.hero-search .field { padding: 0.55rem 0.95rem; border-radius: 16px; transition: background var(--transition-fast); min-width: 0; }
.hero-search .field + .field { border-left: 1px solid var(--border-light); }
.hero-search .field:hover, .hero-search .field:focus-within { background: var(--sand-50); }
.hero-search label {
    display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--sunset-600); margin-bottom: 0.1rem;
}
.hero-search input, .hero-search select {
    border: none; padding: 0; width: 100%; background: transparent;
    font-size: 0.97rem; font-weight: 500; color: var(--text-primary); outline: none;
}
.hero-search .btn-search { min-height: 60px; border-radius: 17px; font-size: 1rem; padding: 0 1.5rem; }
.hero-quick a {
    color: rgba(255, 255, 255, 0.85); text-decoration: none;
    border: 1px solid rgba(232, 204, 136, 0.3);
    padding: 0.3rem 0.9rem; border-radius: var(--radius-full); font-size: 0.85rem;
    transition: all var(--transition-fast);
}
.hero-quick a:hover { background: var(--sunset-300); border-color: var(--sunset-300); color: var(--lagoon-900); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.6rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); }
.hero-trust i { color: var(--sunset-300); margin-right: 0.35rem; }

/* Photo stage: layered rounded frames like postcards on a table */
.arch-stage { position: relative; height: 620px; }
.arch-main, .arch-outline, .arch-small {
    position: absolute;
    border-radius: 30px;
}
.arch-main {
    right: 7%; top: 0; width: 60%; height: 90%;
    overflow: hidden; z-index: 2;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.arch-outline {
    right: 7%; top: 0; width: 60%; height: 90%;
    border: 1.5px solid rgba(232, 204, 136, 0.6);
    background: rgba(232, 204, 136, 0.05);
    z-index: 1;
    rotate: 5deg;
    animation: archBreath 7s ease-in-out infinite alternate;
}
@keyframes archBreath { from { rotate: 4deg; } to { rotate: 7deg; } }
.arch-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.arch-slide.is-active { opacity: 1; }
.arch-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); }
.arch-slide.is-active img { animation: kenBurns 7s ease-out forwards; }
@keyframes kenBurns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.16) translate(-2%, -2%); } }
.arch-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 20, 15, 0.75)); }
.arch-caption {
    position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.3rem; z-index: 2;
    opacity: 0; transform: translateY(12px);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}
.arch-slide.is-active .arch-caption { opacity: 1; transform: none; }
.arch-caption small { color: var(--sunset-300); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.7rem; font-weight: 600; }
.arch-caption strong { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; line-height: 1.1; }

.arch-small {
    left: 0; bottom: 4%; width: 36%; height: 40%;
    border-radius: 22px;
    rotate: -5deg;
    overflow: hidden; z-index: 3;
    border: 6px solid var(--sand-50);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    animation: floatY 7s ease-in-out infinite alternate;
}
.arch-small img { width: 100%; height: 100%; object-fit: cover; }
.arch-small .tag {
    position: absolute; left: 50%; bottom: 0.7rem; transform: translateX(-50%);
    background: rgba(4, 20, 15, 0.78); color: #FFFFFF; font-size: 0.72rem; white-space: nowrap;
    padding: 0.2rem 0.7rem; border-radius: var(--radius-full);
}
@keyframes floatY { from { translate: 0 0; } to { translate: 0 -14px; } }

.arch-dots { position: absolute; right: 7%; width: 60%; bottom: -1%; display: flex; gap: 0.4rem; justify-content: center; z-index: 3; }
.arch-dots button {
    width: 34px; height: 4px; border: none; padding: 0; border-radius: 4px;
    background: rgba(255, 255, 255, 0.22); position: relative; overflow: hidden; cursor: pointer;
}
.arch-dots button::after { content: ''; position: absolute; inset: 0; background: var(--sunset-300); transform: scaleX(0); transform-origin: left; }
.arch-dots button.is-active::after { animation: dotFill var(--slide-ms, 5500ms) linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }

/* Moonstone / mandala rings behind the arch */
.hero-mandala {
    position: absolute; z-index: 0; width: 640px; height: 640px;
    right: -120px; top: 50%; margin-top: -320px;
    color: var(--sunset-300); opacity: 0.22; pointer-events: none;
}
.hero-mandala svg { width: 100%; height: 100%; animation: spin 140s linear infinite; }
.hero-mandala .inner { transform-origin: 320px 320px; animation: spin 90s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-float-card {
    position: absolute; z-index: 4;
    background: rgba(255, 255, 255, 0.97); color: var(--lagoon-900);
    border-radius: 18px; padding: 0.75rem 1rem;
    box-shadow: 0 24px 44px -18px rgba(0, 0, 0, 0.6);
    display: flex; align-items: center; gap: 0.7rem; font-size: 0.85rem;
    animation: floatY 5s ease-in-out infinite alternate;
}
.hero-float-card .icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.hero-float-card.c1 { right: -1%; top: 16%; animation-delay: -2s; }
.hero-float-card.c2 { right: 0; bottom: 18%; animation-delay: -4s; }
.hero-float-card .clock { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 2; }
.hero-wave svg { width: 100%; height: 90px; display: block; }
.hero-wave path { fill: var(--sand-50); }
.hero-wave path.gold { fill: none; stroke: rgba(232, 204, 136, 0.5); stroke-width: 1.5; }

.scroll-cue {
    position: absolute; left: 50%; bottom: 100px; transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.65); font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem; z-index: 3;
}
.scroll-cue span { width: 22px; height: 36px; border: 2px solid rgba(232, 204, 136, 0.6); border-radius: 12px; position: relative; }
.scroll-cue span::after {
    content: ''; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px;
    background: var(--sunset-300); border-radius: 2px; animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---- Sections ---- */
.home-section { padding: 6rem 0; position: relative; }
.home-section.tight { padding: 3.5rem 0; }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 0.6rem;
    color: var(--sunset-600); font-weight: 600; font-size: 0.78rem;
    letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 0.7rem;
}
.section-eyebrow::before { content: ''; width: 30px; height: 1.5px; background: var(--grad-sunset); border-radius: 2px; }
.section-title { font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1.04; margin-bottom: 0.9rem; font-weight: 600; }
.section-title em { font-style: italic; font-weight: 500; color: var(--lagoon-500); }
.section-lead { color: var(--text-secondary); font-size: 1.08rem; max-width: 620px; font-weight: 300; }

/* Stats */
.stat-strip {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px -30px rgba(11, 42, 34, 0.35);
    border: 1px solid var(--sunset-100);
    margin-top: -3.5rem; position: relative; z-index: 3; overflow: hidden;
}
.stat-strip::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-sunset); }
.stat-item { padding: 1.8rem 1rem; text-align: center; }
.stat-item + .stat-item { border-left: 1px solid var(--border-light); }
.stat-number { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--lagoon-900); line-height: 1; }
.stat-label { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.4rem; letter-spacing: 0.02em; }
.stat-icon { color: var(--sunset-500); font-size: 1.3rem; margin-bottom: 0.4rem; }

/* Island story ("Serendib") */
.story-photo { position: relative; height: 100%; min-height: 460px; }
.story-photo .ph {
    position: absolute; overflow: hidden; border-radius: 26px;
    box-shadow: var(--shadow-card-hover);
}
.story-photo .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.story-photo .ph:hover img { transform: scale(1.06); }
.story-photo .ph.a { left: 0; top: 0; width: 56%; height: 86%; }
.story-photo .ph.b { right: 0; bottom: 0; width: 46%; height: 62%; border: 6px solid var(--sand-50); }
.story-photo .seal {
    position: absolute; right: 8%; top: 4%; width: 112px; height: 112px; z-index: 2;
    color: var(--sunset-600);
}
.story-photo .seal svg { width: 100%; height: 100%; animation: spin 30s linear infinite; }
/* Only the text ring spins; the lotus is centred with margin:auto (a transform would be overridden by the spin) */
.story-photo .seal .lotus { position: absolute; inset: 0; margin: auto; width: 38px; height: 24px; color: var(--sunset-500); animation: none; }
.drop-cap::first-letter {
    font-family: var(--font-display); float: left; font-size: 4.2rem; line-height: 0.8;
    padding: 0.35rem 0.6rem 0 0; color: var(--sunset-500); font-weight: 700;
}
.fact-tile {
    border-top: 1px solid var(--sand-200); padding: 1.1rem 0 0.2rem;
}
.fact-tile .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--lagoon-900); line-height: 1; }
.fact-tile .num small { font-size: 1.4rem; color: var(--sunset-500); }
.fact-tile .lbl { font-size: 0.88rem; color: var(--text-muted); }

/* Island route map */
.map-section {
    background: var(--lagoon-900);
    color: #FFFFFF;
    overflow: hidden;
    isolation: isolate;
}
.map-section::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(700px 500px at 85% 50%, rgba(35, 128, 106, 0.5), transparent 65%),
        radial-gradient(500px 400px at 0% 100%, rgba(201, 161, 74, 0.15), transparent 70%);
}
.map-section .section-title { color: #FFFFFF; }
.map-section .section-title em { color: var(--sunset-300); }
.map-section .section-eyebrow { color: var(--sunset-300); }
.map-section .section-lead { color: rgba(255, 255, 255, 0.7); }

.route-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.5rem; }
.route-list a {
    display: grid; grid-template-columns: 38px 1fr auto; gap: 0.9rem; align-items: center;
    padding: 0.7rem 0.9rem; border-radius: 16px; text-decoration: none; color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03);
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.route-list a:hover, .route-list a.is-hot { background: rgba(232, 204, 136, 0.1); border-color: rgba(232, 204, 136, 0.45); transform: translateX(6px); }
.route-list .n {
    width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
    border: 1px solid rgba(232, 204, 136, 0.5); color: var(--sunset-300);
}
.route-list a:hover .n, .route-list a.is-hot .n { background: var(--grad-sunset); color: var(--lagoon-900); border-color: transparent; }
.route-list strong { display: block; font-weight: 600; }
.route-list small { color: rgba(255, 255, 255, 0.55); }
.route-list .count { font-size: 0.78rem; color: var(--sunset-300); white-space: nowrap; }

.island-map {
    /* always shows the whole island: never taller than the viewport below the navbar */
    position: relative; margin: 0 auto; aspect-ratio: 430 / 725;
    width: min(100%, 470px, calc((100vh - 130px) * 430 / 725));
}
/* compact grid of every stop so the text and the whole island fit on one screen */
.route-list { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
.route-list a { grid-template-columns: 28px 1fr; gap: 0.6rem; padding: 0.45rem 0.6rem; border-radius: 12px; }
.route-list a:hover, .route-list a.is-hot { transform: translateY(-2px); }
.route-list .n { width: 28px; height: 28px; font-size: 0.85rem; }
.route-list .txt { min-width: 0; line-height: 1.15; }
.route-list strong { font-size: 0.86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.route-list small { font-size: 0.72rem; color: var(--sunset-300); }
@media (min-width: 576px) { .route-list { grid-template-columns: repeat(3, 1fr); } }

/* smaller pins for the other towns on the loop */
.map-pin.minor { width: 20px; height: 20px; }
.map-pin.minor .core { inset: 5px; box-shadow: 0 0 0 2px rgba(11, 42, 34, 0.9), 0 0 8px rgba(232, 204, 136, 0.7); }
.map-pin.minor .ring { border-width: 1.5px; opacity: 0.6; }
.map-pin.minor .name { font-size: 0.66rem; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.map-pin.drop .card-pop { bottom: auto; top: calc(100% + 12px); }

.map-sea {
    position: absolute; inset: -6% -10%; border-radius: 50%; z-index: 0; pointer-events: none;
    background: radial-gradient(closest-side, rgba(63, 160, 136, 0.28), rgba(63, 160, 136, 0.08) 60%, transparent 100%);
}
.map-sea::before, .map-sea::after {
    content: ''; position: absolute; inset: 14%; border-radius: 50%;
    border: 1px dashed rgba(232, 204, 136, 0.18); animation: spin 120s linear infinite;
}
.map-sea::after { inset: 4%; animation-duration: 180s; animation-direction: reverse; }
.map-icon {
    position: absolute; transform: translate(-50%, -50%); z-index: 3;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.95); box-shadow: 0 0 0 2px var(--sunset-400), 0 8px 18px -6px rgba(0, 0, 0, 0.6);
    display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1;
    cursor: default; animation: iconBob 4s ease-in-out infinite alternate;
    transition: transform 0.3s var(--ease-out-back);
}
.map-icon:nth-of-type(2n) { animation-delay: -2s; }
.map-icon:nth-of-type(3n) { animation-delay: -1s; }
@keyframes iconBob { from { translate: 0 0; } to { translate: 0 -4px; } }
.map-icon:hover, .map-icon:focus-visible { transform: translate(-50%, -50%) scale(1.25); z-index: 6; outline: none; }
.map-icon .tip {
    position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px);
    background: var(--lagoon-950); color: rgba(255, 255, 255, 0.8); border: 1px solid rgba(232, 204, 136, 0.4);
    font-size: 0.7rem; white-space: nowrap; padding: 0.3rem 0.6rem; border-radius: 10px;
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.25s ease; text-align: center;
}
.map-icon .tip strong { display: block; color: var(--sunset-300); font-size: 0.74rem; }
.map-icon:hover .tip, .map-icon:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }
.island-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.island-map .land { fill: url(#landGrad); stroke: var(--sunset-400); stroke-width: 1.4; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45)); }
.island-map .land-halo { fill: none; stroke: rgba(232, 204, 136, 0.18); stroke-width: 14; }
.island-map .route-bg { fill: none; stroke: rgba(232, 204, 136, 0.35); stroke-width: 1.6; stroke-dasharray: 4 6; }
.island-map .route-draw {
    fill: none; stroke: var(--sunset-300); stroke-width: 2.4; stroke-linecap: round;
    stroke-dasharray: 1; stroke-dashoffset: 1;
    transition: stroke-dashoffset 3.6s cubic-bezier(0.6, 0, 0.3, 1) 0.4s;
}
.island-map.is-visible .route-draw { stroke-dashoffset: 0; }
.island-map .traveller { fill: #FFFFFF; stroke: var(--sunset-500); stroke-width: 2; opacity: 0; transition: opacity 0.6s ease 3.6s; }
.island-map.is-visible .traveller { opacity: 1; }
.island-map .landmark circle { fill: rgba(255, 255, 255, 0.75); }
.island-map .landmark text { fill: rgba(255, 255, 255, 0.72); font-size: 10.5px; font-family: var(--font-body); letter-spacing: 0.04em; }
.island-map .compass { color: rgba(232, 204, 136, 0.6); }
.island-map .compass text { fill: currentColor; font-size: 12px; font-family: var(--font-display); font-weight: 700; }

.map-pin {
    position: absolute; transform: translate(-50%, -50%); z-index: 2;
    width: 30px; height: 30px; border-radius: 50%; border: none; padding: 0;
    background: transparent; cursor: pointer; text-decoration: none;
}
.map-pin .core {
    position: absolute; inset: 7px; border-radius: 50%;
    background: var(--grad-sunset); box-shadow: 0 0 0 3px rgba(11, 42, 34, 0.9), 0 0 14px rgba(232, 204, 136, 0.8);
    transition: transform 0.3s var(--ease-out-back);
}
.map-pin .ring {
    position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sunset-300);
    animation: pinPulse 2.4s ease-out infinite; animation-delay: var(--pd, 0s);
}
@keyframes pinPulse { from { transform: scale(0.4); opacity: 0.9; } to { transform: scale(1.9); opacity: 0; } }
.map-pin .name {
    position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 2px;
    color: #FFFFFF; font-size: 0.78rem; font-weight: 600; white-space: nowrap; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}
.map-pin .card-pop {
    position: absolute; left: 50%; bottom: calc(100% + 12px); width: 210px;
    transform: translate(-50%, 8px) scale(0.96); opacity: 0; pointer-events: none;
    background: #FFFFFF; color: var(--lagoon-900); border-radius: 16px; overflow: hidden;
    box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.7); text-align: left;
    transition: opacity 0.25s ease, transform 0.35s var(--ease-out-back);
}
.map-pin .card-pop img { width: 100%; height: 110px; object-fit: cover; display: block; }
.map-pin .card-pop div { padding: 0.6rem 0.8rem 0.7rem; font-size: 0.8rem; }
.map-pin .card-pop strong { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1; }
.map-pin.lbl-left .name { left: auto; right: 100%; top: 50%; transform: translateY(-50%); margin: 0 3px 0 0; }
.map-pin.lbl-right .name { left: 100%; top: 50%; transform: translateY(-50%); margin: 0 0 0 3px; }
.map-pin.flip .card-pop { left: auto; right: -10px; transform: translate(0, 8px) scale(0.96); }
.map-pin:hover, .map-pin:focus-visible, .map-pin.is-hot { z-index: 8; }
.map-pin:hover .core, .map-pin:focus-visible .core, .map-pin.is-hot .core { transform: scale(1.35); }
.map-pin:hover .card-pop, .map-pin:focus-visible .card-pop, .map-pin.is-hot .card-pop { opacity: 1; transform: translate(-50%, 0) scale(1); }
.map-pin.flip:hover .card-pop, .map-pin.flip:focus-visible .card-pop, .map-pin.flip.is-hot .card-pop { transform: translate(0, 0) scale(1); }

/* Destinations */
.destination-card {
    position: relative; display: block; border-radius: 26px; overflow: hidden;
    height: 100%; min-height: 260px; color: #FFFFFF; text-decoration: none;
    box-shadow: var(--shadow-card); isolation: isolate;
}
.destination-card img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
    transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.destination-card::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(4, 20, 15, 0) 35%, rgba(4, 20, 15, 0.88) 100%);
    transition: background var(--transition-base);
}
.destination-card::before {
    /* thin gold frame that draws in on hover */
    content: ''; position: absolute; inset: 12px; border-radius: 18px; z-index: 1; pointer-events: none;
    border: 1px solid rgba(232, 204, 136, 0.75); opacity: 0; transform: scale(1.04);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.destination-card:hover::before { opacity: 1; transform: none; }
.destination-card:hover img { transform: scale(1.1); }
.destination-card .dest-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; }
.destination-card h3 { color: #FFFFFF; font-size: 2rem; margin: 0; }
.destination-card .dest-meta { font-size: 0.88rem; color: rgba(255, 255, 255, 0.8); }
.destination-card .dest-arrow {
    position: absolute; top: 1.2rem; right: 1.2rem; z-index: 2;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--grad-sunset); color: var(--lagoon-900);
    display: flex; align-items: center; justify-content: center;
    transform: rotate(-45deg) scale(0.8); opacity: 0;
    transition: all 0.4s var(--ease-out-back);
}
.destination-card:hover .dest-arrow { opacity: 1; transform: rotate(0) scale(1); }
.dest-tall { min-height: 560px; }

/* Featured hotel cards: 3D tilt (site.js) + gold sheen */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.hotel-card.tilting { transition: box-shadow var(--transition-base); }
.hotel-card .hotel-card-media::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 240, 200, 0.35) 50%, transparent 65%);
    transform: translateX(-100%); transition: transform 0.9s ease;
}
.hotel-card:hover .hotel-card-media::after { transform: translateX(100%); }

/* Feature tiles */
.feature-tile {
    background: #FFFFFF; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
    padding: 1.9rem; height: 100%; transition: all var(--transition-base); position: relative; overflow: hidden;
}
.feature-tile::before {
    content: ''; position: absolute; inset: auto -40% -60% auto; width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 161, 74, 0.18), transparent 70%);
    transition: transform 0.6s ease;
}
.feature-tile::after { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--grad-sunset); transition: width 0.6s ease; }
.feature-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: var(--sunset-100); }
.feature-tile:hover::before { transform: scale(1.6); }
.feature-tile:hover::after { width: 100%; }
.feature-icon {
    width: 58px; height: 58px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 1.1rem;
    background: var(--lagoon-50); color: var(--lagoon-600);
    transition: transform 0.5s var(--ease-out-back);
}
.feature-tile:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }
.feature-tile h5 { font-weight: 600; }

/* Experiences */
.experience-card {
    position: relative; border-radius: 22px; overflow: hidden; min-height: 300px;
    display: flex; align-items: flex-end; color: #FFFFFF; isolation: isolate;
    box-shadow: var(--shadow-card);
}
.experience-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s ease; }
.experience-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(4, 20, 15, 0.9)); }
.experience-card:hover img { transform: scale(1.08); }
.experience-card .exp-body { padding: 1.3rem 1.4rem; width: 100%; }
.experience-card .exp-tag {
    position: absolute; top: 1rem; left: 1rem;
    background: rgba(255, 255, 255, 0.94); color: var(--lagoon-900);
    padding: 0.2rem 0.7rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600;
}
.experience-card .exp-price {
    position: absolute; top: 1rem; right: 1rem;
    background: var(--grad-sunset); color: var(--lagoon-900);
    padding: 0.2rem 0.7rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700;
}
.experience-card h5 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
/* attraction we have no real photo of: an illustrated tile instead of a wrong picture */
.experience-card.no-photo { background: var(--grad-lagoon); }
.experience-card.no-photo::after { background: radial-gradient(400px 220px at 80% 0%, rgba(232, 204, 136, 0.25), transparent 70%); }
.experience-card .exp-illustration {
    position: absolute; inset: 0; z-index: -1; display: flex; align-items: center; justify-content: center;
    font-size: 5.5rem; color: rgba(232, 204, 136, 0.35);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23E8CC88' stroke-opacity='.12'%3E%3Cpath d='M36 2 L70 36 L36 70 L2 36Z'/%3E%3Ccircle cx='36' cy='36' r='5'/%3E%3C/g%3E%3C/svg%3E");
}

/* Offers - maroon & gold */
.offer-card {
    background: var(--grad-maroon); color: #FFFFFF; border-radius: var(--radius-lg);
    padding: 1.7rem; position: relative; overflow: hidden; height: 100%; isolation: isolate;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 24px 44px -24px rgba(94, 18, 32, 0.8);
}
.offer-card:hover { transform: translateY(-6px); box-shadow: 0 30px 56px -24px rgba(94, 18, 32, 0.95); }
.offer-card::before {
    content: ''; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%;
    background: var(--grad-sunset); opacity: 0.9; z-index: -1; transition: transform 0.6s ease;
}
.offer-card:hover::before { transform: scale(1.15); }
.offer-card::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(232, 204, 136, 0.3); border-radius: 14px; z-index: -1; pointer-events: none; }
.offer-card .offer-pct { font-family: var(--font-display); font-size: 3.6rem; line-height: 1; font-weight: 700; color: var(--sunset-300); }
.offer-card .offer-code {
    display: inline-flex; align-items: center; gap: 0.4rem;
    border: 1.5px dashed rgba(232, 204, 136, 0.7); border-radius: 10px;
    padding: 0.35rem 0.8rem; font-family: 'Courier New', monospace; font-weight: 700; letter-spacing: 0.12em;
    cursor: pointer; background: rgba(255, 255, 255, 0.08); color: #FFFFFF;
}
.offer-card .offer-code:hover { background: rgba(255, 255, 255, 0.18); }

/* Agents band */
.agent-band { background: var(--grad-lagoon); border-radius: 32px; overflow: hidden; color: #FFFFFF; position: relative; isolation: isolate; }
.agent-band::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(600px 300px at 0% 0%, rgba(232, 204, 136, 0.22), transparent 70%);
}
.agent-band h2 { color: #FFFFFF; }
.agent-band .band-photo { position: relative; min-height: 440px; height: 100%; }
.agent-band .band-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.agent-step { display: flex; gap: 0.9rem; align-items: flex-start; }
.agent-step .num {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    border: 1px solid rgba(232, 204, 136, 0.55); color: var(--sunset-300);
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-display); font-size: 1.1rem;
}

/* Testimonials */
.testimonial-card {
    background: #FFFFFF; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
    padding: 1.9rem; height: 100%; position: relative; box-shadow: var(--shadow-card);
}
.testimonial-card .quote-mark {
    position: absolute; top: -18px; left: 1.5rem; width: 44px; height: 44px; border-radius: 14px;
    background: var(--grad-sunset); color: var(--lagoon-900); display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.testimonial-card .stars { color: var(--sunset-500); }

/* Final CTA */
.cta-band { position: relative; border-radius: 32px; overflow: hidden; color: #FFFFFF; isolation: isolate; padding: 5.5rem 2rem; text-align: center; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.05); }
.cta-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(4, 20, 15, 0.92), rgba(21, 74, 59, 0.72) 60%, rgba(94, 18, 32, 0.6)); }
.cta-band h2 { color: #FFFFFF; font-size: clamp(2.4rem, 4.6vw, 3.8rem); }

/* Marquee of destinations */
.marquee { overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: inline-flex; gap: 3rem; animation: marquee 45s linear infinite; padding: 0.6rem 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-style: italic; font-size: 2.2rem; color: var(--lagoon-700); opacity: 0.6; display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: '\2726'; color: var(--sunset-500); font-size: 1rem; font-style: normal; opacity: 0.9; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Empty state on home */
.empty-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.empty-collage img { width: 100%; height: 180px; object-fit: cover; border-radius: 18px; }

/* Home responsive */
@media (max-width: 1599.98px) {
    .hero-search .field { padding: 0.55rem 0.7rem; }
    .hero-search .btn-search { padding: 0 1.15rem; }
    .hero-search .btn-search span { display: none; }
}
@media (max-width: 1199.98px) {
    .hero-search { grid-template-columns: 1fr 1fr; }
    .hero-search .field + .field { border-left: none; }
    .hero-search .field { border-bottom: 1px solid var(--border-light); }
    .hero-search .btn-search { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
    .home-hero { padding: 7.5rem 0 6.5rem; min-height: auto; }
    .arch-stage { height: 520px; margin-top: 1rem; }
    .hero-mandala { width: 480px; height: 480px; margin-top: -240px; right: -140px; }
    .stat-item:nth-child(3) { border-left: none; }
    .stat-item:nth-child(n+3) { border-top: 1px solid var(--border-light); }
    .dest-tall { min-height: 320px; }
    .scroll-cue { display: none; }
    .story-photo { min-height: 400px; margin-bottom: 1rem; }
    .island-map { margin-top: 2rem; }
}
@media (max-width: 575.98px) {
    .arch-stage { height: 420px; }
    .arch-main, .arch-outline { width: 74%; right: 4%; }
    .arch-dots { width: 74%; right: 4%; }
    .arch-small { width: 40%; height: 40%; }
    .hero-float-card { display: none; }
    .hero-search { grid-template-columns: 1fr; }
    .home-section { padding: 4rem 0; }
    .map-pin .card-pop { display: none; }
    .map-icon { width: 24px; height: 24px; font-size: 13px; }
    .map-pin .name { font-size: 0.7rem; }
}

/* ---- Reservation hero: story + photos at natural size (no stretching, no zoom) ---- */
.stay-hero {
    position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2rem; align-items: center;
    padding: 2.2rem 2.4rem; border-radius: var(--radius-xl); color: #FFFFFF; overflow: hidden; isolation: isolate;
    background:
        radial-gradient(circle at 1px 1px, rgba(232, 204, 136, 0.12) 1px, transparent 0) 0 0 / 24px 24px,
        radial-gradient(circle at 100% 0%, rgba(201, 161, 74, 0.28), transparent 45%),
        linear-gradient(150deg, #04140F 0%, #0B2A22 45%, #154A3B 100%);
    box-shadow: var(--shadow-card);
}
.stay-amenities { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; }
.stay-amenities > span { font-size: 0.78rem; padding: 0.3rem 0.7rem; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.stay-amenities i { color: var(--sunset-300); }
.stay-amenities .more { color: var(--sunset-300); }
.stay-back { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.3rem; color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 0.88rem; }
.stay-back:hover { color: var(--sunset-300); }
.stay-hero-media { position: relative; height: 250px; }
.stay-photo { position: absolute; margin: 0; overflow: hidden; border-radius: 16px; border: 4px solid rgba(251, 248, 241, 0.95); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.75); transition: transform 0.5s var(--ease-out-back); opacity: 0; animation: cardIn 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.stay-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stay-photo.main { width: 62%; max-width: 330px; height: 230px; right: 0; top: 10px; z-index: 2; transform: rotate(2deg); animation-delay: 0.2s; }
.stay-photo.s1 { width: 34%; max-width: 180px; height: 130px; left: 4%; top: 0; transform: rotate(-6deg); animation-delay: 0.35s; }
.stay-photo.s2 { width: 30%; max-width: 160px; height: 110px; left: 14%; bottom: 0; transform: rotate(5deg); z-index: 3; animation-delay: 0.5s; }
.stay-photo:hover { transform: rotate(0) translateY(-6px); z-index: 4; }
.stay-photo-count { position: absolute; right: 10px; bottom: 6px; z-index: 5; font-size: 0.75rem; padding: 0.25rem 0.65rem; border-radius: var(--radius-full); background: rgba(4, 20, 15, 0.8); }
.steps-bar { position: relative; z-index: 3; max-width: 760px; margin: -1.6rem auto 1.75rem; padding: 0.9rem 1.6rem 0.7rem; background: #FFFFFF; border-radius: var(--radius-full); box-shadow: var(--shadow-card-hover); border: 1px solid var(--border-light); }
.flow-steps.light li::before { background: var(--border-color); }
.flow-steps.light .dot { width: 34px; height: 34px; border-color: var(--border-color); color: var(--text-light); background: #FFFFFF; }
.flow-steps.light li::before, .flow-steps.light li::after { top: 16px; }
.flow-steps.light .lbl { color: var(--text-muted); }
.flow-steps.light li.is-active .lbl { color: var(--text-primary); font-weight: 600; }
.flow-steps.light li.is-done .lbl { color: var(--lagoon-600); }

/* ---- Range calendar ---- */
.range-picker { position: relative; }
.date-range button.date-cell { border: 0; background: transparent; text-align: left; font: inherit; color: inherit; width: 100%; transition: background var(--transition-fast); }
.date-range button.date-cell:hover { background: rgba(35, 128, 106, 0.05); }
.date-range button.date-cell.is-editing { background: #FFFFFF; box-shadow: inset 0 -3px 0 var(--lagoon-500); }
.date-cell strong { font-size: 1.12rem; margin-top: 0.15rem; }
.date-cell small { color: var(--text-muted); font-size: 0.78rem; }
.rp-pop {
    position: absolute; z-index: 40; top: calc(100% + 10px); left: 0; right: 0; background: #FFFFFF; border-radius: var(--radius-lg);
    border: 1px solid var(--border-light); box-shadow: var(--shadow-dropdown); padding: 1.1rem 1.25rem 1rem;
    animation: popIn 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes popIn { from { opacity: 0; transform: translateY(-8px) scale(0.98); } to { opacity: 1; transform: none; } }
.rp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.rp-hint { font-size: 0.85rem; font-weight: 600; color: var(--lagoon-700); }
.rp-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-color); background: #FFFFFF; display: grid; place-items: center; transition: all var(--transition-fast); }
.rp-nav:hover:not(:disabled) { border-color: var(--lagoon-500); background: var(--lagoon-50); }
.rp-nav:disabled { opacity: 0.35; }
.rp-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.rp-title { text-align: center; font-weight: 600; margin-bottom: 0.5rem; }
.rp-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.rp-dow { text-align: center; font-size: 0.72rem; color: var(--text-light); font-weight: 600; padding: 0.3rem 0; }
.rp-day { position: relative; height: 40px; border: 0; background: transparent; font-size: 0.9rem; font-weight: 500; color: var(--text-primary); border-radius: 10px; transition: background var(--transition-fast), color var(--transition-fast); }
.rp-day:hover:not(:disabled) { background: var(--lagoon-50); box-shadow: inset 0 0 0 1.5px var(--lagoon-400); }
.rp-day:disabled { color: #C7CFCC; text-decoration: line-through; cursor: not-allowed; }
.rp-day.is-today::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--sunset-500); transform: translateX(-50%); }
.rp-day.in-range { background: var(--lagoon-50); border-radius: 0; color: var(--lagoon-800); }
.rp-day.is-start, .rp-day.is-end { background: var(--lagoon-700); color: #FFFFFF; font-weight: 700; }
.rp-day.is-start { border-radius: 10px 0 0 10px; }
.rp-day.is-end { border-radius: 0 10px 10px 0; }
.rp-day.is-start.is-end, .rp-day.is-start:last-child { border-radius: 10px; }
.rp-day.is-start::after, .rp-day.is-end::after { background: var(--sunset-300); }
.rp-foot { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.9rem; padding-top: 0.8rem; border-top: 1px solid var(--border-light); }
.rp-quick { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.rp-quick button { font-size: 0.78rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: var(--radius-full); border: 1px solid var(--border-color); background: var(--sand-50); color: var(--text-secondary); transition: all var(--transition-fast); }
.rp-quick button:hover { border-color: var(--sunset-400); background: var(--sunset-50); color: var(--sunset-600); }

/* ---- Review page ---- */
.review-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--border-light); }
.review-item:first-of-type { border-top: 0; padding-top: 0; }
.review-item img { width: 110px; height: 84px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.review-dates { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin-top: 0.4rem; font-size: 0.84rem; color: var(--text-secondary); }
.review-dates i { color: var(--lagoon-500); }
.review-price { font-size: 1.1rem; white-space: nowrap; }
.redirect-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; counter-reset: rs; }
.redirect-steps li { display: flex; gap: 0.9rem; align-items: flex-start; }
.redirect-steps li > span { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: #F0EEFF; color: #5B4BE8; font-size: 1.1rem; }
.redirect-steps strong { display: block; }
.redirect-steps small { color: var(--text-muted); }
.aurapay-note { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.9rem; padding: 0.6rem 0.8rem; border-radius: 12px; background: #F4F3FF; color: #4338CA; }
.aurapay-logo { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; color: #FFFFFF; background: linear-gradient(135deg, #6D5DFC, #3B2FD0); font-size: 0.85rem; }
.pay-warning { display: flex; gap: 0.6rem; align-items: flex-start; background: var(--brand-warning-light); color: #8A4B05; border-radius: var(--radius-md); padding: 0.75rem 1rem; font-size: 0.86rem; }
.pay-btn { position: relative; overflow: hidden; }
.pay-btn::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%); background-size: 250% 100%; animation: goldShimmer 3.2s linear infinite; }

@media (max-width: 991.98px) {
    .stay-hero { grid-template-columns: 1fr; padding: 1.6rem 1.4rem; }
    .stay-hero-media { height: 210px; }
    .steps-bar { margin: 1rem 0 1.5rem; border-radius: var(--radius-lg); }
}
@media (max-width: 575.98px) {
    .stay-photo.s2 { display: none; }
    .review-item img { width: 80px; height: 64px; }
}

/* ==========================================================================
   AUTH PAGES (login / register): full-width emerald scene, postcard collage
   and a compact form card. Photos are shown at or below their real size so
   they stay sharp - no stretching, no zoom.
   ========================================================================== */
.page-auth .luxe-footer { margin-top: 0; }
.auth-scene {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(2rem, 4.5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
    color: #FFFFFF;
    background:
        radial-gradient(circle at 1px 1px, rgba(232, 204, 136, 0.13) 1px, transparent 0) 0 0 / 26px 26px,
        linear-gradient(160deg, #04140F 0%, #0B2A22 38%, #10392E 70%, #154A3B 100%);
}
.auth-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.auth-bg .glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.auth-bg .g1 { width: 520px; height: 520px; left: -160px; top: -160px; background: rgba(35, 128, 106, 0.55); animation: floatY 9s ease-in-out infinite alternate; }
.auth-bg .g2 { width: 460px; height: 460px; right: -120px; bottom: -180px; background: rgba(201, 161, 74, 0.35); animation: floatY 11s ease-in-out infinite alternate-reverse; }
.auth-bg::after {
    /* thin gold "horizon" line behind the postcards */
    content: ''; position: absolute; left: 0; right: 0; top: 58%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 204, 136, 0.35), transparent);
}

/* ---- Story side ---- */
.auth-greet {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 1rem; border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(232, 204, 136, 0.3);
    font-size: 0.82rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.85);
}
.auth-greet .si { font-family: 'Noto Serif Sinhala', serif; color: var(--sunset-300); font-size: 0.95rem; }
.auth-greet .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--sunset-400); }
.auth-title {
    font-family: var(--font-display); font-weight: 600; color: #FFFFFF;
    font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.05; margin: 1rem 0 0.8rem; max-width: 19ch;
}
.auth-title em {
    font-style: italic; background: var(--grad-sunset); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.auth-lead { color: rgba(255, 255, 255, 0.72); font-size: 1.05rem; max-width: 34rem; margin-bottom: 0; }

/* ---- Postcards (each image shown at most ~260px wide, so it stays crisp) ---- */
.postcards { position: relative; height: 320px; margin: 1.8rem 0 1.4rem; max-width: 680px; }
.postcard {
    position: absolute; margin: 0; padding: 9px 9px 0; background: #FBF8F1; border-radius: 6px;
    box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: transform 0.5s var(--ease-out-back), box-shadow 0.4s ease;
    opacity: 0; animation: cardIn 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.postcard img { display: block; width: 100%; height: calc(100% - 34px); object-fit: cover; border-radius: 3px; image-rendering: auto; }
.postcard figcaption {
    height: 34px; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1rem; color: var(--lagoon-800);
}
.postcard:hover { transform: rotate(0deg) translateY(-10px) !important; z-index: 5; box-shadow: 0 34px 50px -18px rgba(0, 0, 0, 0.8); }
.pc-1 { width: 200px; height: 250px; left: 0; top: 46px; transform: rotate(-7deg); animation-delay: 0.25s; z-index: 1; }
.pc-2 { width: 220px; height: 300px; left: 31%; top: 0; transform: rotate(3deg); animation-delay: 0.4s; z-index: 3; }
.pc-3 { width: 200px; height: 250px; right: 0; top: 58px; transform: rotate(8deg); animation-delay: 0.55s; z-index: 2; }
.postcards-sm { height: 290px; max-width: 470px; }
.postcards-sm .pc-1 { width: 190px; height: 240px; left: 0; top: 30px; }
.postcards-sm .pc-2 { width: 200px; height: 260px; left: auto; right: 0; top: 0; transform: rotate(5deg); }
@keyframes cardIn { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
.postcard.pc-2 { animation: cardIn 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s forwards, bob 5s ease-in-out 1.4s infinite alternate; }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -10px; } }
.stamp {
    position: absolute; top: -14px; right: -14px; width: 62px; height: 70px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 2px; transform: rotate(12deg);
    background: var(--maroon-600); color: var(--sunset-300); border-radius: 4px; font-size: 1.3rem;
    outline: 2px dashed rgba(251, 248, 241, 0.75); outline-offset: -6px; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}
.stamp small { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }

/* ---- Destination chips ---- */
.auth-dest { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.auth-dest .lbl { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.55); margin-right: 0.25rem; }
.auth-dest a {
    padding: 0.35rem 0.9rem; border-radius: var(--radius-full); font-size: 0.85rem; text-decoration: none;
    color: #FFFFFF; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
    transition: all var(--transition-fast);
}
.auth-dest a:hover { background: var(--grad-sunset); color: var(--lagoon-900); border-color: transparent; transform: translateY(-2px); }

/* ---- Perks (register) ---- */
.auth-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; max-width: 30rem; }
.auth-perks li { display: flex; gap: 0.9rem; align-items: flex-start; }
.auth-perks li > span {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; font-size: 1.15rem;
    background: rgba(232, 204, 136, 0.12); color: var(--sunset-300); border: 1px solid rgba(232, 204, 136, 0.25);
}
.auth-perks strong { display: block; color: #FFFFFF; }
.auth-perks small { color: rgba(255, 255, 255, 0.62); }
.auth-story-sticky { align-self: flex-start; padding-top: 1.5rem; }

/* ---- Form card ---- */
.auth-card {
    position: relative; max-width: 450px; margin-left: auto; color: var(--text-primary);
    background: #FFFFFF; border-radius: 26px; padding: 2.2rem 2.2rem 1.8rem;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.auth-card::before {
    content: ''; position: absolute; left: 50%; width: 72px; top: -1px; height: 5px; border-radius: 0 0 8px 8px;
    transform: translateX(-50%); background: var(--grad-sunset);
}
.auth-card-wide { max-width: 680px; }
.auth-card-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.5rem; }
.auth-card-head h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 600; margin: 0; line-height: 1; }
.auth-card-head p { margin: 0.25rem 0 0; color: var(--text-muted); }
.auth-badge {
    width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 1.35rem; flex-shrink: 0;
    background: var(--grad-lagoon); color: var(--sunset-300); box-shadow: 0 10px 20px -8px rgba(11, 42, 34, 0.6);
}
.auth-label { font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.35rem; display: inline-block; }
.auth-label .req { color: var(--brand-danger); }
.auth-label .opt { font-weight: 400; color: var(--text-light); }
.auth-link { color: var(--lagoon-600); text-decoration: none; font-weight: 500; }
.auth-link:hover { color: var(--sunset-600); text-decoration: underline; }
.auth-field { position: relative; display: flex; align-items: center; }
.auth-field > i { position: absolute; left: 1rem; color: var(--text-light); transition: color var(--transition-fast); pointer-events: none; }
.auth-field input, .auth-input {
    width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--border-color); border-radius: 14px;
    background: var(--sand-50); font-size: 0.98rem; color: var(--text-primary); outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
.auth-field input { padding-left: 2.7rem; padding-right: 3rem; }
.auth-field input:focus, .auth-input:focus { border-color: var(--lagoon-500); background: #FFFFFF; box-shadow: 0 0 0 4px rgba(35, 128, 106, 0.12); }
.auth-field:focus-within > i { color: var(--lagoon-500); }
.auth-input.is-invalid { border-color: var(--brand-danger); background-color: #FFFFFF; }
.auth-eye { position: absolute; right: 0.5rem; border: 0; background: transparent; color: var(--text-muted); width: 38px; height: 38px; border-radius: 10px; }
.auth-eye:hover { background: var(--lagoon-50); color: var(--lagoon-700); }
.auth-caps { display: block; color: #8A4B05; margin-top: 0.4rem; font-size: 0.8rem; }
.auth-alert { display: flex; gap: 0.5rem; align-items: flex-start; padding: 0.7rem 0.9rem; border-radius: 12px; font-size: 0.88rem; margin-bottom: 1rem; animation: fadeUp 0.4s ease forwards; }
.auth-alert.error { background: var(--brand-danger-light); color: #A3192C; }
.auth-alert.warn { background: var(--brand-warning-light); color: #8A4B05; }
.auth-alert.ok { background: var(--brand-success-light); color: #0B7A53; }
.auth-submit { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 600; }
.auth-submit i { transition: transform var(--transition-fast); }
.auth-submit:hover i { transform: translateX(4px); }
.auth-divider { display: flex; align-items: center; gap: 0.75rem; margin: 1.4rem 0 1rem; color: var(--text-muted); font-size: 0.82rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }
.auth-trust { list-style: none; padding: 1.1rem 0 0; margin: 1.3rem 0 0; border-top: 1px dashed var(--border-color); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.78rem; color: var(--text-muted); }
.auth-trust i { color: var(--lagoon-500); margin-right: 0.2rem; }

/* ---- Register extras ---- */
.role-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.role-tile {
    display: flex; gap: 0.65rem; align-items: center; margin: 0; cursor: pointer; padding: 0.75rem 0.85rem;
    border: 1.5px solid var(--border-color); border-radius: 14px; transition: all var(--transition-base); background: #FFFFFF;
}
.role-tile > i { width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem; background: var(--lagoon-50); color: var(--lagoon-700); transition: all var(--transition-base); }
.role-tile strong { display: block; font-size: 0.9rem; }
.role-tile small { display: block; color: var(--text-muted); font-size: 0.74rem; line-height: 1.2; }
.role-tile:hover { border-color: var(--lagoon-200); transform: translateY(-2px); }
.btn-check:checked + .role-tile { border-color: var(--lagoon-500); background: var(--lagoon-50); box-shadow: 0 0 0 4px rgba(35, 128, 106, 0.12); }
.btn-check:checked + .role-tile > i { background: var(--grad-lagoon); color: var(--sunset-300); }
.btn-check:focus-visible + .role-tile { outline: 3px solid rgba(35, 128, 106, 0.35); }
.auth-section { display: flex; align-items: center; gap: 0.6rem; margin: 1.6rem 0 0.8rem; font-weight: 600; font-size: 0.95rem; }
.auth-section span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; background: var(--sunset-100); color: var(--sunset-600); }
.auth-section::after { content: ''; flex: 1; height: 1px; background: var(--border-light); }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 0.5rem; }
.pw-meter i { height: 4px; border-radius: 4px; background: var(--border-color); transition: background 0.3s ease; }
.pw-meter i.on.s1 { background: var(--brand-danger); }
.pw-meter i.on.s2 { background: var(--brand-warning); }
.pw-meter i.on.s3 { background: var(--lagoon-400); }
.pw-meter i.on.s4 { background: var(--brand-success); }
.pw-hint { color: var(--text-muted); font-size: 0.78rem; display: block; margin-top: 0.3rem; }
.auth-consent { background: var(--sand-50); border: 1px solid var(--border-light); border-radius: 14px; padding: 0.9rem 1rem; }

@media (max-width: 991.98px) {
    .auth-card { margin: 0 auto; }
    .auth-story-sticky { padding-top: 0; }
    .auth-title { max-width: none; }
}
@media (max-width: 767.98px) {
    .postcards { height: 240px; }
    .pc-1, .pc-3 { width: 140px; height: 180px; }
    .pc-2 { width: 160px; height: 220px; }
    .postcards-sm .pc-1 { width: 140px; height: 180px; }
    .postcards-sm .pc-2 { width: 150px; height: 200px; }
    .role-picker { grid-template-columns: 1fr; }
    .auth-card { padding: 1.8rem 1.3rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
    .postcard { opacity: 1 !important; animation: none !important; }
    .auth-bg .glow { animation: none !important; }
}

/* ==========================================================================
   RESPONSIVE (home-page rules live in the HOME PAGE section)
   ========================================================================== */
@media (max-width: 1199.98px) {
    .luxe-navbar .navbar-collapse { padding: 1rem 0 0.5rem; }
}
@media (max-width: 575.98px) {
    .luxe-hero-banner { padding: 1.75rem; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .reveal, .fade-up, .hero-title .word { opacity: 1 !important; transform: none !important; }
    .marquee-track, .hero-dust, .hero-mandala svg, .hero-rotator .rot-track { animation: none !important; }
    .hero-dust { display: none; }
    .island-map .route-draw { stroke-dashoffset: 0; }
}

/* ==========================================================================
   CHECKOUT (Phase 13.1)
   ========================================================================== */
.pay-card {
    background: var(--grad-lagoon);
    color: #FFFFFF;
    border-radius: 20px;
    padding: 1.4rem 1.6rem;
    max-width: 380px;
    aspect-ratio: 1.6 / 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 22px 40px -18px rgba(11, 42, 34, 0.7);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.pay-card::before {
    content: ''; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%;
    background: var(--grad-sunset); opacity: 0.85; z-index: -1;
}
.pay-brand { font-weight: 700; letter-spacing: 0.12em; font-size: 0.9rem; }
.pay-number { font-family: 'Courier New', monospace; font-size: 1.35rem; letter-spacing: 0.12em; }
.pay-success-icon {
    width: 76px; height: 76px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #E3F6EE; color: #0B7A53; font-size: 2.4rem;
    animation: successPop 0.6s var(--ease-out-back);
    box-shadow: 0 0 0 10px rgba(16, 167, 116, 0.08);
}
@keyframes successPop { from { transform: scale(0.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media print {
    .luxe-navbar, .luxe-footer, .btn { display: none !important; }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (every page)
   ========================================================================== */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 1080;
    display: flex; align-items: center; gap: 0.6rem; text-decoration: none;
}
.wa-float .wa-btn {
    width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
    background: #25D366; color: #FFFFFF; font-size: 1.9rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 14px 30px -10px rgba(18, 140, 126, 0.9), 0 0 0 3px rgba(255, 255, 255, 0.9);
    position: relative; transition: transform 0.3s var(--ease-out-back);
}
.wa-float .wa-btn::before, .wa-float .wa-btn::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366;
    animation: waRing 2.6s ease-out infinite;
}
.wa-float .wa-btn::after { animation-delay: 1.3s; }
@keyframes waRing { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.7); opacity: 0; } }
.wa-float .wa-label {
    background: #FFFFFF; color: var(--lagoon-900); font-size: 0.85rem; font-weight: 600;
    padding: 0.55rem 0.95rem; border-radius: var(--radius-full); white-space: nowrap;
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.45);
    opacity: 0; transform: translateX(10px); pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.wa-float .wa-label small { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.72rem; }
.wa-float:hover .wa-btn, .wa-float:focus-visible .wa-btn { transform: scale(1.08) rotate(-6deg); }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label, .wa-float.peek .wa-label { opacity: 1; transform: none; }
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-btn { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 6px var(--lagoon-500); }
.luxe-toast { bottom: 96px; }
@media (max-width: 575.98px) {
    .wa-float { right: 14px; bottom: 14px; }
    .wa-float .wa-btn { width: 54px; height: 54px; font-size: 1.7rem; }
    .wa-float .wa-label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wa-float .wa-btn::before, .wa-float .wa-btn::after { animation: none; display: none; } }
@media print { .wa-float { display: none !important; } }

/* ==========================================================================
   BOOKING FLOW & CHECKOUT - photo hero with progress tracker, step panels,
   room tiles, sticky live summary, 3D flip card and inline card validation
   ========================================================================== */
.page-flow { scroll-padding-top: 7rem; }

/* ---- Hero ---- */
.pay-hero {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    color: #FFFFFF;
    background: var(--grad-lagoon);
    isolation: isolate;
    box-shadow: var(--shadow-card);
}
.pay-hero { padding: 1.75rem 2.25rem; }
.pay-hero::after {
    content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
    background: var(--grad-sunset); opacity: 0.18; z-index: -1; animation: floatY 6s ease-in-out infinite alternate;
}
.flow-crumbs a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.flow-crumbs a:hover { color: var(--sunset-300); }
.flow-crumbs .breadcrumb-item.active, .flow-crumbs .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.5); }
.flow-kicker {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sunset-300);
}
.flow-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: #FFFFFF; margin: 0.2rem 0 0.25rem; }
.flow-sub { color: rgba(255, 255, 255, 0.75); }
.flow-sub i { color: var(--sunset-300); }
.flow-rise { opacity: 0; transform: translateY(14px); animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: var(--d, 0s); }

/* ---- Progress tracker ---- */
.flow-steps { list-style: none; display: flex; padding: 0; margin: 0; }
.flow-steps li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; text-align: center; }
.flow-steps li::before, .flow-steps li::after {
    content: ''; position: absolute; top: 19px; left: calc(-50% + 22px); right: calc(50% + 22px); height: 2px;
}
.flow-steps li::before { background: rgba(255, 255, 255, 0.18); }
.flow-steps li::after { background: var(--grad-sunset); transform: scaleX(0); transform-origin: left; transition: transform 0.6s ease; }
.flow-steps li:first-child::before, .flow-steps li:first-child::after { display: none; }
.flow-steps li.is-done::after, .flow-steps li.is-active::after { transform: scaleX(1); }
.flow-steps .dot {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.06);
    transition: all 0.4s var(--ease-out-back); position: relative; z-index: 1;
}
.flow-steps .lbl { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); font-weight: 500; }
.flow-steps li.is-active .dot { border-color: var(--sunset-400); color: var(--lagoon-900); background: var(--grad-sunset); transform: scale(1.1); box-shadow: 0 0 0 6px rgba(201, 161, 74, 0.2); }
.flow-steps li.is-active .lbl { color: #FFFFFF; }
.flow-steps li.is-done .dot { border-color: var(--lagoon-400); background: var(--lagoon-500); color: #FFFFFF; }
.flow-steps li.is-done .lbl { color: var(--lagoon-200); }
.flow-steps-compact { min-width: 320px; max-width: 420px; }

/* ---- Step panels ---- */
.flow-panel {
    background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
    padding: 1.6rem 1.75rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition-base);
}
.flow-panel:focus-within { box-shadow: var(--shadow-card-hover); }
.flow-panel-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.flow-panel-head h2 { font-size: 1.25rem; font-weight: 700; margin: 0; font-family: var(--font-body); }
.flow-panel-head p { margin: 0; color: var(--text-muted); font-size: 0.86rem; }
.flow-num {
    width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
    background: var(--grad-lagoon); color: var(--sunset-300); font-weight: 700; font-family: var(--font-body); font-size: 1.05rem;
}
.flow-field-error { color: var(--brand-danger); font-size: 0.84rem; font-weight: 500; margin-top: 0.5rem; }
.flow-field-error:empty { margin: 0; }
.flow-hint { background: var(--brand-warning-light); color: #8A4B05; border-radius: var(--radius-sm); padding: 0.6rem 0.9rem; font-size: 0.86rem; }
.shake { animation: shake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }

/* ---- Date range ---- */
.date-range {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch;
    border: 1.5px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; background: var(--sand-50);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.date-range:focus-within { border-color: var(--lagoon-500); box-shadow: 0 0 0 4px rgba(35, 128, 106, 0.12); }
.date-range.is-invalid { border-color: var(--brand-danger); box-shadow: 0 0 0 4px rgba(226, 61, 82, 0.1); }
.date-cell { display: flex; flex-direction: column; padding: 0.8rem 1.1rem; cursor: pointer; margin: 0; }
.date-cap { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 600; }
.date-cell input { border: 0; background: transparent; font-size: 1.05rem; font-weight: 600; color: var(--text-primary); padding: 0.2rem 0 0; outline: none; width: 100%; }
.date-nights {
    display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0.4rem 1.2rem;
    background: var(--grad-lagoon); color: #FFFFFF; min-width: 92px;
}
.date-nights .moon { color: var(--sunset-300); font-size: 0.85rem; }
.date-nights strong { font-size: 1.45rem; line-height: 1.1; font-family: var(--font-body); font-weight: 700; }
.date-nights small { font-size: 0.7rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.1em; }

/* ---- Guest steppers ---- */
.guest-stepper {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    border: 1.5px solid var(--border-color); border-radius: var(--radius-md); padding: 0.75rem 1rem;
}
.guest-stepper small { display: block; color: var(--text-muted); font-size: 0.78rem; }
.stepper { display: flex; align-items: center; gap: 0.4rem; }
.stepper input { width: 48px; text-align: center; border: 0; font-weight: 700; font-size: 1.1rem; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input.pop { animation: successPop 0.3s var(--ease-out-back); }
.step-btn {
    width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border-color); background: #FFFFFF;
    display: grid; place-items: center; color: var(--lagoon-700); transition: all var(--transition-fast);
}
.step-btn:hover { border-color: var(--lagoon-500); background: var(--lagoon-50); transform: scale(1.08); }
.step-btn:active { transform: scale(0.94); }

/* ---- Availability chip ---- */
.avail-chip {
    display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 600;
    padding: 0.35rem 0.8rem; border-radius: var(--radius-full); background: var(--lagoon-50); color: var(--lagoon-700);
}
.avail-chip.is-ok { background: var(--brand-success-light); color: var(--brand-success); }
.avail-chip.is-warn { background: var(--brand-warning-light); color: #8A4B05; }

/* ---- Room tiles ---- */
.room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.room-grid:has(> .room-tile:only-child) { grid-template-columns: minmax(230px, 420px); }
.room-tile {
    position: relative; display: flex; flex-direction: column; margin: 0; cursor: pointer;
    border: 2px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; background: #FFFFFF;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast);
    opacity: 0; translate: 0 12px;
    animation: tileIn 0.5s ease forwards; animation-delay: calc(var(--i, 0) * 70ms);
}
@keyframes tileIn { to { opacity: 1; translate: 0 0; } }
.room-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.room-tile .room-pick { position: absolute; opacity: 0; pointer-events: none; }
.room-tile:focus-within { outline: 3px solid rgba(35, 128, 106, 0.35); outline-offset: 2px; }
.room-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--sand-100); overflow: hidden; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.room-tile:hover .room-media img { transform: scale(1.07); }
.room-noimg { display: grid; place-items: center; height: 100%; font-size: 2rem; color: var(--text-light); }
.room-price {
    position: absolute; left: 0.6rem; bottom: 0.6rem; padding: 0.3rem 0.7rem; border-radius: var(--radius-full);
    background: rgba(4, 20, 15, 0.78); color: #FFFFFF; font-weight: 700; backdrop-filter: blur(6px);
}
.room-price small { font-weight: 400; opacity: 0.75; margin-left: 2px; font-size: 0.72rem; }
.room-check {
    position: absolute; right: 0.6rem; top: 0.6rem; width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center; background: rgba(255, 255, 255, 0.85); color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.9); transition: all 0.35s var(--ease-out-back);
}
.room-booked {
    position: absolute; inset: 0; display: none; place-items: center; text-align: center; padding: 1rem;
    background: rgba(4, 20, 15, 0.72); color: #FFFFFF; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em;
}
.room-body { padding: 0.85rem 1rem 1rem; display: block; }
.room-body strong { font-size: 1.02rem; }
.room-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 0.8rem; margin-top: 0.35rem; font-size: 0.8rem; color: var(--text-muted); }
.room-meta i { margin-right: 3px; color: var(--lagoon-500); }
.room-tile.is-selected { border-color: var(--lagoon-500); box-shadow: 0 0 0 4px rgba(35, 128, 106, 0.14), var(--shadow-card); }
.room-tile.is-selected .room-check { background: var(--lagoon-500); color: #FFFFFF; transform: scale(1.12); border-color: #FFFFFF; }
.room-tile.is-booked { cursor: not-allowed; filter: grayscale(0.6); }
.room-tile.is-booked:hover { transform: none; box-shadow: none; }
.room-tile.is-booked .room-booked { display: grid; }
.room-tile.is-booked .room-check { display: none; }

/* ---- Offers ---- */
.ticket {
    position: relative; border: 1.5px dashed var(--sunset-400); border-radius: var(--radius-md);
    padding: 0.85rem 1.1rem; background: var(--sunset-50); height: 100%; transition: all var(--transition-base);
}
.ticket-cap { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--sunset-600); margin-bottom: 0.3rem; }
.ticket-row { display: flex; gap: 0.5rem; align-items: center; }
.ticket-row input { flex: 1; border: 0; background: transparent; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; outline: none; min-width: 0; font-size: 1.05rem; }
.ticket.is-applied { border-style: solid; border-color: var(--brand-success); background: var(--brand-success-light); animation: successPop 0.4s var(--ease-out-back); }

/* ---- Payment options ---- */
.pay-option {
    display: flex; gap: 0.9rem; align-items: flex-start; height: 100%; cursor: pointer; margin: 0;
    border: 2px solid var(--border-light); border-radius: var(--radius-md); padding: 1rem 1.1rem; transition: all var(--transition-base);
}
.pay-option strong { display: block; }
.pay-option small { display: block; color: var(--text-muted); margin-top: 0.2rem; }
.pay-option-icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; font-size: 1.3rem; background: var(--lagoon-50); color: var(--lagoon-700); transition: all var(--transition-base); }
.pay-option-tag { display: inline-block; margin-top: 0.25rem; font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: var(--radius-full); background: var(--grad-sunset); color: var(--lagoon-900); }
.pay-option:hover { border-color: var(--lagoon-200); }
.btn-check:checked + .pay-option { border-color: var(--lagoon-500); background: var(--lagoon-50); box-shadow: 0 0 0 4px rgba(35, 128, 106, 0.12); }
.btn-check:checked + .pay-option .pay-option-icon { background: var(--grad-lagoon); color: var(--sunset-300); }
.btn-check:focus-visible + .pay-option { outline: 3px solid rgba(35, 128, 106, 0.35); }

/* ---- Sticky summary ---- */
.flow-summary {
    position: sticky; top: 7rem; border-radius: var(--radius-lg); overflow: hidden;
    background: var(--bg-surface); box-shadow: var(--shadow-card-hover); border: 1px solid var(--border-light);
}
.flow-summary-head { display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.3rem; background: var(--grad-lagoon); color: #FFFFFF; }
.flow-summary-head img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.2); }
.flow-summary-head small { display: block; color: var(--sunset-300); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; }
.flow-summary-head strong { font-size: 1.05rem; }
.flow-summary-body { padding: 1.2rem 1.3rem 1.3rem; }
.sum-dates { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding-bottom: 0.8rem; border-bottom: 1px dashed var(--border-color); }
.sum-dates small { display: block; color: var(--text-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.sum-dates strong { font-size: 0.92rem; }
.sum-dates > i { color: var(--sunset-500); }
.sum-guests { padding: 0.7rem 0; color: var(--text-secondary); font-size: 0.9rem; }
.sum-rooms { list-style: none; padding: 0; margin: 0 0 0.8rem; }
.sum-rooms li { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.88rem; padding: 0.45rem 0.6rem; border-radius: 8px; background: var(--sand-50); margin-bottom: 0.35rem; }
.sum-rooms li.sum-empty { justify-content: center; color: var(--text-light); background: transparent; border: 1px dashed var(--border-color); }
.sum-line { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.25rem 0; color: var(--text-secondary); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.6rem; padding-top: 0.8rem; border-top: 2px solid var(--text-primary); }
.sum-total span { font-weight: 600; }
.sum-total strong { font-size: 1.85rem; font-family: var(--font-display); color: var(--lagoon-900); display: inline-block; }
.sum-total strong.bump { animation: successPop 0.45s var(--ease-out-back); }
.sum-perks { list-style: none; padding: 0.9rem 0 0; margin: 0.6rem 0 0; border-top: 1px solid var(--border-light); font-size: 0.8rem; color: var(--text-muted); }
.sum-perks li { display: flex; gap: 0.5rem; padding: 0.2rem 0; }
.sum-perks i { color: var(--lagoon-500); }
.sum-item { display: flex; gap: 0.8rem; padding-bottom: 0.9rem; margin-bottom: 0.9rem; border-bottom: 1px solid var(--border-light); }
.sum-item img { width: 64px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.flow-submit:disabled { opacity: 0.55; box-shadow: none; }
.flow-empty-icon { width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; background: var(--lagoon-50); color: var(--lagoon-500); }

@media (max-width: 767.98px) {
    .pay-hero { padding: 1.5rem 1.25rem; }
    .flow-panel { padding: 1.25rem; }
    .flow-steps .lbl { font-size: 0.68rem; }
    .flow-steps-compact { min-width: 0; width: 100%; }
    .date-range { grid-template-columns: 1fr; }
    .date-nights { flex-direction: row; gap: 0.5rem; padding: 0.5rem; }
    .flow-summary { position: static; }
}
@media (prefers-reduced-motion: reduce) {
    .pay-hero::after, .pay-btn::after, .stay-photo { animation: none !important; opacity: 1 !important; }
    .flow-rise, .room-tile { opacity: 1 !important; transform: none !important; translate: none !important; }
}

/* ==========================================================================
   HOTELS DIRECTORY (managers / admins): property cards instead of a wide table
   ========================================================================== */
.prop-list { display: grid; gap: 1.1rem; }
.prop-card {
    display: grid; grid-template-columns: 190px minmax(0, 1fr) 250px; gap: 1.4rem; align-items: start;
    background: #FFFFFF; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 1.1rem;
    box-shadow: var(--shadow-card); position: relative;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    opacity: 0; animation: tileIn 0.45s ease forwards; animation-delay: calc(min(var(--i, 0), 10) * 50ms); translate: 0 10px;
}
.prop-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.prop-card::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--lagoon-400); }
.prop-card.status-pending::before { background: var(--brand-warning); }
.prop-card.status-rejected::before, .prop-card.status-removed::before { background: var(--brand-danger); }
.prop-card.status-removed { filter: saturate(0.4); }

.prop-media { position: relative; display: block; height: 140px; border-radius: 14px; overflow: hidden; background: var(--sand-100); }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.prop-card:hover .prop-media img { transform: scale(1.04); }
.prop-noimg { display: grid; place-items: center; height: 100%; font-size: 2rem; color: var(--text-light); }
.prop-id { position: absolute; left: 8px; top: 8px; font-size: 0.72rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 6px; background: rgba(4, 20, 15, 0.75); color: #FFFFFF; }

.prop-body { min-width: 0; }
.prop-title { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.prop-title h3 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; margin: 0; }
.prop-title h3 a { color: var(--text-primary); text-decoration: none; }
.prop-title h3 a:hover { color: var(--lagoon-600); }
.prop-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin-top: 0.35rem; font-size: 0.86rem; color: var(--text-secondary); }
.prop-meta i { color: var(--lagoon-500); }
.prop-meta .bi-geo-alt-fill { color: var(--brand-danger); }
.prop-desc { margin: 0.45rem 0 0.6rem; font-size: 0.86rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prop-amenities { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.prop-amenities .amenity-chip { white-space: nowrap; }
.prop-amenities .amenity-chip.more { background: var(--sunset-50); color: var(--sunset-600); border-color: var(--sunset-100); }
.prop-note { margin-top: 0.6rem; font-size: 0.82rem; color: #8A4B05; background: var(--brand-warning-light); border-radius: 10px; padding: 0.45rem 0.7rem; }

.prop-actions { display: flex; flex-direction: column; gap: 0.6rem; }
.prop-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.prop-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; padding: 0.5rem 0.6rem;
    border-radius: 10px; border: 1.5px solid var(--border-color); background: #FFFFFF; color: var(--text-primary);
    font-size: 0.84rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: all var(--transition-fast);
}
.prop-btn i { color: var(--lagoon-600); }
.prop-btn:hover { border-color: var(--lagoon-500); background: var(--lagoon-50); color: var(--lagoon-800); }
.prop-btn-gold { grid-column: 1 / -1; background: var(--grad-sunset); border-color: transparent; color: var(--lagoon-900); }
.prop-btn-gold i { color: var(--lagoon-900); }
.prop-action-grid > .prop-btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
.prop-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; padding-top: 0.6rem; border-top: 1px dashed var(--border-color); }
.prop-icon {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; padding: 0.4rem 0.5rem; border-radius: 10px;
    border: 0; background: var(--sand-100); color: var(--text-secondary); font-size: 0.8rem; font-weight: 600; text-decoration: none; transition: all var(--transition-fast);
}
.prop-icon:hover { background: var(--lagoon-50); color: var(--lagoon-700); }
.prop-icon.danger:hover { background: var(--brand-danger-light); color: var(--brand-danger); }

.prop-review {
    grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
    margin: -0.2rem -0.2rem -0.2rem; padding: 0.65rem 0.9rem; border-radius: 12px;
    background: linear-gradient(90deg, var(--brand-warning-light), var(--sunset-50)); border: 1px solid #F6DDB2;
}
.prop-review-text { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; font-weight: 600; color: #8A4B05; }
.prop-review-actions { display: flex; gap: 0.5rem; }
.prop-empty { text-align: center; padding: 3.5rem 1rem; background: #FFFFFF; border-radius: var(--radius-lg); border: 1px dashed var(--border-color); }
.prop-empty > i { font-size: 3rem; color: var(--text-light); }

@media (max-width: 1199.98px) {
    .prop-card { grid-template-columns: 160px minmax(0, 1fr); }
    .prop-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: stretch; }
    .prop-action-grid { flex: 1 1 320px; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
    .prop-btn-gold, .prop-action-grid > .prop-btn:last-child:nth-child(odd) { grid-column: auto; }
    .prop-tools { flex: 0 0 220px; border-top: 0; padding-top: 0; }
}
@media (max-width: 575.98px) {
    .prop-card { grid-template-columns: 1fr; }
    .prop-media { height: 170px; }
    .prop-tools { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .prop-card { opacity: 1; translate: none; animation: none; } }

/* ---- Offer countdowns (site.js): ending soon, then retired at the deadline ---- */
.offer-timer { font-size: 0.8rem; font-weight: 600; color: var(--sunset-300); margin: -0.6rem 0 0.9rem; }
[data-ends-at].is-ending .js-countdown { color: var(--brand-warning); }
[data-ends-at].is-expired { opacity: 0.55; filter: grayscale(0.7); transition: opacity 0.4s ease, filter 0.4s ease; }
[data-ends-at].is-expired [data-code] { cursor: not-allowed; text-decoration: line-through; pointer-events: none; }
[data-ends-at].is-expired .live-badge { display: none; }
[data-ends-at].is-expired .js-countdown { color: var(--brand-danger); }

/* ---- Itinerary: the traveller's open change request ---- */
.itin-ask { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.65rem 0.8rem; border-radius: 12px; font-size: 0.86rem; background: var(--brand-warning-light); color: #6B3A04; }
.itin-ask > i { font-size: 1.1rem; color: var(--brand-warning); }

/* ---- Bookings list: sort control ---- */
.bk-sortbar { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.bk-sort { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem; border-radius: var(--radius-full); background: #FFFFFF; border: 1px solid var(--border-light); box-shadow: var(--shadow-subtle); flex-wrap: wrap; }
.bk-sort .small { padding-left: 0.6rem; }
.bk-sort a { padding: 0.35rem 0.9rem; border-radius: var(--radius-full); font-size: 0.84rem; font-weight: 600; color: var(--text-secondary); text-decoration: none; transition: all var(--transition-fast); }
.bk-sort a:hover { background: var(--lagoon-50); color: var(--lagoon-700); }
.bk-sort a.on { background: var(--grad-lagoon); color: #FFFFFF; }
