/* ================================================================
   Hotel Arenales v11 — Multi-Page Editorial
   Support for Rooms Directory, Booking Engine, and Canvas Template
   ================================================================ */

:root {
    --bg-deep: #010e1a;
    --gold: #BA9263;
    --gold-bright: #e7c69a;
    --gold-glow: rgba(186, 146, 99, 0.4);
    --white: #ffffff;
    --ease-luxury: cubic-bezier(0.19, 1, 0.22, 1);
    --font-serif: "Prata", serif;
    --font-sans: "Montserrat", sans-serif;
}

/* ── Base ──────────────────────────────────────── */
* { box-sizing: border-box; }

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

#arenales-app {
    position: relative;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    background: var(--bg-deep);
    color: var(--white);
    overflow: hidden;
    font-family: var(--font-sans);
}

.ar-scroller {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) rgba(1, 14, 26, 0.5);
}

.ar-scroller::-webkit-scrollbar {
    width: 6px;
}

.ar-scroller::-webkit-scrollbar-track {
    background: rgba(1, 14, 26, 0.5);
}

.ar-scroller::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.ar-scroller::-webkit-scrollbar-thumb:hover {
    background: var(--gold-bright);
}

/* ── Header & Desktop Nav ───────────────────────── */
.ar-fixed-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 30px 60px;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(1, 14, 26, 0.9) 0%, transparent 100%);
    transition: all 0.5s var(--ease-luxury);
}

.ar-logo-link img { height: 80px; transition: height 0.3s; }

.ar-main-nav ul { display: flex; list-style: none; gap: 40px; }
.ar-main-nav a { text-decoration: none; color: var(--white); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; opacity: 0.7; }
.ar-main-nav a:hover { color: var(--gold); opacity: 1; }
.ar-gold-highlight { border: 1px solid var(--gold); padding: 8px 18px; }

/* ── Hamburger ─────────────────────────────────── */
.ar-hamburger {
    display: none;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    z-index: 2100;
}
.ar-hamburger span {
    width: 30px;
    height: 2px;
    background: var(--gold);
    transition: all 0.4s var(--ease-luxury);
}
.ar-hamburger.active span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.ar-hamburger.active span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* ── Mobile Overlay Menu ───────────────────────── */
.ar-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(1, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease-luxury), visibility 0.5s;
}
.ar-mobile-overlay.active { 
    display: flex;
    opacity: 1; 
    visibility: visible; 
}

.ar-mobile-nav ul { list-style: none; text-align: center; padding: 0; margin: 0; width: 100%; }
.ar-mobile-nav li { margin-bottom: 25px; }
.ar-mobile-nav a {
    text-decoration: none;
    color: var(--white);
    font-size: 18px;
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: color 0.3s;
    display: block;
}
.ar-mobile-nav a:hover { color: var(--gold); }
.ar-mobile-reserve { 
    color: var(--gold) !important; 
    font-weight: 700; 
    border: 1px solid var(--gold); 
    padding: 12px 25px !important; 
    display: inline-block !important;
    margin-top: 10px;
}

/* ── Slides & Backgrounds ──────────────────────── */
.ar-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
}

.ar-bg { position: absolute; inset: 0; z-index: 1; }
.ar-bg img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.25) contrast(1.1);
}

.ar-dim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(1, 14, 26, 0.8) 0%, transparent 100%);
}

.ar-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    padding: 0 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
}

.ar-text-canvas { 
    max-width: 100%;
    width: auto !important;
    height: auto; 
    pointer-events: none;
    display: block;
}

/* ── Buttons ───────────────────────────────────── */
.ar-cta-container {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ar-main-button {
    background: var(--gold);
    color: var(--bg-deep);
    padding: 18px 45px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.4s var(--ease-luxury);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: none;
    cursor: pointer;
}
.ar-main-button:hover { background: var(--white); transform: translateY(-3px); box-shadow: 0 20px 50px var(--gold-glow); }

.ar-ghost-button {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 14px 35px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s var(--ease-luxury);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}
.ar-ghost-button:hover { background: var(--gold); color: var(--bg-deep); }

/* ── Views & Page Layouts ----------------------- */
.ar-view-home .ar-scroller { scroll-snap-type: y mandatory; height: 100vh; }
.ar-view-rooms .ar-scroller { height: 100vh; overflow-y: scroll; scroll-snap-type: y mandatory; }

/* -- Booking Engine Total Redesign -------------- */
.ar-view-booking .ar-scroller { scroll-snap-type: none; overflow-y: auto; height: 100vh; }
.ar-booking-engine-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    padding: 80px 0;
    display: flex;
    justify-content: center;
}
.ar-standalone-booking { padding-top: 120px; }
.ar-booking-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 1800px; /* Tall default to avoid cut-off */
    height: auto;
    overflow: hidden;
    position: relative;
}

