@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700;800;900&family=Almarai:wght@300;400;700;800&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   OFFICIAL BRAND DESIGN TOKENS (From Pantone & Pattern Guide)
   ========================================================================== */
:root {
    --font-heading: 'Alexandria', 'Almarai', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'IBM Plex Sans Arabic', 'Almarai', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Official Brand Colors */
    --gold-primary: #BC9A61;          /* Pantone 7556 C */
    --gold-primary-rgb: 188, 154, 97;
    --gold-muted: #9A7744;            /* Muted Gold */
    --gold-light: #dfc89e;            /* Highlight Gold */
    --gold-glow: rgba(188, 154, 97, 0.38);
    --gold-glow-subtle: rgba(188, 154, 97, 0.15);

    --luxury-black: #0B0B0B;          /* Pantone Black C */
    --luxury-black-rgb: 11, 11, 11;
    --deep-brown: #33281D;            /* Deep Brown / Charcoal Bronze */
    --deep-brown-rgb: 51, 40, 29;

    --soft-beige: #E8DDCA;            /* Soft Beige */
    --warm-ivory: #F7F3EB;            /* Warm Ivory */
    --pure-white: #FFFFFF;            /* White */

    /* Surface & Glass Backgrounds */
    --bg-dark: #070707;
    --bg-surface: rgba(18, 15, 12, 0.78);
    --bg-card: rgba(14, 12, 10, 0.84);
    --bg-card-hover: rgba(24, 20, 16, 0.92);

    /* Text Colors */
    --text-main: #F7F3EB;
    --text-muted: #c4bcb0;
    --text-dim: #8c8273;
    --text-gold: #BC9A61;

    /* Borders */
    --border-subtle: rgba(232, 221, 202, 0.1);
    --border-gold: rgba(188, 154, 97, 0.35);
    --border-gold-bright: rgba(188, 154, 97, 0.65);

    /* Spring & Motion */
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --glass-blur: 24px;
    --glass-saturate: 190%;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: auto;
    background-color: var(--luxury-black);
    color: var(--text-main);
    font-family: var(--font-body);
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    background-color: var(--luxury-black);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.7;
    background-image: radial-gradient(circle at 50% 0%, rgba(188, 154, 97, 0.08) 0%, transparent 60%);
}

::selection {
    background-color: var(--gold-primary);
    color: var(--luxury-black);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #080808;
}

::-webkit-scrollbar-thumb {
    background: rgba(188, 154, 97, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
}

img, svg {
    display: block;
    max-width: 100%;
}

/* ==========================================================================
   BRAND PATTERN TEXTURE OVERLAYS
   ========================================================================== */
.pattern-overlay {
    position: absolute;
    inset: 0;
    background-image: url('../assets/pattern.webp');
    background-repeat: repeat;
    background-size: 32px 32px;
    opacity: 0.07;
    pointer-events: none;
    mix-blend-mode: screen;
}

.card-pattern-overlay {
    position: absolute;
    inset: 0;
    background-image: url('../assets/pattern.webp');
    background-repeat: repeat;
    background-size: 28px 28px;
    opacity: 0.05;
    pointer-events: none;
    border-radius: inherit;
}

/* ==========================================================================
   PRELOADER SCREEN
   ========================================================================== */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #080706;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    transition: opacity 0.8s var(--ease-smooth), visibility 0.8s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.loader-logo-wrap {
    width: 220px;
    max-width: 75vw;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo-img {
    width: 100%;
    height: auto;
    max-height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 0 25px var(--gold-glow));
    animation: logoGlowPulse 2.4s infinite ease-in-out;
}

@keyframes logoGlowPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 18px var(--gold-glow)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 35px var(--gold-primary)); }
}

.loader-slogan {
    font-size: 0.92rem;
    color: var(--soft-beige);
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.2px;
}

.loader-progress-box {
    width: 290px;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.loader-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(232, 221, 202, 0.12);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}

