﻿
/* Optimized Font Pairing: Mulish (Exact Logo Look) + Inter (Clean UI) */
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,700;0,800;0,900;1,800&family=Inter:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Inter:wght@300;400;500;600&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #f9f9f9; 
  color: #0B314F; /* MainStay Navy */
  line-height: 1.6;
}

/* Headings: Mulish mirrors the 'MainStay' logo's letterforms perfectly */
h1, h2, h3 {
  font-family: 'Mulish', sans-serif;
  font-weight: 800; /* Extra Bold matches the logo's weight */
  
  text-transform: uppercase;
  letter-spacing: 0.02em; /* Logo has slightly open tracking */
}
/* Full screen backdrop */
.flyer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 51, 0.9); /* Brand Navy with transparency */
    backdrop-filter: blur(5px);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 10000; /* Ensure it stays above everything */
    padding: 20px;
}

/* Modal box */
.flyer-modal {
    position: relative;
    max-width: 600px;
    width: 100%;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: flyerIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes flyerIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Image behavior */
.flyer-image-container {
    position: relative;
    line-height: 0;
}

.flyer-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* CTA Button on the flyer */
.flyer-cta-overlay {
    position: absolute;
    bottom: 50px;
    width: 100%;
    text-align: center;
}

.flyer-btn {
    background: #A1D7BE; /* Brand Mint */
    color: #0A2533;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    /* Slanted design to match your Book Stay button */
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    transition: all 0.3s ease;
    display: inline-block;
}

.flyer-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

/* Close button style - Default for Desktop */
.flyer-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
    line-height: 1;
    z-index: 10001; /* Higher than modal */
    transition: transform 0.2s ease;
}

.flyer-close:hover {
    transform: scale(1.2);
}

/* 📱 Responsive Fix for iPad and Mobile */
@media (max-width: 1024px) {
    .flyer-modal {
        max-width: 500px; /* Slightly smaller for tablets */
        margin: 0 auto;
    }

    .flyer-close {
        /* Move button INSIDE the modal area for tablets/phones */
        top: 10px;
        right: 10px;
        background: #0A2533; /* Brand Navy Background */
        color: #A1D7BE;    /* Brand Mint 'X' */
        width: 35px;
        height: 35px;
        border-radius: 50%;
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        padding-bottom: 4px; /* Optical alignment for the '×' char */
    }
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {
    .flyer-modal {
        max-width: 95%;
    }

    .flyer-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .flyer-cta-overlay {
        bottom: 15px; /* Adjust button position slightly */
    }
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .flyer-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    .flyer-close {
        top: 10px;
        right: 10px;
        color: #0A2533;
        background: rgba(255,255,255,0.8);
        border-radius: 50%;
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}
/* Sub-labels: Mint color to match the 'S' logo waves */
.sub-label {
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  color: #A3D9C5; /* MainStay Mint */
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 4px; /* Mimics the wide spacing of 'EXTENDED STAY' in logo */
  display: block;
  margin-bottom: 12px;
}

/* --- BUTTONS --- 
   Using the 'Mint' as the action color and the 'Navy' for text 
*/
.btn-primary {
  font-family: 'Mulish', sans-serif;
  background-color: #A3D9C5; /* MainStay Mint */
  color: #0B314F; /* MainStay Navy */
  padding: 18px 38px;
  border-radius: 2px; /* Sharper edges match the professional suite aesthetic */
  text-decoration: none;
  font-weight: 900; /* Heavy weight like the logo */
  font-size: 12px;
  letter-spacing: 1.5px;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid #A3D9C5;
}

.btn-primary:hover {
  background-color: #0B314F; /* MainStay Navy */
  border-color: #0B314F;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Secondary Button: Outlined style */
.btn-outline {
  font-family: 'Mulish', sans-serif;
  background: transparent;
  color: #FFFFFF;
  padding: 14px 30px;
  border: 2px solid #FFFFFF;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #FFFFFF;
  color: #0B314F;
}

/* --- Architectural Header Styling --- */
/* --- Updated Header for Smooth Transitions --- */
.ms-unique-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    /* This makes the hide/show smooth */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    will-change: transform;
}

/* Optional: Make the header more compact when scrolled */
.ms-unique-header.is-scrolled .ms-navbar-main {
    height: 80px;
    background: rgba(255, 255, 255, 0.98); /* Less transparent when active */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.ms-unique-header.is-scrolled .ms-logo-tab {
    height: 100px;
    padding: 10px 20px;
}

/* Ensure the logo image scales down slightly too */
.ms-unique-header.is-scrolled .ms-logo-tab img {
    height: 55px;
}

.ms-navbar-main {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(11, 49, 79, 0.1);
    height: 100px;
}

.ms-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    position: relative;
    padding: 0 40px;
}

/* --- THE HANGING LOGO (Very Unique) --- */
.ms-logo-tab {
    background: #ffffff;
    padding: 15px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    top: 0;
    height: 120px; /* Taller than the header */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 15px 15px; /* Rounded only at bottom */
    border: 1px solid #f0f0f0;
    border-top: none;
    z-index: 10;
}

.ms-logo-tab img {
    height: 70px;
    width: auto;
}

/* --- NAVIGATION CONTENT AREA --- */
.ms-nav-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-left: 50px;
}

/* Top Meta Row (Subtle & Sleek) */
.ms-top-meta {
    height: 35px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.ms-meta-item {
    color: #666;
    text-decoration: none;
}

.ms-meta-item i {
    color: #A3D9C5; /* Mint Accent */
}

/* Bottom Nav Row */
.ms-bottom-row {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ms-nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.ms-nav-menu a {
    text-decoration: none;
    color: #0B314F;
    font-weight: 700;
    font-size: 14px;
    position: relative;
    transition: 0.3s;
}

/* Unique Floating Dot Hover */
.ms-nav-menu a::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #A3D9C5;
    border-radius: 50%;
    transform: translateX(-50%) translateY(-10px);
    opacity: 0;
    transition: 0.3s;
}

.ms-nav-menu a:hover { color: #A3D9C5; }
.ms-nav-menu a:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- ACTION GROUP BUTTONS --- */
.ms-action-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ms-ghost-btn {
    text-decoration: none;
    color: #0B314F;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ms-solid-btn {
    background: #0B314F;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%); /* Angular Shape */
    transition: 0.3s;
}

.ms-solid-btn:hover {
    background: #A3D9C5;
    color: #0B314F;
    transform: scale(1.05);
}

/* --- MOBILE TRIGGER (Clean & Modern) --- */
.ms-trigger-modern {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.ms-line, .ms-line-short {
    height: 2px;
    background: #0B314F;
    transition: 0.3s;
}

.ms-line { width: 30px; }
.ms-line-short { width: 18px; align-self: flex-end; }

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .ms-nav-content { display: none; }
    .ms-trigger-modern { display: flex; }
    .ms-navbar-main { height: 80px; }
    .ms-logo-tab { height: 100px; top: 0; }
    .ms-nav-container { justify-content: space-between; align-items: center; }
}
/* Push social icons to the far right */
.ms-top-meta {
    justify-content: flex-start; /* Keeps address/phone left */
    width: 100%;
}

.ms-social-meta {
    margin-left: auto; /* This pushes the group to the right corner */
    display: flex;
    gap: 15px;
    align-items: center;
}

.ms-social-meta a {
    color: #666;
    font-size: 14px; /* Slightly larger than meta text for readability */
    transition: 0.3s ease;
    text-decoration: none;
}

.ms-social-meta a:hover {
    color: #A3D9C5; /* Mint Accent on hover */
    transform: translateY(-2px);
}

/* Hide social icons on mobile if space is tight */
@media (max-width: 600px) {
    .ms-social-meta {
        display: none;
    }
}

/* --- MS UNIQUE MOBILE OVERLAY --- */
.ms-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 10000;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.8s;
}

.ms-mobile-menu.active {
    visibility: visible;
    pointer-events: auto;
}

.ms-menu-canvas {
    display: grid;
    grid-template-columns: 45% 55%;
    width: 100%;
    height: 100%;
}

/* --- INFO PANEL (Antique Off-White) --- */
.ms-panel-info {
    background: #F9F7F2; /* Antique Parchment Tone */
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(11, 49, 79, 0.1);
    transform: translateY(100%); /* Slides up from bottom */
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.ms-mobile-menu.active .ms-panel-info { transform: translateY(0); }

.ms-menu-logo { width: 160px; margin-bottom: 50px; }

.ms-contact-box { margin-bottom: 35px; }
.ms-contact-box label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #A3D9C5; /* Mint Accent */
    font-weight: 800;
    margin-bottom: 10px;
}
.ms-contact-box p, .ms-menu-tel {
    font-size: 18px;
    color: #0B314F;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.ms-menu-legal { margin-top: auto; font-size: 11px; color: #999; }
.ms-legal-links a { color: #0B314F; text-decoration: none; font-weight: 700; }

/* --- NAV PANEL (Rich Navy) --- */
.ms-panel-nav {
    background: #0B314F;
    padding: 80px;
    display: flex;
    align-items: center;
    position: relative;
    transform: translateY(-100%); /* Slides down from top */
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.ms-mobile-menu.active .ms-panel-nav { transform: translateY(0); }

/* Unique Close Button */
.ms-close-button {
    position: absolute;
    top: 50px;
    right: 50px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
}
.ms-close-line {
    width: 40px;
    height: 1px;
    background: #A3D9C5;
}
.ms-close-label {
    color: #fff;
    font-size: 10px;
    letter-spacing: 4px;
    font-weight: 400;
}

/* Navigation Links - Antique Staggered Look */
.ms-menu-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ms-menu-links a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(32px, 6vw, 55px);
    font-weight: 900;
   
    position: relative;
    transition: 0.4s;
    opacity: 0;
    transform: translateX(30px);
}

/* Staggered text entrance when active */
.ms-mobile-menu.active .ms-menu-links a {
    opacity: 1;
    transform: translateX(0);
}
.ms-mobile-menu.active .ms-menu-links a:nth-child(1) { transition-delay: 0.4s; }
.ms-mobile-menu.active .ms-menu-links a:nth-child(2) { transition-delay: 0.5s; }
.ms-mobile-menu.active .ms-menu-links a:nth-child(3) { transition-delay: 0.6s; }
.ms-mobile-menu.active .ms-menu-links a:nth-child(4) { transition-delay: 0.7s; }
.ms-mobile-menu.active .ms-menu-links a:nth-child(5) { transition-delay: 0.8s; }

.ms-menu-links a::before {
    content: attr(data-index);
    position: absolute;
    left: -40px;
    top: 10px;
    font-size: 12px;
    font-weight: 400;
    color: #A3D9C5;
    
}

.ms-menu-links a:hover {
    color: #A3D9C5;
    padding-left: 20px;
}

/* --- MOBILE RESPONSIVE STACKING --- */
@media (max-width: 900px) {
    .ms-menu-canvas { grid-template-columns: 100%; overflow-y: auto; }
    .ms-panel-info { order: 2; padding: 40px; transform: translateX(-100%); }
    .ms-panel-nav { order: 1; padding: 80px 40px; transform: translateX(100%); }
    
    .ms-mobile-menu.active .ms-panel-info,
    .ms-mobile-menu.active .ms-panel-nav { transform: translateX(0); }
    
    .ms-close-button { top: 30px; right: 30px; }
}

/* --- KINETIC HERO BASE --- */
.kinetic-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #050505; /* Deep black for seamless panel transitions */
    overflow: hidden;
    
}

/* --- SLIDE POSITIONING --- */
.kn-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: visibility 0s 1.4s; /* Wait for panels to close before hiding */
}

.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;
    /* This creates the "sliding door" effect */
    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%); 
}

