/*
Theme Name: Hoteles Ferre
Theme URI: https://github.com/alejandro/ferre
Author: Antigravity & Alejandro
Author URI: https://github.com/alejandro
Description: Tema WordPress elegante para Hoteles Ferre. Diseño cálido y sofisticado con tipografía editorial y experiencia visual premium.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ferre
*/

/* ==========================================================================
   Local Fonts
   ========================================================================== */
@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Calm Serif';
    src: url('assets/fonts/Calm Serif (DemoVersion).otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   1. Design System & CSS Variables
   ========================================================================== */
:root {
    /* Warm Hotel Palette */
    --cream: #F8F5F0;
    --cream-warm: #F3E9DC;
    --cream-dark: #EDE8DF;
    --charcoal: #1C1C1C;
    --charcoal-soft: #2A2A2A;
    --charcoal-light: #3D3D3D;

    /* Text Colors */
    --text-primary: #1A1A1A;
    --text-secondary: #5A5550;
    --text-muted: #6B6560;
    --text-light: #FFFFFF;
    --text-light-muted: rgba(255, 255, 255, 0.75);

    /* Surfaces */
    --border-light: #E0DCD5;
    --border-dark: rgba(255, 255, 255, 0.12);
    --overlay-dark: rgba(28, 28, 28, 0.85);
    --overlay-light: rgba(248, 245, 240, 0.95);
    --search-bg: rgb(20, 20, 20);
    --search-label: rgba(255, 255, 255, 0.65);

    /* Typography */
    --font-heading: 'Calm Serif', serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Accent */
    --gold: #C9A050;
    --gold-hover: #B08D45;

    /* Search Bar Height */
    --search-bar-height: 80px;

    /* Transitions */
    --transition-smooth: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: transform 0.25s ease-out, opacity 0.25s ease-out, color 0.25s ease-out;
}

/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding: 80px 0 60px 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    background-color: var(--cream);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    background: none;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--charcoal);
    color: var(--text-light);
    padding: 8px 16px;
    z-index: 10000;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--text-light);
    outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Global Focus Indicators */
:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

/* Placeholder Images */
.placeholder-image {
    background: linear-gradient(135deg, var(--cream-dark) 0%, #D9D5CE 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--text-secondary);
    font-size: 13px;
    font-family: var(--font-body);
    text-align: center;
    padding: var(--space-md);
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.02) 10px,
            rgba(0, 0, 0, 0.02) 20px);
}

.placeholder-image span {
    position: relative;
    z-index: 1;
    background: var(--cream);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 4px;
    border: 1px dashed var(--border-light);
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */
#masthead.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(12, 12, 12, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#masthead.site-header.scrolled,
body.menu-open #masthead.site-header {
    background: #0c0c0c;
    border-color: rgba(255, 255, 255, 0.12);
}

.admin-bar #masthead.site-header {
    top: 32px;
}

.header-container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 80px 1fr 180px;
    align-items: stretch;
    height: 80px;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#masthead.site-header.scrolled .header-container {
    height: 70px;
}

/* Column 1: Hamburger Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    padding: 0;
    color: #ffffff;
    position: relative;
    z-index: 1010;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

#masthead.site-header.scrolled .menu-toggle,
body.menu-open .menu-toggle {
    border-right-color: rgba(255, 255, 255, 0.12);
}

.menu-toggle .line {
    display: block;
    width: 24px;
    height: 1.5px;
    background-color: currentColor;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Transform Hamburger to X when open */
body.menu-open .menu-toggle .line-1 {
    transform: translateY(6.5px) rotate(45deg);
}

body.menu-open .menu-toggle .line-2 {
    opacity: 0;
}

body.menu-open .menu-toggle .line-3 {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Column 2: Centered Logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    height: 100%;
    padding: 0 var(--space-md);
}

.logo svg {
    height: 47px;
    width: auto;
    display: block;
    fill: currentColor;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#masthead.site-header.scrolled .logo svg {
    transform: scale(0.95);
}

/* Column 3: Booking CTA Box */
.header-cta {
    display: flex;
    align-items: stretch;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.3s ease;
}

#masthead.site-header.scrolled .header-cta,
body.menu-open .header-cta {
    border-left-color: rgba(255, 255, 255, 0.12);
}

.header-cta .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: transparent;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.header-cta .nav-cta:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   3.5. Menu Overlay Styles
   ========================================================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #0c0c0c;
    z-index: 999;
    display: none;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