.loader-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-muted), var(--gold-primary), var(--gold-light));
    box-shadow: 0 0 16px var(--gold-primary);
    transition: width 0.15s ease-out;
    border-radius: 99px;
}

.loader-stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.78rem;
    color: var(--text-dim);
    font-family: monospace;
}

#loader-percent {
    color: var(--gold-light);
    font-weight: 700;
}

/* ==========================================================================
   CANVAS STAGE (60FPS FIXED HERO ENGINE)
   ========================================================================== */
#canvas-stage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.canvas-overlay-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(11, 11, 11, 0.3) 0%, rgba(11, 11, 11, 0.82) 75%, rgba(11, 11, 11, 0.97) 100%),
                linear-gradient(180deg, rgba(11, 11, 11, 0.88) 0%, transparent 15%, transparent 80%, rgba(11, 11, 11, 0.96) 100%);
    pointer-events: none;
}

/* ==========================================================================
   FLOATING HEADER NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    top: 1.25rem;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 0 1.5rem;
    pointer-events: none;
}

.nav-container {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    width: 100%;
    max-width: 1320px;
    padding: 0.55rem 1.8rem;
    background: rgba(14, 12, 10, 0.88);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(232, 221, 202, 0.15);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-container:hover {
    border-color: var(--border-gold-bright);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.65), 0 0 25px var(--gold-glow-subtle);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
}

.brand-logo-img {
    height: 68px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px var(--gold-glow));
    transition: transform 0.3s var(--ease-spring);
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.06) translateY(-1px);
}

.brand-logo-divider {
    width: 1px;
    height: 24px;
    background: var(--border-gold);
    opacity: 0.5;
}

.brand-badge-tag {
    font-size: 0.78rem;
    color: var(--gold-light);
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    background: rgba(188, 154, 97, 0.12);
    border: 1px solid rgba(188, 154, 97, 0.3);
    white-space: nowrap;
}

/* Hero Seal Logo */
.hero-top-seal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.hero-seal-logo {
    height: 34px;
    width: auto;
    max-width: 95px;
    object-fit: contain;
    opacity: 0.85;
    filter: drop-shadow(0 0 8px var(--gold-glow));
    transition: opacity 0.3s;
}

.hero-top-seal:hover .hero-seal-logo {
    opacity: 1;
}

/* Footer Brand Logo */
.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.footer-brand-logo-img {

    width: auto;
    max-width: 325px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px var(--gold-glow));
}

/* Mobile Drawer Logo */
.mobile-drawer-logo {
    width: 150px;
    max-width: 60vw;
    height: auto;
    max-height: 55px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px var(--gold-glow));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    list-style: none;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.25s ease;
    position: relative;
    padding: 0.3rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    border-radius: 2px;
    transition: width 0.3s var(--ease-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--pure-white);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-audio-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 221, 202, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    transition: all 0.25s ease;
}

.btn-audio-toggle:hover {
    color: var(--gold-light);
    border-color: var(--gold-primary);
    background: rgba(188, 154, 97, 0.12);
}

.btn-audio-toggle.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-muted) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px var(--gold-glow);
    animation: audioPulse 1.8s infinite ease-in-out;
}

@keyframes audioPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 14px var(--gold-glow); }
    50% { transform: scale(1.12); box-shadow: 0 0 25px var(--gold-primary); }
}

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.35rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-muted) 100%);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 18px var(--gold-glow);
    transition: all 0.3s var(--ease-smooth);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(188, 154, 97, 0.6);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
    color: #000000;
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(188, 154, 97, 0.25) 0%, rgba(188, 154, 97, 0.08) 100%);
    color: #ffffff;
    border: 1.5px solid var(--border-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    pointer-events: auto;
    z-index: 102;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.08);
    border-color: var(--gold-primary);
    background: rgba(188, 154, 97, 0.35);
}

/* ==========================================================================
   SCROLL TRACK & SIDE CAPSULES LAYOUT
   ========================================================================== */