/* ============================================================
   VIEW: NOSOTROS
   ============================================================ */
.ar-view-nosotros .ar-premium-title,
.ar-view-terraza .ar-premium-title,
.ar-view-catamarca .ar-premium-title {
    font-size: clamp(2rem, 7vw, 5.5rem);
}

.ar-nosotros-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
}
@media (max-width: 1024px) {
    .ar-nosotros-container { padding: 0 40px; }
}
@media (max-width: 768px) {
    .ar-nosotros-container { padding: 0 20px; }
}

.ar-split-layout {
    display: flex;
    gap: 80px;
    align-items: center;
    min-height: 80vh;
    padding: 100px 0;
}
@media (max-width: 1024px) {
    .ar-split-layout { 
        display: block; 
        padding: 60px 0; 
        min-height: auto;
    }
}

.ar-split-text {
    flex: 1;
    max-width: 600px;
}

.ar-split-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.ar-section-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.ar-story-content p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-weight: 200;
}

.ar-image-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 550px;
    padding: 15px;
    background: transparent;
    border: 1px solid var(--color-gold);
    box-shadow: 0 0 30px rgba(186, 146, 99, 0.1);
    transition: all 0.5s ease;
}

.ar-image-frame::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(186, 146, 99, 0.2);
    pointer-events: none;
}

.ar-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.ar-image-frame:hover img {
    transform: scale(1.05);
}

/* Mobile Adjustments for Nosotros */
@media (max-width: 1024px) {
    .ar-view-nosotros .ar-slide {
        height: auto !important;
        min-height: 100vh;
        padding: 120px 0 80px;
        display: flex;
        align-items: center;
    }
    .ar-split-layout {
        display: block;
        text-align: center;
        width: 100%;
        padding-top: 100px;
    }
    .ar-split-text {
        width: 100%;
        max-width: 100%;
        margin-bottom: 50px;
    }
    .ar-split-visual {
        width: 100%;
        display: block;
    }
    .ar-image-frame {
        height: auto;
        aspect-ratio: 4 / 5;
        max-width: 100%;
        margin: 0 auto;
    }
    .ar-story-content p {
        font-size: 1rem;
    }
}

/* ============================================================
   VIEW: CAFETERIA
   ============================================================ */

/* Photo Gallery Grid — Centered, auto-height for snap */
.ar-cafe-gallery-section {
    background: var(--bg-deep) !important;
    padding: 120px 60px;
    width: 100%;
    height: auto !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    scroll-snap-align: start;
}

.ar-cafe-gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.ar-cafe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.ar-cafe-grid-main {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border: 1px solid rgba(186, 146, 99, 0.25);
}

.ar-cafe-grid-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ar-cafe-grid-item {
    flex: 1;
    overflow: hidden;
    border: 1px solid rgba(186, 146, 99, 0.15);
    min-height: 260px;
}

.ar-cafe-grid-main img,
.ar-cafe-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease, opacity 0.5s ease;
    opacity: 0.85;
}

.ar-cafe-grid-main:hover img,
.ar-cafe-grid-item:hover img {
    transform: scale(1.06);
    opacity: 1;
}

/* Menu & Horarios — Centered, auto-height for snap */
.ar-cafe-menu-section {
    background: var(--bg-deep) !important;
    padding: 120px 20px;
    width: 100%;
    max-width: 100vw;
    height: auto !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    border-top: 1px solid rgba(186, 146, 99, 0.1);
    scroll-snap-align: start;
    overflow: hidden;
}

.ar-cafe-menu-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.ar-cafe-menu-text h2 {
    margin-bottom: 30px;
}

.ar-cafe-menu-text p {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.9;
    font-weight: 200;
}

