﻿/* Matching the Hand-Painted Brush Style of Red Roof */
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Engagement&family=Montserrat:wght@400;600&display=swap');
/* Reset & Base Layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  /* Montserrat provides a professional, clean balance to the wild headings */
  font-family: 'Montserrat', sans-serif;
  background-color: #fdfaf0; 
  color: #1a1a1a;
  line-height: 1.6;
}

/* HEADINGS: Mimics the 'Red Roof' brush strokes */
h1, h2, h3 {
  font-family: 'Permanent Marker', cursive;
  
  font-weight: 400;
  letter-spacing: 1px;
  /* Slight tilt to mimic the 'slanted' feel of the logo */
  transform: rotate(-1deg); 
}

/* --- ELITE LUXURY PRELOADER --- */
#elite-preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0d1733; /* Pure Elite Navy */
    overflow: hidden;
    transition: clip-path 1.2s cubic-bezier(0.8, 0, 0.2, 1);
    clip-path: circle(150% at 50% 50%);
}

/* Glassmorphism Background Element */
.glass-overlay {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
    animation: pulseGlow 4s infinite alternate;
}

/* Top Progress Line */
.loading-bar-top {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #007bff, transparent);
    width: 0%;
    transition: width 3s ease;
}

.logo-container {
    position: relative;
    width: 280px;
    margin: 0 auto 40px;
    z-index: 5;
}

.loader-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 123, 255, 0.3));
}

/* Premium Shine Sweep Effect */
.shine-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    animation: shineMove 2s infinite;
}

#elite-greeting {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.5s;
}

.location-stamp {
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

/* --- ANIMATION KEYFRAMES --- */
@keyframes shineMove {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

/* Exit State: Iris Shrink */
.preloader-hidden {
    clip-path: circle(0% at 50% 50%) !important;
}

.preloader-active #elite-greeting {
    opacity: 1;
    transform: translateY(0);
}
/* =============================================================
   UNIFIED ELITE NAVIGATION (TOPBAR + HEADER)
   ============================================================= */

/* 1. PROFESSIONAL COLOR PALETTE
   - Primary (Deep Navy): #1b2e67 (From building facade)
   - Accent (Logo Gold): #f3b820 (From crown logo)
   - Foundation (Pure White): #ffffff (For clarity)
   - Border (Soft Slate): rgba(27, 46, 103, 0.1)
   ============================================================= */

.nav-container-fixed {
    position: absolute; 
    top: 0;
    width: 100%;
    z-index: 1000;
    /* Changed to white for a clean, professional background */
    background-color: #ffffff; 
    border-bottom: 1px solid rgba(27, 46, 103, 0.1);
    transition: all 0.6s cubic-bezier(0.7, 0, 0.3, 1);
}

/* The State when scrolling down (The Breakaway) */
.nav-container-fixed.hidden-nav {
    transform: translateY(-100%);
    opacity: 0;
}

.nav-container-fixed.hidden-nav .nav-left {
    transform: translateX(-100px);
    opacity: 0;
}

.nav-container-fixed.hidden-nav .nav-right {
    transform: translateX(100px);
    opacity: 0;
}

/* The State when scrolling BACK UP (The Reassembly) */
.nav-container-fixed.revealed {
    position: fixed; 
    transform: translateY(0);
    opacity: 1;
    /* Shadow updated to use Brand Navy instead of antique gold */
    box-shadow: 0 10px 40px rgba(27, 46, 103, 0.12);
    border-bottom: 1px solid #f3b820; /* Subtle gold line on reveal */
}

.nav-container-fixed.revealed .nav-left,
.nav-container-fixed.revealed .nav-right {
    transform: translateX(0);
    opacity: 1;
    transition: all 0.5s ease 0.2s; 
}

/* Ensure the wings have transitions for the breakaway */
.rr-nav-wing {
    transition: all 0.5s ease;
}

/* Slim professional look on revealed state */
.revealed .rr-main-header {
    padding: 8px 0;
}

.revealed .rr-topbar {
    padding: 5px 0;
}


/* 2. THE TOPBAR (Quick Contact)
   ============================================================= */
.rr-topbar {
    width: 100%;
    /* Soft slate border for a modern look */
   /* 1. The Core: Solid Neon Blue Line */
    border-bottom: 2px solid #007bff; 
    
    /* 2. The Glow: Multi-layered shadow for depth */
    /* Layer 1: Sharp inner glow | Layer 2: Medium bloom | Layer 3: Soft ambient glow */
    box-shadow: 
        0px 2px 5px rgba(0, 123, 255, 0.6), 
        0px 4px 15px rgba(0, 123, 255, 0.4),
        0px 6px 25px rgba(0, 123, 255, 0.2);
    padding: 10px 0;
    transition: opacity 0.3s ease, margin-top 0.4s ease;
}

.rr-topbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.rr-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-style: normal;
}

.rr-icon-frame {
    /* Deep Navy Background */
    background: #1b2e67;
    color: #ffffff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    /* Changed from shield to a professional circle */
    border-radius: 50%;
}

.rr-text-stack {
    display: flex;
    flex-direction: column;
}

.rr-label {
    
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    /* Muted Slate color for the label */
    color: #5c6784;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.rr-value, .rr-value-link {
    
    font-size: 14px;
    /* Primary Black/Navy for contrast */
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.rr-value-link:hover {
    /* Hovers to Logo Gold */
    color: #f3b820;
}
/* 3. THE MAIN HEADER (Navigation & Logo - Dark Theme for Logo Visibility)
   ============================================================= */
.rr-main-header {
    width: 100%;
    padding: 15px 0;
    /* Deep Navy background from your building facade to make white logo visible */
    background-color: #1b2e67;
    /* Keeps the brand gold border for a premium feel */
   /* 1. The Core: Solid Neon Blue Line */
    border-bottom: 2px solid #007bff; 
    
    /* 2. The Glow: Multi-layered shadow for depth */
    /* Layer 1: Sharp inner glow | Layer 2: Medium bloom | Layer 3: Soft ambient glow */
    box-shadow: 
        0px 2px 5px rgba(0, 123, 255, 0.6), 
        0px 4px 15px rgba(0, 123, 255, 0.4),
        0px 6px 25px rgba(0, 123, 255, 0.2);
    transition: padding 0.4s ease;
}

.rr-header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr; 
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation Wings */
.rr-nav-wing {
    display: flex;
}

.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; align-items: center; gap: 30px; }

/* Hide hamburger on Desktop by default */
.rr-mobile-trigger {
    display: none; 
}