#scroll-container {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
}

.scroll-track {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 45vh; /* 60%+ canvas visible space */
    padding-top: 18vh;
    padding-bottom: 25vh;
}

.capsule-row {
    display: flex;
    width: 100%;
    position: relative;
    will-change: transform, opacity;
}

.capsule-row.align-right {
    justify-content: flex-start;
}

.capsule-row.align-left {
    justify-content: flex-end;
}

.capsule-row.align-center {
    justify-content: center;
}

.capsule-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(232, 221, 202, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-smooth), border-color 0.4s ease, box-shadow 0.4s ease;
}

.capsule-card.wide-card {
    max-width: 590px;
}

.capsule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.capsule-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-gold-bright);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px var(--gold-glow-subtle);
}

.capsule-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.95rem;
    border-radius: var(--radius-full);
    background: rgba(188, 154, 97, 0.14);
    border: 1px solid rgba(188, 154, 97, 0.4);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 1.15rem;
    width: fit-content;
    position: relative;
    z-index: 2;
}

.capsule-badge .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-primary);
    animation: blinkDot 2s infinite ease-in-out;
}

@keyframes blinkDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.capsule-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--pure-white);
    margin-bottom: 0.9rem;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.capsule-title.highlight-gold {
    background: linear-gradient(135deg, var(--pure-white) 35%, var(--gold-light) 75%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.capsule-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.6rem;
    position: relative;
    z-index: 2;
}

.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.25rem 0 1.65rem;
    position: relative;
    z-index: 2;
}

.hero-feature-tag {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}

.feature-icon-badge {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(188, 154, 97, 0.16);
    border: 1px solid rgba(188, 154, 97, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(188, 154, 97, 0.2);
}

.capsule-footer {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   MODERN ANIMATED ICONS (SVG + CSS Keyframes)
   ========================================================================== */
.anim-icon-wrap {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(188, 154, 97, 0.12);
    border: 1px solid rgba(188, 154, 97, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease-spring);
}

.anim-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle, rgba(188, 154, 97, 0.25), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-mini-item:hover .anim-icon-wrap,
.capsule-card:hover .anim-icon-wrap {
    transform: scale(1.12) rotate(3deg);
    border-color: var(--gold-light);
    box-shadow: 0 0 20px var(--gold-glow);
}

.service-mini-item:hover .anim-icon-wrap::after {
    opacity: 1;
}

/* Specific icon keyframe animations */
.icon-spin-slow {
    animation: iconSpin 14s linear infinite;
}

@keyframes iconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.icon-pulse-smooth {
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.icon-float-smooth {
    animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.icon-laser-scan {
    animation: laserScan 2.5s ease-in-out infinite;
}

@keyframes laserScan {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-muted) 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 8px 25px var(--gold-glow);
    transition: all 0.3s var(--ease-smooth);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::before {
    transform: rotate(45deg) translateY(100%);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 35px rgba(188, 154, 97, 0.55);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
    color: #000000;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.65rem;
    border-radius: var(--radius-full);
    background: rgba(232, 221, 202, 0.06);
    color: var(--soft-beige);
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s var(--ease-smooth);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(188, 154, 97, 0.15);
    border-color: var(--gold-primary);
    color: var(--pure-white);
    transform: translateY(-2px);
}

/* ==========================================================================
   SERVICES & INTERACTIVE GRIDS
   ========================================================================== */
.services-interactive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.35rem 0;
    position: relative;
    z-index: 2;
}

.service-mini-item {
    background: rgba(232, 221, 202, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: all 0.3s var(--ease-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-mini-item:hover {
    background: rgba(188, 154, 97, 0.1);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.service-mini-item h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--pure-white);
}

.service-mini-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Value Bullets */
.value-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 1.3rem 0;
    position: relative;
    z-index: 2;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.92rem;
    color: var(--text-main);
}

.value-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: rgba(188, 154, 97, 0.16);
    border: 1px solid rgba(188, 154, 97, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: bold;
}

/* ==========================================================================
   SECTORS CLOUD & CHIPS
   ========================================================================== */
.chips-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.35rem 0;
    position: relative;
    z-index: 2;
}

.sector-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(232, 221, 202, 0.04);
    border: 1px solid var(--border-subtle);
    font-size: 0.86rem;
    color: var(--text-main);
    transition: all 0.25s ease;
}

.sector-chip:hover {
    background: rgba(188, 154, 97, 0.15);
    border-color: var(--gold-primary);
    color: var(--pure-white);
    transform: scale(1.04);
}

/* ==========================================================================
   INTERACTIVE QUOTE ESTIMATOR CARD
   ========================================================================== */
.quote-estimator-card {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.quote-step-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--gold-light);
}

.quote-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.quote-option-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(232, 221, 202, 0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: right;
}

.quote-option-btn:hover {
    background: rgba(232, 221, 202, 0.08);
    color: var(--pure-white);
}

.quote-option-btn.selected {
    background: rgba(188, 154, 97, 0.16);
    border-color: var(--gold-primary);
    color: var(--pure-white);
    box-shadow: 0 0 20px rgba(188, 154, 97, 0.25);
}

.quote-summary-box {
    background: rgba(0, 0, 0, 0.45);
    border: 1px dashed var(--border-gold);
    border-radius: var(--radius-md);
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.quote-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.quote-estimated-badge {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold-light);
    text-shadow: 0 0 15px var(--gold-glow);
}

/* ==========================================================================
   CONTACT FORM & LOCATION CARD
   ========================================================================== */
.contact-grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.95rem;
    margin-top: 1.15rem;
    position: relative;
    z-index: 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--soft-beige);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.85rem 1.15rem;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: all 0.25s ease;
    text-align: right;
    direction: rtl;
}