body.menu-open,
html.menu-open {
    overflow: hidden;
    touch-action: none;
}

html.menu-open {
    scroll-snap-type: none;
}

body.menu-open .menu-overlay {
    pointer-events: auto;
}

.menu-overlay-container {
    min-height: 100%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px var(--space-lg) 60px var(--space-lg);
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.menu-overlay-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: var(--space-2xl);
    align-items: center;
}

/* Vertical divider down the center */
.menu-vertical-divider {
    position: absolute;
    top: 80px;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.12);
    transform: scaleY(0);
    transform-origin: top;
    z-index: 1000;
}

/* Left Side Column */
.menu-left-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 420px;
    padding-right: var(--space-xl);
    position: relative;
}

.menu-navigation-wrapper {
    display: flex;
    gap: var(--space-3xl);
    align-items: flex-start;
}

.menu-main-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.menu-main-nav li {
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
}

.menu-item-title {
    font-family: var(--font-body);
    font-size: clamp(17px, 4vw, 30px);
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.menu-main-nav li a {
    color: rgba(255, 255, 255, 0.35);
}

.menu-main-nav li.active .menu-item-title,
.menu-main-nav li:hover .menu-item-title,
.menu-main-nav li a:hover {
    color: #ffffff;
}

/* Submenu Wrapper */
.menu-submenu-wrapper {
    flex-grow: 1;
    padding-top: 15px;
    opacity: 0;
    transform: translateX(-20px);
}

.menu-submenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.menu-submenu-list li {
    margin-bottom: 2px;
}

.menu-submenu-list li a {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.menu-submenu-list li a:hover {
    color: #ffffff;
}

/* Social links bottom right of left column */
.menu-socials {
    display: flex;
    gap: var(--space-md);
    align-self: flex-end;
    margin-top: auto;
    opacity: 0;
}

.menu-socials .social-link {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.menu-socials .social-link:hover {
    color: #ffffff;
}

/* Right Side Column */
.menu-right-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: var(--space-xl);
    height: 100%;
}

.menu-featured-image-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(20px);
}

.menu-featured-image-arch {
    width: 280px;
    height: 380px;
    border-radius: 140px 140px 0 0;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.menu-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-contact-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
}

.menu-contact-title {
    font-family: var(--font-heading);
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 4px;
}

.menu-contact-link {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s ease;
}

.menu-contact-link:hover {
    color: #ffffff;
}

/* Responsive Menu Styles */
@media (max-width: 768px) {
    .header-container {
        grid-template-columns: 60px 1fr 120px;
        height: 60px;
    }

    #masthead.site-header.scrolled .header-container {
        height: 60px;
    }

    .admin-bar #masthead.site-header {
        top: 46px;
        /* WordPress mobile admin bar height */
    }

    .menu-vertical-divider {
        display: none;
    }

    .menu-overlay-container {
        padding: 90px var(--space-md) var(--space-lg) var(--space-md);
        align-items: flex-start;
    }

    .menu-overlay-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        align-items: flex-start;
    }

    .menu-left-column {
        min-height: auto;
        padding-right: 0;
        gap: var(--space-lg);
    }

    .menu-navigation-wrapper {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .menu-submenu-wrapper {
        padding-left: 0;
        padding-top: 0;
    }

    .menu-socials {
        align-self: flex-start;
        margin-top: var(--space-sm);
    }

    .menu-right-column {
        padding-left: 0;
        align-items: flex-start;
        justify-content: flex-start;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: var(--space-lg);
        width: 100%;
    }

    .menu-featured-image-wrapper {
        display: none;
    }

    .menu-contact-info {
        text-align: left;
        align-items: flex-start;
    }
}


/* ==========================================================================
   4. Hero Section with Search
   ========================================================================== */
.hero-section {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 500px;
    width: 100%;
}

.hero-image {
    position: relative;
    flex: 1;
    overflow: hidden;
    z-index: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 2;
}

.hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content-overlay {
    position: absolute;
    top: 48%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 3;
    text-align: left;
    color: #FFFFFF;
    width: 90%;
    max-width: 800px;
    padding: 0 var(--space-md);
    opacity: 0;
}

