/* ==========================================================================
   UAQ Chamber — Events & Conferences Hall
   Design system: Modern · Premium · Minimal · Interactive · Elegant
   ========================================================================== */

/* Codec Pro by Zetafonts — Latin text & numerals. Arabic falls back to IBM Plex Sans Arabic via unicode-range. */
@font-face {
    font-family: 'Codec Pro';
    src: url('../fonts/CodecPro-Regular.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Codec Pro';
    src: url('../fonts/CodecPro-Italic.woff2') format('woff2');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Brand (from the UAQ Chamber logo) */
    --navy-950: #060f1c;
    --navy-900: #0a1829;
    --navy-800: #10233b;
    --navy-700: #183252;
    --navy: #1f3f63;
    --orange: #f26a10;
    --orange-600: #d95a05;
    --orange-300: #ff9a52;
    --sand: #f3d7b5;

    /* Neutrals */
    --ivory: #f7f5f1;
    --ivory-2: #efece6;
    --paper: #ffffff;
    --ink: #0d1726;
    --ink-2: #3a4658;
    --ink-3: #6a7484;
    --line: rgba(13, 23, 38, 0.08);
    --line-2: rgba(13, 23, 38, 0.14);

    --success: #12865a;
    --danger: #c2372b;
    --warning: #b4610a;

    --grad-brand: linear-gradient(135deg, #ff8f45 0%, #f26a10 48%, #d55200 100%);
    --grad-warm-text: linear-gradient(100deg, #ffd9b3 0%, #ffad6b 45%, #f26a10 100%);
    --grad-navy: linear-gradient(160deg, #10233b 0%, #060f1c 100%);

    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;

    --shadow-xs: 0 1px 2px rgba(13, 23, 38, 0.05);
    --shadow-sm: 0 1px 2px rgba(13, 23, 38, 0.04), 0 4px 14px -4px rgba(13, 23, 38, 0.08);
    --shadow-md: 0 2px 6px rgba(13, 23, 38, 0.04), 0 18px 44px -14px rgba(13, 23, 38, 0.16);
    --shadow-lg: 0 40px 90px -30px rgba(6, 15, 28, 0.45);
    --shadow-orange: 0 14px 34px -12px rgba(242, 106, 16, 0.6);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --section-y: clamp(80px, 11vw, 150px);

    --font: 'Codec Pro', 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --dir: -1; /* RTL: forward motion goes left */
}

html[dir="ltr"] { --dir: 1; }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul { list-style: none; }

::selection { background: rgba(242, 106, 16, 0.22); color: var(--ink); }

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
    border-radius: 8px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.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;
}

.skip-link {
    position: fixed; top: 12px; inset-inline-start: 12px; z-index: 1000;
    padding: 10px 18px; border-radius: 999px;
    background: var(--ink); color: #fff; font-weight: 600;
    transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

html[lang="en"] .tracking-tight { letter-spacing: -0.025em; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
    position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 300;
    background: var(--grad-brand);
    transform-origin: right center;
    transform: scaleX(0);
    pointer-events: none;
}
html[dir="ltr"] .scroll-progress { transform-origin: left center; }

/* ==========================================================================
   Reveal-on-scroll system (only hides content when JS is running)
   ========================================================================== */
.js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition:
        opacity 1s var(--ease) var(--d, 0ms),
        transform 1.1s var(--ease) var(--d, 0ms),
        filter 1s var(--ease) var(--d, 0ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.96); }
.js [data-reveal="blur"] { filter: blur(10px); transform: translate3d(0, 18px, 0); }
.js [data-reveal="side"] { transform: translate3d(calc(var(--dir) * -40px), 0, 0); }
.js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    --btn-h: 54px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: var(--btn-h);
    padding: 0 28px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid transparent;
    transition:
        transform 0.5s var(--ease),
        box-shadow 0.5s var(--ease),
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); transition-duration: 0.15s; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Light sweep */
.btn::before {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-110%);
    transition: transform 0.9s var(--ease);
}
.btn:hover::before { transform: translateX(110%); }

/* Directional arrow */
.btn-arrow::after {
    content: '';
    width: 18px; height: 18px; flex: none;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: scaleX(var(--dir));
    transition: transform 0.5s var(--ease);
}
html[dir="rtl"] .btn-arrow::after { transform: scaleX(-1); }
html[dir="rtl"] .btn-arrow:hover::after { transform: scaleX(-1) translateX(4px); }
html[dir="ltr"] .btn-arrow:hover::after { transform: translateX(4px); }

.btn-primary {
    color: #fff;
    background: var(--grad-brand);
    box-shadow: var(--shadow-orange), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px -14px rgba(242, 106, 16, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-glass {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.4); transform: translateY(-2px); }

.btn-secondary {
    color: var(--ink);
    background: var(--paper);
    border-color: var(--line-2);
    box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-dark {
    color: #fff;
    background: var(--ink);
}
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }

.btn-ghost {
    color: rgba(255, 255, 255, 0.86);
    padding-inline: 10px;
}
.btn-ghost::before { display: none; }
.btn-ghost span { background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0 1px; transition: background-size 0.5s var(--ease); padding-bottom: 3px; }
html[dir="ltr"] .btn-ghost span { background-position: 0 100%; }
.btn-ghost:hover span { background-size: 100% 1px; }
.btn-ghost:hover { color: #fff; }

.btn-whatsapp { color: #fff; background: #1fae54; }
.btn-whatsapp:hover { background: #179447; transform: translateY(-2px); }

.btn-sm { --btn-h: 42px; padding: 0 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn.loading { pointer-events: none; }
.btn.loading::after {
    content: '';
    width: 18px; height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Click ripple */
.ripple {
    position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
    background: rgba(255, 255, 255, 0.45);
    transform: scale(0); animation: ripple 0.7s var(--ease) forwards;
}
.btn-secondary .ripple { background: rgba(13, 23, 38, 0.12); }

@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-nav {
    position: fixed;
    top: 14px;
    inset-inline: 0;
    z-index: 200;
    padding-inline: 14px;
    pointer-events: none;
    transition: top 0.5s var(--ease);
}

.nav-shell {
    pointer-events: auto;
    max-width: var(--container);
    margin-inline: auto;
    height: 68px;
    padding-inline: 10px;
    padding-inline-start: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 22px;
    color: #fff;
    background: rgba(8, 18, 32, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
    transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease), color 0.4s ease, height 0.5s var(--ease);
}

.site-nav.scrolled { top: 10px; }
.site-nav.scrolled .nav-shell {
    height: 62px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px -18px rgba(13, 23, 38, 0.3), inset 0 0 0 1px rgba(13, 23, 38, 0.04);
}

.brand-block { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo-wrap {
    width: 46px; height: 46px; flex: none;
    border-radius: 14px;
    background: #fff;
    display: grid; place-items: center;
    box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.25);
    transition: transform 0.6s var(--ease);
}
.brand-block:hover .brand-logo-wrap { transform: rotate(-6deg) scale(1.04); }
.brand-logo { width: 38px; height: 38px; object-fit: contain; }
.brand-titles { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.brand-title { font-weight: 700; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-subtitle { font-size: 0.78rem; opacity: 0.7; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-link {
    position: relative;
    display: inline-flex; align-items: center; gap: 8px;
    height: 42px; padding: 0 16px;
    border-radius: 999px;
    font-size: 0.94rem; font-weight: 500;
    opacity: 0.86;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}
.nav-link svg { width: 18px; height: 18px; display: none; }
.nav-link:hover { opacity: 1; background: rgba(255, 255, 255, 0.12); }
.site-nav.scrolled .nav-link:hover { background: rgba(13, 23, 38, 0.06); }
.nav-link.active { opacity: 1; }
.nav-link.active::after {
    content: '';
    position: absolute; bottom: 5px; left: 50%;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--orange);
    transform: translateX(-50%);
}

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-cta { --btn-h: 46px; padding: 0 22px; font-size: 0.92rem; }

.lang-switch-btn {
    height: 46px; min-width: 46px; padding: 0 16px;
    border-radius: 999px;
    font-size: 0.88rem; font-weight: 600;
    border: 1px solid currentColor;
    border-color: rgba(255, 255, 255, 0.28);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease);
}
.lang-switch-btn:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-1px); }
.site-nav.scrolled .lang-switch-btn { border-color: var(--line-2); }
.site-nav.scrolled .lang-switch-btn:hover { background: rgba(13, 23, 38, 0.05); }

.menu-btn {
    display: none;
    width: 46px; height: 46px; border-radius: 14px;
    position: relative;
    transition: background-color 0.3s ease;
}
.menu-btn:hover { background: rgba(255, 255, 255, 0.12); }
.menu-btn span {
    position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px;
    background: currentColor;
    transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-btn.is-active span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn.is-active span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.nav-backdrop {
    position: fixed; inset: 0; z-index: 150;
    background: rgba(6, 15, 28, 0.4);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}
.nav-backdrop.active { opacity: 1; visibility: visible; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--navy-950);
    overflow: hidden;
    padding: 150px 0 clamp(32px, 5vw, 56px);
}

.hero-media {
    position: absolute;
    inset: -6% 0 -6% 0;
    will-change: transform;
}
.hero-media-inner {
    position: absolute; inset: 0;
    animation: kenburns 22s var(--ease) both;
}
.hero-media img,
.hero-media video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-media video { opacity: 0; transition: opacity 1.4s ease; }
.hero-media video.is-playing { opacity: 1; }

@keyframes kenburns {
    from { transform: scale(1.14); }
    to   { transform: scale(1.0); }
}

.hero-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(120% 70% at 85% 110%, rgba(242, 106, 16, 0.32) 0%, transparent 55%),
        radial-gradient(70% 80% at 85% 55%, rgba(6, 15, 28, 0.55) 0%, transparent 70%),
        linear-gradient(180deg, rgba(6, 15, 28, 0.7) 0%, rgba(6, 15, 28, 0.38) 30%, rgba(6, 15, 28, 0.62) 60%, rgba(6, 15, 28, 0.95) 100%);
}
html[dir="ltr"] .hero-overlay {
    background:
        radial-gradient(120% 70% at 15% 110%, rgba(242, 106, 16, 0.32) 0%, transparent 55%),
        radial-gradient(70% 80% at 15% 55%, rgba(6, 15, 28, 0.55) 0%, transparent 70%),
        linear-gradient(180deg, rgba(6, 15, 28, 0.7) 0%, rgba(6, 15, 28, 0.38) 30%, rgba(6, 15, 28, 0.62) 60%, rgba(6, 15, 28, 0.95) 100%);
}

.hero-grain {
    position: absolute; inset: 0; opacity: 0.07; mix-blend-mode: overlay; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 1000px; will-change: transform, opacity; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px 8px 18px;
    border-radius: 999px;
    font-size: 0.86rem; font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    animation: fadeUp 1s var(--ease) 0.1s both;
}
.eyebrow-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 0 rgba(242, 106, 16, 0.6);
    animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(242, 106, 16, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(242, 106, 16, 0); }
    100% { box-shadow: 0 0 0 0 rgba(242, 106, 16, 0); }
}

.hero-title {
    margin-top: 24px;
    font-size: clamp(2.2rem, 5.4vw, 4.6rem);
    font-weight: 700;
    line-height: 1.16;
    text-wrap: balance;
}
html[lang="en"] .hero-title { letter-spacing: -0.035em; line-height: 1.04; }

.blur-text-line { display: block; }
.blur-word {
    display: inline-block;
    animation: blurIn 1s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 70ms + 250ms);
}
.blur-text-line:nth-child(2) .blur-word {
    background: var(--grad-warm-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-bottom: 0.08em;
}
@keyframes blurIn {
    from { opacity: 0; filter: blur(14px); transform: translateY(0.35em); }
    to   { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}

.hero-description {
    margin-top: 22px;
    max-width: 600px;
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.78);
    animation: fadeUp 1s var(--ease) 0.9s both;
}

.hero-buttons {
    margin-top: 36px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
    animation: fadeUp 1s var(--ease) 1.05s both;
}

.hero-bottom {
    margin-top: clamp(48px, 8vw, 96px);
    display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
    animation: fadeUp 1.1s var(--ease) 1.25s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    overflow: hidden;
}
.hero-stat { padding: 18px 28px; display: flex; flex-direction: column; gap: 2px; }
.hero-stat + .hero-stat { border-inline-start: 1px solid rgba(255, 255, 255, 0.12); }
.hero-stat-value { font-size: 1.7rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hero-stat-value small { font-size: 0.95rem; font-weight: 500; opacity: 0.7; margin-inline-start: 2px; }
.hero-stat-label { font-size: 0.82rem; color: rgba(255, 255, 255, 0.66); }

.scroll-cue {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-size: 0.78rem; color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}
.scroll-cue:hover { color: #fff; }
.scroll-cue-track {
    width: 26px; height: 42px; border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue-dot {
    width: 4px; height: 8px; border-radius: 4px; background: #fff;
    animation: scrollDot 2s var(--ease-in-out) infinite;
}
@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 0; }
    30% { opacity: 1; }
    80% { transform: translateY(14px); opacity: 0; }
    100% { opacity: 0; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding-block: var(--section-y); }
.section-light { background: var(--ivory); }
.section-white { background: var(--paper); }
.section-dark { background: var(--grad-navy); color: #fff; }

.section-header { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-header.center { margin-inline: auto; text-align: center; }
.section-header.split {
    max-width: none;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.section-header.split > div { max-width: 640px; }

.section-tag {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.85rem; font-weight: 600;
    color: var(--orange-600);
    margin-bottom: 16px;
}
.section-tag::before {
    content: ''; width: 28px; height: 1.5px; border-radius: 2px;
    background: var(--grad-brand);
}
.section-dark .section-tag { color: var(--orange-300); }

.section-title {
    font-size: clamp(1.9rem, 4.2vw, 3.3rem);
    font-weight: 700;
    line-height: 1.22;
    text-wrap: balance;
}
html[lang="en"] .section-title { letter-spacing: -0.03em; line-height: 1.1; }

.section-desc {
    margin-top: 16px;
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    color: var(--ink-3);
    max-width: 600px;
}
.section-header.center .section-desc { margin-inline: auto; }
.section-dark .section-desc { color: rgba(255, 255, 255, 0.66); }

/* ==========================================================================
   Spaces
   ========================================================================== */
.spaces-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: clamp(16px, 2vw, 24px);
}

.space-card {
    position: relative;
    display: block;
    width: 100%;
    min-height: clamp(440px, 52vw, 620px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    color: #fff;
    text-align: start;
    background: var(--navy-900);
    box-shadow: var(--shadow-md);
    isolation: isolate;
    transform: translateZ(0);
    transition: box-shadow 0.6s var(--ease), transform 0.6s var(--ease);
}
.space-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.space-media { position: absolute; inset: 0; overflow: hidden; z-index: -2; }
.space-media-zoom { position: absolute; inset: 0; transition: transform 1.6s var(--ease); }
.space-card:hover .space-media-zoom { transform: scale(1.06); }
.space-media img {
    position: absolute; inset: -10% 0;
    width: 100%; height: 120%;
    object-fit: cover;
    will-change: transform;
}
.space-card::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(6, 15, 28, 0) 35%, rgba(6, 15, 28, 0.86) 100%);
    transition: opacity 0.6s ease;
}

/* Cursor spotlight */
.spotlight::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.14), transparent 60%);
    opacity: 0; transition: opacity 0.5s ease;
}
.spotlight:hover::after { opacity: 1; }

.space-badge {
    position: absolute; top: 22px; inset-inline-start: 22px; z-index: 2;
    padding: 8px 14px; border-radius: 999px;
    font-size: 0.8rem; font-weight: 600;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.space-info {
    position: absolute; inset-inline: 18px; bottom: 18px; z-index: 2;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
    padding: 22px 24px;
    border-radius: var(--radius);
    background: rgba(10, 22, 40, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    transition: transform 0.6s var(--ease), background-color 0.4s ease;
}
.space-card:hover .space-info { transform: translateY(-4px); background: rgba(10, 22, 40, 0.5); }
.space-info h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; line-height: 1.35; }
.space-info p { margin-top: 6px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.88); max-width: 460px; }
/* The Latin face ships in a single regular weight, so English copy needs more contrast over photos */
html[lang="en"] .space-info { background: rgba(6, 15, 28, 0.66); border-color: rgba(255, 255, 255, 0.2); }
html[lang="en"] .space-card:hover .space-info { background: rgba(6, 15, 28, 0.74); }
html[lang="en"] .space-info h3 { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }
html[lang="en"] .space-info p { color: #fff; font-size: 1rem; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
html[lang="en"] .space-badge { background: rgba(6, 15, 28, 0.55); border-color: rgba(255, 255, 255, 0.3); }

.play-btn {
    flex: none;
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center;
    background: #fff; color: var(--ink);
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s var(--ease), background-color 0.3s ease, color 0.3s ease;
    position: relative;
}
.play-btn::before {
    content: ''; position: absolute; inset: -6px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: ring 2.4s var(--ease) infinite;
}
@keyframes ring { 0% { transform: scale(0.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.play-btn svg { width: 20px; height: 20px; margin-inline-start: 3px; }
html[dir="rtl"] .play-btn svg { margin-inline-start: 0; margin-inline-end: 3px; }
.space-card:hover .play-btn { transform: scale(1.1); background: var(--orange); color: #fff; }

.features-row {
    margin-top: clamp(24px, 3vw, 36px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.feature {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-icon {
    width: 44px; height: 44px; flex: none; border-radius: 13px;
    display: grid; place-items: center;
    color: var(--orange-600);
    background: linear-gradient(135deg, rgba(242, 106, 16, 0.12), rgba(242, 106, 16, 0.04));
    transition: transform 0.6s var(--ease);
}
.feature:hover .feature-icon { transform: rotate(-8deg) scale(1.06); }
.feature-icon svg { width: 22px; height: 22px; }
.feature span { font-weight: 600; font-size: 0.95rem; line-height: 1.45; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.section-dark::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(50% 40% at 90% 0%, rgba(242, 106, 16, 0.14), transparent 70%),
        radial-gradient(40% 40% at 0% 100%, rgba(56, 120, 200, 0.14), transparent 70%);
}
.section-dark > .container { position: relative; }

.gallery-nav-pills {
    position: relative;
    display: inline-flex; gap: 4px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}
.gallery-nav-pills::-webkit-scrollbar { display: none; }
.pill-indicator {
    position: absolute; top: 5px; bottom: 5px; left: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.45);
    transition: transform 0.55s var(--ease), width 0.55s var(--ease);
    z-index: 0;
}
.pill-btn {
    position: relative; z-index: 1;
    height: 42px; padding: 0 20px;
    border-radius: 999px;
    font-size: 0.92rem; font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
    transition: color 0.4s ease;
}
.pill-btn:hover { color: #fff; }
.pill-btn.active { color: var(--ink); }

/* Event folders */
.gallery-folders {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.gallery-folders[hidden], .gallery-folder-bar[hidden], .gallery-grid[hidden] { display: none; }
.folder-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #fff;
    text-align: start;
    background: var(--navy-900);
    border: 1px solid rgba(255, 255, 255, 0.1);
    isolation: isolate;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.folder-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6); }
.folder-card:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.folder-cover { position: absolute; inset: 0; z-index: -2; }
.folder-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.folder-card:hover .folder-cover img { transform: scale(1.06); }
.folder-card::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(6, 15, 28, 0.05) 30%, rgba(6, 15, 28, 0.88) 100%);
}
.folder-info {
    position: absolute; inset-inline: 16px; bottom: 16px;
    display: flex; align-items: center; gap: 12px;
}
.folder-icon {
    flex: none;
    width: 44px; height: 44px; border-radius: 14px;
    display: grid; place-items: center;
    background: var(--orange); color: #fff;
}
.folder-icon svg { width: 22px; height: 22px; }
.folder-name { display: block; font-size: 1.15rem; font-weight: 700; line-height: 1.3; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.folder-count { display: block; margin-top: 2px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); }

.gallery-folder-bar {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    margin-bottom: 22px;
}
.folder-back-btn { display: inline-flex; align-items: center; gap: 6px; }
.folder-back-btn svg { width: 18px; height: 18px; }
html[dir="ltr"] .folder-back-btn svg { transform: scaleX(-1); }
.folder-current-title { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 700; color: #fff; }

.gallery-grid {
    columns: 3 300px;
    column-gap: 18px;
    transition: opacity 0.35s ease;
}
.gallery-grid.is-switching { opacity: 0; }

.g-item {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 18px;
    break-inside: avoid;
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    cursor: zoom-in;
    isolation: isolate;
    transform: translateZ(0);
}
.g-item.is-video { cursor: pointer; }
.g-item img {
    width: 100%; height: auto;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.9s ease, transform 1.4s var(--ease);
}
.g-item img.is-loaded { opacity: 1; transform: scale(1); }
.g-item:hover img.is-loaded { transform: scale(1.07); }

.g-item::before {
    /* shimmer while loading */
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0) 70%) 0 0 / 200% 100%;
    animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.g-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: flex-end; justify-content: space-between;
    padding: 16px;
    background: linear-gradient(180deg, transparent 50%, rgba(6, 15, 28, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.g-item:hover .g-overlay, .g-item:focus-visible .g-overlay { opacity: 1; }
.g-icon {
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transform: translateY(8px);
    transition: transform 0.5s var(--ease);
}
.g-item:hover .g-icon { transform: none; }
.g-icon svg { width: 18px; height: 18px; }

.g-video-badge {
    position: absolute; top: 14px; inset-inline-start: 14px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px 6px 10px; border-radius: 999px;
    font-size: 0.76rem; font-weight: 600; color: #fff;
    background: rgba(6, 15, 28, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.g-video-badge svg { width: 12px; height: 12px; }

.g-center-play {
    position: absolute; top: 50%; left: 50%;
    width: 64px; height: 64px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, 0.92); color: var(--ink);
    transform: translate(-50%, -50%) scale(0.92);
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s var(--ease), background-color 0.3s ease, color 0.3s ease;
}
.g-center-play svg { width: 22px; height: 22px; margin-left: 3px; }
.g-item:hover .g-center-play { transform: translate(-50%, -50%) scale(1.05); background: var(--orange); color: #fff; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.ratings-summary-card {
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--radius-xl);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
}
.rating-score-box {
    text-align: center;
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(80% 80% at 50% 0%, rgba(242, 106, 16, 0.12), transparent 70%),
        var(--ivory);
}
.big-score { font-size: clamp(3.4rem, 7vw, 4.6rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.stars-row { margin-top: 10px; font-size: 1.3rem; letter-spacing: 3px; color: #f5a524; }
.score-caption { margin-top: 8px; font-size: 0.88rem; color: var(--ink-3); }

.rating-breakdown-bars { display: flex; flex-direction: column; gap: 18px; }
.bar-row { display: grid; grid-template-columns: minmax(150px, 220px) 1fr 36px; align-items: center; gap: 16px; }
.bar-label { font-size: 0.95rem; font-weight: 500; color: var(--ink-2); }
.bar-track { height: 8px; border-radius: 999px; background: var(--ivory-2); overflow: hidden; }
.bar-fill {
    height: 100%; width: 0; border-radius: inherit;
    background: var(--grad-brand);
    transition: width 1.6s var(--ease) var(--d, 0ms);
}
.is-visible .bar-fill { width: var(--w); }
.bar-value { font-weight: 700; font-size: 0.95rem; text-align: end; font-variant-numeric: tabular-nums; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.review-card {
    position: relative;
    display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s ease;
    overflow: hidden;
}
.review-card::before {
    content: '\201D';
    position: absolute; top: -18px; inset-inline-end: 18px;
    font-family: Georgia, serif; font-size: 8rem; line-height: 1;
    color: rgba(242, 106, 16, 0.1);
    transition: transform 0.8s var(--ease), color 0.4s ease;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.review-card:hover::before { transform: translateY(6px) rotate(-6deg); color: rgba(242, 106, 16, 0.18); }
.review-stars { color: #f5a524; letter-spacing: 2px; font-size: 1.05rem; }
.review-text { margin-top: 14px; font-size: 1.02rem; color: var(--ink-2); line-height: 1.85; }
.review-header { display: flex; align-items: center; gap: 14px; }
.review-avatar {
    width: 48px; height: 48px; flex: none; border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 700; font-size: 1.1rem; color: #fff;
    background: linear-gradient(135deg, var(--navy-700), var(--navy));
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}
.review-user-info h4 { font-size: 1rem; font-weight: 700; line-height: 1.4; }
.review-user-info span { font-size: 0.85rem; color: var(--ink-3); }
.review-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 18px; border-top: 1px solid var(--line);
    font-size: 0.82rem; color: var(--ink-3);
}
.verified { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-weight: 600; }
.verified svg { width: 15px; height: 15px; }

.review-actions-bar { margin-top: 36px; display: flex; justify-content: center; }

/* ==========================================================================
   Forms (shared by Survey & Booking)
   ========================================================================== */
.form-card {
    position: relative;
    padding: clamp(24px, 4vw, 48px);
    border-radius: var(--radius-xl);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}

.survey-container { max-width: 900px; margin-inline: auto; }

.survey-form-block { display: flex; flex-direction: column; gap: 26px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

.field-label { font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }

.field-input,
.field-select,
.field-textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    background: var(--ivory);
    font-size: 1rem;
    color: var(--ink);
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.4s var(--ease);
    -webkit-appearance: none;
    appearance: none;
}
.field-textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.field-input::placeholder, .field-textarea::placeholder { color: #9aa2ae; }
.field-input:hover, .field-select:hover, .field-textarea:hover { background: var(--ivory-2); }
.field-input:focus, .field-select:focus, .field-textarea:focus {
    outline: none;
    background: var(--paper);
    border-color: var(--orange);
    box-shadow: 0 0 0 5px rgba(242, 106, 16, 0.12);
}
.field-input:user-invalid, .field-select:user-invalid { border-color: rgba(194, 55, 43, 0.6); }

.field-select {
    cursor: pointer;
    padding-inline-end: 46px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a7484' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: left 16px center;
}
html[dir="ltr"] .field-select { background-position: right 16px center; }
.field-select:disabled { opacity: 0.5; }

/* Star picker */
.rating-interactive-box {
    text-align: center;
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(70% 90% at 50% 0%, rgba(242, 106, 16, 0.1), transparent 70%),
        var(--ivory);
}
.interactive-stars-wrap { display: flex; justify-content: center; gap: 6px; margin: 10px 0 6px; }
.star-item {
    width: 52px; height: 52px; border-radius: 14px;
    font-size: 2.1rem; line-height: 1;
    color: #d7d3cc;
    transition: transform 0.45s var(--ease), color 0.3s ease;
}
.star-item:hover { transform: scale(1.2) rotate(-8deg); }
.star-item.active { color: #f5a524; text-shadow: 0 6px 18px rgba(245, 165, 36, 0.35); }
.star-item.pop { animation: pop 0.5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }
.rating-feedback-text { font-size: 0.95rem; font-weight: 600; color: var(--orange-600); min-height: 1.6em; }

/* Service dimension rows */
.service-ratings-group { display: flex; flex-direction: column; gap: 10px; }
.service-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
.service-row:hover { border-color: var(--line-2); background: #fcfbf9; }
.service-title { font-size: 0.95rem; font-weight: 500; color: var(--ink-2); }

.service-choices, .boolean-choices {
    display: inline-flex; flex-wrap: wrap; gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: var(--ivory);
}
.choice-btn, .bool-pill {
    height: 38px; padding: 0 16px;
    border-radius: 999px;
    font-size: 0.86rem; font-weight: 600;
    color: var(--ink-3);
    white-space: nowrap;
    transition: background-color 0.35s var(--ease), color 0.3s ease, box-shadow 0.35s var(--ease), transform 0.3s var(--ease);
}
.choice-btn:hover, .bool-pill:hover { color: var(--ink); }
.choice-btn:active, .bool-pill:active { transform: scale(0.95); }
.choice-btn.active, .bool-pill.active {
    color: var(--ink);
    background: var(--paper);
    box-shadow: 0 2px 8px -2px rgba(13, 23, 38, 0.18);
}
.boolean-choices { display: flex; }
.bool-pill { flex: 1; }

.submit-btn-wrap { display: flex; justify-content: center; padding-top: 6px; }

/* Survey success */
.survey-success-state { display: none; text-align: center; padding: 36px 10px; }
.success-check-badge {
    width: 84px; height: 84px; margin: 0 auto 22px;
    border-radius: 50%;
    display: grid; place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #22b573, #12865a);
    box-shadow: 0 18px 40px -14px rgba(18, 134, 90, 0.7);
    animation: badgeIn 0.8s var(--ease) both;
}
.success-check-badge svg { width: 40px; height: 40px; }
.success-check-badge path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.7s var(--ease) 0.35s forwards; }
@keyframes badgeIn { from { transform: scale(0.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success-heading { font-size: 1.8rem; font-weight: 700; }
.success-text { margin-top: 8px; color: var(--ink-3); }

/* ==========================================================================
   Booking
   ========================================================================== */
.booking-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: clamp(18px, 2.4vw, 28px);
    align-items: start;
}
.calendar-column { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; }

.pane-title {
    display: flex; align-items: center; gap: 12px;
    font-size: 1.2rem; font-weight: 700;
    margin-bottom: 22px;
}
.pane-step {
    width: 32px; height: 32px; border-radius: 10px; flex: none;
    display: grid; place-items: center;
    font-size: 0.9rem; font-weight: 700; color: #fff;
    background: var(--grad-brand);
}

.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-header h3 { font-size: 1.08rem; font-weight: 700; }
.cal-nav-btn {
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.4s var(--ease), border-color 0.3s ease;
}
.cal-nav-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-nav-btn:active { transform: scale(0.92); }
.cal-nav-btn svg { width: 18px; height: 18px; }
html[dir="ltr"] .cal-nav-btn svg { transform: scaleX(-1); }

.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-weekdays { margin-bottom: 8px; }
.weekday { text-align: center; font-size: 0.78rem; font-weight: 600; color: var(--ink-3); padding: 4px 0; }

.calendar-day {
    position: relative;
    aspect-ratio: 1;
    min-height: 40px;
    border-radius: 12px;
    display: grid; place-items: center;
    font-size: 0.95rem; font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.calendar-day:not(:disabled):hover { background: var(--ivory-2); transform: translateY(-1px); }
.calendar-day.other-month { color: #b9bec6; }
.calendar-day:disabled { color: #c9cdd3; cursor: not-allowed; }
.calendar-day.today::after {
    content: ''; position: absolute; bottom: 6px; left: 50%;
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--orange); transform: translateX(-50%);
}
.calendar-day.selected {
    color: #fff;
    background: var(--grad-brand);
    box-shadow: 0 10px 22px -10px rgba(242, 106, 16, 0.8);
    animation: pop 0.5s var(--ease);
}
.calendar-day.selected::after { background: #fff; }

.cal-legend {
    display: flex; flex-wrap: wrap; gap: 16px;
    margin-top: 18px; padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 0.8rem; color: var(--ink-3);
}
.cal-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cal-legend i { width: 10px; height: 10px; border-radius: 4px; display: inline-block; }
.lg-available { background: var(--ivory-2); }
.lg-selected { background: var(--grad-brand); }
.lg-booked { background: repeating-linear-gradient(45deg, #e5e2dc 0 2px, #f4f2ee 2px 4px); border: 1px solid #ddd8d0; }

.selected-date-chip {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
    transition: transform 0.5s var(--ease);
}
.selected-date-chip .sdc-icon {
    width: 42px; height: 42px; border-radius: 12px; flex: none;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--orange-300);
}
.selected-date-chip svg { width: 20px; height: 20px; }
.sdc-label { font-size: 0.78rem; opacity: 0.6; display: block; }
.sdc-value { font-weight: 700; font-size: 1rem; }
.selected-date-chip.flash { animation: flash 0.6s var(--ease); }
@keyframes flash { 40% { transform: scale(1.025); } }

.help-card {
    display: flex; flex-direction: column; gap: 12px;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
}
.help-card h4 { font-size: 1rem; font-weight: 700; }
.help-card p { font-size: 0.88rem; color: var(--ink-3); margin-top: -6px; }
.help-links { display: flex; flex-wrap: wrap; gap: 8px; }
.help-link {
    display: inline-flex; align-items: center; gap: 8px;
    height: 40px; padding: 0 14px; border-radius: 999px;
    font-size: 0.86rem; font-weight: 600;
    background: var(--ivory); color: var(--ink-2);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.4s var(--ease);
}
.help-link:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.help-link svg { width: 16px; height: 16px; }

.time-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.time-slot {
    min-height: 50px; padding: 8px 10px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--line-2);
    background: var(--paper);
    font-size: 0.9rem; font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--ink-2);
    direction: ltr;
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.time-slot:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.time-slot.selected {
    color: #fff;
    border-color: transparent;
    background: var(--grad-brand);
    box-shadow: 0 10px 22px -10px rgba(242, 106, 16, 0.8);
}
.time-slot.booked {
    color: #9aa1ab;
    border-style: dashed;
    border-color: #d8d3cb;
    background: repeating-linear-gradient(45deg, #f6f4f0 0 6px, #fbfaf8 6px 12px);
    cursor: not-allowed;
    transform: none;
    font-size: 0.8rem;
}

/* Status messages */
.success-message, .error-message, .server-error-message {
    display: none;
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    animation: fadeUp 0.6s var(--ease);
}
.success-message { color: var(--success); background: #e9f7f0; border: 1px solid #c6ead8; }
.error-message { color: var(--danger); background: #fdeeec; border: 1px solid #f6d3ce; }
.server-error-message { color: var(--warning); background: #fdf3e6; border: 1px solid #f3dcbc; }
.msg-actions { margin-top: 14px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   CTA band & Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--navy-950); color: rgba(255, 255, 255, 0.72); overflow: hidden; }

.cta-band {
    position: relative;
    margin-top: calc(var(--section-y) * -0.5);
    padding: clamp(36px, 6vw, 72px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    color: #fff;
    isolation: isolate;
    display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
}
.cta-band-bg { position: absolute; inset: 0; z-index: -2; }
.cta-band-bg img { width: 100%; height: 130%; object-fit: cover; position: absolute; top: -15%; will-change: transform; }
.cta-band::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(6, 15, 28, 0.94) 10%, rgba(6, 15, 28, 0.6) 60%, rgba(242, 106, 16, 0.45) 100%);
}
html[dir="rtl"] .cta-band::before {
    background: linear-gradient(260deg, rgba(6, 15, 28, 0.94) 10%, rgba(6, 15, 28, 0.6) 60%, rgba(242, 106, 16, 0.45) 100%);
}
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); font-weight: 700; line-height: 1.25; max-width: 620px; text-wrap: balance; }
html[lang="en"] .cta-band h2 { letter-spacing: -0.03em; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, 0.72); max-width: 520px; }

.footer-wrap { position: relative; z-index: 1; padding-top: var(--section-y); }
.footer-top-gap { height: 0; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: clamp(28px, 5vw, 64px);
    padding-block: clamp(56px, 7vw, 88px) 48px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.footer-brand .brand-logo-wrap { width: 52px; height: 52px; }
.footer-brand .brand-logo { width: 44px; height: 44px; }
.footer-about { margin-top: 18px; font-size: 0.94rem; max-width: 380px; line-height: 1.85; }
.footer-col h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span.f-item { display: inline-flex; align-items: center; gap: 10px; font-size: 0.94rem; transition: color 0.3s ease, transform 0.4s var(--ease); }
.footer-col a:hover { color: #fff; transform: translateX(calc(var(--dir) * 4px)); }
.footer-col svg { width: 17px; height: 17px; color: var(--orange-300); flex: none; }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    padding-block: 24px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.86rem;
}
.footer-bottom strong { color: #fff; font-weight: 600; }
.font-credit { margin-top: 6px; font-size: 0.75rem; opacity: 0.5; direction: ltr; text-align: start; }
.font-credit a { text-decoration: underline; text-underline-offset: 2px; }
.admin-link { display: inline-flex; align-items: center; gap: 6px; opacity: 0.55; transition: opacity 0.3s ease; }
.admin-link:hover { opacity: 1; }
.admin-link svg { width: 14px; height: 14px; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox-sheet {
    position: fixed; inset: 0; z-index: 500;
    display: flex; align-items: center; justify-content: center;
    background: rgba(4, 9, 18, 0.9);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s;
}
.lightbox-sheet.active { opacity: 1; visibility: visible; }
.lightbox-panel {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    padding: 16px clamp(12px, 3vw, 28px);
    transform: scale(0.97);
    transition: transform 0.6s var(--ease);
}
.lightbox-sheet.active .lightbox-panel { transform: none; }
.lightbox-topbar, .lightbox-caption-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; }
.lightbox-counter { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); font-variant-numeric: tabular-nums; }
.lightbox-dismiss-btn, .lightbox-step-btn {
    width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: background-color 0.3s ease, transform 0.4s var(--ease);
}
.lightbox-dismiss-btn:hover, .lightbox-step-btn:hover { background: rgba(255, 255, 255, 0.22); transform: scale(1.06); }
.lightbox-dismiss-btn svg, .lightbox-step-btn svg { width: 20px; height: 20px; }
.lightbox-media-viewport {
    position: relative; flex: 1; min-height: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 16px 0;
}
.lightbox-media-holder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox-media-holder img, .lightbox-media-holder video {
    max-width: min(100%, 1400px); max-height: 100%;
    border-radius: 14px;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
    animation: lbIn 0.6s var(--ease);
}
@keyframes lbIn { from { opacity: 0; transform: scale(0.97); filter: blur(6px); } }
.lightbox-step-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lightbox-step-btn:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-prev-btn { inset-inline-start: 0; }
.lightbox-next-btn { inset-inline-end: 0; }
html[dir="rtl"] .lightbox-step-btn svg { transform: scaleX(-1); }
.lightbox-download { --btn-h: 42px; padding: 0 18px; font-size: 0.88rem; }

/* ==========================================================================
   Mobile bottom tab bar
   ========================================================================== */
.ios-tab-bar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
    .nav-link { padding: 0 12px; }
    .features-row { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
    .menu-btn { display: block; }
    .nav-desktop-only { display: none; }

    .nav-links {
        position: fixed;
        top: 92px;
        inset-inline: 14px;
        z-index: 210;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px;
        border-radius: var(--radius-lg);
        color: var(--ink);
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.8);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        backdrop-filter: blur(24px) saturate(180%);
        box-shadow: var(--shadow-lg);
        opacity: 0; visibility: hidden;
        transform: translateY(-12px) scale(0.98);
        transform-origin: top center;
        transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0.4s;
        pointer-events: auto;
    }
    .nav-links.mobile-show { opacity: 1; visibility: visible; transform: none; }
    .nav-link { height: 54px; padding: 0 16px; border-radius: 16px; font-size: 1rem; opacity: 1; justify-content: flex-start; }
    .nav-link svg { display: block; color: var(--orange-600); }
    .nav-link:hover, .site-nav.scrolled .nav-link:hover { background: var(--ivory); }
    .nav-link.active { background: var(--ivory); }
    .nav-link.active::after { left: auto; inset-inline-end: 18px; bottom: auto; top: 50%; transform: translateY(-50%); }
    .nav-mobile-actions { display: grid !important; grid-template-columns: 1fr auto; gap: 8px; padding: 8px 6px 4px; }
    .nav-mobile-actions .lang-switch-btn { border-color: var(--line-2); height: 50px; }

    .spaces-grid { grid-template-columns: 1fr; }
    .space-card { min-height: 460px; }

    .ratings-summary-card { grid-template-columns: 1fr; }
    .booking-main-grid { grid-template-columns: 1fr; }
    .calendar-column { position: static; }
}
.nav-mobile-actions { display: none; }

@media (max-width: 760px) {
    body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
    .site-nav { top: 10px; padding-inline: 10px; }
    .nav-shell { height: 62px; }
    .nav-cta { display: none; }
    .nav-shell > .nav-actions .lang-switch-btn { display: none; }
    .brand-title { font-size: 0.88rem; }

    .hero { padding-top: 120px; align-items: flex-end; }
    .hero-buttons .btn { flex: 1 1 auto; }
    .hero-buttons .btn-ghost { flex: 0 0 100%; }
    .hero-bottom { flex-direction: column; align-items: stretch; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
    .hero-stat { padding: 14px 12px; text-align: center; align-items: center; }
    .hero-stat-value { font-size: 1.3rem; }
    .hero-stat-label { font-size: 0.72rem; line-height: 1.4; }
    .scroll-cue { display: none; }

    .space-info { flex-direction: column; align-items: flex-start; padding: 18px; }
    .space-info .play-btn { position: absolute; top: -29px; inset-inline-end: 18px; }
    .features-row { grid-template-columns: 1fr 1fr; gap: 10px; }
    .feature { flex-direction: column; align-items: flex-start; padding: 16px; gap: 10px; }

    .gallery-grid { columns: 2; column-gap: 10px; }
    .g-item { margin-bottom: 10px; border-radius: 14px; }
    .g-overlay { display: none; }
    .g-center-play { width: 46px; height: 46px; }
    .g-center-play svg { width: 16px; height: 16px; }
    .g-video-badge { display: none; }

    .reviews-wrapper { margin-inline: calc(var(--gutter) * -1); }
    .reviews-grid {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
        padding-inline: var(--gutter); padding-bottom: 8px; gap: 12px;
        scrollbar-width: none;
    }
    .reviews-grid::-webkit-scrollbar { display: none; }
    .review-card { flex: 0 0 86%; scroll-snap-align: center; padding: 24px; }
    .bar-row { grid-template-columns: 1fr 36px; gap: 6px 12px; }
    .bar-row .bar-label { grid-column: 1 / -1; }
    .bar-row .bar-track { grid-column: 1; }

    .form-row-2 { grid-template-columns: 1fr; }
    .service-row { flex-direction: column; align-items: stretch; }
    .service-choices { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 16px; }
    .choice-btn { padding: 0 6px; font-size: 0.8rem; }
    .star-item { width: 46px; height: 46px; font-size: 1.9rem; }
    .time-slots { grid-template-columns: repeat(2, 1fr); }

    .cta-band { flex-direction: column; align-items: flex-start; }
    .cta-band .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .lightbox-step-btn { top: auto; bottom: -58px; transform: none; }
    .lightbox-step-btn:hover { transform: none; }
    .lightbox-media-viewport { margin-bottom: 64px; }

    /* Bottom tab bar */
    .ios-tab-bar {
        display: flex;
        position: fixed;
        left: 10px; right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        z-index: 190;
        height: 66px;
        padding: 0 6px;
        align-items: center; justify-content: space-around;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.82);
        border: 1px solid rgba(255, 255, 255, 0.7);
        -webkit-backdrop-filter: blur(22px) saturate(180%);
        backdrop-filter: blur(22px) saturate(180%);
        box-shadow: 0 16px 40px -14px rgba(6, 15, 28, 0.35), inset 0 0 0 1px rgba(13, 23, 38, 0.04);
        transition: transform 0.5s var(--ease);
    }
    .ios-tab-bar.is-hidden { transform: translateY(calc(100% + 30px)); }
    .ios-tab-item {
        flex: 1;
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
        height: 54px; border-radius: 16px;
        color: var(--ink-3);
        transition: color 0.3s ease, transform 0.3s var(--ease);
        -webkit-tap-highlight-color: transparent;
    }
    .ios-tab-item:active { transform: scale(0.92); }
    .ios-tab-icon { width: 22px; height: 22px; stroke-width: 1.9; transition: transform 0.4s var(--ease); }
    .ios-tab-label { font-size: 0.66rem; font-weight: 600; line-height: 1; }
    .ios-tab-item.active { color: var(--orange-600); }
    .ios-tab-item.active .ios-tab-icon { transform: translateY(-1px); }
    .ios-book-pill {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
        width: 58px; height: 50px; border-radius: 16px;
        color: #fff;
        background: var(--grad-brand);
        box-shadow: var(--shadow-orange);
    }
    .ios-tab-book.active { color: #fff; }
}

@media (max-width: 420px) {
    .brand-subtitle { display: none; }
    .hero-title { font-size: 2.1rem; }
    .btn { padding: 0 20px; }
    .calendar-day { min-height: 36px; border-radius: 10px; font-size: 0.88rem; }
    .cal-weekdays, .cal-grid { gap: 4px; }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .js [data-reveal] { opacity: 1; transform: none; filter: none; }
    .hero-media video { display: none; }
}

/* Hover only on devices that support it (avoid sticky hover on touch) */
@media (hover: none) {
    .space-card:hover, .review-card:hover, .feature:hover, .btn:hover { transform: none; }
    .space-card:hover .space-media-zoom, .g-item:hover img.is-loaded { transform: none; }
}