.ar-cafe-menu-info {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.ar-schedule-block {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 40px;
    border: 1px solid rgba(186, 146, 99, 0.3);
    background: rgba(186, 146, 99, 0.04);
}

.ar-schedule-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    margin-bottom: 12px;
    font-weight: 400;
}

.ar-schedule-time {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    color: #fff;
    line-height: 1.4;
}

.ar-menu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ar-menu-tags span {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    border: 1px solid rgba(186, 146, 99, 0.4);
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.ar-menu-tags span:hover {
    background: var(--color-gold);
    color: #000;
}

/* Responsive — Cafeteria */
@media (max-width: 1024px) {
    .ar-cafe-gallery-section,
    .ar-cafe-menu-section {
        padding: 80px 30px;
    }
    .ar-cafe-grid {
        grid-template-columns: 1fr;
    }
    .ar-cafe-grid-main {
        aspect-ratio: 16 / 9;
    }
    .ar-cafe-grid-side {
        flex-direction: row;
    }
    .ar-cafe-grid-item {
        min-height: 220px;
    }
    .ar-schedule-time {
        font-size: clamp(1.1rem, 5vw, 1.4rem);
    }
    .ar-schedule-block {
        padding: 25px;
    }
    .ar-cafe-menu-inner {
        gap: 40px;
    }
}


.ar-photo-carousel {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.ar-photo-carousel::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.ar-carousel-item {
    flex: 0 0 calc(33.333% - 20px);
    height: 500px;
    scroll-snap-align: center;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(186, 146, 99, 0.2);
    transition: all 0.5s ease;
}

.ar-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: all 0.8s ease;
}

.ar-carousel-item:hover {
    border-color: var(--color-gold);
}

.ar-carousel-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.ar-menu-highlights {
    margin-top: 40px;
}

.ar-hours {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    line-height: 1.6;
}

.ar-hours span {
    font-size: 2rem;
    color: #fff;
    display: block;
    margin-top: 10px;
}

@media (max-width: 1024px) {
    .ar-carousel-item {
        flex: 0 0 80%;
    }
    .ar-hours span {
        font-size: 1.4rem;
    }
}
.ar-booking-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.ar-booking-loader {
    position: absolute;
    inset: 0;
    background: var(--bg-deep);
    z-index: 50;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: all 0.8s var(--ease-luxury);
}
.ar-booking-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.ar-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(186, 146, 99, 0.1);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: ar-spin 1s linear infinite;
}
@keyframes ar-spin { to { transform: rotate(360deg); } }

.ar-page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-deep);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s var(--ease-luxury), visibility 0.8s;
}
.ar-page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* -- Premium Typography & Components ----------- */
.ar-premium-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 8vw, 100px);
    color: var(--gold);
    letter-spacing: clamp(4px, 1.5vw, 15px);
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    line-height: 1.1;
    word-break: break-word;
}
.ar-premium-lead {
    font-family: var(--font-sans);
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 200;
    max-width: 600px;
    line-height: 1.8;
    opacity: 0.8;
    letter-spacing: 1px;
}
.ar-gold-title {
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: clamp(2rem, 6vw, 54px);
    letter-spacing: clamp(3px, 1vw, 10px);
    margin-top: 20px;
    margin-bottom: 30px;
    line-height: 1.2;
}
.ar-room-tag { font-family: var(--font-sans); color: var(--gold); text-transform: uppercase; letter-spacing: 4px; font-size: 12px; font-weight: 700; margin-bottom: 20px; display: block; }
.ar-indicator-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 24px;
    animation: ar-bounce 2s infinite;
}
@keyframes ar-bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); } 40% { transform: translateY(-10px) translateX(-50%); } 60% { transform: translateY(-5px) translateX(-50%); } }

/* -- Rooms Optimized Directory ----------------- */
.ar-slide-dark { background: var(--bg-deep); }
.ar-rooms-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    height: 100%;
    display: flex;
    align-items: center;
}
.ar-room-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}
.ar-type-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(186, 146, 99, 0.1);
    transition: all 0.6s var(--ease-luxury);
    border-radius: 4px;
    overflow: hidden;
}
.ar-type-card:hover {
    background: rgba(186, 146, 99, 0.05);
    border-color: var(--gold);
    transform: translateY(-15px);
}
.ar-type-img { height: 250px; overflow: hidden; }
.ar-type-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.ar-type-card:hover .ar-type-img img { transform: scale(1.1); }