.rr-nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rr-link {
    
    /* Changed to White for contrast against the Navy background */
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

/* Hover Effect: The Gold Underline */
.rr-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f3b820;
    transition: all 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.rr-link:hover::after, 
.rr-link.active::after {
    width: 100%;
}

.rr-link:hover, 
.rr-link.active {
    /* Text turns gold on hover/active */
    color: #f3b820;
}

/* Center Keystone Logo */
.rr-keystone-logo {
    padding: 0 50px;
    position: relative;
}

.rr-logo-fluid {
    height: 85px; /* Slightly increased for better visibility */
    width: auto;
    display: block;
    /* Soft glow drop shadow to help the logo lift off the dark background */
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
    transition: height 0.4s ease;
}

/* 4. SCROLL STATE CHANGES 
   - Triggered via JS when scroll > 50px
   ============================================================= */
.scrolled .rr-topbar {
    margin-top: -65px; 
    opacity: 0;
    pointer-events: none;
}

.scrolled .rr-main-header {
    padding: 8px 0;
    /* Maintained the Deep Navy with slight transparency for a modern glass effect */
    background: rgba(27, 46, 103, 0.98); 
    backdrop-filter: blur(10px);
    /* Added a slightly more prominent gold border for the sticky state */
    border-bottom: 2px solid #f3b820;
}

.scrolled .rr-logo-fluid {
    height: 55px;
}

/* 5. MOBILE RESPONSIVENESS
   ============================================================= */
.rr-mobile-trigger {
    display: none; 
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.rr-mobile-trigger .bar {
    display: block;
    width: 25px;
    height: 2px;
    /* Changed from Crimson to Gold for a more "Elite" look against Navy */
    background: #f3b820; 
    margin: 5px 0;
    transition: 0.3s;
}

/* Hover state for mobile trigger to show interactivity */
.rr-mobile-trigger:hover .bar {
    background: #ffffff; /* Turns white on hover for better feedback */
}

/* 5. UPDATED RESPONSIVENESS 
   ============================================================= */

/* --- iPad & Mobile Version (Under 1024px) --- */
@media (max-width: 1024px) {
    .rr-header-inner {
        /* Force two columns: Logo and Right-Side Trigger */
        grid-template-columns: 1fr auto; 
        padding: 0 10px;
		align-items:left;
    }

    /* Hide the left wing entirely */
    .nav-left { 
        display: none; 
    }

    /* Hide text links on the right, keep the container for the hamburger */
    .nav-right .rr-nav-links {
        display: none;
    }

    /* Show and align hamburger to the far right */
    .rr-mobile-trigger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        margin-left: auto; /* Pushes it to the edge of its container */
    }

    .rr-mobile-trigger .bar {
        width: 30px;
        height: 3px;
        background-color: #1a1a1a;
        border-radius: 2px;
    }

    /* Optional: Scale down logo slightly for small screens */
    .rr-logo-fluid {
        height: 75px;
    }
}

/* Mobile & Small Tablets (up to 768px) */
@media (max-width: 768px) {
    /* Ensure topbar stays visible */
    .rr-topbar { 
        display: block !important; 
        padding: 5px 0;
    }

    .rr-topbar-wrapper {
        flex-direction: row; /* Keep items side-by-side */
        justify-content: center;
        gap: 20px;
        padding: 0 15px;
    }

    /* Stack the contact icon and text vertically for better fit */
    .rr-contact-item {
        gap: 8px;
    }

    /* Keep labels visible but smaller */
    .rr-label { 
        display: block; 
        font-size: 7px;
        letter-spacing: 1px;
    }

    .rr-value, .rr-value-link {
        font-size: 12px;
    }

    .rr-icon-frame {
        width: 28px;
        height: 32px;
        font-size: 12px;
    }

    /* Prevent the scroll effect from hiding the topbar on mobile if you want it sticky */
    .scrolled .rr-topbar {
        margin-top: 0;
        opacity: 1;
        pointer-events: auto;
    }
}

/* Very Small Screens (480px) */
@media (max-width: 480px) {
    .rr-topbar-wrapper {
        gap: 10px;
    }
    
    .rr-value, .rr-value-link {
        font-size: 11px;
    }
}
/* --- PROFESSIONAL ELITE MOBILE OVERLAY --- */
.rr-roof-menu {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.rr-roof-menu.active {
    visibility: visible;
    opacity: 1;
}

/* TOP SECTION: Deep Charcoal Navy for Navigation */
.menu-nav-side {
    background: #111b3d; /* Darker, sophisticated navy for text contrast */
    flex: 1.5;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.rr-roof-menu.active .menu-nav-side {
    transform: translateY(0);
}

/* CLOSE BUTTON */
.menu-header {
    position: absolute;
    top: 30px;
    right: 30px;
}

.roof-close {
    background: none;
    border: none;
    color: #ffffff; /* White for high contrast */
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.roof-close i {
    color: #007bff; /* Electric Blue Accent */
}

/* NAV LINKS */
.roof-nav-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
    margin: 12px 0;
    transition: 0.3s;
}

.item-num {
    color: #007bff; /* Electric Blue numbering */
    font-size: 12px;
    margin-right: 25px;
    font-weight: 800;
}

.roof-nav-item:hover {
    color: #007bff; /* Hover to Electric Blue */
    padding-left: 10px;
}

/* BOTTOM SECTION: Deep Elite Navy to make Logo visible */
.menu-info-side {
    background: #0d1733; /* Matches Logo Background for visibility */
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateY(50px);
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    border-top: 4px solid #007bff;
}

.rr-roof-menu.active .menu-info-side {
    transform: translateY(0);
}

/* LOGO FIX: Ensuring visibility */
.menu-logo-wrap {
    background: rgba(255, 255, 255, 0.05); /* Very subtle light backing */
    padding: 15px;
    display: inline-block;
    border-radius: 8px;
}

.menu-logo-wrap img {
    height: 80px;
    width: auto;
    
}

/* DETAILS AREA */
.detail-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 17px;
    color: #007bff; /* Electric Blue Label */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.detail-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #ffffff; /* White text for dark background */
    line-height: 1.5;
    margin-bottom: 20px;
    text-decoration: none;
    display: block;
}

/* Contact highlight */
.detail-value.highlight {
    color: #ffffff; 
    border-left: 2px solid #007bff;
    padding-left: 10px;
}

/* DESKTOP REFINEMENT */
@media (min-width: 768px) {
    .rr-roof-menu { flex-direction: row; }
    .menu-nav-side { flex: 1; padding: 80px; }
    .menu-info-side { 
        width: 450px; 
        flex: none; 
        border-top: none; 
        border-left: 4px solid #007bff; 
    }
}
/* TABLET (iPad) REFINEMENT - 768px to 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    .rr-roof-menu {
        flex-direction: row; /* Split screen earlier for iPad */
    }

    .menu-nav-side {
        padding: 60px;
        flex: 1.3;
    }

    .menu-info-side {
        padding: 60px 40px;
        flex: 1;
        border-top: none;
        border-left: 4px solid #007bff;
    }

    .roof-nav-item {
        font-size: 36px; /* Larger text for tablet space */
        margin: 20px 0;
    }

    .menu-logo-wrap img {
        height: 100px; /* Scale up logo for tablet */
    }
}

/* DESKTOP REFINEMENT - 1025px+ */
@media (min-width: 1025px) {
    .rr-roof-menu { flex-direction: row; }
    .menu-nav-side { flex: 1; padding: 100px; }
    .menu-info-side { 
        width: 480px; 
        flex: none; 
        border-top: none; 
        border-left: 4px solid #007bff; 
    }
}

/* NAV LINKS */
.roof-nav-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
    margin: 12px 0;
    transition: all 0.3s ease;
}

.item-num {
    color: #007bff;
    font-size: 13px;
    margin-right: 20px;
    font-weight: 800;
    opacity: 0.7;
}

.roof-nav-item:hover {
    color: #007bff;
    transform: translateX(15px); /* Elegant slide effect */
}

/* LOGO & DETAILS */
.menu-logo-wrap {
    margin-bottom: 40px;
}

.menu-logo-wrap img {
    height: 80px;
    width: auto;
}

.detail-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 12px; /* Fixed: 17px was too large for a label */
    color: #007bff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.detail-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 25px;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.detail-value:hover {
    color: #007bff;
}

.roof-close {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}


/* --- Elite Houston Assistance Line Styles --- */
.assistance-line {
    background-color: #1b2e67; /* Elite Midnight Navy */
    color: #ffffff; /* White text for contrast */
    text-align: center;
    padding:15px 20px;
    margin: 20px auto;
    max-width: 1400px;
    /* Electric Blue glow for a more modern executive feel */
    box-shadow: 0 8px 25px rgba(13, 23, 51, 0.2); 
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle professional border */
    font-family: 'Montserrat', sans-serif;
}

.assistance-line p {
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.assistance-line a {
    color: #ffffff; 
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #007bff; /* Electric Blue underline for emphasis */
    padding-bottom: 2px;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.assistance-line a:hover {
    color: #007bff; /* Electric Blue text on hover */
    border-bottom-color: #ffffff; /* White underline on hover */
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .assistance-line {
        padding: 20px 15px;
        font-size: 16px;
        margin: 20px 10px;
        line-height: 1.6;
    }
    
    .assistance-line a {
        display: inline-block;
        margin-top: 10px;
    }
}

/* --- KINETIC HERO BASE --- */
.kinetic-hero {
	
    position: relative;
    width: 100%;
    height: 120vh;
    background: #050a1a; /* Elite Midnight Navy */
    overflow: hidden;
	margin-top:100px;
}

/* --- SLIDE POSITIONING --- */
.kn-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: visibility 0s 1.4s; 
}

.kn-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
    transition: none;
}

/* --- THE SPLIT PANEL REVEAL --- */
.kn-mask-container {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 5;
}

.kn-bg-panel {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 1.4s cubic-bezier(0.8, 0, 0.2, 1);
}

.kn-bg-panel.left { transform: translateY(100%); }
.kn-bg-panel.right { transform: translateY(-100%); }

.kn-slide.active .kn-bg-panel {
    transform: translateY(0);
}

.kn-bg-panel img {
    position: absolute;
    top: 0;
    width: 200%; 
    height: 100%;
    object-fit: cover;
    /* Elite Cinematic Filter */
    filter: brightness(0.5) contrast(1.1) saturate(0.9); 
    transition: transform 12s ease;
}

.kn-bg-panel.left img { left: 0; }
.kn-bg-panel.right img { right: 0; }

.kn-slide.active .kn-bg-panel img {
    transform: scale(1.1);
}

/* --- CONTENT REVEAL --- */
.kn-content {
    position: relative;
    z-index: 20;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.kn-inner {
    max-width: 1200px;
}

.kn-tag, .line {
    overflow: hidden;
    margin-bottom: 5px;
}

.kn-tag span {
	
    display: block;
    color: #f3b820; /* Elite Gold */
    font-weight: 800;
    letter-spacing: 5px;
    font-size: 13px;
    text-transform: uppercase;
    transform: translateY(105%);
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1) 0.8s;
}

.kn-title span {
	
    display: block;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    color: #ffffff;
   
    line-height: 1.1;
    text-transform: uppercase;
    transform: translateY(105%);
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1) 0.9s;
}
.amp-fix {
    font-family: Arial, sans-serif; /* Use a standard font */
    font-size: 0.9em;               /* Optional: scale it to match the height */
    margin: 0 5px;                  /* Optional: add spacing if needed */
    font-weight: 400;               /* Adjust thickness to match */
    display: inline-block;          /* Ensures it stays on the same line */
	 font-family: 'Montserrat', sans-serif;
}

.kn-description {
    color: #fff;
    font-size: 18px;
    max-width: 580px;
    line-height: 1.7;
    margin: 30px 0 45px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 1.2s;
    font-family: 'Montserrat', sans-serif;
	font-weight:bold;
}

.kn-slide.active .kn-tag span,
.kn-slide.active .kn-title span,
.kn-slide.active .kn-description {
    opacity: 1;
    transform: translateY(0);
}

/* --- ACTION AREA --- */
.kn-action {
    display: flex;
    align-items: center;
    gap: 40px;
    opacity: 0;
    transition: opacity 1s ease 1.5s;
}

.kn-slide.active .kn-action { opacity: 1; }

.kn-btn {
    background: #f3b820; /* Elite Gold */
    color: #050a1a; /* Navy text */
    padding: 18px 45px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(201, 177, 104, 0.3);
}

.kn-btn:hover {
    background: #007bff; /* Neon Blue Accent */
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.4);
}