.form-input::placeholder, .form-textarea::placeholder {
    text-align: right;
    direction: rtl;
    color: rgba(232, 221, 202, 0.45);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 18px var(--gold-glow);
}

.form-select option {
    background: #110e0c;
    color: #ffffff;
}

.form-textarea {
    resize: vertical;
    min-height: 85px;
}

.contact-quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.35rem;
    position: relative;
    z-index: 2;
}

.contact-link-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-md);
    background: rgba(232, 221, 202, 0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-size: 0.88rem;
    transition: all 0.25s ease;
}

.contact-link-row:hover {
    background: rgba(188, 154, 97, 0.12);
    border-color: var(--gold-primary);
    color: #ffffff;
}

/* ==========================================================================
   FLOATING HUD CONTROLLER DOCK
   ========================================================================== */
.floating-hud-dock {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding: 0.55rem 1.15rem;
    background: rgba(14, 12, 10, 0.84);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.65);
    pointer-events: auto;
    transition: all 0.3s var(--ease-smooth);
}

.hud-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: monospace;
}

.hud-progress-meter {
    width: 65px;
    height: 4px;
    background: rgba(232, 221, 202, 0.12);
    border-radius: 99px;
    overflow: hidden;
}

.hud-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-muted), var(--gold-primary));
    transition: width 0.1s linear;
}

.hud-btn {
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    background: rgba(232, 221, 202, 0.05);
    border: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.hud-btn:hover {
    background: rgba(188, 154, 97, 0.22);
    border-color: var(--gold-primary);
    color: var(--gold-light);
}

/* Floating WhatsApp Direct Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    transition: all 0.3s var(--ease-spring);
    cursor: pointer;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.12) rotate(6deg);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.65);
}

.whatsapp-ping {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: pingRipple 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingRipple {
    75%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
    position: relative;
    z-index: 10;
    background: #060505;
    border-top: 1.5px solid var(--border-gold);
    padding: 4.5rem 2rem 2.5rem;
    margin-top: 0;
    overflow: hidden;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    position: relative;
    z-index: 2;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 1.35rem;
}

.footer-col p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-dim);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-icon-badge {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(188, 154, 97, 0.14);
    border: 1px solid rgba(188, 154, 97, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact-list li:hover .footer-icon-badge {
    transform: scale(1.12);
    border-color: var(--gold-light);
    color: #ffffff;
    box-shadow: 0 0 14px var(--gold-glow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(232, 221, 202, 0.08);
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */
/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(11, 11, 11, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-smooth), visibility 0.3s;
}