/* Active State: Panels slide to center */
.kn-slide.active .kn-bg-panel {
    transform: translateY(0);
}

.kn-bg-panel img {
    position: absolute;
    top: 0;
    width: 200%; /* Image is twice as wide as the 50% panel */
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.1);
    transition: transform 10s ease;
}

.kn-bg-panel.left img { left: 0; }
.kn-bg-panel.right img { right: 0; }

/* Subtle zoom effect when active */
.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 8%;
}

.kn-inner {
    max-width: 1200px;
}

/* Vertical Text Masking */
.kn-tag, .line {
    overflow: hidden;
    margin-bottom: 5px;
}

.kn-tag span {
    display: block;
    color: #A3D9C5; /* Mint Accent from Logo */
    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, 6rem);
    color: #ffffff;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    transform: translateY(105%);
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1) 0.9s;
}

.kn-description {
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    max-width: 550px;
    line-height: 1.6;
    margin: 25px 0 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 1.2s;
}

.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: #ffffff;
    color: #050505;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    transition: 0.4s;
    border: 1px solid #ffffff;
}

.kn-btn:hover {
    background: transparent;
    color: #ffffff;
}

.kn-scroll-hint {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #A3D9C5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hint-line {
    width: 60px;
    height: 1px;
    background: #A3D9C5;
    position: relative;
    overflow: hidden;
}

.hint-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    animation: hintAnim 2s infinite;
}

@keyframes hintAnim {
    0% { left: -100%; }
    50% { left: 0%; }
    100% { left: 100%; }
}

/* --- CIRCULAR PROGRESS CONTROLS --- */
.kn-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    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.1);
    stroke-width: 2;
}

.progress-path {
    fill: none;
    stroke: #A3D9C5;
    stroke-width: 2;
    stroke-dasharray: 176; /* circumference for r=28 */
    stroke-dashoffset: 176;
    transition: stroke-dashoffset 8s linear; /* Sync with JS timer */
    transform: rotate(-90deg);
    transform-origin: center;
}

/* Restart animation on slide change */
.kn-slide.active ~ .kn-controls .progress-path {
    stroke-dashoffset: 0;
}

.kn-counter {
    position: absolute;
    color: #ffffff;
   
    font-weight: 400;
    font-style: italic;
    font-size: 16px;
}

.kn-dots {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.4s;
}

.dot.active {
    background: #A3D9C5;
    transform: scale(1.8);
}



/* --- ARROW CONTROLS --- */
.kn-arrows {
    display: flex;
    gap: 10px;
    margin-right: 15px;
}

.kn-arrow-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    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;
    transition: fill 0.3s ease;
}

.kn-arrow-btn:hover {
    background: #A3D9C5; /* Your Brand Mint Color */
    border-color: #A3D9C5;
}

.kn-arrow-btn:hover svg {
    fill: #0B314F; /* Your Brand Navy Color */
}

/* Ensure controls container stays aligned */
.kn-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* --- RESPONSIVE FIXES --- */

@media (max-width: 1024px) {
	/* --- KINETIC HERO BASE --- */
.kinetic-hero {
   
    height: 70vh;
   
}
    .kn-content {
        padding: 0 5%;
        justify-content: center; /* Center content for tablets/mobile */
        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;
    }

    /* Move controls to be more accessible on touch */
    .kn-controls {
        right: 50%;
        transform: translateX(50%);
        bottom: 30px;
        flex-direction: row;
        gap: 20px;
    }

    .kn-dots {
        flex-direction: row; /* Horizontal dots on mobile */
    }
}

@media (max-width: 768px) {
    /* Make the images appear as one instead of a split "half-image" */
    .kn-bg-panel img {
        width: 100vw; /* Image takes full width of screen */
        object-fit: cover;
    }

    /* Adjust the left/right logic so the image isn't cut off weirdly */
    .kn-bg-panel.left img {
        left: 0;
    }
    
    .kn-bg-panel.right img {
        right: 0;
        left: auto;
        /* Shift the right panel's image so it aligns with the left */
        transform: translateX(50%); 
    }

    /* Reset scale for mobile to prevent blurriness */
    .kn-slide.active .kn-bg-panel img {
        transform: scale(1.05);
    }
    
    /* Adjust Typography for Mobile */
    .kn-title span {
        font-size: 2.5rem;
    }
    
    .kn-description {
        font-size: 15px;
        line-height: 1.4;
    }
}

/* --- SECTION STYLING --- */
.prop-intro {
    position: relative;
    padding: 140px 0;
    background: #ffffff;
    font-family: 'Mulish', sans-serif;
    overflow: hidden;
}

.pi-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

/* --- MEDIA STYLING (Masked & Clean) --- */
.pi-media-wrap {
    position: relative;
}

.pi-image-reveal {
    position: relative;
    height: 700px;
    clip-path: inset(0 0 0 0); /* Editorial crop */
    background: #0B314F;
    cursor: pointer;
}

.pi-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.pi-image-reveal:hover .pi-img {
    transform: scale(1.05) rotate(1deg);
    opacity: 0.7;
}

.pi-video-hint {
    position: absolute;
    bottom: 40px; left: 40px;
    display: flex; align-items: center; gap: 15px;
    color: #fff; opacity: 0;
    transition: 0.5s ease;
}

.pi-image-reveal:hover .pi-video-hint { opacity: 1; transform: translateY(-10px); }