.kn-scroll-hint {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hint-line {
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.hint-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: #007bff; /* Neon Blue pulse */
    animation: hintAnim 2.5s infinite;
}

@keyframes hintAnim {
    0% { left: -100%; }
    50% { left: 0%; }
    100% { left: 100%; }
}

/* --- PROGRESS CONTROLS --- */
.kn-controls {
    position: absolute;
    bottom: 60px;
    right: 80px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 30px;
}

.kn-progress-circle {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-circle {
    fill: none;
    stroke: rgba(255,255,255,0.15);
    stroke-width: 2;
}

.progress-path {
    fill: none;
    stroke: #f3b820; /* Gold progress */
    stroke-width: 3;
    stroke-dasharray: 176; 
    stroke-dashoffset: 176;
    transition: stroke-dashoffset 8s linear; 
    transform: rotate(-90deg);
    transform-origin: center;
}

.kn-slide.active ~ .kn-controls .progress-path {
    stroke-dashoffset: 0;
}

.kn-counter {
    position: absolute;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.kn-dots {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.4s;
}
/* Reset button styles to look like your original dots */
.dot {
    cursor: pointer;
    border: none;
    padding: 0;
    /* Add your existing .dot width, height, background-color, and border-radius here */
}
.dot.active {
    background: #f3b820; /* Gold active dot */
    transform: scale(2);
}

/* --- ARROW CONTROLS --- */
.kn-arrows {
    display: flex;
    gap: 10px;
    margin-right: 15px;
}

.kn-arrow-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(5, 10, 26, 0.6); /* Navy Blur */
    backdrop-filter: blur(5px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.kn-arrow-btn svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.kn-arrow-btn:hover {
    background: #007bff;
    border-color: #007bff;
}

.kn-arrow-btn:hover svg {
    fill: #ffffff;
}


/* --- RESPONSIVE FIXES --- */

@media (max-width: 1024px) {
    .kinetic-hero {
        height: 70vh;
    }
    .kn-content {
        padding: 0 5%;
        justify-content: center;
        text-align: center;
    }
    .kn-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .kn-action {
        flex-direction: column;
        gap: 20px;
    }
    .kn-description {
        margin: 15px auto 30px;
    }
    .kn-controls {
        right: 50%;
        transform: translateX(50%);
        bottom: 30px;
        flex-direction: row;
        gap: 20px;
    }
    .kn-dots {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .kn-bg-panel img {
        width: 100vw;
    }
    .kn-bg-panel.left img {
        left: 0;
    }
    .kn-bg-panel.right img {
        right: 0;
        left: auto;
        transform: translateX(50%); 
    }
    .kn-slide.active .kn-bg-panel img {
        transform: scale(1.05);
    }
    .kn-title span {
        font-size: 2.5rem;
    }
    .kn-description {
        font-size: 15px;
        line-height: 1.4;
    }
}
/* =========================================
   WELCOME MODERN SECTION - ELITE BRAND REDESIGN
========================================= */
.welcome-modern {
  background-color: #f8f9fa; /* Clean, modern light-grey background */
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.wm-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex; 
  height: 600px; 
  background: #ffffff;
  /* Updated border to a very subtle navy tint */
  border: 1px solid rgba(27, 46, 103, 0.1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(27, 46, 103, 0.08);
}

/* --- LEFT SIDE: THE MEDIA STAGE (FIXED 50%) --- */
.wm-media-stage {
  flex: 0 0 50%;
  position: relative;
  background: #1b2e67; /* Keeps your deep navy branding */
  overflow: hidden;
  z-index: 5;
}

.wm-image-layer, .wm-hero-img {
  width: 100%;
  height: 100%;
  
  /* Crucial changes here: */
  object-fit: cover;        /* Fills the entire container area and removes black bars */
  object-position: top center; /* Forces alignment to the top so the logo/sign is never cut off */
  
  transition: transform 2s cubic-bezier(0.19, 1, 0.22, 1);
}

.wm-video-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: #000;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

/* --- RIGHT SIDE: THE CONTENT WING (FIXED 50%) --- */
.wm-content-card {
  flex: 0 0 50%;
  background: #ffffff; /* Shifted from parchment to clean white */
  overflow: hidden;
  position: relative;
}

.wm-content-slider {
  display: flex;
  width: 200%; 
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

.wm-view-main, .wm-view-details {
  width: 50%; 
  height: 100%;
  padding: 80px; /* Increased padding for better breathing room */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TYPOGRAPHY REFINEMENT */
.wm-title {
  
  font-size: 52px; /* Slightly larger for impact */
  color: #1b2e67; /* Deep Navy Title */
  margin-bottom: 25px;
  line-height: 1.05;
  font-weight: 800;
}

/* Elite Gold Accent for the slogan/span */
.wm-title span { 
  color: #1b2e67; 
  font-style: normal; 
  display: block;
  font-size: 0.5em;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.wm-lead {
  
  font-size: 16px;
  line-height: 1.8;
  color: #5c6784; /* Muted Slate Blue for readability */
  margin-bottom: 20px;
}

/* ACTIONS */
.wm-actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.wm-btn-more {
  background: #1b2e67; /* Navy Button */
  color: #fff;
  border: none;
  padding: 20px 45px;
  
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(27, 46, 103, 0.15);
}

.wm-btn-more:hover { 
  background: #f3b820; /* Hovers to Logo Gold */
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(201, 177, 104, 0.3);
}

/* Secondary Link Styling */
.wm-play-link {
  color: #1b2e67;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.wm-play-link:hover {
  color: #007bff; /* Neon Blue Accent from roofline */
}

/* --- STATE TRIGGERS --- */
.wm-container.read-active .wm-content-slider {
  transform: translateX(-50%);
}

.wm-container.video-active .wm-video-layer {
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .wm-container { flex-direction: column; height: auto; }
 
  .wm-content-card { flex: 0 0 auto; }
  .wm-view-main, .wm-view-details { padding: 60px 30px; width: 50%; }
  .wm-title { font-size: 30px; }
}
/* --- IPAD & TABLET BREAKPOINT (Max-width: 1024px) --- */
@media (max-width: 1024px) {
  .wm-media-stage {
    flex: 0 0 100%;    /* Take up full width of the tablet screen */
    width: 100%;
    height: 450px;     /* Gives a generous, beautifully proportioned height on iPad */
  }
}

/* --- MOBILE PHONE BREAKPOINT (Max-width: 768px) --- */
@media (max-width: 768px) {
  .wm-media-stage {
    flex: 0 0 100%;    /* Take up full width of the phone screen */
    width: 100%;
    height: 440px;     /* Adjusted slightly shorter for mobile screens so users don't have to scroll too much to see the text */
  }
}
/* --- ELITE SCROLL & ALIGNMENT FIXES --- */
.wm-view-details {
  width: 50%;
  height: 100%;
  padding: 60px;
  display: flex;
  flex-direction: column; 
  /* Switched to a clean, crisp White for a modern look */
  background: #ffffff;
}

.wm-btn-back {
  background: none;
  border: none;
  /* Updated to Navy to maintain visual authority */
  color: #1b2e67;
  
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  margin-bottom: 20px; 
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0; 
  transition: color 0.3s ease;
}

.wm-btn-back:hover {
  color: #007bff; /* Neon blue shift on hover */
}

.wm-scroll-area {
  flex-grow: 1; 
  overflow-y: auto; 
  padding-right: 20px; 
}

/* Custom Scrollbar: Sleek & Professional */
.wm-scroll-area::-webkit-scrollbar {
  width: 4px;
}
.wm-scroll-area::-webkit-scrollbar-track {
  background: rgba(27, 46, 103, 0.05);
}
.wm-scroll-area::-webkit-scrollbar-thumb {
  /* Using Neon Blue for the scroll handle to match the roof LEDs */
  background: #007bff;
  border-radius: 10px;
}

/* VIDEO LAYER ALIGNMENT */
#wm-player-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  
  /* CRITICAL: Allows absolute positioning for items inside it */
  position: relative; 
}

#wm-player-container iframe {
  width: 100%;
  /* Using max-height/max-width avoids spilling out of the parent container */
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
}

/* FLOATING CLOSE BUTTON OVER VIDEO */
.wm-close-video {
    /* Step 1: Float it perfectly on top of the video container */
    position: absolute;
    top: 15px;      /* Distance from the top edge */
    right: 15px;    /* Distance from the right edge */
    z-index: 99;    /* Makes sure it sits directly on top of the iframe */

    /* Step 2: Define clear foreground and background colors */
    background-color: rgba(51, 51, 51, 0.85); /* Dark Gray with slight transparency */
    color: #FFFFFF;                            /* Pure White */
    
    /* Step 3: Ensure the button is large enough to be clickable */
    border: none;
    padding: 8px 14px;
    font-size: 16px;           
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

/* Hover state for better UX */
.wm-close-video:hover {
    background-color: #111111;
}

/* Step 4: Define a focus state for keyboard users */
.wm-close-video:focus {
    outline: 3px solid #005fcc; 
    outline-offset: 2px;
}
/* MAIN VIEW SCROLLING REFINEMENTS */
.wm-view-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
}

.wm-main-scroll {
  flex: 1;
  overflow-y: auto;
  padding-right: 15px;
  margin-bottom: 20px;
}

.wm-main-scroll .wm-lead {
  font-size: 16px;
  line-height: 1.8;
  /* Dark Slate Blue for a softer, premium reading experience */
  color: #5c6784; 
  margin-bottom: 20px;
}

.wm-main-scroll::-webkit-scrollbar {
  width: 4px;
}
.wm-main-scroll::-webkit-scrollbar-track {
  background: rgba(27, 46, 103, 0.05);
}
.wm-main-scroll::-webkit-scrollbar-thumb {
  /* Using Logo Gold for the main view scrollbar */
  background: #f3b820; 
  border-radius: 10px;
}

/* FOOTER ACTIONS */
.wm-actions {
  flex-shrink: 0;
  padding-top: 20px;
  /* Subtle navy border for a clean separation */
  border-top: 1px solid rgba(27, 46, 103, 0.1);
}
/* =========================================
   RESPONSIVE OVERRIDES (MOBILE & IPAD)
========================================= */

@media (max-width: 1024px) {
  /* 1. Allow the container to grow with its content */
  .wm-container {
    flex-direction: column;
    height: auto; /* Remove fixed height */
    max-height: none;
    margin: 20px;
  }

 

  /* 3. Adjust the Content Wing */
  .wm-content-card {
    flex: 0 0 auto;
    width: 100%;
    overflow: hidden;
  }

  /* 4. Fix the Slider Logic for Mobile */
  .wm-content-slider {
    width: 200%; /* Keeps the two-view logic intact */
  }

  .wm-view-main, .wm-view-details {
    width: 50%;
    padding: 40px 25px; /* Smaller padding for mobile */
    height: auto;
    min-height: 400px; /* Ensures enough room for text */
  }

  /* 5. Typography Adjustments */
  .wm-title {
    font-size: 32px; /* Smaller headings */
    margin-bottom: 15px;
  }

  /* 6. Buttons & Actions */
  .wm-actions {
    flex-direction: column; /* Stack buttons vertically on small screens */
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
  }

  .wm-btn-more {
    width: 100%; /* Full width button for easier tapping */
    text-align: center;
  }

  /* 7. Scroll Area Fix */
  .wm-main-scroll, .wm-scroll-area {
    max-height: 300px; /* Limit scroll area so footer stays visible */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
  }

  /* 8. Video Layer Fix */
  .wm-video-layer {
    z-index: 200; /* Ensure it covers everything when active */
  }
}

/* Specific Tweak for Small Phones */
@media (max-width: 480px) {
  .wm-title {
    font-size: 28px;
  }
  
  .wm-view-main, .wm-view-details {
    padding: 30px 20px;
  }

  
}

/* --- ELITE AMENITIES TEASER SECTION --- */
.wm-amenities-teaser {
    /* Switched from Soft Ivory to a crisp, modern off-white */
    background-color: #f8f9fa; 
    padding: 100px 5%;
    overflow: hidden;
}

.wm-teaser-container {
    max-width: 1400px;
    margin: 0 auto;
}

.wm-teaser-header {
    margin-bottom: 80px;
    /* Updated to the signature Neon Blue for a modern energy line */
    border-left: 8px solid #007bff;
    padding-left: 30px;
}

.wm-eyebrow {
    
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 14px;
    font-weight: 800;
    /* Brand Gold for subtle luxury labels */
    color:#1b2e67; 
}

.wm-teaser-title {
    font-weight: 800;
    font-size: 55px;
    color: #1b2e67; 
    line-height: 1.1;
    /* Force the text to stay on one single line */
    white-space: nowrap; 
    display: block;
    text-decoration: none;
}

.wm-teaser-title1 {
  font-family: 'Montserrat', sans-serif;
    color: #1b2e67;
    /* Ensure spans stay inline and don't drop to a new line */
    display: inline; 
}
.wm-teaser-title2 {
  font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    /* Ensure spans stay inline and don't drop to a new line */
    display: inline; 
}
/* This targets the specific span for "Suites" */
.gold-text {
    color: #1b2e67 !important; /* Elite Gold */
}
.wmteaslink {
    color: #1b2e67;
    text-decoration: none;
    font-weight: bold;
}
.wmteaslink1 {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.amp-fix {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8em; /* Slightly smaller looks better for & */
    margin: 0 8px;
    font-weight: 400;
    display: inline-block;
    vertical-align: middle; /* Aligns & vertically with the text */
}

/* THE GRID */
.wm-teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.wm-teaser-card {
    background: #ffffff;
    padding: 60px 40px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    /* Very subtle border */
    border: 1px solid rgba(27, 46, 103, 0.08);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(27, 46, 103, 0.03);
}

/* Big Ghost Number behind the text */
.card-bg-text {
    position: absolute;
    top: -20px;
    right: -10px;
    
    font-size: 150px;
    font-weight: 900;
    /* Changed to a transparent Navy for better visual harmony */
    color: rgba(27, 46, 103, 0.04); background-color: rgb(255, 255, 255);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-icon {
    font-size: 32px;
    /* Electric Blue icons to match the building roof line */
    color: #007bff;
    margin-bottom: 25px;
}

.wm-teaser-card h3 {
    
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 18px;
    color: #1b2e67;
    margin-bottom: 15px;
}

.wm-teaser-card p {
    
    font-size: 15px;
    line-height: 1.8;
    /* Slate Grey for clean readability */
    color: #5c6784;
    margin-bottom: 50px;
}

/* Editorial Style Link */
.wm-teaser-link {
    
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    color: #1b2e67;
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}

.wm-teaser-link i {
    font-size: 10px;
    transition: transform 0.3s;
}

/* Hover States */
.wm-teaser-card:hover {
    transform: translateY(-10px);
    /* Neon Glow shadow effect */
    box-shadow: 0 30px 60px rgba(0, 123, 255, 0.1);
    border-color: #007bff;
}

.wm-teaser-card:hover .wm-teaser-link {
    /* Action link turns Neon Blue on hover */
    color: #007bff;
}

.wm-teaser-card:hover .wm-teaser-link i {
    transform: translateX(8px);
}

@media (max-width: 1024px) {
    .wm-teaser-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .wm-teaser-grid { grid-template-columns: 1fr; }
    .wm-teaser-title { font-size: 30px; }
}

/* --- ELITE ROOMS SHOWCASE SECTION --- */
.rooms-showcase {
  /* Using the Deep Navy from the facade for a premium, nightly feel */
  background-color: #1b2e67; 
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.showcase-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 80px;
  padding: 0 5%;
}

/* CONTENT STYLES */
.sc-eyebrow {
  /* Logo Gold for the luxurious labeling */
  color: #f3b820; 
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 12px;
  font-weight: 700;
  display: block;
  margin-bottom: 20px;
}

.showcase-content h3 {
  font-size: 64px;
  line-height: 1.1;
  color: #ffffff; /* White text pops perfectly against navy */
  margin-bottom: 20px;
  transition: opacity 0.4s ease;
}

.sc-tags {
  font-size: 13px;
  /* Soft Slate for secondary details */
  color: #a5adc6; 
  /* Electric Blue border to match the neon roofline */
  border-left: 3px solid #007bff; 
  padding-left: 15px;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.showcase-content p {
  font-size: 17px;
  color: #ffffff;
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.sc-meta {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  font-size: 15px;
  color: #ffffff;
  font-weight: 500;
}

.sc-meta i { 
  /* Icons highlighted in Electric Blue */
  color: #007bff; 
  margin-right: 8px; 
}

/* NAVIGATION */
.sc-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.sc-cta {
  padding: 10px 15px;
  /* Gold button for the primary call to action */
  background: #f3b820; 
  color: #1b2e67; /* Navy text for legibility */
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  border: 1px solid #f3b820;
}

.sc-cta:hover { 
  background: transparent; 
  color: #f3b820; 
}

.sc-controls button {
  width: 60px;
  height: 60px;
  /* Subtle white border for controls */
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sc-controls button:hover {
  /* Hover shift to the neon blue */
  background: #007bff;
  border-color: #007bff;
  color: #ffffff;
}

/* VISUAL STAGE FIXED: REMOVED ALL OFFSET SHADOWS AND RECTANGLE BORDERS */
.showcase-visual {
  position: relative;
  height: 650px;
  width: 100%;
}

.visual-main-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-shadow: none; /* REMOVED: Deleted the blue shadow offsets that created background rectangles */
}

.visual-main-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the room image fills the entire frame cleanly */
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.visual-decoration-box {
  display: none; /* REMOVED: Completely stripped the floating background wireframes */
}

/* --- ROOMS SHOWCASE RESPONSIVE ALIGNMENT --- */

/* Tablet / iPad (Up to 1024px) */
@media (max-width: 1024px) {
    .rooms-showcase {
        padding: 60px 0;
    }

    .showcase-inner {
        display: flex; /* Switch from grid to flex for easier ordering */
        flex-direction: column; /* Stacks vertically */
        align-items: center;
        gap: 40px;
        padding: 0 40px;
    }

    /* 1. IMAGE ON TOP */
    .showcase-visual {
        order: 1; 
        width: 100%;
        max-width: 800px;
        height: 450px; /* Adjusted height for tablet viewing */
        margin-bottom: 20px;
    }

    /* 2. CONTENT BELOW */
    .showcase-content {
        order: 2;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .showcase-content h2 {
        font-size: 42px;
        max-width: 100%;
    }

    .showcase-content p {
        margin: 0 auto 30px;
    }

    .sc-meta {
        justify-content: center;
        width: 100%;
    }

    .sc-nav {
        justify-content: center;
        width: 100%;
    }
}

/* Mobile Version (Up to 768px) */
@media (max-width: 768px) {
    .showcase-inner {
        padding: 0 20px;
        gap: 30px;
    }

    .showcase-visual {
        height: 300px; /* Smaller height for phones */
    }

    .showcase-content h2 {
        font-size: 32px;
        margin-bottom: 50px;
    }

    /* FIXED: Changed line color under room name from red to branding gold color */
    .sc-tags {
        border-left: none;
        border-bottom: 2px solid #f3b820; /* Changed from #d71440 to Gold */
        padding: 0 0 10px 0;
        margin-bottom: 20px;
    }

    .sc-meta {
        flex-direction: column; /* Stack icons for readability on small screens */
        gap: 15px;
    }

    .sc-nav {
        flex-direction: column;
        gap: 20px;
    }

    .sc-cta {
        width: 100%;
        text-align: center;
    }

    .visual-main-frame {
        box-shadow: none; /* REMOVED: Completely flat and modern layout style */
    }
    
    .visual-decoration-box {
        display: none;
    }
}

/* --- ELITE CINEMATIC DISCOVERY SECTION --- */
.cinematic-discovery {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    /* Clean white background behind the scene */
    background-color: #ffffff; 
    overflow: hidden;
}

/* LEFT SIDE: Cinematic Image Stage */
.stage-wrapper {
    flex: 1.2;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.stage-bg {
    position: absolute;
    inset: 0;
    width: 120%;
    height: 100%;
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    transform: scale(1.05);
}

.stage-vignette {
    position: absolute;
    inset: 0;
    /* Gradient now blends into the Deep Navy sidebar (#1b2e67) */
    background: linear-gradient(90deg, 
        rgba(27, 46, 103, 0) 0%, 
        rgba(27, 46, 103, 0.2) 60%, 
        rgba(27, 46, 103, 1) 100%);
    z-index: 2;
    pointer-events: none;
}

/* RIGHT SIDE: Interactive Menu (Deep Navy Theme) */
.discovery-nav {
    flex: 0.8;
    /* Primary brand Navy for a high-end hospitality feel */
    background: #1b2e67; 
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    /* Subtle neon blue shadow for depth */
    box-shadow: -15px 0 50px rgba(0, 123, 255, 0.15);
}

.nav-header .eyebrow {
    /* Brand Gold for the small luxury label */
    color: #f3b820; 
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 11px;
    font-weight: 800;
}

.nav-header h3 {
    font-size: 54px;
    color: #ffffff; /* White text on Navy background */
    margin: 15px 0 50px;
    line-height: 1;
    font-weight: 800;
}

.nav-header span {
    /* Electric Blue accent matching the roofline LEDs */
    color: #007bff; 
}

.discovery-options {
    flex-grow: 1;
}

.discovery-item {
    display: flex;
    gap: 25px;
    padding: 35px 0;
    /* Subdued navy-grey border for the list */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0.5;
}

.discovery-item.active {
    opacity: 1;
    /* Highlighted border uses the Electric Blue neon line */
    border-bottom: 1px solid #007bff; 
    transform: translateX(10px); /* Subtle nudge to indicate active state */
}

.item-number {
    font-size: 14px;
    color: #f3b820; /* Numbers in Gold for luxury distinction */
    font-weight: 800;
    padding-top: 5px;
}

.item-text h3 {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 700;
}

.item-text p {
    /* Softened slate blue for body text readability on dark background */
    color: #a5adc6; 
    font-size: 15px;
    line-height: 1.6;
    max-width: 300px;
    display: none;
}

.discovery-item.active p {
    display: block;
}

.global-explore {
    margin-top: 50px;
    /* High-contrast Gold link */
    color: #f3b820; 
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    /* Electric Blue indicator line */
    border-bottom: 2px solid #007bff;
    width: fit-content;
    padding-bottom: 8px;
    transition: 0.3s;
}

.global-explore:hover {
    color: #ffffff;
    border-color: #ffffff;
}


/* --- RESPONSIVE REFINEMENTS --- */
/* Tablet (iPad) Version */
@media (max-width: 1024px) {
    .cinematic-discovery {
        flex-direction: column;
        height: auto; 
        min-height: unset;
        overflow: visible; /* CRITICAL: Allows scrolling */
    }

    .stage-wrapper {
        width: 100%;
        height: 400px; 
        flex: none;
        position: sticky; /* Optional: keeps image visible while scrolling items */
        top: 0;
        z-index: 1;
    }

    .discovery-nav {
        width: 100%;
        flex: none;
        padding: 40px 30px;
        position: relative;
        z-index: 10;
        background: #1b2e67;
    }
}

/* Mobile Version (iPhone/Android) */
@media (max-width: 768px) {
    .cinematic-discovery {
        display: block; /* Changes flex to block for natural scrolling */
        height: auto;
        overflow: visible;
    }

    .stage-wrapper {
        height: 250px; 
    }

    .discovery-nav {
        padding: 30px 20px;
    }

    .nav-header h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .discovery-item {
        padding: 25px 0;
        opacity: 1; /* Make them visible on mobile so people know to click */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .item-text h3 {
        font-size: 20px;
    }

    /* Important: Ensure the text is readable on tap */
    .discovery-item.active p {
        display: block;
        margin-top: 10px;
        animation: fadeIn 0.4s ease forwards;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- ELITE ARCHIVE V5 SECTION --- */
.mke-archive-v5 {
    height: 80vh;
    /* Clean white background for a modern gallery feel */
    background: #ffffff; 
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding-left: 5%;
}

.mke-v5-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 80%;
}

/* --- SIDE HEADER --- */
.mke-v5-side-header {
    flex: 0 0 350px;
    padding-right: 50px;
    z-index: 10;
}

.mke-v5-eyebrow {
    /* Logo Gold for the luxury label */
    color: #1b2e67; 
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 800;
}

.mke-v5-title {
    font-size: clamp(40px, 4vw, 55px);
    /* Deep Navy for authoritative heading */
    color: #1b2e67; 
    line-height: 1.1;
    margin: 10px 0;
}

.mke-v5-title span { 
    font-style: normal; 
    font-weight: 300; 
    /* Electric Blue accent for modern flair */
    color: #007bff; 
}

.mke-v5-info { 
    font-size: 14px; 
    /* Slate blue for professional secondary text */
    color: #5c6784; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    opacity: 0.9;
}

.mke-v5-address {
    margin-top: 5px;
    color: #8a94ad; /* Softer slate for address details */
}

/* --- HORIZONTAL FILMSTRIP --- */
.mke-v5-filmstrip {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 20px;
    cursor: grab;
}

/* Custom Scrollbar matching Neon Blue theme */
.mke-v5-filmstrip::-webkit-scrollbar { height: 4px; }
.mke-v5-filmstrip::-webkit-scrollbar-track { background: rgba(27, 46, 103, 0.05); }
.mke-v5-filmstrip::-webkit-scrollbar-thumb { background: #007bff; }

.mke-v5-track {
    display: flex;
    gap: 30px;
    padding-right: 100px;
}

.mke-v5-card {
    flex: 0 0 450px;
    height: 60vh;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.mke-v5-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1s ease;
}

/* Hover effects: Neon Blue Border highlight */
.mke-v5-card:hover img { transform: scale(1.08); }
.mke-v5-card:hover { 
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}

/* Overlay Label */
.mke-v5-label {
    position: absolute;
    bottom: 20px; 
    left: 20px;
    
    /* FIX: Define foreground AND background colors */
    color: #FFFFFF; 
    /* Semi-transparent black ensures white text passes on ANY image background */
    background-color: rgba(0, 0, 0, 0.7); 
    padding: 4px 10px;
    border-radius: 2px;

    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    z-index: 2;
}

/* Gold accent for the card numbers */
.mke-v5-label span { 
    /* FIX: Pure white (#fff) on dark background is 21:1 contrast. 
       If you want a "Gold" accent that passes 4.5:1 on black, use #FFD700 */
    color: #FFD700; 
    margin-right: 10px; 
}

/* --- LIGHTBOX (Modern High-Contrast) --- */
.mke-lightbox {
    display: none; 
    position: fixed; 
    inset: 0; 
    /* Semi-transparent Navy backdrop */
    background: rgba(27, 46, 103, 0.95); 
    z-index: 2000;
    align-items: center; 
    justify-content: center;
}

.mke-lightbox img { 
    max-width: 90%; 
    max-height: 85vh; 
    object-fit: contain;
    /* Glow shadow in Neon Blue */
    box-shadow: 0 0 50px rgba(0, 123, 255, 0.3); 
}

.mke-lightbox .close-btn { 
    position: absolute; 
    top: 20px; 
    right: 30px; 
    color: #ffffff; 
    font-size: 40px; 
    cursor: pointer;
    transition: color 0.3s ease;
}

.mke-lightbox .close-btn:hover {
    color: #007bff;
}
/* Optimized Responsive Logic */
@media (max-width: 1024px) { /* Targets iPad and Mobile */
    .mke-archive-v5 {
        height: auto; 
        min-height: 100vh;
        padding: 60px 0 60px 5%; /* Remove right padding to let filmstrip bleed */
    }

    .mke-v5-container {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }

    .mke-v5-side-header {
        flex: none;
        width: 100%;
        padding-right: 5%;
        margin-bottom: 40px;
    }

    .mke-v5-filmstrip {
        width: 100%;
        cursor: grab;
        /* Force smooth momentum scrolling on iOS */
        -webkit-overflow-scrolling: touch; 
    }

    .mke-v5-card {
        flex: 0 0 80vw; /* Card takes up 80% of screen width */
        height: 50vh; /* Scaled for mobile screens */
    }

    .mke-v5-title {
        font-size: 38px;
    }
}

/* --- ELITE HERITAGE FOOTER (MIDNIGHT NAVY VERSION) --- */
.heritage-footer {
    /* Electric Blue Top Border matching the roofline LEDs */
    border-top: 4px solid #007bff; 
    /* Deepest Navy for a grounded, executive foundation */
    background-color: #0d1733; 
    position: relative;
    overflow: hidden;
}

/* BIG BACKGROUND WATERMARK */
.footer-watermark {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Permanent Marker', cursive;
    font-size: 7vw;
    font-weight: 900;
    /* Subtle Navy glow for the watermark */
    color: rgba(255, 255, 255, 0.02); 
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 10px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.footer-top-wrap {
    padding: 80px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 60px;
}

/* --- BRAND & IDENTITY --- */
.f-logo {
    height: 90px;
    margin-bottom: 25px;
}

.f-tagline {
    /* Soft Slate Blue for elegant readability */
    color: #a5adc6; 
    line-height: 1.8;
    font-size: 18px;
    margin-bottom: 30px;
}

.f-socials a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    /* Glass effect using Navy tint */
    background: rgba(255, 255, 255, 0.05); 
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    transition: 0.4s ease;
    text-decoration: none;
}

.f-socials a:hover {
    /* Electric Blue Glow on hover */
    background: #007bff; 
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
    transform: translateY(-3px);
}

/* --- HEADINGS --- */
.f-heading {
    font-family: 'Permanent Marker', cursive;
    font-size: 28px;
    color: #ffffff; 
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
}

.f-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    /* Neon Blue Accent line */
    background: #007bff; 
}

/* --- QUICK LINKS --- */
.link-split { display: flex; gap: 40px; }
.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bullet-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    font-size: 17px;
}

.bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    /* Gold Bullets for premium feel */
    color: #f3b820; 
    font-size: 20px;
}

.bullet-list a {
    text-decoration: none;
    /* Slightly muted white */
    color: rgba(255, 255, 255, 0.8); 
    transition: 0.3s ease;
}

.bullet-list a:hover {
    color: #007bff; /* Electric Blue on hover */
    padding-left: 5px;
}

/* Gold Highlight for VIP links (e.g., Book Now) */
.gold-link { color: #f3b820 !important; font-weight: 700; } 

/* --- CONTACT SECTION --- */
.contact-item { display: flex; gap: 15px; margin-bottom: 20px; }
/* Icons in Neon Blue to guide the eye */
.icon-gold { color: #007bff; font-size: 20px; }

.contact-item p, .contact-item a {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
}

.f-tel { font-weight: 800; color: #ffffff !important; }

.f-times {
    margin-top: 35px;
    /* Darkened container for check-in info */
    background: rgba(0, 0, 0, 0.3); 
    color: #fff;
    padding: 20px 25px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- LEGAL BOTTOM BAR --- */
.footer-bottom-bar {
    /* Pure black/navy for the absolute bottom */
    background: #050a1a; 
    color: rgba(255, 255, 255, 0.4);
    padding: 45px 0 35px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.f-ownership {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.6);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-wrap a, .f-credit a {
    color:#fff;
    text-decoration: none;
}

.legal-wrap a:hover, .f-credit a:hover { color: #007bff; }
.sep { margin: 0 10px; color: #007bff; }
/* IPAD / TABLET (1024px and down) */
@media (max-width: 1024px) {
    .footer-watermark { 
        font-size: 18vw; 
        top: 20%; 
    }
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 40px; 
    }
    /* Make the brand section span full width on tablets for better balance */
    .footer-grid > div:first-child {
        grid-column: span 2;
        text-align: center;
    }
    .f-heading::after { left: 50%; transform: translateX(-50%); }
    .f-socials { justify-content: center; display: flex; }
}

/* MOBILE (768px and down) */
@media (max-width: 768px) {
    .footer-watermark { display: none; }
    
    .footer-top-wrap { padding: 60px 0; }

    .footer-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 50px;
    }

    .footer-grid > div:first-child { grid-column: span 1; }

    /* Fix Heading Accents */
    .f-heading::after { 
        left: 50%; 
        transform: translateX(-50%); 
    }

    /* Links Alignment */
    .link-split { 
        justify-content: center; 
        gap: 20px;
    }
    
    .bullet-list {
        display: inline-block; /* Keeps text left-aligned but the block centered */
        text-align: left;
    }

    .bullet-list li {
        padding-left: 25px; /* Restore padding for bullets */
    }

    .bullet-list li::before {
        display: block; /* Ensure bullets stay visible and aligned */
    }

    /* Contact Details Alignment */
    .contact-item { 
        justify-content: center; 
        text-align: left; /* Keeps icon next to text */
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .f-times {
        max-width: 320px;
        margin: 35px auto 0;
    }

    /* Bottom Bar */
    .bottom-flex { 
        flex-direction: column; 
        gap: 15px; 
        text-align: center; 
    }
    
    .legal-wrap {
        order: 2; /* Moves links below copyright for cleaner hierarchy */
    }
}
@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px; /* Reduce side padding so content has more room */
        width: 100%;
        overflow: hidden; /* Prevent horizontal scroll */
    }
}
@media (max-width: 480px) {
    .link-split {
        display: flex;
        flex-direction: row; /* Keep them side by side... */
        justify-content: space-around; /* ...but distribute space evenly */
        gap: 10px; /* Reduce gap significantly */
        width: 100%;
    }

    .bullet-list li {
        font-size: 15px; /* Slightly smaller text for small phones */
        white-space: nowrap; /* Prevent awkward wrapping */
    }
	
    .f-logo {
        max-width: 80%; /* Ensure logo never exceeds screen width */
        height: auto;
    }
}
@media (max-width: 430px) {
    .f-heading {
        font-size: 24px; /* Scale down the Permanent Marker font */
    }
    
    .f-tagline {
        font-size: 16px;
        padding: 0 10px;
    }

    .f-logo {
        max-width: 80%; /* Ensure logo never exceeds screen width */
        height: auto;
    }
}


/* --- ELITE INN INNER HERO (NAVY & BLUE OPTIMIZED) --- */
.inner-hero {
  position: relative;
  height: 50vh; 
  min-height: 500px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 80px; 
  background-color: #0d1733; /* Elite Midnight Navy */
  margin-top: 120px; /* Adjusted to sit flush with header if needed */
}

.inner-hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.inner-overlay {
  position: absolute;
  inset: 0;
  /* Updated Gradient: Transitions from Deep Navy to a transparent blue tint */
  background: linear-gradient(to bottom, 
    rgba(13, 23, 51, 0.85) 0%, 
    rgba(13, 23, 51, 0.5) 50%, 
    rgba(0, 123, 255, 0.2) 100%); /* Electric Blue hint at bottom */
  z-index: 2;
}

.inner-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
}

.inner-subtitle {
  font-family: 'Montserrat', sans-serif; 
  font-size: 1rem;
  letter-spacing: 5px; 
  text-transform: uppercase;
  /* Electric Blue Accent to match the layout's buttons/icons */
  color: #f3b820; 
  margin-bottom: 1rem;
  font-weight: 700;
}

.inner-title {
  font-family: 'Permanent Marker', cursive; 
  font-size: 4.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
}
.inner-title span{
  font-family: 'Montserrat', sans-serif; 
  font-size: 4.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
}
/* Electric Blue Divider matching the logo/button accents */
.inner-divider {
  width: 60px;
  height: 4px;
  background-color: #f3b820; 
  margin: 25px auto;
}

.inner-location-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ffffff;
  max-width: 750px;
  margin: 15px auto 0;
  font-weight: 500;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Responsive Scaling */
@media (max-width: 768px) {
  .inner-hero {
    height: 45vh;
    min-height: 400px;
  }
  .inner-title {
    font-size: 2.8rem;
  }
  .inner-subtitle {
    font-size: 0.85rem;
    letter-spacing: 3px;
  }
}

/* --- ELITE INN & SUITES AMENITIES SECTION --- */

.steward-ledger {
  /* Midnight Navy Background to match property layout */
  background-color: #0d1733; 
  background-image: linear-gradient(180deg, rgba(13, 23, 51, 0.95), rgba(5, 10, 26, 0.98));
  background-size: cover;
  background-attachment: fixed;
  padding: 60px 5%;
}

.ledger-container {
  max-width: 1300px;
  margin: 0 auto;
  /* Electric Blue double border for Elite brand consistency */
  border: 6px double #007bff; 
  padding: 50px 40px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
}

/* --- HEADER SECTION --- */
.ledger-header { 
  text-align: center; 
  margin-bottom: 50px; 
}

.ledger-header h2 { 
  font-family: 'Permanent Marker', cursive; 
  font-size: clamp(2rem, 4vw, 3.5rem); 
  color: #0d1733; /* Deep Navy Title */
  text-transform: uppercase; 
  margin: 0; 
  letter-spacing: 2px;
}

.ledger-subtitle { 
  font-family: 'Montserrat', sans-serif; 
  font-size: 0.9rem; 
  letter-spacing: 4px; 
  color: #007bff; /* Electric Blue Accent */
  font-weight: 700; 
  margin: 15px 0; 
  text-transform: uppercase;
  text-decoration: none;
}

.ledger-intro-text { 
  max-width: 1200px; 
  margin: 25px auto; 
  font-family: 'Montserrat', sans-serif; 
  font-size: 1.05rem; 
  color: #444; 
  line-height: 1.8; 
}

.ledger-line { 
  height: 3px; 
  width: 60px; 
  background: #007bff; /* Blue Divider */
  margin: 30px auto; 
}

/* --- POPULAR FACILITIES BAR --- */
.popular-facilities-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 50px;
  padding: 20px;
  /* Soft Blue tint instead of pink */
  background: rgba(0, 123, 255, 0.05); 
  border-radius: 4px;
  border: 1px solid rgba(0, 123, 255, 0.1);
}

.popular-facilities-bar span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0d1733;
  text-transform: uppercase;
}

.popular-facilities-bar i {
  color: #007bff; /* Blue Icons */
  margin-right: 8px;
}

/* --- GRID & PANEL LAYOUT --- */
.ledger-grid { 
  display: flex; 
  gap: 25px; 
  align-items: stretch; 
}

.ledger-panel { 
  flex: 1; 
  border: 1px solid #eee; 
  padding: 40px 25px; 
  position: relative; 
  background: #fff;
  transition: all 0.4s ease;
}

/* Highlight Panel (White Text on Midnight Navy) */
.ledger-panel.highlight {
  background: #0d1733; 
  color: #ffffff;
  border: 2px solid #007bff; 
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.panel-head { 
  text-align: center; 
  border-bottom: 1px solid rgba(0, 123, 255, 0.1); 
  padding-bottom: 25px; 
  margin-bottom: 30px; 
}

.panel-head i { 
  font-size: 32px; 
  color: #007bff; 
  margin-bottom: 15px; 
  display: block; 
}

.ledger-panel.highlight .panel-head i {
  color: #007bff; /* Blue icon on dark background */
}

.panel-head h3 { 
  font-size: 1.4rem; 
  text-transform: uppercase; 
  margin: 0; 
  letter-spacing: 1px; 
  font-weight: 800;
}

.panel-tag { 
  display: block; 
  font-family: 'Montserrat', sans-serif; 
  font-size: 0.75rem; 
  color: #888; 
  text-transform: uppercase; 
  margin-top: 10px; 
  letter-spacing: 2px;
}

.ledger-panel.highlight .panel-tag {
  color: #9CD9C5; /* Keeping your teal-accent or changing to lighter blue */
}

/* --- LISTS & CONTENT --- */
.ledger-subgroup h4 { 
  font-size: 0.9rem; 
  color: #0d1733; 
  text-transform: uppercase; 
  margin: 25px 0 12px; 
  border-left: 3px solid #007bff; 
  padding-left: 10px;
  display: block;
  font-weight: 700;
}

.ledger-panel.highlight .ledger-subgroup h4 {
  color: #ffffff;
  border-left-color: #007bff;
}

.ledger-items li {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #444; 
  padding: 8px 0;
  border-bottom: 1px solid #f9f9f9;
  display: flex;
  align-items: center;
}

.ledger-items li::before {
  content: "•"; 
  color: #007bff; 
  font-weight: bold;
  margin-right: 10px;
  font-size: 18px;
}

.feature-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.feature-list i { 
  color: #007bff; 
  width: 35px; 
  font-size: 16px; 
  text-align: center;
}

/* Specific styling for the Family/Convenience heading inside the dark panel */
.ledger-pet-heading {
    font-size: 0.9rem;
    color: #007bff !important;
    text-transform: uppercase;
    margin-top: 30px;
    margin-bottom: 12px;
    border-left: 3px solid #007bff; 
    padding-left: 10px;
    display: block;
    letter-spacing: 2px;
    font-weight: 700;
}

.ledger-subgroup-alt p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8); 
    line-height: 1.6;
    margin-top: 5px;
}

.ledger-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: #777;
}

.ledger-footer i {
  color: #007bff;
  margin-right: 8px;
}

/* --- RESPONSIVE REFINEMENTS --- */

@media (max-width: 1024px) {
  .ledger-container {
    padding: 20px;
    border-width: 4px;
  }
  .ledger-grid {
    flex-direction: column;
    gap: 30px;
  }
  .ledger-panel.highlight {
    transform: none;
    order: -1;
  }
  .ledger-header h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .steward-ledger {
    padding: 15px 3%;
  }
  .ledger-header h2 {
    font-size: 1.8rem;
  }
}

/* --- ELITE DISCOVERY ENGINE --- */
.elite-discovery-section {
    position: relative;
    background-color: #050a1a;
    padding: 0px 0;
}

/* THE BACKGROUND ENGINE */
.discovery-visual-engine {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0d1733 30%, rgba(13, 23, 51, 0.4) 100%);
    z-index: 2;
}

.discovery-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: grayscale(40%) contrast(110%);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 2s ease;
    transform: scale(1.1);
}

.discovery-img.active {
    opacity: 1;
    transform: scale(1);
}

/* THE CONTENT VAULT */
.discovery-content-vault {
    position: relative;
    z-index: 3;
    margin-top: -100vh; /* Pulls content over the sticky background */
    padding-bottom: 100px;
}

.discovery-header {
    padding: 80px 10% 100px;
    color: #fff;
}

.elite-label {
    color: #007bff;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 14px;
}

.elite-main-title {
    font-family: 'Permanent Marker', cursive;
    font-size: 4rem;
    margin: 10px 0;
    text-decoration: none;
    color: #fff;
}
.elite-main-title1 {
    font-family: 'Permanent Marker', cursive;
    font-size: 4rem;
    margin: 10px 0;
    text-decoration: none;
    color: #0d1733;
}

/* THE CARDS */
.discovery-grid {
    padding: 0 10%;
    max-width: 800px;
}

.discovery-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-left: 4px solid rgba(0, 123, 255, 0.3);
    padding: 60px 40px;
    margin-bottom: 150px; /* Large gap to trigger scroll animation */
    transition: all 0.5s ease;
}

.discovery-card.active {
    background: rgba(255, 255, 255, 0.08);
    border-left: 4px solid #007bff;
    transform: translateX(20px);
}

.card-count {
    color: #007bff;
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-title {
    color: #fff;
    font-size: 2.2rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.card-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* MOBILE REFINEMENTS */
@media (max-width: 768px) {
    .visual-overlay {
        background: rgba(13, 23, 51, 0.8);
    }
    .elite-main-title { font-size: 2.5rem; }
    .discovery-card { margin-bottom: 50px; padding: 30px; }
}
.elite-seo-intro {
    max-width: 1280px; /* Keeps line length comfortable for reading */
    margin: 30px 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85); /* Soft white for better readability */
    letter-spacing: 0.3px;
}

.elite-seo-intro strong {
    color: #007bff; /* Electric Blue highlight for SEO keywords */
    font-weight: 600;
}

.elite-accent-line {
    width: 60px;
    height: 4px;
    background: #007bff;
    margin-top: 15px;
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .elite-seo-intro {
        font-size: 1rem;
        text-align: left;
    }
}

/* ============================================================
   NEARBY LEDGER - ELITE INN & SUITES HOUSTON
   Midnight Navy: #0d1733 | Electric Blue: #007bff | Slate: #f8f9fa
   ============================================================ */

.nearby-ledger-section {
  /* Midnight Navy gradient to match the Discovery section */
  background-color: #0d1733; 
  background-image: linear-gradient(180deg, rgba(13, 23, 51, 0.98), rgba(5, 10, 26, 1));
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  padding: 80px 5%;
  overflow: clip;
}

.ledger-container {
  max-width: 1300px;
  margin: 0 auto;
  /* Elite Electric Blue Double Frame */
  border: 6px double #007bff; 
  padding: 50px 40px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.nearby-grid {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.nearby-panel {
  flex: 1;
  min-width: 320px;
  border: 1px solid #eef2f7; 
  padding: 35px;
  background: #fff;
  transition: all 0.3s ease;
}

/* --- THE HIGHLIGHT PANEL (MIDNIGHT NAVY) --- */
.nearby-panel.highlight {
  background: #0d1733; /* Dark Executive Background */
  color: #ffffff;
  border: 2px solid #007bff; /* Electric Blue Accent */
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

/* On Dark Background, Electric Blue is the primary focus */
.nearby-panel.highlight .panel-heading {
  color: #ffffff; 
  border-bottom-color: rgba(0, 123, 255, 0.5);
}

.nearby-panel.highlight .nearby-list li {
  color: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.nearby-panel.highlight .panel-heading i {
  color: #007bff;
}

/* --- PANEL HEADINGS --- */
.panel-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  color: #0d1733; /* Midnight Navy */
  border-bottom: 3px solid #007bff; /* Electric Blue Underline */
  padding-bottom: 15px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  font-weight: 800;
}

.panel-heading i {
  color: #007bff; /* Blue Icons */
  margin-right: 15px;
  font-size: 1.1rem;
}

/* --- LIST ITEMS --- */
.nearby-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nearby-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f1f4f8;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #333;
  transition: all 0.3s ease;
}

.nearby-list li:hover {
  color: #007bff;
  padding-left: 8px;
}

/* --- DISTANCE STYLING --- */
.distance {
  color: #0d1733; 
  background: #eef6ff; /* Very light blue tint */
  padding: 5px 12px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.75rem;
  margin-left: 15px;
  white-space: nowrap;
  border-left: 3px solid #007bff; /* Blue accent */
}

/* In Highlight panel, use Blue against the Navy */
.nearby-panel.highlight .distance {
  color: #ffffff;
  background: #007bff; 
  border-left: none;
}

/* ============================================================
   RESPONSIVE LOGIC
   ============================================================ */

@media (max-width: 1024px) {
  .nearby-ledger-section {
    padding: 40px 15px; 
  }

  .ledger-container {
    border-width: 4px;
    padding: 30px 15px;
  }

  .nearby-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
  }

  .nearby-panel {
    transform: none !important; 
    box-shadow: none !important;
  }
}

@media (max-width: 600px) {
  .nearby-grid {
    grid-template-columns: 1fr; 
  }
}

/* --- Elite Houston Location Styles --- */
.elite-houston-location {
  position: relative;
  background: #0d1733; /* Elite Midnight Navy */
  padding: 50px 5%; /* Balanced padding for better alignment spacing */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center; /* Vertically centers the row items */
}

.journal-wrapper {
  display: flex;
  width: 100%;
  max-width: 1280px;
  gap: 30px; /* Replaced negative margins with a clean gap between map and content */
  position: relative;
  align-items: stretch; /* Forces both map and content card to have identical heights */
}

/* Map Section */
.map-window-wrapper {
  flex: 1.2;
  position: relative;
  height: 760px; /* Base structural height */
  z-index: 1;
}

.map-window {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0, 123, 255, 0.3); /* Elite Blue Glow */
  filter: contrast(1.05);
}

/* Floating Geo Tag */
.geo-tag {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: #0d1733; /* Navy */
  color: #fff;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  border: 1px solid #007bff; /* Elite Blue Accent */
  box-shadow: 10px 10px 30px rgba(0,0,0,0.5);
}

.coord-divider {
  width: 30px;
  height: 1px;
  background: #007bff;
}

/* Glass Panel - Fixed Layout Broken Row Alignment */
.info-glass-panel {
  flex: 1; /* Automatically balances width relative to the map */
  max-width: 800px; /* Prevents card from stretching too wide on wide viewports */
  background: rgba(13, 23, 51, 0.96); /* Navy Transparency */
  backdrop-filter: blur(12px);
  margin: 0; /* REMOVED negative margins that broke row flow */
  padding: 50px;
  z-index: 2;
  border-left: 5px solid #007bff; /* Elite Blue Accent Bar */
  box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  justify-content: center; /* Keeps interior details vertically balanced */
}

.brand-accent-line {
  width: 40px;
  height: 3px;
  background: #007bff; /* Elite Blue Line */
  margin-bottom: 20px;
}

.location-subtitle {
  color: #007bff; /* Elite Blue */
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 3px;
  font-size: 0.75rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.location-main-title {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 32px;
  margin: 0 0 20px 0;
  line-height: 1.2;
}
.location-main-title span{
  color: #ffffff;
  font-family: 'Montserrat', sans-serif; 
  font-weight: 800;
  font-size: 32px;
  margin: 0 0 20px 0;
  line-height: 1.2;
}
.location-description {
  color: #f5f5f5;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 35px;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
}

.address-block {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 35px;
}

.address-block address {
  font-style: normal;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  line-height: 1.5;
}

/* Route Form Styling */
.route-form {
  border-top: 1px solid rgba(0, 123, 255, 0.3);
  padding-top: 25px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input-group input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(0, 123, 255, 0.4);
  padding: 12px 15px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  outline: none;
}

.input-group input::placeholder {
  color: rgba(255,255,255,0.6);
}

.route-submit-btn {
  background: #007bff; /* Elite Blue */
  color: #ffffff;
  border: none;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  font-family: 'Montserrat', sans-serif;
}

.route-submit-btn:hover {
  background: #ffffff;
  color: #0d1733;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .elite-houston-location { padding: 40px 20px; }
  .journal-wrapper { 
    flex-direction: column; 
    gap: 0;
  }
  .map-window-wrapper { width: 100%; height: 400px; }
  .info-glass-panel {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-top: 0;
    padding: 35px 25px;
    border-left: none;
    border-top: 5px solid #007bff; 
    background: #0d1733; 
  }
}

/* --- Elite Houston Contact Suite Styling --- */
.elite-contact-v3 {
  padding: 80px 5%;
  /* Elite Midnight Navy Gradient with Houston Map background */
  background: linear-gradient(rgba(13, 23, 51, 0.94), rgba(13, 23, 51, 0.9)), 
              url('../images/houston-city-map.jpg'); 
  background-size: cover;
  background-attachment: fixed;
}

.ledger-outer-frame {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  border: 1px solid rgba(0, 123, 255, 0.1);
  background: #ffffff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.ledger-accent-sidebar {
  width: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  /* Elite Midnight Navy Sidebar */
  background-color: #0d1733; 
}

.ledger-main-content {
  flex: 1;
  padding: 60px;
}

.ledger-headline {
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #0d1733; /* Elite Navy */
  margin-bottom: 15px;
  line-height: 1.2;
}

.ledger-headline span {
  
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-top: 10px;
  color: #007bff; /* Elite Blue Accent */
}

/* Elite Brand Blue Divider */
.elite-accent-line {
  width: 60px;
  height: 4px;
  background: #007bff;
  margin-bottom: 25px;
}

.ledger-subtext {
  font-family: 'Montserrat', sans-serif;
  color: #444;
  max-width: 1280px;
  line-height: 1.8;
  margin-bottom: 50px;
  font-size: 1.05rem;
}

.ledger-details-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.item-meta {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 15px;
  color: #007bff; /* Elite Blue Labels */
}

.item-data p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.estate-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #0d1733; /* Elite Navy */
  font-weight: 800;
  text-transform: uppercase;
}

.ledger-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  text-decoration: none;
  color: #0d1733; /* Elite Navy */
  transition: all 0.3s ease;
  display: inline-block;
  margin-bottom: 5px;
}

.ledger-link:hover {
  color: #007bff; /* Elite Blue Hover */
  transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .ledger-outer-frame { flex-direction: column; }
  .ledger-accent-sidebar { 
    width: 100%; 
    height: 12px; 
    border-bottom: 3px solid rgba(0, 123, 255, 0.4);
  }
  .ledger-details-row { grid-template-columns: 1fr; gap: 30px; }
  .ledger-main-content { padding: 40px 25px; }
}
/* --- Elite Houston Sitemap Index Styling --- */
.sitemap-index-suite {
  padding: 80px 20px;
  /* Elite Midnight Navy Gradient with Houston Skyline Backdrop */
  background: linear-gradient(rgba(13, 23, 51, 0.94), rgba(13, 23, 51, 0.9)), 
              url('../images/houston-skyline-bg.jpg'); 
  background-size: cover;
  background-attachment: fixed;
}

.index-parchment {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  padding: 60px;
  /* Double border in Elite Blue for a premium executive feel */
  border: 6px double #007bff;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  position: relative;
}

.index-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  /* Elite Blue for metadata visibility */
  color: #007bff; 
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}

.index-title {
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #0d1733; /* Elite Midnight Navy */
  margin: 0 0 20px;
  line-height: 1.2;
}

.index-description {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  max-width: 1050px;
}

.index-ornament {
  width: 80px;
  height: 4px;
  /* Elite Blue Accent Bar */
  background: #007bff; 
  margin: 30px 0 50px;
}

.index-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid #f0f0f0;
  padding-top: 40px;
}

.col-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #0d1733; /* Elite Midnight Navy */
  /* Blue accent indicator */
  border-left: 4px solid #007bff; 
  padding-left: 15px;
  font-weight: 800;
}

.index-list {
  list-style: none;
  padding: 0;
}

.index-list li {
  margin-bottom: 18px;
}

.index-list a {
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.index-list a:hover {
  /* Hover to Elite Blue */
  color: #007bff; 
  transform: translateX(8px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .index-columns { 
    grid-template-columns: 1fr; 
    gap: 35px; 
    padding-top: 30px;
  }
  
  .index-parchment { 
    padding: 40px 25px; 
    border-width: 4px; 
    width: 95%;
  }
  
  .index-title { 
    font-size: 2.2rem; 
  }
}

@media (max-width: 600px) {
  .sitemap-index-suite {
    padding: 30px 10px;
  }
  
  .index-parchment {
    padding: 30px 15px;
  }
}


/* --- Elite Houston FAQ Ledger Suite Styling --- */
.faq-ledger-suite {
  background: #ffffff; /* Clean white for high legibility */
  padding: 100px 5%;
  border-top: 1px solid #f0f0f0; 
}

.faq-ledger-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
}

/* Sidebar Styling */
.faq-sidebar {
  flex: 0 0 350px;
}

.sidebar-sticky {
  position: sticky;
  top: 120px;
}

.faq-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #007bff; /* Elite Blue Accent */
  display: block;
  margin-bottom: 15px;
  font-weight: 700;
}

.faq-headline {
  text-decoration: none;
  font-weight: 800;
  font-size: 3rem;
  color: #0d1733; /* Elite Midnight Navy */
  line-height: 1.1;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.faq-headline span {
  display: block;
  
  font-weight: 400;
  color: #007bff; /* Elite Blue Highlight */
  text-transform: none; 
  letter-spacing: 0;
  font-size: 2rem;
}

.faq-context {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
}

/* Entry Styling (The List) */
.faq-entries {
  flex: 1;
}

.faq-entry {
  display: flex;
  gap: 30px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #f2f2f2;
  transition: 0.3s;
}

.entry-no {
    font-family: 'Permanent Marker', cursive;
  font-size: 4rem;
  color: rgba(0, 123, 255, 0.2); /* Subtle Blue Numbering */
  font-weight: 800;
  padding-top: 5px;
}

.faq-entry h3 {
 
  font-size: 1.25rem;
  color: #0d1733; /* Elite Midnight Navy */
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.faq-entry p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

/* Elite Action Links */
.elite-link {
  color: #007bff; /* Elite Blue CTA */
  text-decoration: none;
  font-weight: 700;
  margin-top: 10px;
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.elite-link:hover {
  color: #0d1733; /* Transitions to Navy on hover */
  border-bottom: 2px solid #007bff; /* Blue underline on hover */
  transform: translateX(5px);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .faq-ledger-wrapper { flex-direction: column; gap: 50px; }
  .faq-sidebar { flex: none; text-align: left; }
  .sidebar-sticky { position: static; }
  .faq-headline { font-size: 2.6rem; }
  .faq-headline span { font-size: 1.6rem; }
}

@media (max-width: 768px) {
  .faq-entry { flex-direction: column; gap: 15px; }
  .entry-no { font-size: 1.3rem; }
  .faq-headline { font-size: 2.2rem; }
  .faq-ledger-suite { padding: 60px 5%; }
}

/* --- Elite Back to Top Styling --- */
.elite-back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: #0d1733; /* Elite Midnight Navy */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0; /* Hidden by default */
    visibility: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
}

.elite-back-to-top.show {
    opacity: 1;
    visibility: visible;
    bottom: 30px; /* Slight float up animation */
}

.elite-back-to-top:hover {
    background-color: #007bff; /* Elite Electric Blue */
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .elite-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
.elite-cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1b2e67; /* Elite Deep Navy */
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    padding: 12px 5%;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    display: none; /* Controlled by JavaScript */
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }

  .elite-cookie-text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    flex: 1;
  }

  .elite-cookie-text a {
    color: #f3b820; /* Brand Gold */
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
  }

  .elite-cookie-text a:hover {
    color: #ffffff;
  }

  .elite-cookie-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
  }

  .elite-btn-accept {
    background-color: #f3b820; /* Brand Gold */
    color: #1b2e67; /* Navy Text */
    border: 1px solid #f3b820;
    padding: 8px 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  .elite-btn-accept:hover {
    background-color: transparent;
    color: #f3b820;
  }

  .elite-btn-decline {
    background-color: transparent;
    color: #a5adc6; /* Soft Slate */
    border: 1px solid rgba(165, 173, 198, 0.4);
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  .elite-btn-decline:hover {
    color: #ffffff;
    border-color: #ffffff;
  }

  /* Responsive Design for Mobile Devices */
  @media (max-width: 768px) {
    .elite-cookie-bar {
      flex-direction: column;
      text-align: center;
      gap: 15px;
      padding: 20px;
    }
    
    .elite-cookie-actions {
      width: 100%;
      justify-content: center;
    }
    
    .elite-btn-accept, .elite-btn-decline {
      flex: 1;
      max-width: 150px;
      text-align: center;
    }
  }