.hero-main-title {
    font-family: var(--font-heading);
    font-size: clamp(46px, 8vw, 68px);
    font-weight: 400;
    line-height: 1.1;
    color: #FFFFFF !important;
    margin: 0 0 var(--space-lg) 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-btn {
    display: inline-block;
    padding: 12px 36px;
    border: 1px solid #FFFFFF;
    background: rgba(0, 0, 0, 0.2);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition-fast);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-btn:hover {
    background: #FFFFFF;
    color: var(--charcoal);
}

.hero-image .placeholder-image {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #C4A882 0%, #8B7355 50%, #5C4A3A 100%);
}


.hero-image .placeholder-image span {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
}

.hero-search-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 998;
    background: var(--search-bg);
    padding: 20px 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.522);
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0.8;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    }

    50% {
        box-shadow: 0 1px 3px rgba(37, 211, 102, 0.25);
    }
}

.search-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.search-label {
    font-size: 24px;
    font-family: var(--font-heading);
    letter-spacing: 2.5px;
    color: var(--text-light);
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    opacity: 0.9;
}

.search-fields {
    display: flex;
    align-items: flex-end;
    gap: var(--space-lg);
    flex: 1;
}

.search-field {
    flex: 1;
    min-width: 0;
    padding-bottom: 2px;
}

.search-field label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--search-label);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.search-field select,
.search-field input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    padding: 8px 0 10px 0;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-field select:focus-visible,
.search-field input:focus-visible {
    outline: none;
    border-bottom-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 0 0 rgba(255, 255, 255, 0.15);
}

.search-field select {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 16px;
}

.search-field select option {
    background: var(--charcoal);
    color: var(--text-light);
}

.search-btn {
    background: var(--text-light);
    color: var(--charcoal);
    padding: 14px 40px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    line-height: inherit;
}

.search-btn:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.04), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-btn:hover::before {
    transform: translateX(100%);
}

/* ==========================================================================
    5. Floating WhatsApp Button
    ========================================================================== */