.ar-type-info { padding: clamp(20px, 4vw, 30px); text-align: left; }
.ar-type-info h3 { 
    font-family: var(--font-serif); 
    color: var(--gold); 
    font-size: clamp(1.2rem, 5vw, 24px); 
    margin-bottom: 15px; 
    letter-spacing: 2px; 
}
.ar-type-info li { font-size: clamp(12px, 3vw, 13px); color: rgba(255,255,255,0.6); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.ar-type-info i { color: var(--gold); font-size: 10px; }

/* -- Services Grid Refined -------------------- */
.ar-services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; margin: 60px 0; max-width: 1000px; }
.ar-service-item { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.ar-service-item i { font-size: 32px; color: var(--gold); }
.ar-service-item span { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; opacity: 0.7; }

/* ── Footer ────────────────────────────────────── */
.ar-footer-slide { background: #010811; }
.ar-footer-content { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 100px; }
.ar-footer-logo { text-align: center; margin-bottom: 60px; opacity: 0.8; }
.ar-footer-logo img { height: 80px; width: auto; }
.ar-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; }
.ar-footer-col h3 { font-size: 11px; letter-spacing: 3px; color: var(--gold); margin-bottom: 30px; }
.ar-footer-col p { font-size: 14px; opacity: 0.7; margin-bottom: 20px; line-height: 1.6; }
.ar-footer-col ul { list-style: none; padding: 0; }
.ar-footer-col a { color: var(--white); text-decoration: none; opacity: 0.6; font-size: 13px; transition: 0.3s; }
.ar-footer-col a:hover { opacity: 1; color: var(--gold); }
.ar-social-links { display: flex; gap: 20px; font-size: 20px; }
.ar-social-links a { opacity: 0.6; transition: all 0.3s; }
.ar-social-links a:hover { opacity: 1; color: var(--gold); }
.ar-footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 60px; padding-top: 30px; text-align: center; font-size: 12px; opacity: 0.4; }