.mobile-drawer.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-drawer-logo {
    height: 70px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px var(--gold-glow));
    margin-bottom: 0.5rem;
}

.mobile-drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    text-align: center;
}

.mobile-drawer-link {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.mobile-drawer-link:hover, .mobile-drawer-link:active {
    color: var(--gold-primary);
    transform: scale(1.08);
}

.mobile-close-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(232, 221, 202, 0.08);
    border: 1px solid var(--border-gold);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.mobile-close-btn:hover {
    transform: scale(1.1);
    background: rgba(188, 154, 97, 0.2);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .nav-menu, .btn-nav-cta {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    .nav-container {
        padding: 0.5rem 1.4rem;
    }

    .brand-logo-img {
        height: 56px;
        max-width: 170px;
    }

    .scroll-track {
        gap: 30vh;
        padding-top: 14vh;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-header {
        top: 0.75rem;
        padding: 0 0.85rem;
    }

    .nav-container {
        padding: 0.45rem 1rem;
        gap: 0.75rem;
    }

    .brand-logo-img {
        height: 48px;
        max-width: 140px;
    }

    .brand-badge-tag,
    .brand-logo-divider {
        display: none;
    }

    .scroll-track {
        gap: 20vh;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 12vh;
    }

    .capsule-row.align-right,
    .capsule-row.align-left {
        justify-content: center;
    }

    .capsule-card {
        max-width: 100%;
        padding: 1.75rem 1.25rem;
        border-radius: var(--radius-lg);
    }

    .capsule-title {
        font-size: 1.65rem;
        line-height: 1.35;
    }

    .capsule-desc {
        font-size: 0.92rem;
        line-height: 1.75;
    }

    .services-interactive-grid {
        grid-template-columns: 1fr !important;
        gap: 0.85rem;
    }

    .hero-features-list {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin: 1.1rem 0 1.4rem;
    }

    .hero-feature-tag {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        font-size: 0.9rem;
        color: #ffffff;
        text-align: right;
    }

    .capsule-footer {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .capsule-footer .btn-primary,
    .capsule-footer .btn-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .quote-options-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .contact-grid-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .floating-hud-dock {
        bottom: 1rem;
        padding: 0.4rem 0.8rem;
    }

    .floating-whatsapp-btn {
        bottom: 4.5rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }
}

/* ==========================================================================
   INFINITY CANVAS / INFINITE GALLERY (HERO COMPONENT BEFORE FOOTER)
   ========================================================================== */
.infinity-gallery-section {
    position: relative;
    z-index: 20;
    width: 100vw;
    max-width: 100vw;
    margin: 8vh 0 0;
    padding: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.infinity-gallery-wrapper {
    background: rgba(12, 10, 8, 0.96);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border-top: 1.5px solid var(--border-gold);
    border-bottom: 1.5px solid var(--border-gold);
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding: 4.5rem 2rem 5.5rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 60px var(--gold-glow-subtle);
    position: relative;
    overflow: hidden;
}

.infinity-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.infinity-header h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--pure-white);
    line-height: 1.3;
}

.infinity-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Filter Pills Bar */
.infinity-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 2rem;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.infinity-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    background: rgba(232, 221, 202, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.infinity-filter-pill svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.infinity-filter-pill:hover svg {
    transform: scale(1.15);
}

.infinity-filter-pill:hover {
    background: rgba(188, 154, 97, 0.15);
    border-color: var(--gold-primary);
    color: var(--pure-white);
}

.infinity-filter-pill.active {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-muted) 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 18px var(--gold-glow);
}

/* The Viewport Container */
.infinity-canvas-viewport {
    position: relative;
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    height: 650px;
    background: radial-gradient(circle at center, rgba(35, 28, 20, 0.45) 0%, rgba(8, 7, 6, 0.95) 100%);
    border: 1.5px solid rgba(188, 154, 97, 0.3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.infinity-canvas-viewport.grabbing {
    cursor: grabbing;
}

/* 2D Canvas World */
.infinity-canvas-world {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    will-change: transform;
}

/* Logo Cards on the Canvas */
.infinity-logo-card {
    position: absolute;
    width: 230px;
    height: 165px;
    border-radius: var(--radius-md);
    background: rgba(18, 15, 12, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(188, 154, 97, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(232, 221, 202, 0.1);
    transition: transform 0.35s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}

.infinity-logo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/pattern.webp');
    background-repeat: repeat;
    background-size: 24px 24px;
    opacity: 0.04;
    pointer-events: none;
}

.infinity-logo-card:hover {
    transform: translateY(-6px) scale(1.06);
    border-color: var(--gold-light);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7), 0 0 25px var(--gold-glow);
    z-index: 100;
}

.infinity-logo-card.dimmed {
    opacity: 0.22;
    transform: scale(0.92);
    pointer-events: none;
}

.infinity-logo-card.highlighted {
    opacity: 1;
}

.infinity-card-inner {
    width: 100%;
    height: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.infinity-card-badge {
    font-size: 0.68rem;
    color: var(--gold-light);
    background: rgba(188, 154, 97, 0.12);
    border: 1px solid rgba(188, 154, 97, 0.25);
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.infinity-logo-box {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.infinity-logo-img {
    max-width: 150px;
    max-height: 65px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.infinity-logo-card:hover .infinity-logo-img {
    transform: scale(1.08);
}

.infinity-card-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Floating Controls HUD */
.infinity-controls-hud {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 12, 10, 0.85);
    backdrop-filter: blur(16px);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-gold);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.infinity-hud-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(232, 221, 202, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.infinity-hud-btn:hover {
    background: rgba(188, 154, 97, 0.25);
    border-color: var(--gold-primary);
    color: var(--gold-light);
}

.infinity-status-hint {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-dim);
    background: rgba(14, 12, 10, 0.75);
    backdrop-filter: blur(12px);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
}

/* Lightbox Modal */
.infinity-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-smooth);
}

.infinity-preview-modal.active {
    opacity: 1;
    visibility: visible;
}

.infinity-preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
}

.infinity-preview-card {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    border: 1.5px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px var(--gold-glow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    transform: scale(0.92);
    transition: transform 0.3s var(--ease-spring);
}

.infinity-preview-modal.active .infinity-preview-card {
    transform: scale(1);
}

.infinity-preview-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(232, 221, 202, 0.08);
    color: #ffffff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
}

.infinity-preview-img-box {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.infinity-preview-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px var(--gold-glow));
}

@media (max-width: 768px) {
    .infinity-gallery-section {
        width: 100vw;
        max-width: 100vw;
        margin: 4vh 0 0;
        padding: 0;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .infinity-gallery-wrapper {
        padding: 2.5rem 1rem 3rem;
    }

    .infinity-header h2 {
        font-size: 1.65rem;
    }

    .infinity-header p {
        font-size: 0.88rem;
    }

    .infinity-filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding: 0.4rem 0.6rem;
        gap: 0.5rem;
        scrollbar-width: none;
    }

    .infinity-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .infinity-filter-pill {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.45rem 1rem;
        font-size: 0.82rem;
    }

    .infinity-canvas-viewport {
        height: 520px;
        border-radius: var(--radius-md);
    }

    .infinity-status-hint {
        display: none;
    }

    .brand-logo-img {
        height: 48px;
        max-width: 130px;
    }
}