.whatsapp-float {
    position: fixed;
    right: var(--space-lg);
    bottom: calc(var(--search-bar-height) + 20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #FFFFFF;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-transform: none;
    animation: whatsappEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background: #F8F5F0;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.whatsapp-float:active {
    transform: translateY(0) scale(0.98);
}

@keyframes whatsappEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.whatsapp-icon {
    display: flex;
    align-items: center;
    color: inherit;
}

.whatsapp-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.whatsapp-label {
    display: inline;
    font-size: 14px;
    font-weight: 500;
}

/* ==========================================================================
    6. Features Bar
    ========================================================================== */
.features-bar {
    background: var(--cream);
    padding: var(--space-xl) var(--space-xl);
    scroll-snap-align: start;
}

.features-bar-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex: 0 1 auto;
    justify-content: center;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-item:hover .feature-icon svg {
    transform: scale(1.1);
}

.feature-icon {
    color: var(--text-primary);
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon svg {
    max-width: 100%;
    max-height: 100%;
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.feature-text strong {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.feature-text span {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.feature-divider {
    width: 1px;
    height: 160px;
    background: #23201E;
    flex-shrink: 0;
    align-self: center;
}

/* ==========================================================================
   7. Marquee Ticker
   ========================================================================== */
.marquee-section {
    background: var(--charcoal);
    padding: var(--space-sm) 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-right: var(--space-md);
    white-space: nowrap;
}

.marquee-content span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-light);
    text-transform: uppercase;
}

.marquee-content svg path {
    fill: var(--text-light);
}

.marquee-separator {
    color: var(--text-light-muted) !important;
    font-size: 8px !important;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   8. Hotel Showcase
   ========================================================================== */
.hotel-showcase {
    background: var(--cream-warm);
    padding: var(--space-2xl) 0;
    scroll-snap-align: start;
}

.showcase-nav {
    width: 100%;
    margin-bottom: var(--space-xl);
    padding: 0 4%;
}

.showcase-nav-list {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 4vw, 60px);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.showcase-nav-item button {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-primary);
    text-transform: uppercase;
    padding: 0 0 8px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
    background: none;
    cursor: pointer;
    opacity: 0.4;
}

.showcase-nav-item.active button,
.showcase-nav-item button:hover {
    color: var(--text-primary);
    border-bottom-color: var(--text-primary);
    opacity: 1;
}

.showcase-slider {
    position: relative;
    margin: 0 auto;
    width: 92%;
    /* Mantiene un 4% de margen a cada lado sin importar la pantalla */
}

.showcase-slide {
    display: none;
    opacity: 0;
}

.showcase-slide.active {
    display: block;
    opacity: 1;
}

.showcase-pagination-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.showcase-container {
    display: grid;
    grid-template-columns: 1.1fr 2.8fr;
    gap: var(--space-lg);
    align-items: center;
    width: 100%;
    position: relative;
}

.showcase-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 72px;
}

.showcase-location {
    font-size: 15px;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.showcase-title {
    font-family: var(--font-heading);
    font-size: 45px;
    margin-bottom: 16px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.showcase-desc {
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 36ch;
    text-wrap: pretty;
}

.showcase-btn {
    display: inline-flex;
    align-self: flex-start;
    padding: 12px 36px;
    border: 1px solid var(--text-primary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-top: 16px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
}

.showcase-btn:hover {
    background: var(--charcoal);
    color: var(--text-light);
    border-color: var(--charcoal);
}

.showcase-pagination {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.pagination-arrow {
    font-size: 16px;
    color: var(--text-primary);
    transition: var(--transition-fast);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.pagination-arrow:hover,
.pagination-arrow:focus-visible {
    opacity: 0.6;
}

.pagination-current {
    color: var(--text-primary);
    font-weight: 600;
}

.showcase-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 670px;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.showcase-image .placeholder-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(135deg, #D4C5B0 0%, #B8A894 100%);
}

/* ==========================================================================
   9. Room Types
   ========================================================================== */
.room-types {
    background: var(--cream);
    padding: 0;
    scroll-snap-align: start;
}

.room-types-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    width: 100%;
}

/* Standard room cards */
.room-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    cursor: pointer;
    background: var(--charcoal);
}

.room-image {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-card:hover .room-image img,
.room-card:focus .room-image img {
    transform: scale(1.05);
}

.room-image .placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #C9B8A0 0%, #A08E78 100%);
}

.room-card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    background: linear-gradient(to top, rgba(20, 20, 20, 0.85) 0%, rgba(20, 20, 20, 0.5) 50%, transparent 100%);
    z-index: 2;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-card:hover .room-card-caption,
.room-card:focus .room-card-caption {
    opacity: 0;
    transform: translateY(8px);
}

.room-card-caption .room-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 10px 24px;
    text-transform: uppercase;
    text-align: center;
}

.room-hover-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xl);
    background: #FFFFFF;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
}

.room-card:hover .room-hover-overlay,
.room-card:focus .room-hover-overlay,
.room-card:focus-within .room-hover-overlay {
    opacity: 1;
}

.room-hover-overlay .room-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    padding: 12px 24px;
    margin-bottom: var(--space-lg);
    width: fit-content;
    transform: translateY(24px) scale(0.97);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.08s, opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
    text-transform: uppercase;
}

.room-card:hover .room-hover-overlay .room-label,
.room-card:focus .room-hover-overlay .room-label,
.room-card:focus-within .room-hover-overlay .room-label {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.room-hover-overlay p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--charcoal-soft);
    max-width: 40ch;
    transform: translateY(24px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.18s, opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}

.room-card:hover .room-hover-overlay p,
.room-card:focus .room-hover-overlay p,
.room-card:focus-within .room-hover-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   10. Gallery Section - Masonry Grid
   ========================================================================== */
.gallery-section {
    background: var(--cream);
    padding: 0;
    scroll-snap-align: start;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 8px;
    width: 100%;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 20, 20, 0.6) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

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

.gallery-item-featured {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.gallery-item-wide {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

.gallery-item-bottom {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
}

.gallery-item .placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #C4A882 0%, #8B7355 100%);
}

/* ==========================================================================
   11. Amenities Section
   ========================================================================== */
.amenities-section {
    background: var(--charcoal);
    padding: var(--space-xl) 0 0;
    scroll-snap-align: start;
}

.amenities-divider {
    max-width: calc(1400px - (var(--space-xl) * 2));
    margin: 0 auto;
    width: calc(100% - (var(--space-xl) * 2));
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
}

.amenities-indicator {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 36px;
    height: 3px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.amenities-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
}

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

.amenity-icon {
    color: var(--text-light);
    opacity: 0.9;
    transition: var(--transition-fast);
}

.amenity-icon svg {
    width: 48px;
    height: 48px;
}

.amenity-item.active .amenity-icon,
.amenity-item:hover .amenity-icon {
    opacity: 1;
    transform: translateY(-3px);
    color: var(--gold);
}

.amenity-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.25);
    align-self: center;
    flex-shrink: 0;
}