.pi-play-circle {
    width: 50px; height: 50px; background: #A3D9C5; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.pi-play-circle svg { width: 20px; fill: #0B314F; }

.pi-img-caption {
    position: absolute;
    top: 40px; right: -40px;
    writing-mode: vertical-rl;
    color: #0B314F;
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 700;
}

/* --- CONTENT STYLING (The Narrative) --- */
.pi-label-group {
    display: flex; align-items: center; gap: 15px; margin-bottom: 30px;
}

.pi-dash { width: 40px; height: 1px; background: #A3D9C5; }
.pi-eyebrow { font-size: 11px; letter-spacing: 4px; color: #666; font-weight: 800; }

.pi-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: #0B314F; line-height: 1.1; margin-bottom: 35px;
}

.pi-title strong { color: #A3D9C5; font-weight: 900; }

.pi-lead { font-size: 22px; color: #1a1a1a; margin-bottom: 25px; font-weight: 600; line-height: 1.4; }
.pi-body { font-size: 16px; color: #555; line-height: 1.8; margin-bottom: 50px; max-width: 480px;}

/* Custom Trigger Button */
.pi-discover-trigger {
    background: none; border: none; display: flex; align-items: center; gap: 20px;
    cursor: pointer; padding: 15px 0; border-bottom: 1px solid #eee; transition: 0.3s;
}

.pi-btn-label { font-weight: 900; letter-spacing: 2px; font-size: 13px; color: #0B314F; }
.pi-btn-arrow { transition: transform 0.3s ease; }
.pi-btn-arrow svg { width: 24px; fill: #A3D9C5; }

.pi-discover-trigger:hover { border-bottom-color: #0B314F; }
.pi-discover-trigger:hover .pi-btn-arrow { transform: translateX(10px); }

/* --- GUIDE OVERLAY STYLING --- */
.pi-guide-overlay {
    position: fixed; inset: 0; background: rgba(11, 49, 79, 0.98); 
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    transform: translateY(100%); transition: transform 0.7s cubic-bezier(0.85, 0, 0.15, 1);
}

.pi-guide-overlay.active { transform: translateY(0); }

.pi-guide-inner { width: 1000px; max-width: 90%; }

.pi-guide-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 80px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 30px;
}

.pi-guide-header h3 { color: #fff; font-size: 40px; letter-spacing: 2px; }
.pi-guide-header strong { color: #A3D9C5; }

.pi-close-x { background: none; border: 1px solid #A3D9C5; color: #A3D9C5; padding: 10px 30px; cursor: pointer; font-weight: 900; font-size: 11px; letter-spacing: 3px; }

.pi-guide-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.pi-guide-card {
    position: relative; padding: 40px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
    transition: 0.4s;
}

.pi-guide-card::before {
    content: attr(data-num); position: absolute; top: -20px; left: 30px;
    font-size: 40px; font-weight: 900; color: #A3D9C5; opacity: 0.3;
}

.pi-guide-card:hover { background: #fff; }
.pi-guide-card:hover h4, .pi-guide-card:hover p { color: #0B314F; }

.pi-guide-card h4 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.pi-dist { color: #A3D9C5; font-size: 11px; font-weight: 800; display: block; margin-bottom: 20px; }
.pi-guide-card p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.6; }

/* Responsive */
@media (max-width: 900px) {
    .pi-container { grid-template-columns: 1fr; gap: 50px; }
    .pi-image-reveal { height: 450px; }
    .pi-guide-list { grid-template-columns: 1fr; }
    .pi-img-caption { display: none; }
}
/* --- VIDEO OVERLAY (Essential) --- */
.ew-video-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 49, 79, 0.95); /* MainStay Navy with transparency */
    z-index: 10001; /* Must be higher than header and panels */
    display: none; /* Controlled by JS */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.ew-video-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: #A3D9C5;
    border: none;
    padding: 12px 25px;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    color: #0B314F;
    z-index: 10002;
}

#ew-video-target {
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 30px 100px rgba(0,0,0,0.5);
}
/* 1. Limit the height of the inner content and enable scroll */
.pi-scroll-area {
    max-height: 70vh; /* Takes up 70% of screen height */
    overflow-y: auto;
    padding-right: 30px; /* Space for the scrollbar */
    margin-top: 20px;
    color:#fff;
	
    /* Smooth scrolling for modern browsers */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* 2. Style the Scrollbar (Webkit browsers like Chrome/Safari) */
.pi-scroll-area::-webkit-scrollbar {
    width: 4px;
}

.pi-scroll-area::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.pi-scroll-area::-webkit-scrollbar-thumb {
    background: #A3D9C5; /* Your Mint Accent */
    border-radius: 10px;
}

/* 3. Keep the Layout Clean */
.pi-about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

/* 4. Ensure the overlay itself doesn't scroll, only the area inside */
.pi-guide-overlay {
    overflow: hidden; 
}

/* Responsive: Stack columns but keep scrolling */
@media (max-width: 900px) {
    .pi-about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pi-scroll-area {
        max-height: 65vh;
        padding-right: 15px;
    }
}
/* --- PI BODY SCROLLING --- */
.pi-body-scroll {
    max-height: 200px; /* Adjust this height as needed */
    overflow-y: auto;
    margin-bottom: 40px;
    padding-right: 20px;
    
    /* Smooth scrolling */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Custom Thin Scrollbar for pi-body-scroll */
.pi-body-scroll::-webkit-scrollbar {
    width: 3px; /* Very thin for elegance */
}

.pi-body-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.pi-body-scroll::-webkit-scrollbar-thumb {
    background: #A3D9C5; /* Your Mint Accent */
    border-radius: 10px;
}

/* Ensure the body text inside doesn't have extra bottom margin so the scroll feels tight */
.pi-body-scroll .pi-body {
    margin-bottom: 0;
    max-width: 100%; /* Overriding previous max-width to use the scroll container width */
}

/* --- SECTION & BACKGROUND --- */
.bento-amenities {
    position: relative;
    padding: 120px 0;
    /* Sticky Image Background */
    background: linear-gradient(rgba(11, 49, 79, 0.85), rgba(11, 49, 79, 0.85)), 
                url('../images/new/lobby1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    color: #ffffff;
    font-family: 'Mulish', sans-serif;
}

.ba-bg-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 18vw;
    font-weight: 900;
    color: rgba(163, 217, 197, 0.03);
    letter-spacing: 20px;
    pointer-events: none;
    z-index: 1;
}

/* --- GRID LAYOUT --- */
.ba-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px; 
    gap: 25px;
    position: relative;
    z-index: 2;
}

/* --- TILE BASE STYLING (Glassmorphism) --- */
.ba-cell {
    background: rgba(11, 49, 79, 0.6); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.ba-cell:hover {
    background: rgba(163, 217, 197, 0.15);
    border-color: #A3D9C5;
    transform: translateY(-10px) scale(1.02);
}

/* --- TILE VARIATIONS --- */
.ba-header {
    grid-column: span 2;
    background: transparent;
    backdrop-filter: none;
    border: none;
    padding-left: 0;
}

.ba-feature-lg {
    grid-column: span 2;
    grid-row: span 2;
    background: rgba(163, 217, 197, 0.1);
    border-left: 5px solid #A3D9C5;
}

.ba-wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
}

/* --- ELEMENTS --- */
.ba-title {
    font-size: 70px;
    font-weight: 900;
    line-height: 0.9;
    margin: 15px 0;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.ba-title span { color: #A3D9C5; font-style: italic; opacity: 0.8; }

.ba-intro { font-size: 18px; color: rgba(255,255,255,0.8); line-height: 1.6; max-width: 450px; }

.ba-icon { font-size: 95px; color: #A3D9C5; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2)); }
.ba-icon.small { font-size: 32px; }

.ba-flex { display: flex; align-items: center; gap: 20px; font-weight: 800; font-size: 20px; }
.ba-flex i { color: #A3D9C5; font-size: 28px; }

.ba-eyebrow { color: #A3D9C5; font-size: 13px; letter-spacing: 6px; font-weight: 900; }
.ba-tag { font-size: 11px; letter-spacing: 3px; color: #A3D9C5; font-weight: 900; text-transform: uppercase; }
.ba-number { position: absolute; top: 25px; right: 35px; font-size: 90px; font-weight: 900; opacity: 0.05; }

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .bento-amenities { background-attachment: scroll; } /* Mobile fix for fixed backgrounds */
    .ba-container { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
    .ba-header, .ba-feature-lg, .ba-wide { grid-column: span 2; }
    .ba-cell { min-height: 220px; }
    .ba-title { font-size: 50px; }
}

@media (max-width: 600px) {
    .ba-container { grid-template-columns: 1fr; padding: 0 20px; }
    .ba-header, .ba-feature-lg, .ba-wide { grid-column: span 1; }
}

.room-editorial-v2 {
    padding: 120px 0;
    background:  linear-gradient(rgba(11, 49, 79, 0.85), rgba(11, 49, 79, 0.85)), 
                url('../images/new/lobby1.webp'); /* Matches your "Living, Refined" section */
				background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Mulish', sans-serif;
    position: relative;
    overflow: hidden;
}

.re-v2-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.re-v2-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
    position: relative;
}

/* Sidebar Branding */
.re-v2-eyebrow {
    color: #A3D9D2; /* Soft Teal Accent */
    letter-spacing: 6px;
    font-size: 11px;
    font-weight: 800;
    display: block;
    margin-bottom: 25px;
}

.re-v2-title {
    font-size: 70px;
    line-height: 0.95;
    font-weight: 900;
    margin-bottom: 40px;
}

.re-v2-title span {
    display: block;
    -webkit-text-stroke: 1px rgba(255,255,255,0.3);
    color: transparent;
}

/* --- THE FIX: POSITIONS & LAYERS --- */
.re-v2-main-visual {
    position: relative;
    z-index: 5;
}

.re-v2-image-frame {
    position: relative;
    height: 650px;
    width: 100%;
    overflow: hidden; /* Only clips the image */
    clip-path: inset(0% 0% 0% 0% round 200px 0 0 0); /* Softer slant */
}

.re-v2-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Card Fix */
.re-v2-details-card {
    position: absolute;
    bottom: 0px;
    left: -120px; /* Strong overlap */
    background: #ffffff;
    color: #111;
    padding: 45px;
    width: 440px;
    z-index: 10; /* Ensures it is ABOVE everything */
    box-shadow: 25px 25px 60px rgba(0,0,0,0.3);
}

.re-v2-desc {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #555;
}

.re-v2-specs {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.spec-item small { display: block; font-size: 10px; color: #999; margin-bottom: 5px; }
.spec-item b { font-size: 18px; font-weight: 800; }

.re-v2-cta {
    display: inline-block;
    padding: 18px 35px;
    background: #0A2533; /* Navy Button */
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    transition: 0.3s;
}

.re-v2-cta:hover { background: #A3D9D2; color: #0A2533; }

/* Navigation */
.re-v2-nav { display: flex; align-items: center; gap: 20px; margin-top: 30px; }
.re-v2-num { font-size: 20px; color: #A3D9D2; font-weight: 800; }
.re-v2-arrow {
    background: none; border: 1px solid rgba(255,255,255,0.2);
    color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
}
.re-v2-arrow:hover { background: #A3D9D2; color: #0A2533; border-color: #A3D9D2; }

/* Background Text */
.re-v2-ghost-bg {
    position: absolute;
    top: -40px;
    right: -20px;
    font-size: 350px;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    z-index: -1;
}

/* Mobile Fix */
@media (max-width: 1024px) {
    .re-v2-wrapper { grid-template-columns: 1fr; }
    .re-v2-title { font-size: 45px; }
    .re-v2-details-card { position: relative; left: 0; bottom: 0; width: 100%; margin-top: -60px; padding: 30px; }
    .re-v2-image-frame { height: 400px; }
}


/* --- Root Container --- */
.attr-cinematic {
    position: relative;
    height: 500vh; /* Controls scroll duration for 5 items */
    background: #FFFFFF;
    overflow: clip;
}

/* --- Sticky Mechanism --- */
.attr-sticky-guard {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #FFFFFF;
}

/* --- Background Image Engine --- */
.attr-bg-system {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.attr-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1) rotate(1deg);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.attr-slide.is-active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* --- White Gradient Wash --- */
.attr-overlay {
    position: absolute;
    inset: 0;
    /* Soft white fade from left to right to protect text readability */
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgb(255 255 255) 30%, rgba(255, 255, 255, 0) 70%);
    z-index: 2;
}

/* --- Content Layout --- */
.attr-wrapper {
    position: relative;
    z-index: 10;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    pointer-events: none;
}

.attr-body, .attr-pillar {
    pointer-events: auto;
}

/* --- Typography & Info Blocks --- */
.attr-info {
    display: none;
    max-width: 550px;
}

.attr-info.is-active {
    display: block;
    animation: attrRevealLight 0.8s ease-out forwards;
}

@keyframes attrRevealLight {
    from { opacity: 0; transform: translateY(20px); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.attr-tag { 
    color: #5BA49B; /* Accessible Teal */
    letter-spacing: 4px; 
    font-weight: 800; 
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.attr-name { 
    font-size: clamp(48px, 6vw, 84px); 
    font-weight: 900; 
    margin: 0 0 20px 0; 
    line-height: 0.85; 
    text-transform: uppercase;
    color: #0A2533; /* Use Navy for strong contrast */
}

.attr-desc { 
    font-size: 18px; 
    color: #444444; 
    line-height: 1.7;
    margin-bottom: 40px; 
}

.attr-explore { 
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0A2533; 
    text-decoration: none; 
    font-weight: 800; 
    border-bottom: 2px solid #5BA49B; 
    padding-bottom: 6px;
    transition: 0.3s ease;
}

.attr-explore:hover {
    gap: 20px;
    color: #5BA49B;
}

/* --- Vertical Pillar Navigation --- */
.attr-pillar { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.pillar-item {
    width: 45px; 
    height: 45px; 
    border: 1px solid rgba(10, 37, 51, 0.2); 
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-weight: 900; 
    color: #0A2533; 
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 13px;
}

.pillar-item.is-active { 
    background: #0A2533; 
    color: #FFFFFF; 
    border-color: #0A2533;
    transform: scale(1.2) translateX(-5px); 
    box-shadow: 0 10px 20px rgba(10, 37, 51, 0.2);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .attr-wrapper { padding: 0 5%; }
    .attr-name { font-size: 56px; }
}

@media (max-width: 768px) {
    .attr-overlay {
        background: linear-gradient(to top, 
            rgba(255, 255, 255, 1) 0%, 
            rgba(255, 255, 255, 0.9) 50%, 
            rgba(255, 255, 255, 0.4) 100%);
    }
    .attr-wrapper { align-items: flex-end; padding-bottom: 60px; }
    .attr-pillar { display: none; }
}

.mke-archive-v5 {
    height: 80vh;
    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%; /* Leaves breathing room top/bottom */
}

/* --- SIDE HEADER --- */
.mke-v5-side-header {
    flex: 0 0 350px; /* Fixed width */
    padding-right: 50px;
    z-index: 10;
}

.mke-v5-eyebrow {
    color: #5BA49B;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 800;
}

.mke-v5-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 4vw, 55px);
    color: #0A2533;
    line-height: 1;
    margin: 15px 0;
}

.mke-v5-title span { font-style: italic; font-weight: 300; }

.mke-v5-info { font-size: 14px; color: #666; text-transform: uppercase; letter-spacing: 1px; }

/* --- HORIZONTAL FILMSTRIP --- */
.mke-v5-filmstrip {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 20px;
    cursor: grab;
    /* Custom scrollbar for high-end look */
}

.mke-v5-filmstrip::-webkit-scrollbar { height: 3px; }
.mke-v5-filmstrip::-webkit-scrollbar-track { background: #eee; }
.mke-v5-filmstrip::-webkit-scrollbar-thumb { background: #0A2533; }

.mke-v5-track {
    display: flex;
    gap: 30px;
    padding-right: 100px; /* Offset for last image */
}

.mke-v5-card {
    flex: 0 0 450px; /* Image width */
    height: 60vh;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mke-v5-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1s ease;
}

.mke-v5-card:hover img { transform: scale(1.1); }
.mke-v5-card:hover { transform: translateY(-10px); }

.mke-v5-label {
    position: absolute;
    bottom: 20px; left: 20px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.mke-v5-label span { color: #5BA49B; margin-right: 10px; font-style: italic; }

/* Lightbox Styling (Same as previous but clean) */
.mke-lightbox {
    display: none; position: fixed; inset: 0; 
    background: rgba(10,37,51,0.98); z-index: 2000;
    align-items: center; justify-content: center;
}
.mke-lightbox img { max-width: 90%; max-height: 85vh; object-fit: contain; }
.mke-lightbox .close-btn { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; }

/* 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;
    }
}
/* --- MAINSTAY SUITES BRAND-MATCHED FOOTER --- */
.mke-footer-wrap {
  /* Using the exact deep navy from the logo background */
  background-color: #0A2533; 
  padding-top: 90px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  border-top: 1px solid #9CD9C5;
}

.mke-footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.mke-footer-main {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 80px;
}

/* --- BRAND SECTION --- */
.mke-footer-brand { 
  flex: 1.5; 
}

/* --- LOGO POD --- */
.mke-logo-pod {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff; 
  padding: 15px 25px;
  border-radius: 2px;
  margin-bottom: 35px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
  /* Match the seafoam wave color in the logo */
  border-bottom: 4px solid #9CD9C5; 
}

.mke-footer-logo {
  height: 60px; 
  width: auto;
  display: block;
}

.mke-footer-slogan {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 45px;
  font-weight: 300;
  color: #fff;
}

.mke-footer-slogan span { 
  font-style: italic; 
  /* Brand Seafoam Teal highlight */
  color: #9CD9C5; 
}

/* --- ACTION BUTTON --- */
.mke-btn-primary {
  /* Brand Seafoam Teal */
  background: #9CD9C5; 
  color: #0A2533; /* Darker navy text for readability on light teal */
  padding: 16px 32px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  transition: 0.3s ease;
}

.mke-btn-primary:hover { 
  background: #ffffff;
  color: #0A2533; 
}

.mke-action-group { 
  display: flex; 
  align-items: center; 
  gap: 25px; 
}

/* --- SOCIAL LINKS --- */
.mke-footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mke-footer-social a { 
  color: #fff; 
  font-size: 18px; 
  opacity: 0.6;
  transition: 0.3s ease;
  text-decoration: none;
}

.mke-footer-social a:hover { 
  opacity: 1; 
  color: #9CD9C5; 
  transform: translateY(-3px); 
}

/* --- DATA PILLARS (QUICK LINKS & LOCATION) --- */
.mke-footer-details {
  flex: 2;
  display: flex;
  gap: 70px;
  border-left: 1px solid rgba(156, 217, 197, 0.2); /* Faded teal border line */
  padding-left: 70px;
}

.mke-detail-col { 
  flex: 1; 
  
}

.mke-detail-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #9CD9C5; /* Brand Teal Label */
  margin-bottom: 35px;
  font-weight: 700;
  text-decoration:none;
}
.mke-detail-label1 a{
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #9CD9C5; /* Brand Teal Label */
  margin-bottom: 35px;
  font-weight: 700;
  text-decoration:none;
}

/* 2-COLUMN LINKS GRID */
.mke-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 30px;
}

.mke-quick-grid a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration:none;
}

.mke-quick-grid a:hover {
  color: #9CD9C5;
  transform: translateX(5px);
}

/* CONTACT SECTION */
.mke-address {
  font-style: normal;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 25px;
}

.mke-phone {
  font-weight: 700;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.mke-phone:hover { 
  color: #9CD9C5; 
}

/* --- LEGAL FLOOR SECTION --- */
.mke-footer-bottom {
  /* Slightly deeper variant of the navy for a grounded feel */
  background-color: #06161F; 
  border-top: 1px solid rgba(156, 217, 197, 0.1);
  padding: 40px 0 60px;
}

.mke-ownership-statement {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: center;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.mke-ownership-statement strong {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.mke-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.mke-legal-links a, 
.mke-f-credit, 
.mke-f-credit a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  text-decoration: none;
  transition: 0.3s ease;
}

.mke-sep {
  color: #9CD9C5; /* Brand Teal separator line */
  margin: 0 12px;
  font-size: 10px;
}

.mke-legal-links a:hover, 
.mke-f-credit a:hover {
  color: #9CD9C5;
}

/* --- EXPERT RESPONSIVE REFINEMENT --- */

/* 1. IPAD & SMALL LAPTOP (Tablets) */
@media (max-width: 1150px) {
	
  .mke-footer-main {
    flex-direction: column;
    align-items: center; /* Centers the Brand section */
    text-align: center;
    gap: 50px;
  }

  .mke-footer-brand {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mke-footer-details {
    width: 100%;
    border-left: none; /* Removes architectural line for better flow */
    padding-left: 0;
    justify-content: space-around; /* Spreads links and location evenly */
  }

  .mke-action-group {
    justify-content: center;
  }

  .mke-footer-slogan {
    font-size: 38px; /* Slightly smaller for tablets */
    margin-bottom: 30px;
  }
}

/* 2. SMALL TABLET & PHONES */
@media (max-width: 850px) {
  .mke-footer-details {
    flex-direction: column; /* Stacks links on top of location */
    gap: 40px;
    align-items: center;
  }

  .mke-quick-grid {
    /* Keeps the 2-column grid on small tablets, but centers it */
    justify-items: start;
    display: inline-grid; 
    text-align: left;
  }

  .mke-bottom-flex {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .mke-ownership-statement {
    font-size: 12px; /* Balanced size for mobile */
    padding: 0 10px;
  }
}

/* 3. SMALL MOBILE ONLY */
@media (max-width: 500px) {
  .mke-footer-wrap {
    padding-top: 60px;
  }

  .mke-quick-grid {
    grid-template-columns: 1fr 1fr; /* Single column for narrow phones */
    gap: 15px;
  }

  .mke-footer-logo {
    height: 50px; /* Scaled down logo pod */
  }

  .mke-footer-slogan {
    font-size: 32px;
  }

  .mke-phone {
    font-size: 18px;
  }

  .mke-btn-primary {
    width: 100%; /* Full width button for easier thumb-tapping */
    text-align: center;
  }
  
  .mke-action-group {
    flex-direction: column;
    width: 100%;
  }
}

/* --- BRANDED BACK TO TOP BUTTON --- */
#mke-back-to-top {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    border: none;
    outline: none;
    background-color: #9CD9C5; /* Your Brand Teal */
    color: #0A2533; /* Your Brand Navy */
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 2px; /* Matching the sharp logo-pod style */
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#mke-back-to-top:hover {
    background-color: #0A2533; /* Switch to Navy on hover */
    color: #9CD9C5; /* Switch to Teal on hover */
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Ensure it stays readable on mobile */
@media (max-width: 768px) {
    #mke-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* 2. Adjust the Hero to fill the space behind the header */
.inner-hero {
  position: relative;
  height: 50vh; 
  min-height: 500px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 80px; 
  background-color: #0A2533; /* Brand Deep Navy */
}

.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;
  /* Gradient from Deep Navy to a transparent midpoint, ending in your new #a1d7be color at 100% */
  background: linear-gradient(to bottom, rgb(10 37 51) 0%, rgb(10 37 51 / 62%) 50%, rgb(161 215 190 / 75%) 100%);
  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; /* High spacing as seen in layout */
  text-transform: uppercase;
  color: #9CD9C5; /* Brand Soft Mint/Teal */
  margin-bottom: 1rem;
  font-weight: 700;
}

.inner-title {
  /* Using Serif style like 'LIVING, REFINED' in layout */
  font-family: 'Mulish', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase; /* Matching the uppercase style */
}

/* Brand Soft Mint Divider */
.inner-divider {
  width: 60px;
  height: 4px;
  background-color: #9CD9C5; /* Matching the logo wave color */
  margin: 25px auto;
}

.inner-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #ffffff;
  max-width: 750px;
  margin: 0 auto;
  font-weight: 400;
  letter-spacing: 0.5px;
  opacity: 0.95;
}

/* Responsive Scaling */
@media (max-width: 768px) {
  .inner-hero {
    height: 45vh;
  }
  .inner-title {
    font-size: 2.8rem;
  }
  .inner-subtitle {
    font-size: 0.85rem;
    letter-spacing: 3px;
  }
}

/* --- MAINSTAY SUITES AMENITIES SECTION (ACCESSIBILITY OPTIMIZED) --- */

.steward-ledger {
  /* Brand Navy Background */
  background-color: #0A2533; 
  /* Gradient uses the lighter color #a1d7be as a soft overlay on the dark background */
  background-image: linear-gradient(180deg rgba(250, 215, 190, 0.1), rgba(10, 37, 51, 0.95));
  background-size: cover;
  background-attachment: fixed;
  padding: 60px 5%;
 
}

.ledger-container {
  max-width: 1300px;
  margin: 0 auto;
  /* Double architectural border */
  border: 6px double #0A2533; 
  padding: 50px 40px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  position: relative;
}

/* --- HEADER SECTION --- */
.ledger-header { 
  text-align: center; 
  margin-bottom: 50px; 
}

.ledger-header h2 { 
  font-size: clamp(2rem, 4vw, 3rem); 
  color: #0A2533;
  text-transform: uppercase; 
  margin: 0; 
  letter-spacing: 2px;
  font-weight: 700;
}

.ledger-subtitle { 
  font-family: 'Montserrat', sans-serif; 
  font-size: 0.9rem; 
  letter-spacing: 4px; 
  /* Darker Teal for high contrast visibility on white background */
  color: #2D8A75; 
  font-weight: 700; 
  margin: 15px 0; 
  text-transform: uppercase;
}

.ledger-intro-text { 
  max-width: 1200px; 
  margin: 25px auto; 
  font-family: 'Montserrat', sans-serif; 
  font-size: 1.05rem; 
  color: #555; 
  line-height: 1.7; 
}

.ledger-line { 
  height: 3px; 
  width: 60px; 
  background: #2D8A75; 
  margin: 30px auto; 
}

/* --- POPULAR FACILITIES BAR --- */
.popular-facilities-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 50px;
  padding: 20px;
  /* Light mint used safely as a background tint */
  background: rgba(161, 215, 190, 0.15); 
  border-radius: 4px;
}

.popular-facilities-bar span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0A2533;
  text-transform: uppercase;
}

.popular-facilities-bar i {
  color: #2D8A75; 
  margin-right: 8px;
}

/* --- GRID & PANEL LAYOUT --- */
.ledger-grid { 
  display: flex; 
  gap: 25px; 
  align-items: stretch; 
}

.ledger-panel { 
  flex: 1; 
  border: 1px solid #e1e8ed; 
  padding: 40px 25px; 
  position: relative; 
  background: #fff;
  transition: all 0.4s ease;
}

/* Highlight Panel (White on Navy) */
.ledger-panel.highlight {
  background: #0A2533; 
  color: #ffffff;
  /* Light mint color #a1d7be is perfectly visible on Dark Navy */
  border: 2px solid #a1d7be; 
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(10, 37, 51, 0.4);
  z-index: 2;
}

.panel-head { 
  text-align: center; 
  border-bottom: 1px solid rgba(156, 217, 197, 0.2); 
  padding-bottom: 25px; 
  margin-bottom: 30px; 
}

.panel-head i { 
  font-size: 28px; 
  color: #2D8A75; /* Dark Teal on White */
  margin-bottom: 15px; 
  display: block; 
}

.ledger-panel.highlight .panel-head i {
  color: #a1d7be; /* Light Mint on Navy */
}

.panel-head h3 { 
  font-size: 1.4rem; 
  text-transform: uppercase; 
  margin: 0; 
  letter-spacing: 1px; 
}

.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: #a1d7be;
}

/* --- LISTS & CONTENT --- */
.ledger-subgroup h4 { 
  font-size: 0.9rem; 
  color: #0A2533; 
  text-transform: uppercase; 
  margin: 25px 0 12px; 
  border-left: 3px solid #2D8A75; 
  padding-left: 10px;
  display: block;
}

.ledger-panel.highlight .ledger-subgroup h4 {
  color: #a1d7be;
  border-left-color: #a1d7be;
}

.ledger-items li {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #444; 
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
}

.ledger-items li::before {
  content: "→"; 
  color: #2D8A75; 
  font-weight: bold;
  margin-right: 10px;
}

.feature-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(156, 217, 197, 0.1);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.feature-list i { 
  color: #a1d7be; 
  width: 35px; 
  font-size: 16px; 
  text-align: center;
}

/* Specific styling for the Pet Policy heading inside the dark panel */
.ledger-pet-heading {
    font-size: 0.9rem;
    color: #a1d7be !important; /* Your mint color - visible on navy */
    text-transform: uppercase;
    margin-top: 30px;
    margin-bottom: 12px;
    border-left: 3px solid #a1d7be; /* Mint accent line */
    padding-left: 10px;
    display: block;
    letter-spacing: 2px;
    font-weight: 700;
    font-family: 'Mulish', sans-serif;
}

/* Ensure the paragraph text below it is readable */
.ledger-subgroup-alt p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #e1e1e1; /* Off-white for better readability on navy */
    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: #2D8A75;
  margin-right: 8px;
}
/* --- RESPONSIVE REFINEMENTS --- */

/* 1. IPAD & TABLET (Under 1024px) */
@media (max-width: 1024px) {
  .ledger-container {
    padding: 20px;
    border-width: 4px; /* Thinner border for smaller screens */
  }

  .ledger-grid {
    flex-direction: column; /* Stack panels vertically */
    gap: 30px;
  }

  .ledger-panel.highlight {
    transform: none; /* Remove scaling on tablet */
    order: -1; /* Keep the highlighted "Services" panel at the top */
  }

  .ledger-header h2 {
    font-size: 2.2rem;
  }

  .popular-facilities-bar {
    gap: 15px;
    padding: 15px;
  }
}

/* 2. MOBILE PHONES (Under 768px) */
@media (max-width: 768px) {
  .steward-ledger {
    padding: 15px 3%;
  }

  .ledger-header {
    margin-bottom: 30px;
  }

  .ledger-header h2 {
    font-size: 1.8rem;
  }

  .ledger-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .ledger-intro-text {
    font-size: 0.95rem;
    text-align: left; /* Easier to read on small screens */
  }

  /* Make the facilities bar look like a clean list */
  .popular-facilities-bar {
    justify-content: flex-start;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns on mobile */
    gap: 10px;
  }

  .popular-facilities-bar span {
    font-size: 0.75rem;
  }

  .ledger-panel {
    padding: 30px 20px;
  }

  .panel-head h3 {
    font-size: 1.2rem;
  }

  .ledger-subgroup h4 {
    font-size: 0.8rem;
  }

  .ledger-footer {
    margin-top: 30px;
    font-size: 0.75rem;
  }
}

/* 3. VERY SMALL PHONES (Under 480px) */
@media (max-width: 480px) {
  .popular-facilities-bar {
    grid-template-columns: 1fr; /* Single column for narrow phones */
  }
  
  .ledger-container {
    padding: 15px;
  }

  .inner-title {
    font-size: 2.2rem;
  }
}

/* ============================================================
   THINGS TO DO - MAINSTAY SUITES FOXBORO - MANSFIELD
   Navy: #0A2533 | Mint Accent: #a1d7be | Accessibility Teal: #2D8A75
   ============================================================ */

/* 1. SECTION CONTAINER */
.spotlight-section {
  /* Updated to Brand Navy Gradient with a hint of Mint */
   background-color: #0A2533; 
  /* Gradient uses the lighter color #a1d7be as a soft overlay on the dark background */
  background-image: linear-gradient(180deg rgba(250, 215, 190, 0.1), rgba(10, 37, 51, 0.95));
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  padding: 60px 0;
  overflow: clip;
  font-family: 'Mulish', sans-serif;
}

/* 2. SECTION HEADER (Title & Intro) */
.ttd-section-header {
  width: 100%;
  text-align: center;
  max-width: 1300px;
  margin: 0 auto 40px auto;
  /* Brand Navy Double Border */
  border: 6px double #0A2533; 
  background: #ffffff;
  padding: 60px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ttd-main-title {
  font-family: 'Mulish', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: #0A2533;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 2px;
  line-height: 1.1; 
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
}

.ttd-main-title span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 5px;
  /* Accessibility Teal for visibility on white background */
  color: #2D8A75; 
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 15px; 
}

.ttd-main-intro {
  max-width: 1000px;
  margin: 25px auto;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
}

.header-divider {
  width: 80px;
  height: 4px;
  background: #2D8A75; /* Accessibility Teal */
  margin: 25px auto;
}

/* 3. MAIN SCROLLING WRAPPER */
.spotlight-wrapper {
  display: flex;
  position: relative;
  align-items: flex-start;
  max-width: 1300px;
  margin: 0 auto;
  border: 6px double #0A2533; 
  background: #ffffff; 
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* 4. SCROLLING NARRATIVE COLUMN (LEFT) */
.spotlight-narrative {
  flex: 1;
  position: relative;
  z-index: 2;
  padding: 0 60px;
}

.narrative-block {
  min-height: 70vh; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
  opacity: 0.15;
  transition: all 0.6s ease-in-out;
}

.narrative-block.active {
  opacity: 1;
}

.narrative-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #2D8A75; /* High Contrast Teal */
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.narrative-title {
  font-family: 'Mulish', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #0A2533;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin: 0;
}

.narrative-divider {
  width: 50px;
  height: 4px;
  background: #a1d7be; /* Brand Soft Mint */
  margin: 20px 0;
}

.narrative-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #444444;
  max-width: 480px;
}

/* 5. STICKY VISUAL COLUMN (RIGHT) */
.spotlight-visuals {
  flex: 1.2;
  height: 100vh;
  position: sticky;
  top: 0;
  z-index: 1;
  border-left: 1px solid #e1e8ed;
}

.visual-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.spotlight-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 1.5s ease-out;
  transform: scale(1.08);
}

.spotlight-img.active {
  opacity: 1;
  transform: scale(1);
}

/* 6. VERTICAL PROGRESS BAR (Inside Visuals) */
.spotlight-progress {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  height: 250px;
  width: 3px;
  background: rgba(255,255,255,0.2);
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.progress-fill {
  width: 100%;
  background: #a1d7be; /* Mint Glow against images */
  transition: height 0.5s ease;
  height: 20%;
}

.progress-total {
  position: absolute;
  bottom: -40px;
  left: -8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* 7. VIEW DETAILS BUTTON */
.ttd-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 25px;
  padding: 14px 32px;
  background-color: #2D8A75; /* Darker teal for button contrast */
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.ttd-btn i {
  margin-left: 10px;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.ttd-btn:hover {
  background-color: #0A2533; /* Brand Navy on Hover */
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(45, 138, 117, 0.3);
}

.ttd-btn:hover i {
  transform: translateX(5px);
}

/* 8. RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .spotlight-wrapper { 
    flex-direction: column; 
    border-width: 4px;
  }
  
  .ttd-section-header { 
    border-width: 4px; 
    padding: 40px 20px;
  }

  .spotlight-visuals { 
    height: 45vh; 
    width: 100%;
    position: relative; 
    border-left: none;
    border-bottom: 2px solid #e1e8ed;
  }

  .spotlight-narrative { 
    width: 100%; 
    padding: 40px 25px; 
  }

  .narrative-block { 
    min-height: auto; 
    padding: 50px 0; 
    opacity: 1; 
  }

  .spotlight-progress { display: none; }
}

@media (max-width: 768px) {
  .ttd-main-title { font-size: 2rem; }
  .narrative-title { font-size: 1.8rem; }
}

/* ============================================================
   NEARBY LEDGER - MAINSTAY SUITES FOXBORO - MANSFIELD
   Deep Navy: #0A2533 | Soft Mint: #a1d7be | Access Teal: #2D8A75
   ============================================================ */

.nearby-ledger-section {
  /* Brand Navy gradient for background texture */
  background-color: #0A2533; 
  /* Gradient uses the lighter color #a1d7be as a soft overlay on the dark background */
  background-image: linear-gradient(180deg rgba(250, 215, 190, 0.1), rgba(10, 37, 51, 0.95));
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  padding: 60px 5%;
  overflow: clip;
}

.ledger-container {
  max-width: 1300px;
  margin: 0 auto;
  /* Brand Navy Double Frame */
  border: 6px double #0A2533; 
  padding: 50px 40px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.nearby-grid {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.nearby-panel {
  flex: 1;
  min-width: 320px;
  border: 1px solid #e1e8ed; 
  padding: 35px;
  background: #fff;
  transition: all 0.3s ease;
}

/* --- THE HIGHLIGHT PANEL (BRAND NAVY) --- */
.nearby-panel.highlight {
  background: #0A2533; /* Solid Navy Background */
  color: #ffffff;
  border: 1px solid #a1d7be; /* Mint Accent Border */
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(10, 37, 51, 0.4);
  z-index: 2;
}

/* On Dark Background, Light Mint (#a1d7be) is highly visible */
.nearby-panel.highlight .panel-heading {
  color: #a1d7be; 
  border-bottom-color: rgba(161, 215, 190, 0.3);
}

.nearby-panel.highlight .nearby-list li {
  color: #ffffff;
  border-bottom-color: rgba(255,255,255,0.1);
}

.nearby-panel.highlight .panel-heading i {
  color: #a1d7be;
}

/* --- PANEL HEADINGS --- */
.panel-heading {
  font-family: 'Mulish', sans-serif;
  font-size: 1.25rem;
  color: #0A2533; /* Navy */
  /* Using darker Teal (#2D8A75) on white for accessibility */
  border-bottom: 3px solid #2D8A75; 
  padding-bottom: 15px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  font-weight: 700;
 
}

.panel-heading i {
  color: #2D8A75; /* Dark Teal Icons for contrast */
  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 #f0f4f7;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: #444;
  transition: all 0.3s ease;
}

.nearby-list li:hover {
  color: #2D8A75;
  padding-left: 8px;
}

/* --- DISTANCE STYLING --- */
.distance {
  color: #0A2533; 
  background: #f1f6f4; /* Subtle mint-tinted grey */
  padding: 5px 12px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.75rem;
  margin-left: 15px;
  white-space: nowrap;
  border-left: 3px solid #2D8A75; /* Teal accessibility accent */
}

/* In Highlight panel, use the light Mint against dark Navy */
.nearby-panel.highlight .distance {
  color: #0A2533;
  background: #a1d7be; 
  border-left: none;
}

/* ============================================================
   NEARBY SECTION - MOBILE & IPAD RESPONSIVE ONLY
   ============================================================ */

@media (max-width: 1024px) {
  .nearby-ledger-section {
    /* Reduce large side padding from desktop to fit screens */
    padding: 40px 15px; 
    background-attachment: scroll; /* Better performance on mobile browsers */
  }

  .ledger-container {
    /* Double frame slightly thinner for smaller screens */
    border-width: 4px;
    padding: 30px 15px;
    margin: 0 auto;
  }

  .nearby-grid {
    display: grid;
    /* Forces 2-column layout for iPads/Tablets */
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
    margin-bottom: 15px;
  }

  .nearby-panel {
    min-width: 0; /* Allows grid to shrink panels properly */
    padding: 20px 15px;
    /* Remove scale effects to prevent edge-clipping */
    transform: none !important; 
    box-shadow: none !important;
  }

  .panel-heading {
    font-size: 1rem;
    padding-bottom: 8px;
    margin-bottom: 15px;
  }

  .nearby-list li {
    padding: 10px 0;
    font-size: 0.85rem;
    /* Aligns distance to the top if text wraps */
    align-items: flex-start; 
  }

  .distance {
    font-size: 0.75rem;
    margin-left: 8px;
  }
}

/* --- Mobile Specific (Phones) --- */
@media (max-width: 600px) {
  .nearby-grid {
    /* Forces 1-column layout for Phones */
    grid-template-columns: 1fr; 
    gap: 20px;
  }

  .nearby-ledger-section {
    padding: 30px 10px;
  }

  .ledger-container {
    padding: 25px 10px;
  }
  
  .nearby-panel {
    padding: 18px 12px;
  }
}
/* --- MainStay Modern Location Styles --- */
.clarion-modern-location {
  position: relative;
  background: #0A2533; /* Brand Deep Navy */
  padding: 30px 5%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.journal-wrapper {
  display: flex;
  width: 100%;
  max-width: 1200px;
  gap: 0;
  position: relative;
}

/* Map Section */
.map-window-wrapper {
  flex: 1.2;
  position: relative;
  height: 600px;
  z-index: 1;
}

.map-window {
  width: 100%;
  height: 100%;
  /* Using #a1d7be for the map border glow */
  border: 1px solid rgba(161, 215, 190, 0.3); 
  filter: contrast(1.05);
}

/* Floating Geo Tag */
.geo-tag {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: #0A2533; /* 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 #a1d7be; /* Brand Mint Accent */
  box-shadow: 10px 10px 30px rgba(0,0,0,0.4);
}

.coord-divider {
  width: 30px;
  height: 1px;
  background: #a1d7be;
}

/* Floating Glass Panel */
.info-glass-panel {
  flex: 0 0 650px;
  /* Deep Navy Transparency */
  background: rgba(10, 37, 51, 0.95); 
  backdrop-filter: blur(12px);
  margin-left: -80px; 
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 50px;
  z-index: 2;
  /* Mint Accent Bar */
  border-left: 5px solid #a1d7be; 
  box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
}

.brand-accent-line {
  width: 40px;
  height: 3px;
  background: #a1d7be; 
  margin-bottom: 20px;
}

.location-subtitle {
  color: #a1d7be; /* Brand Mint */
  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;
  font-family: 'Mulish', sans-serif;
  font-size: 30px;
  margin: 0 0 20px 0;
 
}

.location-description {
  color: #e0e0e0;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 35px;
  font-weight: 300;
  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: 'Mulish', sans-serif;
  font-size: 1.15rem;
  line-height: 1.5;
}

/* Route Form Styling */
.route-form {
  border-top: 1px solid rgba(161, 215, 190, 0.2);
  padding-top: 25px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input-group input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(161, 215, 190, 0.3);
  padding: 12px 15px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  outline: none;
}

.input-group input::placeholder {
  color: rgba(255,255,255,0.5);
}

.route-submit-btn {
  background: #a1d7be; /* Brand Mint */
  color: #0A2533; /* Dark text for high contrast on Mint button */
  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;
}

.route-submit-btn:hover {
  background: #ffffff;
  color: #0A2533;
}

/* --- Enhanced Responsive Adjustments --- */

@media (max-width: 1024px) {
  .clarion-modern-location {
    padding: 40px 20px;
    height: auto;
  }

  .journal-wrapper {
    flex-direction: column;
    gap: 0;
  }

  /* 1. Map Adjustments */
  .map-window-wrapper {
    flex: none;
    width: 100%;
    height: 400px; /* Reduced height for tablets */
    z-index: 1;
  }

  .map-window {
    border-radius: 8px 8px 0 0; /* Optional: rounds top corners */
  }

  /* 2. Geo Tag - Repositioned for mobile visibility */
  .geo-tag {
    left: 15px;
    bottom: 15px;
    padding: 8px 15px;
    font-size: 10px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
  }

  /* 3. Info Panel - Removed the negative margin "overlap" */
  .info-glass-panel {
    flex: none;
    width: 100%;
    margin-left: 0; /* Critical: removes the desktop shift */
    margin-top: 0;   /* Clean stack */
    margin-bottom: 0;
    padding: 35px 25px;
    border-left: none;
    border-top: 5px solid #a1d7be; /* Move accent bar to top */
    background: rgba(10, 37, 51, 1); /* Solid color for better mobile readability */
    box-shadow: none;
  }

  .location-main-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .location-description {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  .address-block address {
    font-size: 1rem;
  }
}

/* --- Small Mobile Phones --- */
@media (max-width: 600px) {
  .clarion-modern-location {
    padding: 20px 10px;
  }

  .map-window-wrapper {
    height: 300px; /* Smaller map for phones */
  }

  .info-glass-panel {
    padding: 30px 20px;
  }

  .geo-tag {
    display: none; /* Hide geo-tag on very small screens to save space */
  }

  .route-submit-btn {
    padding: 18px; /* Larger tap target for mobile */
    font-size: 0.85rem;
  }

  .input-group input {
    font-size: 16px; /* Prevents iOS zoom on input focus */
  }
}
/* --- MainStay Contact Suite Styling --- */
.contact-ledger-suite {
  padding: 80px 5%;
  /* Deep Navy Brand Gradient */
  background: linear-gradient(rgba(10, 37, 51, 0.92), rgba(10, 37, 51, 0.88)), 
              url('../images/new/foxboro-map-bg.jpg'); 
  background-size: cover;
  background-attachment: fixed;
}

.ledger-outer-frame {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  border: 1px solid #e1e8ed;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(10, 37, 51, 0.2);
}

.ledger-accent-sidebar {
  width: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  /* Deep Navy Sidebar */
  background-color: #0A2533;
}

.ledger-main-content {
  flex: 1;
  padding: 60px;
}

.ledger-headline {
  font-family: 'Mulish', sans-serif;
  font-size: 2.6rem;
  color: #0A2533; 
  margin-bottom: 15px;
 
}

.ledger-headline span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-style: normal;
  /* Darker teal for accessible contrast on white */
  color: #2D8A75; 
}

.ledger-subtext {
  font-family: 'Montserrat', sans-serif;
  color: #555;
  max-width: 780px;
  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: 700;
  letter-spacing: 3px;
  margin-bottom: 15px;
  color: #2D8A75; /* High-contrast teal for labels */
}

.item-data p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.estate-name {
  font-family: 'Mulish', sans-serif; /* Matches your specific location titles */
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #0A2533;
  font-weight: 800;
}

.ledger-link {
  font-family: 'Mulish', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
  color: #0A2533;
  transition: all 0.3s ease;
  display: inline-block;
  margin-bottom: 5px;
}

.ledger-link:hover {
  color: #2D8A75;
  transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .ledger-outer-frame { flex-direction: column; }
  .ledger-accent-sidebar { 
    width: 100%; 
    height: 10px; 
    border-bottom: 2px solid #a1d7be; /* Mint accent line for mobile */
  }
  .ledger-details-row { grid-template-columns: 1fr; gap: 40px; }
  .ledger-main-content { padding: 40px 25px; }
  .ledger-headline { font-size: 2.1rem; }
  .ledger-subtext { margin-bottom: 35px; }
}

@media (max-width: 600px) {
  .ledger-headline { font-size: 1.8rem; }
  .ledger-link { font-size: 1.25rem; }
}

/* --- MainStay Sitemap Index Styling --- */
.sitemap-index-suite {
  padding: 80px 20px;
  /* Brand Deep Navy Gradient with Foxboro Backdrop */
  background: linear-gradient(rgba(10, 37, 51, 0.92), rgba(10, 37, 51, 0.88)), 
              url('../images/new/foxboro-skyline.jpg'); 
  background-size: cover;
  background-attachment: fixed;
}

.index-parchment {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  padding: 60px;
  /* Double border in Brand Navy */
  border: 6px double #0A2533;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
  position: relative;
}

.index-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  /* Accessibility Teal for visibility on white */
  color: #2D8A75; 
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}

.index-title {
  font-family: 'Mulish', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #0A2533; /* Deep Navy */
  margin: 0 0 20px;
  font-weight: 700;
 
}

.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;
  /* Brand Mint Accent Bar */
  background: #a1d7be; 
  margin: 30px 0 50px;
}

.index-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid #eee;
  padding-top: 40px;
}

.col-heading {
  font-family: 'Mulish', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0A2533; /* Navy */
  /* Accessibility Teal accent indicator */
  border-left: 3px solid #2D8A75; 
  padding-left: 15px;
}

.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.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.index-list a:hover {
  /* Hover to brand Teal */
  color: #2D8A75; 
  transform: translateX(10px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .index-columns { 
    grid-template-columns: 1fr; 
    gap: 30px; 
    padding-top: 30px;
  }
  
  .index-parchment { 
    padding: 40px 25px; 
    border-width: 4px; 
  }
  
  .index-title { 
    font-size: 2.2rem; 
  }
  
  .index-ornament {
    margin: 20px 0 35px;
  }
}

@media (max-width: 600px) {
  .sitemap-index-suite {
    padding: 40px 10px;
  }
  
  .index-title {
    font-size: 1.8rem;
  }
}

/* --- MAINSTAY FOXBORO FAQ LEDGER SUITE --- */
.faq-ledger-suite {
  background: #ffffff; /* Clean white for high legibility */
  padding: 100px 5%;
  border-top: 1px solid #e1e8ed; 
}

.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: #2D8A75; /* High-contrast Brand Teal */
  display: block;
  margin-bottom: 15px;
  font-weight: 700;
}

.faq-headline {
  font-family: 'Mulish', sans-serif; /* Matches your site headers */
  font-size: 3.5rem;
  color: #0A2533; /* Brand Deep Navy */
  line-height: 1.1;
  margin-bottom: 25px;
  text-transform: uppercase;
  font-weight: 800;
}

.faq-headline span {
  display: block;
  font-family: 'Mulish', sans-serif;
   
  font-weight: 400;
  color: #a1d7be; /* Brand Soft Mint */
  text-transform: none; 
  letter-spacing: 0;
}

.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 #f0f4f7;
  transition: 0.3s;
}

.entry-no {
  font-family: 'Mulish', sans-serif;
  font-size: 1.5rem;
  color: #a1d7be; /* Mint Numbering */
  font-weight: 700;
  padding-top: 5px;
}

.faq-entry h3 {
  font-family: 'Mulish', sans-serif;
  font-size: 1.4rem;
  color: #0A2533; /* Brand Navy */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.faq-entry p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

.antique-link {
  color: #2D8A75; /* Accessible Teal */
  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;
}

.antique-link:hover {
  color: #0A2533; /* Transitions to Navy on hover */
  border-bottom: 2px solid #a1d7be; /* Mint underline on hover */
  transform: translateX(5px);
}

/* --- Responsive --- */
@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.8rem; }
}

@media (max-width: 768px) {
  .faq-entry { flex-direction: column; gap: 15px; }
  .entry-no { font-size: 1.3rem; }
  .faq-headline { font-size: 2.4rem; }
  .faq-ledger-suite { padding: 60px 5%; }
}

/* 🎯 Modular Booking Engine */
.booking-modular-wrap {
    width: 100%;
    max-width: 1300px;
    margin: -60px auto 80px; /* Overlaps Hero slightly */
    position: relative;
    z-index: 99;
    padding: 0 20px;
}

.booking-module {
    background: #0A2533; /* Your Brand Navy */
    padding: 20px 40px;
    /* Match the "Book Stay" button slant */
    clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%); 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(161, 215, 190, 0.2); 
    position: relative;
}

.booking-form-grid {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Grouped Sections (Dates & People) */
.booking-group-pill {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    /* --- Changed from 100px to match the screenshot's sharp aesthetic --- */
    clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%); 
    border-radius: 0; /* Removing rounding for the slanted look */
    
    padding: 10px 40px;
    flex: 2;
    transition: all 0.3s ease;
    border: 1px solid rgba(161, 215, 190, 0.1);
}

.booking-group-pill.occupancy {
    flex: 1.5;
    /* Slightly more aggressive slant for the middle section */
    clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);
}

.booking-group-pill:focus-within {
    background: rgba(161, 215, 190, 0.15);
    /* Adding a subtle "glow" instead of a standard border to respect the clip-path */
    outline: 1px solid #a1d7be;
}

/* Ensure the inputs don't feel "cut off" by the slant */
.booking-field {
    padding: 0 5px;
}

/* Individual Fields */
.booking-field {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.booking-field label {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #a1d7be; /* Mint Accent */
    margin-bottom: 4px;
    font-weight: 700;
}

.booking-field input, 
.booking-field select {
    background: transparent;
    border: none;
    color: #a1d7be;
    font-family: 'Mulish', sans-serif;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    width: 100%;
}

.booking-divider {
    width: 1px;
    height: 30px;
    background: rgba(161, 215, 190, 0.2);
    margin: 0 20px;
}

/* The CTA Button */
.booking-action {
    flex: 0 0 auto;
}

.booking-action button {
    background: #a1d7be; /* Brand Mint */
    color: #0A2533;
    border: none;
    height: 70px;
    width: 200px;
    /* --- The Magic Bit: Creates the slanted edge from your screenshot --- */
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.booking-action button i {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.booking-action button:hover {
    background: #ffffff; /* Turns white on hover like the header buttons */
    color: #0A2533;
    /* Subtle shift instead of just scaling */
    padding-left: 10px; 
}

.booking-action button:hover i {
    transform: translateX(8px);
}

/* Ensure the container doesn't cut off the button's shadow if using clip-path */
.booking-action {
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

/* --- Expert Responsive Overhaul --- */
@media (max-width: 1100px) {
    .booking-modular-wrap {
        margin: -30px auto 40px; /* Smaller overlap on mobile */
        padding: 0 15px;
    }

    .booking-module {
        /* Remove slant for mobile - sharp boxes look better when stacked */
        clip-path: none !important; 
        border-radius: 20px;
        padding: 20px;
    }

    .booking-form-grid {
        flex-direction: column;
        gap: 12px; /* Consistent spacing between blocks */
    }

    .booking-group-pill {
        width: 100%;
        flex-direction: row; /* Keep check-in/out side by side */
        clip-path: none !important;
        border-radius: 12px !important;
        padding: 15px 20px;
        flex: none; /* Reset flex-grow */
        background: rgba(255, 255, 255, 0.08);
    }

    .booking-group-pill.occupancy {
        /* On small screens, let items wrap if needed or stay tight */
        display: flex;
        justify-content: space-between;
    }

    .booking-divider {
        margin: 0 10px;
        height: 20px;
        opacity: 0.5;
    }

    .booking-field label {
        font-size: 9px; /* Slightly smaller labels for mobile */
    }

    .booking-field input, 
    .booking-field select {
        font-size: 14px;
        padding: 5px 0;
    }

    .booking-action {
        width: 100%;
        margin-top: 5px;
    }

    .booking-action button {
        width: 100%;
        height: 60px; /* Slightly shorter for mobile */
        clip-path: none !important; /* Square/Subtle rounded looks better on mobile */
        border-radius: 12px !important;
        font-size: 14px;
    }
    
    /* Remove hover transformations on mobile to prevent "sticky" hover states */
    .booking-action button:hover {
        transform: none;
        padding-left: 0;
    }
}

/* Tablet Specific Adjustment (iPad) */
@media (min-width: 768px) and (max-width: 1100px) {
    .booking-form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Side-by-side on iPad */
        gap: 20px;
    }
    
    .booking-action {
        grid-column: span 2; /* Full width button on iPad */
    }
}
/* --- Flatpickr Expert Theme --- */
.flatpickr-calendar {
    background: #0A2533 !important; /* Brand Navy */
    border: 1px solid rgba(161, 215, 190, 0.3) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5) !important;
    border-radius: 15px !important;
    font-family: 'Montserrat', sans-serif !important;
}

.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange {
    background: #a1d7be !important; /* Brand Mint */
    border-color: #a1d7be !important;
    color: #0A2533 !important;
}

.flatpickr-day:hover {
    background: rgba(161, 215, 190, 0.2) !important;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
span.flatpickr-weekday {
    color: #ffffff !important;
    fill: #ffffff !important;
}

.flatpickr-day {
    color: rgba(255,255,255,0.8) !important;
}

.flatpickr-day.flatpickr-disabled {
    color: rgba(255,255,255,0.1) !important;
}

/* Arrow styling */
.flatpickr-prev-month svg, .flatpickr-next-month svg {
    fill: #a1d7be !important;
}

.accessibility-info {
    background-color: #f0f7f4; /* Very light mint tint to match branding */
    border-top: 1px solid rgba(10, 37, 51, 0.1);
    border-bottom: 1px solid rgba(10, 37, 51, 0.1);
    color: #0A2533; /* Your Brand Navy */
    text-align: center;
    font-family: 'Mulish', sans-serif; /* Matching your property's font body */
    padding: 15px 20px;
    font-size: 17px;
    letter-spacing: 0.3px;
    line-height: 1.5;
	
}

.acc-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 1300px;
    margin: 0 auto;
}

.acc-container i {
    color: #a1d7be; /* Brand Mint Accent for the icon */
    font-size: 19px;
}

.accessibility-info a {
    color: #0A2533;
    text-decoration: none;
    font-weight: 800; /* Bold for visibility */
    border-bottom: 2px solid #a1d7be; /* Mint underline instead of standard blue */
    transition: all 0.3s ease;
	
}

.accessibility-info a:hover {
  
    color: #0A2533;
    border-bottom-color: #0A2533;
}

/* Tablet & Mobile Logic */
@media (max-width: 1024px) {
    .accessibility-info {
        padding: 20px 15px; /* Increase vertical padding for better touch area */
    }

    .acc-container {
        flex-direction: column; /* Stack icon and text */
        gap: 10px;
    }

    .acc-container span {
        max-width: 500px; /* Prevents text from stretching too wide on iPad */
        display: block;
    }

    .acc-container i {
        font-size: 22px; /* Make icon more prominent when stacked */
    }
}

/* Specific Small Mobile Fix */
@media (max-width: 480px) {
    .accessibility-info {
        font-size: 13px;
        line-height: 1.8;
    }

    .accessibility-info a {
        display: inline-block; /* Helps with line breaks on very narrow screens */
        margin-top: 5px;
        border-bottom-width: 1px; /* Thinner line for smaller screens */
    }
}