/* ── Indicators ────────────────────────────────── */
.ar-scroll-status {
    position: fixed;
    bottom: 50px; right: 80px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.ar-status-line { width: 1px; height: 80px; background: rgba(186, 146, 99, 0.2); margin-bottom: 20px; position: relative; }
.ar-status-number { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 2px; }

/* ================================================================
   RESPONSIVE OVERRIDE
   ================================================================ */

@media (max-width: 1024px) {
    .ar-fixed-header { padding: 25px 40px; }
    .ar-logo-link img { height: 60px; }
    .ar-main-nav { display: none; }
    .ar-hamburger { display: flex; }
    .ar-booking-wrapper { width: 95%; height: 1000px; }

    /* Fix Slides Overlap & Flow */
    .ar-slide {
        height: auto !important;
        min-height: 100vh;
        scroll-snap-align: start;
        padding-bottom: 60px;
    }
    .ar-content {
        padding: 40px 20px;
        height: 100%;
        min-height: 100vh;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    /* Internal Pages: Keep Hero slides higher up */
    :not(.ar-view-home) .ar-slide:first-child .ar-content {
        justify-content: flex-start;
        padding-top: 25vh;
    }
    /* Home Page: Keep Hero slides centered */
    .ar-view-home .ar-slide:first-child .ar-content {
        justify-content: center;
        padding-top: 40px;
    }
    /* Enforce centering on home sections */
    .ar-view-home .ar-content {
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .ar-view-rooms .ar-slide {
        padding: 120px 0 60px;
    }
    .ar-rooms-container { 
        padding: 0 20px; 
        height: auto; 
        display: block; 
    }
    .ar-room-types-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 30px; 
    }
    .ar-services-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px; 
        margin: 40px auto;
        padding: 0 20px;
    }
    .ar-services-grid { grid-template-columns: repeat(3, 1fr); }
    .ar-booking-wrapper { width: 95%; height: 1000px; }

    /* Footer Mobile Fix */
    .ar-footer-slide { 
        height: auto !important; 
        min-height: 100vh;
        scroll-snap-align: start;
        padding: 80px 0;
    }
    .ar-footer-content { padding: 0 40px; height: auto; }
}

@media (max-width: 768px) {
    .ar-fixed-header { padding: 20px 30px; }
    .ar-logo-link img { height: 50px; }
    .ar-scroll-status { display: none; }
    .ar-content { padding: 40px 20px; align-items: center; text-align: center; justify-content: center; }
    /* Internal Pages: Keep Hero slides higher up */
    :not(.ar-view-home) .ar-slide:first-child .ar-content {
        justify-content: flex-start;
        padding-top: 20vh;
    }
    /* Home Page: Keep Hero slides centered */
    .ar-view-home .ar-slide:first-child .ar-content {
        justify-content: center;
        padding-top: 40px;
    }
    .ar-rooms-container { padding: 100px 30px; height: auto; display: block; overflow-y: auto; }
    .ar-room-types-grid { grid-template-columns: 1fr; }
    .ar-services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    /* Fix Cafeteria Overflow */
    .ar-cafe-gallery-section,
    .ar-cafe-menu-section {
        padding: 80px 20px;
        max-width: 100vw;
        overflow: hidden;
    }
    .ar-cafe-menu-inner {
        width: 100%;
        margin: 0;
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ar-schedule-block {
        width: 100%;
        box-sizing: border-box;
        padding: 20px;
    }
    .ar-premium-title { font-size: 36px; letter-spacing: 4px; }
    .ar-standalone-booking { padding-top: 160px; }
    .ar-booking-wrapper { width: 100%; height: 100vh; }
    .ar-footer-content { padding: 40px 30px; height: auto; display: block; }
    .ar-footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* -- Catamarca Tourism Grid -- */
.ar-view-catamarca .ar-tourism-section {
    height: auto !important;
    min-height: 100vh;
    padding: 120px 0;
    background: #010811;
    display: block; /* Break flex centering for long lists */
}
.ar-tourism-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
.ar-tourism-header {
    margin-bottom: 60px;
    text-align: left;
}
.ar-tourism-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.ar-tourism-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(186, 146, 99, 0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}
.ar-tourism-card:hover {
    transform: translateY(-8px);
    border-color: rgba(186, 146, 99, 0.6);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.ar-card-image {
    height: 280px;
    overflow: hidden;
    background: #010811;
    position: relative;
}
.ar-card-img-filler {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.ar-tourism-card:hover .ar-card-img-filler {
    transform: scale(1.1);
}
.ar-tourism-card:hover .ar-card-image img {
    transform: scale(1.08);
}
.ar-card-body {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.ar-card-body h3 {
    font-family: 'Prata', serif;
    color: #BA9263;
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.ar-card-body p {
    font-family: 'Montserrat', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 30px;
    flex-grow: 1;
}
.ar-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #BA9263;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 14px 24px;
    border: 1px solid rgba(186, 146, 99, 0.3);
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
}
.ar-card-btn:hover {
    background: #BA9263;
    color: #fff;
    border-color: #BA9263;
}
.ar-card-btn-ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3);
}

@media (max-width: 1200px) {
    .ar-tourism-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .ar-view-catamarca .ar-tourism-section { padding: 60px 0; }
    .ar-tourism-grid { grid-template-columns: 1fr; gap: 30px; }
    .ar-tourism-container { padding: 0 30px; }
    .ar-card-image { height: 240px; }
    .ar-card-body { padding: 30px; }
}

/* -- Menu Modal -------------------------------- */
.ar-menu-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #BA9263;
    color: #BA9263;
    padding: 14px 35px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.35s ease, color 0.35s ease;
    background: transparent;
    user-select: none;
}
.ar-menu-cta-btn:hover { background: #BA9263; color: #010811; }

/* Overlay container */
.ar-menu-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    box-sizing: border-box;
}
.ar-menu-modal.active { opacity: 1; pointer-events: all; }

.ar-menu-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 8, 17, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Modal card */
.ar-menu-modal-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(186, 146, 99, 0.3);
    background: #010811;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.ar-menu-modal.active .ar-menu-modal-inner { transform: translateY(0) scale(1); }

/* Close — gold circle, always on top of everything */
.ar-menu-modal-close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 30;
    width: 36px;
    height: 36px;
    background: #BA9263;
    border: none;
    border-radius: 50%;
    color: #010811;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.ar-menu-modal-close:hover { background: #fff; transform: scale(1.1); }

/* Slider — fills width, portrait aspect */
.ar-menu-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 738 / 1040;
    overflow: hidden;
    background: #fff;
    touch-action: manipulation;
}
.ar-menu-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.ar-menu-slide.active { opacity: 1; }
.ar-menu-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

/* Controls bar: [<] [dots] [>]  — lives BELOW the slider, never on it */
.ar-menu-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #010811;
    padding: 10px 12px;
    gap: 10px;
}

/* Arrows — normal block elements in the controls bar */
.ar-menu-nav {
    flex-shrink: 0;
    background: rgba(186, 146, 99, 0.1);
    border: 1px solid rgba(186, 146, 99, 0.35);
    color: #BA9263;
    font-size: 0.9rem;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 2px;
}
.ar-menu-nav:hover { background: rgba(186, 146, 99, 0.25); }

/* Dots centered between the arrows */
.ar-menu-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex: 1;
}
.ar-menu-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(186, 146, 99, 0.25);
    border: 1px solid rgba(186, 146, 99, 0.4);
    cursor: pointer;
    transition: background 0.25s;
}
.ar-menu-dot.active { background: #BA9263; }

/* Mobile: fullscreen, no arrows, swipe only */
@media (max-width: 680px) {
    .ar-menu-modal {
        padding: 0;
        align-items: flex-end; /* slides up from bottom */
    }
    .ar-menu-modal-inner {
        max-width: 100%;
        width: 100%;
        border-left: none;
        border-right: none;
        border-bottom: none;
        border-radius: 0;
        /* Fill as much vertical space as possible */
        height: 100dvh;
        justify-content: flex-end;
    }
    .ar-menu-modal-close {
        top: 12px;
        right: 12px;
    }
    .ar-menu-slider {
        flex: 1;
        /* On mobile, ignore the aspect-ratio and fill available height */
        aspect-ratio: unset;
        height: 0; /* flex:1 will take over */
    }
    /* Hide arrows on mobile — swipe is enough */
    .ar-menu-nav { display: none; }
    .ar-menu-controls {
        justify-content: center;
        padding: 12px;
    }
}

/* -- transitions ------------------------------- */
.ar-dim-bottom-fade { background: linear-gradient(to bottom, transparent 60%, #010811 100%) !important; }

/* -- legacy clean ----------------------------- */
.ar-room-modal, .ar-booking-modal { display: none !important; }


/* ============================================================
   FORMS: CONTACT & RECRUITMENT
   ============================================================ */
.ar-contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

@media (max-width: 1024px) {
    .ar-contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
        padding-top: 100px;
    }
}

.ar-contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ar-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ar-detail-item i {
    color: var(--gold);
    font-size: 1.2rem;
    width: 24px;
}

.ar-detail-item span {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    opacity: 0.8;
}

.ar-contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(186, 146, 99, 0.15);
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .ar-contact-form-wrapper { padding: 30px 20px; }
}

.ar-premium-form .ar-form-group {
    margin-bottom: 25px;
}

.ar-premium-form input,
.ar-premium-form textarea,
.ar-premium-form select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.ar-premium-form input:focus,
.ar-premium-form textarea:focus,
.ar-premium-form select:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.ar-premium-form select option {
    background: #010e1a;
}

.ar-form-response {
    margin-top: 20px;
    font-size: 0.85rem;
    font-family: var(--font-sans);
    padding: 12px;
    border-radius: 4px;
    display: none;
}

.ar-form-response.success {
    display: block;
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.ar-form-response.error {
    display: block;
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.ar-recruitment-perks {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ar-perk-item {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 12px;
}

.ar-perk-item i {
    font-size: 0.8rem;
}

/* ── Mobile Centering Fixes ─────────────────────── */
@media (max-width: 768px) {
    .ar-content {
        align-items: center !important;
        text-align: center !important;
        padding: 0 20px !important;
    }
    .ar-cta-container {
        justify-content: center !important;
        width: 100% !important;
        gap: 15px !important;
    }
    .ar-text-canvas {
        margin: 0 auto !important;
    }
}