.amenity-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.5;
    color: var(--text-light);
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.amenity-item.active .amenity-label,
.amenity-item:hover .amenity-label {
    color: var(--gold);
}

/* ==========================================================================
   12. Testimonials Section
   ========================================================================== */
.testimonials-section {
    background: var(--cream);
    padding: var(--space-2xl) var(--space-lg);
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.testimonials-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.reales {
    font-style: italic;
    color: var(--text-secondary);
}

.testimonials-subtitle {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

.testimonials-carousel-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    position: relative;
    padding: var(--space-md) 4px;
}

.testimonials-track {
    display: flex;
    gap: var(--space-lg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    align-items: stretch;
}

.testimonial-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex: 0 0 100%;
    box-sizing: border-box;
    opacity: 0.3;
}

.testimonial-card.in-view {
    opacity: 1;
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(50% - (var(--space-lg) / 2));
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - (2 * var(--space-lg) / 3));
    }
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.testimonial-arrow {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Absolute position for arrows on desktop */
@media (min-width: 1024px) {
    .testimonial-arrow {
        position: absolute;
        top: 55%;
        transform: translateY(-50%);
        z-index: 10;
    }

    .prev-testimonial {
        left: calc((100vw - 1200px) / 2 - 70px);
    }

    .next-testimonial {
        right: calc((100vw - 1200px) / 2 - 70px);
    }
}

@media (min-width: 1024px) and (max-width: 1360px) {
    .prev-testimonial {
        left: 20px;
    }

    .next-testimonial {
        right: 20px;
    }
}

.testimonial-arrow:hover:not(:disabled),
.testimonial-arrow:focus-visible:not(:disabled) {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: var(--text-light);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.testimonial-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    background: #F5F5F5;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-light);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--text-primary);
    transform: scale(1.25);
}

.testimonial-dot:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

.testimonial-card:hover {
    border-color: var(--text-secondary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
}

.placeholder-avatar {
    width: 100%;
    height: 100%;
    background: var(--cream-dark);
    border-radius: 50%;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-info strong {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.author-subtitle {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
}

.stars {
    font-size: 11px;
    color: #dfa931;
    letter-spacing: 2px;
    margin-top: 2px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
    font-family: var(--font-body);
    flex: 1;
    min-height: 80px;
}

.testimonial-meta {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer {
    background: var(--charcoal);
    padding: var(--space-3xl) var(--space-lg) calc(var(--space-lg) + var(--search-bar-height));
    color: var(--text-light);
    scroll-snap-align: start;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-brand .logo a {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-light);
}

.footer-brand .logo-icon {
    color: var(--text-light);
}

.footer-brand .logo-text {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light-muted);
    max-width: 36ch;
}

.footer-socials {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-light-muted);
    transition: var(--transition-fast);
}

.social-link:hover {
    border-color: var(--text-light);
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.08);
}

.social-link {
    transition: transform 0.25s ease-out, opacity 0.25s ease-out, color 0.25s ease-out, border-color 0.25s ease-out, background 0.25s ease-out;
}

.footer-navs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-col a {
    font-size: 14px;
    color: var(--text-light-muted);
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--text-light);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.copyright {
    font-size: 12px;
    color: var(--text-light-muted);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   14. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .showcase-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .showcase-content {
        padding-bottom: 0;
    }

    .showcase-image {
        aspect-ratio: 16 / 9;
    }

    .showcase-pagination-wrapper {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: var(--space-md);
        display: flex;
        justify-content: center;
    }

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

    .amenities-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        padding-bottom: var(--space-lg);
        gap: var(--space-xl);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    .amenities-container::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .amenity-item {
        scroll-snap-align: start;
        flex: 0 0 auto;
        min-width: 130px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-navs {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --search-bar-height: 280px;
    }

    .main-navigation {
        display: none;
    }

    .header-container {
        padding: 0 var(--space-md);
    }

    .hero-section {
        min-height: 600px;
    }

    .search-container {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-md);
    }

    .search-fields {
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .search-field {
        flex: 1 1 40%;
    }

    .search-btn {
        width: 100%;
        margin-top: var(--space-sm);
    }

    .features-bar-container {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .feature-divider {
        width: 60px;
        height: 1px;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        aspect-ratio: auto;
    }

    .gallery-item-featured,
    .gallery-item-wide,
    .gallery-item-bottom {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 4 / 3;
    }

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


    .footer-navs {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float {
        right: var(--space-md);
        bottom: calc(var(--search-bar-height) + 16px);
    }

    .whatsapp-label {
        display: none;
    }
}

@media (max-width: 480px) {
    .search-field {
        flex: 1 1 100%;
    }

    .showcase-btn {
        width: 100%;
        justify-content: center;
    }

    .showcase-pagination {
        justify-content: center;
    }
}

/* ==========================================================================
   14.5 Benefits CTA Section
   ========================================================================== */
.benefits-cta-section {
    background-color: #141414;
    padding: var(--space-3xl) var(--space-md);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.benefits-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1500px;
}

.benefits-cta-subtitle {
    font-family: var(--font-body);
    font-size: 29px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.benefits-cta-title {
    font-family: var(--font-heading);
    font-size: 76px;
    color: #ffffff;
    margin-bottom: var(--space-xl);
    line-height: 1.2;
}

.benefits-cta-btn {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 14px 28px;
    background: transparent;
    transition: all 0.3s ease;
}

.benefits-cta-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   14.6 Benefits Grid Section
   ========================================================================== */
.benefits-grid-section {
    margin-top: var(--space-xs);
    margin-bottom: var(--space-xs);
    background-color: var(--cream);
}

.benefits-grid-container {
    max-width: 100%;
    /* Full screen width */
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    /* Tiny gap for full screen feel */
    padding: 0;
}

.benefit-card {
    background-color: #1f1f1f;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 70vh;
    /* Taller, more immersive */
    min-height: 550px;
}

.benefit-image {
    position: absolute;
    inset: 0;
    transition: height 1s cubic-bezier(0.25, 1, 0.25, 1);
    /* Slower, more elegant ease */
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.25, 1);
}

.benefit-default-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: var(--space-2xl);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.85) 100%);
    transition: opacity 0.8s ease;
    z-index: 2;
}

.benefit-hover-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(18, 18, 18, 0.653);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(4px);
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.25, 1, 0.25, 1), opacity 0.8s ease;
    z-index: 2;
}

.benefit-title {
    margin: 0;
}

.benefit-title span {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid currentColor;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.benefit-default-overlay .benefit-title span {
    color: #FFFFFF;
    border-color: #FFFFFF;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform 1s cubic-bezier(0.25, 1, 0.25, 1), opacity 0.6s ease;
}

.benefit-hover-content .benefit-title span {
    color: var(--cream);
    border-color: var(--cream);
    margin-bottom: var(--space-md);
}

.benefit-desc {
    font-size: 14px;
    color: var(--cream);
    line-height: 1.8;
    margin: 0;
    max-width: 90%;
    transform: translateY(15px);
    transition: transform 1s cubic-bezier(0.25, 1, 0.25, 1) 0.15s, opacity 0.8s ease 0.15s;
    opacity: 0;
}

/* Hover effect */
.benefit-card:hover .benefit-image {
    height: 100%;
}

.benefit-card:hover .benefit-image img {
    transform: scale(1.05);
}

.benefit-card:hover .benefit-default-overlay {
    opacity: 0;
}

.benefit-card:hover .benefit-default-overlay .benefit-title span {
    transform: translateY(-20px);
    opacity: 0;
}

.benefit-card:hover .benefit-hover-content {
    transform: translateY(0);
    opacity: 1;
}

.benefit-card:hover .benefit-desc {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 992px) {
    .benefits-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid-container {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        min-height: 400px;
    }
}

/* ==========================================================================
   15. Entrance Animations (CSS fallback)
   ========================================================================== */

/* ==========================================================================
   Sede Individual
   ========================================================================== */

/* Hero Sede */
.sede-hero {
    position: relative;
    z-index: 1;
    height: auto;
    min-height: 0;
    max-height: 720px;
    aspect-ratio: 21 / 9;
}

.sede-hero .hero-image {
    position: absolute;
    inset: 0;
}

.sede-hero .hero-image::after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.sede-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    color: #FFFFFF;
    width: 90%;
    max-width: 1400px;
    padding: 0 var(--space-md);
    opacity: 1;
}

.sede-hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--space-sm);
}

.sede-hero-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.sede-main-title {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5.5vw, 62px);
    font-weight: 300;
    line-height: 1.1;
    color: #FFFFFF !important;
    margin: 0;
    letter-spacing: 0;
    text-transform: none;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sede-title-divider {
    width: 100%;
    max-width: 900px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.886);
    margin: var(--space-sm) auto;
}

.sede-hero-desc {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
    margin: 0 auto;
}

/* Search bar adjustments for sede */
.sede-search-bar {
    background: #141414;
    padding: 18px 0 28px 0;
}

.sede-search-bar .search-container {
    gap: var(--space-xl);
}

.sede-search-bar .search-label {
    font-size: 20px;
    letter-spacing: 2px;
}

.sede-search-bar .search-fields {
    gap: var(--space-md);
}

.sede-search-bar .search-field select,
.sede-search-bar .search-field input {
    font-size: 13px;
    border-bottom-color: rgba(255, 255, 255, 0.25);
}

.sede-search-bar .search-btn {
    background: #FFFFFF;
    color: var(--charcoal);
    padding: 12px 36px;
}

/* Sede Info */
.sede-info-section {
    background-color: var(--cream-warm);
    padding: 100px var(--space-lg) 70px var(--space-lg);
    position: relative;
    z-index: 2;
}

.sede-info-container {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 2.2fr;
    gap: 56px;
    align-items: center;
}

.sede-info-left {
    padding-right: 0;
    text-align: center;
    padding-top: 4px;
}

.sede-name {
    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 52px);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    line-height: 1.05;
    letter-spacing: 0;
}

.sede-address {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #7A736B;
    text-transform: uppercase;
}

.sede-address-icon {
    color: #7A736B;
    flex-shrink: 0;
    margin-top: -1px;
}

.sede-info-divider {
    width: 1px;
    min-height: 160px;
    height: 160px;
    background: rgba(26, 26, 26, 0.18);
    align-self: center;
}

.sede-info-right {
    padding-top: 2px;
}

.sede-info-right p {
    font-size: 14px;
    line-height: 1.85;
    color: #5A5550;
    max-width: 720px;
    margin: 0;
}

/* Sede Gallery */
.sede-gallery-section {
    background: linear-gradient(to bottom, var(--cream-warm) 50%, #FFFFFF 50%);
    padding: 0 var(--space-lg) 70px var(--space-lg);
    position: relative;
    z-index: 10;
}

.sede-gallery-container {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    display: block;
    width: 100%;
    aspect-ratio: 21 / 9;
    height: auto;
    max-height: 540px;
}

/* Dots navigation on rooms gallery */
.sede-gallery-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 15;
}

.sede-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sede-gallery-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.sede-gallery-dot.active {
    background: #FFFFFF;
    transform: scale(1.25);
}

.sede-gallery-img-featured {
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.sede-gallery-img-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.sede-gallery-img-featured:hover img {
    transform: scale(1.03);
    opacity: 0.9;
}

.sede-rooms-section {
    background-color: #FFFFFF;
    padding: 70px var(--space-lg) 100px var(--space-lg);
}

.sede-rooms-container {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.55fr;
    gap: 80px;
}

.sede-rooms-tabs {
    display: flex;
    flex-direction: column;
}

.room-tab {
    text-align: left;
    padding: 18px 0;
    border-bottom: 1px solid #E0DCD5;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: #C9C3BB;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: none;
}

.room-tab:hover {
    color: #8C857D;
}

.room-tab.active {
    color: #1A1A1A;
    font-weight: 600;
    border-bottom-color: #1A1A1A;
}

.sede-rooms-content {
    padding-top: 4px;
}

.room-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.room-pane.active {
    display: block;
    opacity: 1;
}

.room-pane p {
    font-size: 14px;
    line-height: 1.85;
    color: #5A5550;
    margin: 0 0 32px 0;
    max-width: 500px;
}

.room-reserve-btn {
    display: inline-block;
    padding: 10px 28px;
    border: 1px solid #1A1A1A;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #1A1A1A;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: transparent;
}

.room-reserve-btn:hover {
    background: #1A1A1A;
    color: #FFFFFF;
}

/* Sede Spaces */
.sede-spaces-section {
    background-color: #FFFFFF;
    padding: 60px 0 100px;
}

.sede-spaces-container {
    width: 100%;
    margin: 0 auto;
}

.sede-spaces-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 var(--space-lg);
}

.sede-spaces-label {
    display: block;
    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 300;
    color: #1A1A1A;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.sede-spaces-title {
    font-family: var(--font-heading);
    font-size: 60px;
    line-height: 1.1;
    color: #1A1A1A;
}

.sede-spaces-carousel {
    position: relative;
    width: 100%;
}

.sede-spaces-track {
    display: flex;
    align-items: center;
    width: max-content;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.sede-space-card {
    position: relative;
    width: 65vw;
    max-width: 900px;
    height: 500px;
    margin: 0 15px;
    filter: brightness(0.3);
    transition: filter 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    background: var(--charcoal);
}

.sede-space-card.active {
    filter: brightness(1);
    cursor: default;
}

.sede-space-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.sede-space-card:hover img {
    transform: scale(1.05);
}

.sede-spaces-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
}

.sede-spaces-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #D9D5CE;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sede-spaces-dot.active {
    background: #1A1A1A;
    transform: scale(1.25);
}

/* Sede responsive */
@media (max-width: 768px) {
    .sede-info-section {
        padding: 64px var(--space-md) 64px var(--space-md);
    }

    .sede-info-container,
    .sede-rooms-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .sede-info-container {
        gap: var(--space-md);
    }

    .sede-info-divider {
        display: none;
    }

    .sede-gallery-section {
        margin: 0 var(--space-md) 64px;
        padding: 0;
    }

    .sede-gallery-container {
        aspect-ratio: 4 / 3;
        max-height: none;
    }

    .sede-rooms-section {
        padding: 64px var(--space-md) 80px var(--space-md);
    }

    .sede-rooms-container {
        gap: var(--space-xl);
    }

    .sede-hero-content {
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .sede-spaces-track {
        height: 350px;
        padding: 0;
    }

    .sede-space-card {
        height: 100%;
    }

    .sede-spaces-nav {
        margin-top: 28px;
    }
}

@media (max-width: 480px) {
    .room-tab {
        font-size: 13px;
        letter-spacing: 1px;
    }
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    width: calc(100vw - 160px);
    height: calc(100vh - 120px);
    margin-top: 60px; /* space for header */
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 80px 1fr 140px;
    height: 60px;
    background: #000000;
    border-bottom: 1px solid #ffffff;
    z-index: 2010;
}

.lightbox-header .lightbox-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    border-right: 1px solid #ffffff;
    cursor: pointer;
    padding: 0;
    color: #ffffff;
    font-family: var(--font-body, sans-serif);
    font-size: 18px;
    font-weight: 300;
    transition: background 0.3s ease;
}

.lightbox-header .lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lightbox-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #ffffff;
}

.lightbox-header .logo svg {
    height: auto;
    width: auto;
    max-height: 25px;
    fill: #ffffff;
}

.lightbox-header .header-cta {
    display: flex;
    align-items: stretch;
    justify-content: center;
    border-left: 1px solid #ffffff;
}

.lightbox-header .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: transparent;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
}

.lightbox-header .nav-cta:hover {
    background: rgba(255, 255, 255, 0.05);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-family: var(--font-body, sans-serif);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    padding: 20px;
    transition: transform 0.3s ease;
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-5px);
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(5px);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

/* ==========================================================================
   15.5. Viewport Heights for Connected Sections (Desktop)
   ========================================================================== */
@media (min-width: 769px) {
    /* Section: Sede Gallery + Sede Rooms (Rooms presentation) */
    .sede-gallery-section {
        padding-bottom: 20px;
    }
    .sede-gallery-container {
        height: clamp(320px, 38vh, 480px);
        aspect-ratio: auto;
    }
    .sede-rooms-section {
        padding-top: 20px;
        padding-bottom: 40px;
    }
    .sede-rooms-container {
        gap: 40px;
    }
    .room-tab {
        padding: 12px 0;
        font-size: 16px;
    }
    .room-pane p {
        margin-bottom: 20px;
    }

    /* Section: Food Gallery + Amenities (Services presentation) */
    .gallery-grid {
        grid-template-rows: repeat(2, clamp(220px, 25vh, 280px));
        max-height: none;
    }
    .amenities-section {
        padding-top: var(--space-md);
    }
    .amenities-container {
        padding-top: var(--space-md);
        padding-bottom: var(--space-md);
    }
    .amenity-icon svg {
        width: 40px;
        height: 40px;
    }
    .amenity-label {
        font-size: 10px;
        letter-spacing: 1.5px;
    }
}

/* ==========================================================================
   16. Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }

    html {
        scroll-snap-type: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}