/* ============================================================
   ARCHITECTURAL LUXURY — Minimal Luxury Edition
   تصميم معماري فاخر بأسلوب بسيط وأنيق
   الألوان: أسود مخملي، بيج فاخر، ذهبي قديم
   ============================================================ */

/* ============================================================
   1. ROOT VARIABLES
   ============================================================ */
:root {
    /* === الألوان الأساسية === */
    --black: #0A0A0A;
    --black-soft: #141414;
    --black-light: #1E1E1E;
    --black-warm: #11100E;
    
    --beige: #F7F3EE;
    --beige-light: #FCFAF7;
    --beige-dark: #EDE8E0;
    --beige-warm: #F9F5EF;
    
    --gold: #B8956A;
    --gold-light: #CEB393;
    --gold-dark: #8B7355;
    --gold-soft: rgba(184, 149, 106, 0.12);
    --gold-border: rgba(184, 149, 106, 0.25);
    
    /* === النصوص === */
    --text-primary: #1A1A1A;
    --text-secondary: #6B6560;
    --text-muted: #A09A95;
    --text-light: #C5BFBA;
    --text-inverse: #F7F3EE;
    --text-inverse-muted: rgba(247, 243, 238, 0.5);
    
    /* === الخلفيات === */
    --bg-beige: #F7F3EE;
    --bg-beige-light: #FCFAF7;
    --bg-beige-dark: #EDE8E0;
    --bg-black: #0A0A0A;
    --bg-black-soft: #141414;
    --bg-card: #FCFAF7;
    --bg-overlay: rgba(10, 10, 10, 0.5);
    --bg-overlay-dark: rgba(10, 10, 10, 0.85);
    
    /* === الحدود والظلال === */
    --border-light: rgba(10, 10, 10, 0.06);
    --border-medium: rgba(10, 10, 10, 0.10);
    --border-dark: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(184, 149, 106, 0.25);
    
    --shadow-xs: 0 2px 12px rgba(10, 10, 10, 0.04);
    --shadow-sm: 0 4px 24px rgba(10, 10, 10, 0.06);
    --shadow-md: 0 12px 48px rgba(10, 10, 10, 0.08);
    --shadow-lg: 0 24px 72px rgba(10, 10, 10, 0.12);
    --shadow-gold: 0 8px 32px rgba(184, 149, 106, 0.15);
    
    /* === الزوايا === */
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* === المسافات === */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    --space-5xl: 100px;
    --space-6xl: 130px;
    
    /* === الخطوط === */
    --font-primary: 'Cairo', 'Tajawal', -apple-system, serif;
    --font-secondary: 'Tajawal', 'Cairo', -apple-system, serif;
    
    /* === الانتقالات === */
    --transition-smooth: 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    --transition-extra-smooth: 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-beige);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--gold);
    color: var(--black);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 36px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    letter-spacing: -0.035em;
    line-height: 1.05;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    letter-spacing: -0.03em;
    line-height: 1.08;
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    letter-spacing: -0.02em;
    font-weight: 600;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   4. SECTION HEADER
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 16px;
    border: none;
    padding: 0;
}

.section-header .section-badge::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.section-header .section-badge::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.section-header .section-title {
    margin-bottom: 16px;
}

.section-header .section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-xs);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    justify-content: center;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--gold-dark);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-white {
    background: var(--beige-light);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-white:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--black);
    color: var(--text-inverse);
    border: 1px solid var(--black);
}

.btn-dark:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 44px;
    font-size: 0.85rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.68rem;
}

/* ============================================================
   6. TOPBAR
   ============================================================ */
.topbar {
    background: var(--black);
    color: var(--text-inverse-muted);
    font-size: 0.68rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    position: relative;
    z-index: 102;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-tagline {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.68rem;
    letter-spacing: 0.5px;
}

.topbar-tagline i {
    color: var(--gold);
    margin-right: 5px;
    font-size: 0.55rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}

.topbar-link {
    color: rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
    padding: 2px 10px;
    font-size: 0.68rem;
}

.topbar-link:hover {
    color: var(--text-inverse);
}

.topbar-link i {
    margin-right: 4px;
    font-size: 0.6rem;
    color: var(--gold);
}

.topbar-link.whatsapp-link i {
    color: #25D366;
}

.topbar-divider {
    display: inline-block;
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.04);
    margin: 0 2px;
}

@media (max-width: 768px) {
    .topbar-inner {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
    .topbar-right {
        justify-content: center;
    }
}

/* ============================================================
   7. HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
    padding: 20px 0;
    transition: var(--transition-smooth);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    margin-top: 34px;
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 0;
}

body {
    padding-top: 100px;
}

@media (max-width: 768px) {
    body {
        padding-top: 84px;
    }
    .site-header {
        padding: 14px 0;
        margin-top: 32px;
    }
    .site-header.scrolled {
        padding: 10px 0;
    }
}

/* === Logo === */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-image {
    height: 38px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.logo-image.logo-white {
    height: 34px;
}

.site-header.scrolled .logo-image {
    height: 32px;
}

.logo-fallback {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-inverse);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-fallback i {
    color: var(--gold);
    font-size: 1.1rem;
}

.logo-fallback span {
    color: var(--gold);
}

@media (max-width: 768px) {
    .logo-image {
        height: 30px;
    }
    .site-header.scrolled .logo-image {
        height: 26px;
    }
    .logo-fallback {
        font-size: 1.1rem;
    }
}

/* === Navigation === */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    font-size: 0.72rem;
    position: relative;
    padding: 4px 0;
    transition: var(--transition-smooth);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-inverse);
}

/* === Nav Actions === */
.nav-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-toggle {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xs);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.65rem;
    font-weight: 600;
    background: transparent;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-toggle:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.nav-actions .btn {
    padding: 8px 18px;
    font-size: 0.68rem;
    min-height: 36px;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(4, 4, 4, 0.5);
    padding: 20px;
}

.cookie-modal.is-open {
    display: flex;
}

.cookie-modal-card {
    width: min(680px, calc(100vw - 40px));
    background: var(--paper, #fffdf7);
    border: 1px solid rgba(198, 161, 91, 0.7);
    border-radius: var(--radius-lg, 24px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.cookie-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: var(--black, #0b0b0b);
    color: var(--text-inverse, #fffef9);
}

.cookie-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1rem;
}

.cookie-modal-title i {
    color: var(--gold, #c6a15b);
}

.cookie-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    background: transparent;
    color: var(--text-inverse, #fffef9);
    cursor: pointer;
}

.cookie-modal-body {
    padding: 24px 22px 26px;
}

.cookie-modal-text {
    color: var(--text-primary, #3c3529);
    line-height: 1.8;
    font-size: 0.96rem;
    margin-bottom: 16px;
}

.cookie-option-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: var(--radius-sm, 12px);
    background: var(--cream, #f9f6ee);
    border: 1px solid rgba(11,11,11,0.08);
    color: var(--text-primary, #3c3529);
    font-weight: 700;
    font-size: 0.82rem;
}

.cookie-option input {
    accent-color: var(--gold, #c6a15b);
}

.cookie-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.header-calculator-link {
    background: var(--gold, #c6a15b);
    border-color: var(--gold, #c6a15b);
    color: var(--black, #0b0b0b);
}

.header-calculator-link:hover,
.header-calculator-link:focus {
    background: var(--gold-soft, #f5e8cf);
    color: var(--black, #0b0b0b);
}

.legal-page {
    background: var(--paper, #f8f4ea);
    padding: clamp(40px, 8vw, 80px) 0;
}

.legal-wrap {
    max-width: 1100px;
}

.legal-content {
    display: grid;
    gap: 16px;
}

.legal-card {
    background: var(--white, #fffdf8);
    border: 1px solid rgba(11, 11, 11, 0.12);
    border-radius: var(--radius-md, 16px);
    padding: clamp(20px, 3vw, 34px);
    box-shadow: 0 8px 30px rgba(11, 11, 11, 0.06);
}

.legal-card h2 {
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    color: var(--text-primary, #3c3529);
    margin-bottom: 12px;
}

.legal-card p,
.legal-card li {
    color: var(--text-muted, #6f6c63);
    line-height: 1.8;
}

/* === Mobile Menu === */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--text-inverse);
    border-radius: 1px;
    transition: var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
    width: 24px;
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 24px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-black);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
    
    .nav-links.open {
        display: flex;
    }
    
    .nav-links a {
        color: rgba(255, 255, 255, 0.4) !important;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.02);
        font-size: 0.78rem;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        color: var(--gold) !important;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-actions .btn-secondary {
        display: none;
    }
}

/* ============================================================
   8. HERO
   ============================================================ */
.hero-slider {
    position: relative;
    height: calc(100vh - 34px);
    min-height: 680px;
    overflow: hidden;
    background: var(--black);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.4s ease, transform 1.6s ease, visibility 1.4s ease;
    transform: scale(1.02);
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.1) 50%, rgba(10, 10, 10, 0.3) 100%);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 640px;
}

.hero-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 5px 16px 5px 14px;
    border-radius: var(--radius-xs);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 24px;
}

.hero-content .badge i {
    color: var(--gold);
    font-size: 0.55rem;
}

.hero-content h1 {
    color: var(--text-inverse);
    margin-bottom: 16px;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.15);
}

.hero-content h1 span {
    color: var(--gold);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1rem;
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.9;
    border-left: 2px solid var(--gold);
    padding-left: 20px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* === Slider Controls === */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 6px;
    align-items: center;
}

.slider-dot {
    width: 24px;
    height: 1px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.slider-dot.active {
    background: var(--gold);
    width: 40px;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-xs);
    background: rgba(10, 10, 10, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.slider-arrow:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

@media (max-width: 768px) {
    .slider-arrows {
        padding: 0 16px;
    }
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.7rem;
    }
    .hero-content p {
        border-left: none;
        padding-left: 0;
    }
}

/* ============================================================
   9. PROMO BANNER
   ============================================================ */
.promo-banner {
    background: var(--gold);
    padding: 12px 0;
}

.promo-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.promo-banner .promo-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(10, 10, 10, 0.5);
}

.promo-banner .promo-text i {
    font-size: 1.1rem;
    color: var(--black);
}

.promo-banner .promo-text h3 {
    color: var(--black);
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
}

.promo-banner .promo-text p {
    color: rgba(10, 10, 10, 0.4);
    margin: 0;
    font-size: 0.72rem;
}

.promo-banner .btn {
    background: var(--black);
    color: var(--text-inverse);
    padding: 8px 24px;
    font-size: 0.68rem;
}

.promo-banner .btn:hover {
    background: var(--text-inverse);
    color: var(--black);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .promo-banner .container {
        flex-direction: column;
        text-align: center;
    }
    .promo-banner .promo-text {
        flex-direction: column;
        gap: 4px;
    }
}

/* ============================================================
   10. STATS
   ============================================================ */
.stats-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 16px;
    transition: var(--transition-smooth);
    border-right: 1px solid rgba(255, 255, 255, 0.02);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-item .stat-icon {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 4px;
}

.stat-item .stat-number {
    font-family: var(--font-secondary);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-inverse);
    display: block;
    line-height: 1.1;
}

.stat-item .stat-label {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
    .stat-item:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.02);
        padding-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .stat-item .stat-number {
        font-size: 1.8rem;
    }
}

/* ============================================================
   11. SERVICES
   ============================================================ */
.services-section {
    padding: var(--space-5xl) 0;
    background: var(--bg-beige);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 40px 30px 34px;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
    border-color: var(--border-gold);
}

.service-card .service-icon {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xs);
}

.service-card h3 {
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 16px;
}

.service-card .service-price {
    display: inline-block;
    background: var(--gold);
    padding: 3px 12px;
    border-radius: var(--radius-xs);
    color: var(--black);
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 30px 22px 26px;
    }
}

/* ============================================================
   12. PROJECTS
   ============================================================ */
.projects-section {
    padding: var(--space-5xl) 0;
    background: var(--bg-black);
}

.projects-section .section-header .section-title {
    color: var(--text-inverse);
}

.projects-section .section-header .section-subtitle {
    color: rgba(255, 255, 255, 0.25);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: var(--black);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-extra-smooth);
}

.project-card:hover img {
    transform: scale(1.03);
}

.project-card .project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.8) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.9) 0%, transparent 40%);
}

.project-card .project-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 2px 10px;
    border-radius: var(--radius-xs);
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    align-self: flex-start;
}

.project-card h3 {
    color: var(--text-inverse);
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.project-card .project-location {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   13. PROCESS
   ============================================================ */
.process-section {
    padding: var(--space-5xl) 0;
    background: var(--bg-beige);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: var(--space-2xl);
}

.process-step {
    text-align: center;
    padding: 20px;
    position: relative;
    transition: var(--transition-smooth);
}

.process-step:hover {
    transform: translateY(-3px);
}

.process-step .step-number {
    font-family: var(--font-secondary);
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.06;
    position: absolute;
    top: -4px;
    right: 20px;
    line-height: 1;
}

.process-step .step-icon {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 14px;
    display: inline-block;
}

.process-step h3 {
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

.process-step p {
    color: var(--text-secondary);
    max-width: 260px;
    margin: 0 auto;
    font-size: 0.88rem;
}

.process-step .step-line {
    width: 28px;
    height: 1px;
    background: var(--gold);
    margin: 14px auto;
    opacity: 0.2;
}

@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================================
   14. WHY CHOOSE US
   ============================================================ */
.why-section {
    padding: var(--space-5xl) 0;
    background: var(--bg-beige);
    border-bottom: 1px solid var(--border-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: var(--space-2xl);
}

.why-card {
    text-align: center;
    padding: 32px 20px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    background: var(--bg-card);
    position: relative;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: var(--transition-smooth);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
    border-color: var(--border-gold);
}

.why-card .why-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xs);
}

.why-card h3 {
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 600;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.8;
    max-width: 260px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .why-card {
        padding: 24px 16px 20px;
    }
    .why-card p {
        max-width: 100%;
    }
}

/* ============================================================
   15. TESTIMONIALS
   ============================================================ */
.testimonials-section {
    padding: var(--space-5xl) 0;
    background: var(--bg-black);
}

.testimonials-section .section-header .section-title {
    color: var(--text-inverse);
}

.testimonials-section .section-header .section-subtitle {
    color: rgba(255, 255, 255, 0.25);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

.testimonial-card .stars {
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 0.88rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-card .client-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .client-avatar {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-inverse);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.testimonial-card .client-name {
    font-weight: 600;
    color: var(--text-inverse);
    font-size: 0.85rem;
}

.testimonial-card .client-title {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   16. CTA
   ============================================================ */
.cta-section {
    padding: var(--space-5xl) 0;
    background: var(--bg-beige);
    border-top: 1px solid var(--border-light);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.cta-content .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 12px;
    border: none;
    padding: 0;
}

.cta-content .section-badge::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.cta-content h2 {
    margin-bottom: 14px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 440px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    .cta-content p {
        margin: 0 auto;
    }
    .cta-buttons {
        justify-content: center;
    }
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.footer {
    background: var(--black-warm);
    color: rgba(255, 255, 255, 0.25);
    padding: var(--space-4xl) 0 var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-brand .logo .logo-image {
    height: 32px;
}

.footer-brand p {
    max-width: 300px;
    font-size: 0.78rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 14px;
}

.footer-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer h4 {
    color: var(--text-inverse);
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-links a {
    display: block;
    padding: 3px 0;
    transition: var(--transition-smooth);
    color: rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.18);
}

.footer-contact p a {
    color: rgba(255, 255, 255, 0.18);
    transition: var(--transition-smooth);
}

.footer-contact p a:hover {
    color: var(--gold);
}

.footer-contact i {
    color: var(--gold);
    width: 16px;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.footer-cta {
    margin-top: 10px;
}

.footer-cta .btn {
    font-size: 0.65rem;
    padding: 7px 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.footer-bottom a:hover {
    color: var(--gold);
}

.footer-credit {
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-credit i {
    color: var(--gold);
    font-size: 0.55rem;
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 4px;
}

[dir="rtl"] .footer-contact p {
    flex-direction: row-reverse;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-brand p {
        max-width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-credit {
        justify-content: center;
    }
}

/* ============================================================
   18. FLOATING SOCIAL
   ============================================================ */
.floating-social-bar {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.floating-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-xs);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.8rem;
    box-shadow: var(--shadow-xs);
}

.floating-btn:hover {
    transform: translateY(-3px);
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.floating-btn.scroll-top-btn {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.floating-btn.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

[dir="rtl"] .floating-social-bar {
    left: auto;
    right: 28px;
}

@media (max-width: 480px) {
    .floating-social-bar {
        display: none;
    }
}

/* ============================================================
   19. ACCESSIBILITY
   ============================================================ */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.testimonials-section :focus-visible,
.footer :focus-visible,
.site-header.scrolled :focus-visible,
.hero-slider :focus-visible {
    outline-color: var(--gold-light);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   20. REVEAL ON SCROLL
   ============================================================ */
.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-item:nth-child(1) { transition-delay: 0.04s; }
.reveal-item:nth-child(2) { transition-delay: 0.10s; }
.reveal-item:nth-child(3) { transition-delay: 0.16s; }
.reveal-item:nth-child(4) { transition-delay: 0.22s; }
.reveal-item:nth-child(5) { transition-delay: 0.28s; }
.reveal-item:nth-child(6) { transition-delay: 0.34s; }

/* ============================================================
   21. CYBERPUNK LUXURY SYSTEM
   Shared finishing layer for the public website.
   ============================================================ */
:root {
    --black: #070707;
    --black-soft: #101010;
    --black-light: #171717;
    --black-warm: #0b0b0a;
    --beige: #f4f4f1;
    --beige-light: #ffffff;
    --beige-dark: #e5e4df;
    --beige-warm: #f0efeb;
    --gold: #b49a62;
    --gold-light: #d6bd83;
    --gold-dark: #806a3f;
    --gold-soft: rgba(180, 154, 98, .14);
    --gold-border: rgba(180, 154, 98, .38);
    --text-primary: #111111;
    --text-secondary: #555550;
    --text-muted: #85847e;
    --border-light: rgba(7, 7, 7, .09);
    --border-medium: rgba(7, 7, 7, .18);
    --shadow-gold: 0 10px 30px rgba(180, 154, 98, .22);
}

html {
    background: var(--black);
}

body {
    background: var(--beige);
    background-image: linear-gradient(rgba(7, 7, 7, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 7, 7, .025) 1px, transparent 1px);
    background-size: 34px 34px;
}

main > * {
    position: relative;
}

.container {
    width: min(100% - 40px, 1360px);
    padding-inline: 0;
}

.topbar {
    background: #050505;
    border-bottom: 1px solid var(--gold-border);
}

.site-header {
    background: rgba(7, 7, 7, .92);
    border-bottom: 1px solid rgba(180, 154, 98, .22);
}

.site-header.scrolled {
    background: rgba(7, 7, 7, .98);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .24);
    border-bottom-color: var(--gold);
}

.nav-links a,
.lang-toggle,
.nav-actions .btn-secondary {
    color: rgba(255, 255, 255, .72);
}

.nav-links a.active,
.nav-links a:hover,
.lang-toggle:hover {
    color: var(--gold-light);
}

.nav-links a::after {
    height: 2px;
    box-shadow: 0 0 9px var(--gold);
}

.btn,
.lang-toggle,
.floating-btn,
.slider-arrow,
.audio-toggle {
    border-radius: 2px;
}

.btn-primary {
    background: var(--gold);
    color: #080808;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.btn-primary:hover,
.btn-outline-gold:hover,
.btn-dark:hover {
    background: var(--gold-light);
    color: #080808;
}

.btn-secondary,
.btn-outline-gold {
    border-color: var(--gold-border);
}

.section-header .section-badge,
.text-gradient {
    color: var(--gold-dark);
}

.section-header .section-badge::before,
.section-header .section-badge::after {
    background: var(--gold);
}

/* A compact player keeps the header useful without taking over the page. */
.audio-control {
    display: flex;
    align-items: center;
}

.audio-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 6px 9px;
    color: rgba(255, 255, 255, .65);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(180, 154, 98, .34);
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.audio-toggle:hover,
.audio-toggle.is-playing {
    color: var(--gold-light);
    border-color: var(--gold);
    background: rgba(180, 154, 98, .12);
}

.audio-bars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 15px;
}

.audio-bars i {
    display: block;
    width: 2px;
    height: 5px;
    background: currentColor;
    transform-origin: bottom;
}

.audio-toggle.is-playing .audio-bars i {
    animation: audioPulse .8s ease-in-out infinite alternate;
}

.audio-toggle.is-playing .audio-bars i:nth-child(2) { animation-delay: -.5s; }
.audio-toggle.is-playing .audio-bars i:nth-child(3) { animation-delay: -.2s; }
.audio-toggle.is-playing .audio-bars i:nth-child(4) { animation-delay: -.65s; }
.audio-toggle.is-playing .audio-bars i:nth-child(5) { animation-delay: -.35s; }

@keyframes audioPulse {
    to { height: 15px; }
}

/* Side actions stay hidden until requested, so they never cover content. */
.floating-social-bar {
    left: 18px;
    right: auto;
    bottom: 24px;
    gap: 7px;
    padding: 7px;
    background: rgba(7, 7, 7, .78);
    border: 1px solid rgba(180, 154, 98, .36);
    transform: translateX(calc(-100% + 48px));
    transition: transform .35s ease;
}

.floating-social-bar.is-open {
    transform: translateX(0);
}

[dir="rtl"] .floating-social-bar {
    left: auto;
    right: 18px;
    transform: translateX(calc(100% - 48px));
}

[dir="rtl"] .floating-social-bar.is-open {
    transform: translateX(0);
}

.floating-social-bar .social-btn,
.floating-social-bar .scroll-top-btn {
    opacity: 0;
    visibility: hidden;
    transform: scale(.8);
}

.floating-social-bar.is-open .social-btn,
.floating-social-bar.is-open .scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.floating-social-bar .floating-toggle {
    order: -1;
    opacity: 1;
    visibility: visible;
    color: var(--gold-light);
    border-color: var(--gold);
}

.floating-social-bar.is-open .floating-toggle i {
    transform: rotate(45deg);
}

.floating-toggle i {
    transition: transform .25s ease;
}

/* Mobile navigation replaces the desktop action cluster. */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-top: 78px;
        padding-bottom: 70px;
    }

    .container {
        width: min(100% - 28px, 1360px);
    }

    .topbar {
        display: none;
    }

    .site-header {
        margin-top: 0;
        padding: 11px 0;
    }

    .site-header.scrolled {
        padding: 9px 0;
    }

    .nav-links {
        display: none !important;
    }

    .nav-actions .btn,
    .lang-toggle {
        display: none;
    }

    .nav-actions {
        margin-inline-start: auto;
        gap: 6px;
    }

    .audio-label {
        display: none;
    }

    .audio-toggle {
        min-width: 35px;
        justify-content: center;
        padding-inline: 8px;
    }

    .mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        padding: 8px 6px max(8px, env(safe-area-inset-bottom));
        background: rgba(7, 7, 7, .97);
        border-top: 1px solid var(--gold-border);
        box-shadow: 0 -10px 26px rgba(0, 0, 0, .22);
    }

    .mobile-bottom-nav a {
        display: grid;
        justify-items: center;
        gap: 4px;
        min-width: 0;
        padding: 4px 2px;
        color: rgba(255, 255, 255, .52);
        font-size: 10px;
        line-height: 1.2;
    }

    .mobile-bottom-nav a i {
        color: rgba(180, 154, 98, .68);
        font-size: 15px;
    }

    .mobile-bottom-nav a.active,
    .mobile-bottom-nav a.active i,
    .mobile-bottom-nav a:hover,
    .mobile-bottom-nav a:hover i {
        color: var(--gold-light);
    }

    .floating-social-bar {
        bottom: 78px;
    }

    .footer {
        padding-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .floating-social-bar {
        display: flex;
    }

    .floating-btn {
        width: 36px;
        height: 36px;
    }

    .hero-slider {
        min-height: 560px;
    }
}

/* ============================================================
   22. RENDERED LAYOUT FIXES
   ============================================================ */
body {
    padding-top: 0;
}

.site-header {
    position: sticky;
    top: 0;
    margin-top: 0;
    padding: 14px 0;
}

.site-header .container {
    min-height: 52px;
}

.logo-image {
    width: 138px;
    height: 54px;
    object-fit: cover;
    object-position: center;
}

.site-header.scrolled .logo-image {
    width: 126px;
    height: 48px;
}

.nav {
    gap: 28px;
}

.nav-links {
    flex: 1;
    justify-content: center;
    gap: clamp(16px, 2.5vw, 34px);
}

.nav-links a {
    font-size: .78rem;
    white-space: nowrap;
}

.nav-actions {
    flex-shrink: 0;
}

.hero-slider {
    height: min(780px, calc(100vh - 116px));
    min-height: 620px;
}

.hero-slide::before {
    background: linear-gradient(90deg, rgba(5, 5, 5, .68) 0%, rgba(5, 5, 5, .34) 48%, rgba(5, 5, 5, .62) 100%);
}

[dir="rtl"] .hero-slide::before {
    background: linear-gradient(270deg, rgba(5, 5, 5, .68) 0%, rgba(5, 5, 5, .34) 48%, rgba(5, 5, 5, .62) 100%);
}

.hero-content {
    width: min(100%, 680px);
    padding: 44px 0 72px;
}

.hero-content h1 {
    max-width: 680px;
    margin-bottom: 2px;
    font-size: clamp(2.25rem, 5vw, 4.55rem);
    line-height: 1.12;
}

.hero-content h1[style] {
    margin-top: 0 !important;
    font-size: clamp(2rem, 4.2vw, 3.65rem) !important;
    line-height: 1.15;
}

.hero-content p {
    max-width: 560px;
    margin-top: 20px;
    margin-bottom: 30px;
    padding-inline-start: 18px;
    border-inline-start: 2px solid var(--gold);
    font-size: 1rem;
    color: rgba(255, 255, 255, .78);
}

.hero-buttons {
    gap: 12px;
}

.hero-buttons .btn {
    min-width: 168px;
}

.slider-controls {
    bottom: 28px;
}

.floating-social-bar {
    left: 22px;
    right: auto;
}

[dir="rtl"] .floating-social-bar {
    left: auto;
    right: 22px;
}

.floating-social-bar:not(.is-open) {
    padding: 0;
    background: transparent;
    border-color: transparent;
}

@media (max-width: 1100px) {
    .nav {
        gap: 14px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-actions .btn {
        padding-inline: 11px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 0;
    }

    .site-header {
        position: sticky;
        padding: 7px 0;
    }

    .site-header .container {
        min-height: 48px;
    }

    .logo-image,
    .site-header.scrolled .logo-image {
        width: 116px;
        height: 46px;
    }

    .nav-links {
        display: none !important;
    }

    .nav-links.open {
        display: flex !important;
        top: 100%;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-slider {
        height: min(720px, calc(100svh - 48px));
        min-height: 590px;
    }

    .hero-slide {
        align-items: flex-end;
        background-position: 58% center;
    }

    .hero-content {
        width: 100%;
        padding: 30px 0 78px;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 10vw, 3.1rem);
    }

    .hero-content h1[style] {
        font-size: clamp(1.7rem, 8vw, 2.5rem) !important;
    }

    .hero-content p {
        max-width: 100%;
        font-size: .9rem;
        line-height: 1.7;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hero-buttons .btn {
        min-width: 0;
        width: 100%;
        padding-inline: 10px;
    }
}

@media (max-width: 420px) {
    .hero-buttons {
        grid-template-columns: 1fr;
    }

    .hero-content p {
        margin-bottom: 20px;
    }
}

/* ============================================================
   23. CYBERPUNK LUXURY COMPONENTS
   ============================================================ */
:root {
    --cyber-gold: #c5a968;
    --cyber-gold-bright: #f0d58e;
    --cyber-ink: #08090a;
    --cyber-line: rgba(197, 169, 104, .42);
}

.btn,
.lang-toggle,
.audio-toggle,
.floating-btn,
.slider-arrow,
.mobile-bottom-nav a {
    position: relative;
    overflow: hidden;
}

.btn {
    isolation: isolate;
    min-height: 48px;
    padding: 14px 26px;
    border: 1px solid var(--cyber-line);
    border-radius: 0;
    background: var(--cyber-ink);
    color: #f7f4eb;
    letter-spacing: .04em;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
    transition: color .25s ease, background .25s ease, transform .25s ease, filter .25s ease;
}

.btn::before {
    position: absolute;
    top: 0;
    right: 12px;
    left: 12px;
    height: 1px;
    content: '';
    background: linear-gradient(90deg, transparent, var(--cyber-gold-bright), transparent);
    opacity: .8;
    z-index: -1;
}

.btn::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 22px;
    height: 1px;
    content: '';
    background: var(--cyber-gold-bright);
    opacity: .9;
}

.btn:hover {
    color: var(--cyber-ink);
    background: var(--cyber-gold-bright);
    transform: translateY(-3px);
    filter: drop-shadow(0 8px 14px rgba(197, 169, 104, .24));
}

.btn-primary {
    background: linear-gradient(135deg, #c5a968, #8d743d);
    color: #08090a;
    border-color: var(--cyber-gold-bright);
}

.btn-primary:hover {
    background: var(--cyber-gold-bright);
}

.btn-secondary,
.btn-outline-gold {
    background: rgba(8, 9, 10, .72);
    color: #f7f4eb;
    border-color: var(--cyber-line);
}

.btn-secondary:hover,
.btn-outline-gold:hover {
    color: var(--cyber-ink);
    border-color: var(--cyber-gold-bright);
}

.btn i,
.btn svg,
.lang-toggle i,
.lang-toggle svg,
.audio-toggle svg,
.floating-btn svg,
.mobile-bottom-nav svg,
.hero-content svg,
.promo-banner svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.7;
}

.hero-content .badge svg {
    width: 14px;
    height: 14px;
}

.lang-toggle,
.audio-toggle {
    min-height: 40px;
    border-radius: 0;
    border-color: rgba(197, 169, 104, .34);
    clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}

.audio-toggle.is-playing,
.lang-toggle:hover {
    color: var(--cyber-gold-bright);
    background: rgba(197, 169, 104, .14);
    box-shadow: inset 0 0 0 1px rgba(197, 169, 104, .16), 0 0 18px rgba(197, 169, 104, .12);
}

.floating-btn,
.slider-arrow {
    border-radius: 0;
    border-color: var(--cyber-line);
    background: rgba(8, 9, 10, .9);
    color: var(--cyber-gold-bright);
    clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}

.floating-btn:hover,
.slider-arrow:hover {
    background: var(--cyber-gold-bright);
    color: var(--cyber-ink);
    border-color: var(--cyber-gold-bright);
    box-shadow: 0 0 20px rgba(197, 169, 104, .25);
}

.service-card,
.project-card,
.why-card,
.testimonial-card,
.process-step {
    border-radius: 0;
    border: 1px solid rgba(8, 9, 10, .12);
    border-top: 2px solid var(--cyber-gold);
    box-shadow: 0 14px 34px rgba(8, 9, 10, .08);
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
}

.service-card:hover,
.project-card:hover,
.why-card:hover,
.testimonial-card:hover {
    border-color: var(--cyber-gold);
    box-shadow: 0 20px 42px rgba(8, 9, 10, .14), 0 0 0 1px rgba(197, 169, 104, .18);
    transform: translateY(-8px);
}

.service-icon,
.stat-icon {
    color: var(--cyber-gold);
    filter: drop-shadow(0 0 8px rgba(197, 169, 104, .22));
}

.section-header .section-badge {
    letter-spacing: .18em;
}

.mobile-bottom-nav {
    background: rgba(8, 9, 10, .98);
}

.mobile-bottom-nav a {
    clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
}

.mobile-bottom-nav a.active {
    background: rgba(197, 169, 104, .13);
    box-shadow: inset 0 -2px 0 var(--cyber-gold-bright);
}

/* Final control positioning: the quick actions live on the screen edge. */
.floating-social-bar {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) translateX(calc(-100% + 48px));
}

.floating-social-bar.is-open {
    transform: translateY(-50%) translateX(0);
}

[dir="rtl"] .floating-social-bar {
    transform: translateY(-50%) translateX(calc(100% - 48px));
}

[dir="rtl"] .floating-social-bar.is-open {
    transform: translateY(-50%) translateX(0);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 58px;
    padding: 8px 10px;
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.language-switcher svg {
    color: var(--cyber-gold-bright);
}

.language-switcher span {
    line-height: 1;
}

@media (max-width: 768px) {
    .language-switcher {
        display: inline-flex;
        min-width: 38px;
        padding-inline: 8px;
    }

    .language-switcher span {
        display: none;
    }

    .floating-social-bar {
        bottom: auto;
    }
}

/* Keep utility controls in the slim topbar, away from the main navigation. */
.topbar-tools {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-inline-start: 18px;
}

.topbar-tools .language-switcher,
.topbar-tools .audio-toggle {
    min-height: 28px;
    padding: 5px 8px;
    font-size: 9px;
}

.topbar-tools .language-switcher {
    min-width: 48px;
}

.topbar-tools .audio-bars {
    height: 13px;
}

@media (max-width: 768px) {
    .topbar {
        display: block;
        padding: 4px 0;
    }

    .topbar-left,
    .topbar-right {
        display: none;
    }

    .topbar-inner {
        justify-content: flex-end;
        min-height: 30px;
    }

    .topbar-tools {
        margin-inline-start: 0;
    }

    .topbar-tools .language-switcher span {
        display: inline;
    }

    .site-header {
        top: 0;
    }
}

/* Persistent side rail: social actions stay visible without a hidden toggle. */
.floating-social-bar {
    top: 50%;
    bottom: auto;
    left: 18px;
    right: auto;
    display: flex;
    gap: 7px;
    padding: 8px;
    background: rgba(8, 9, 10, .9);
    border: 1px solid var(--cyber-line);
    transform: translateY(-50%) !important;
}

[dir="rtl"] .floating-social-bar {
    left: 18px;
    right: auto;
    transform: translateY(-50%) !important;
}

.floating-social-bar .social-btn,
.floating-social-bar .scroll-top-btn,
.floating-social-bar .scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.floating-social-bar .scroll-top-btn:not(.visible) {
    display: none;
}

@media (max-width: 480px) {
    .floating-social-bar {
        display: flex;
        padding: 6px;
    }
}

/* The bottom navigation already handles quick access on small screens. */
@media (max-width: 768px) {
    .floating-social-bar {
        display: none;
    }
}

/* Authenticated user menu in the main header. */
.user-menu {
    position: relative;
}

.user-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 5px 10px 5px 6px;
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(197, 169, 104, .38);
    font-family: var(--font-secondary);
    font-size: .72rem;
    cursor: pointer;
    clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
}

.user-menu-trigger:hover,
.user-menu.is-open .user-menu-trigger {
    color: var(--cyber-gold-bright);
    border-color: var(--cyber-gold-bright);
    background: rgba(197, 169, 104, .12);
}

.user-menu-trigger svg {
    width: 14px;
    height: 14px;
    transition: transform .25s ease;
}

.user-menu.is-open .user-menu-trigger svg {
    transform: rotate(180deg);
}

.user-avatar {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    color: var(--cyber-ink);
    background: var(--cyber-gold-bright);
    font-family: var(--font-secondary);
    font-size: .75rem;
    font-weight: 800;
    clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1200;
    display: grid;
    min-width: 225px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    background: rgba(8, 9, 10, .98);
    border: 1px solid rgba(197, 169, 104, .42);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
    transform: translateY(-7px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}

.user-menu.is-open .user-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-heading {
    display: grid;
    gap: 3px;
    padding: 11px 12px;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(197, 169, 104, .2);
}

.user-menu-heading strong {
    color: #fff;
    font-family: var(--font-secondary);
    font-size: .78rem;
}

.user-menu-heading span {
    overflow: hidden;
    color: rgba(255, 255, 255, .48);
    font-size: .65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-dropdown a,
.user-menu-dropdown form button {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 10px 12px;
    color: rgba(255, 255, 255, .72);
    background: transparent;
    border: 0;
    font: inherit;
    font-size: .72rem;
    text-align: start;
    cursor: pointer;
}

.user-menu-dropdown a:hover,
.user-menu-dropdown form button:hover {
    color: var(--cyber-gold-bright);
    background: rgba(197, 169, 104, .1);
}

.user-menu-dropdown svg {
    width: 15px;
    height: 15px;
    color: var(--cyber-gold);
}

@media (max-width: 768px) {
    .user-menu-name {
        display: none;
    }

    .user-menu-dropdown {
        right: -42px;
    }
}

/* Center the services and footer content on small screens. */
@media (max-width: 768px) {
    .services-section,
    .services-section .container,
    .services-section .section-header {
        text-align: center;
    }

    .services-section .services-grid {
        justify-items: center;
    }

    .services-section .service-card {
        width: 100%;
        max-width: 390px;
        text-align: center;
    }

    .services-section .service-price,
    .services-section .service-meta {
        justify-content: center;
    }

    .footer,
    .footer .container,
    .footer-brand,
    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-brand p {
        margin-inline: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer h4 {
        justify-content: center;
    }

    .footer-links a {
        margin-inline: auto;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-cta {
        display: flex;
        justify-content: center;
    }
}


.portal-page-head h1 {
    margin: 4px 0 8px;
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.user-kicker {
    color: var(--gold);
    font-family: var(--font-secondary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.user-muted {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.portal-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.detail-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.detail-stat-grid div {
    padding: 8px 0;
}

.detail-stat-grid small {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.detail-stat-grid strong {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.portal-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.portal-item:last-child {
    border-bottom: none;
}

.portal-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.portal-item strong {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.portal-item small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.portal-list-row {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.portal-list-row:last-child {
    border-bottom: none;
}

.portal-list-row .list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gold-soft);
    border-radius: 50%;
    color: var(--gold);
}

.portal-list-row div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.portal-list-row strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.portal-list-row small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.portal-project-mini {
    padding: 8px 0;
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.project-header strong {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.project-header span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.progress-track {
    width: 100%;
    height: 6px;
    background: var(--beige-dark);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-track i {
    display: block;
    height: 100%;
    background: var(--black);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.milestone-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.milestone-line i {
    width: 16px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.milestone-line i.fa-check {
    color: var(--gold);
}

.milestone-line i.fa-circle {
    color: var(--gold);
}

.milestone-status {
    margin-left: auto;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
}

.milestone-status.status-completed {
    color: var(--gold);
}

.milestone-status.status-active {
    color: var(--gold-dark);
}

.mini-empty {
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

.status-pill {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--gold-soft);
    color: var(--gold-dark);
    border-radius: 20px;
    text-align: center;
    width: fit-content;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background: #cce5ff;
    color: #004085;
}

.status-in_progress {
    background: #d4edda;
    color: #155724;
}

.status-completed {
    background: var(--gold);
    color: var(--black);
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.status-planned {
    background: var(--beige-dark);
    color: var(--text-secondary);
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-requested {
    background: #fff3cd;
    color: #856404;
}

.booking-link {
    color: inherit;
    text-decoration: none;
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr 1fr;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
    transition: background 0.2s ease;
    cursor: pointer;
}

.booking-link:hover {
    background: var(--gold-soft);
}

.booking-link:last-child {
    border-bottom: none;
}

.booking-table-head {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr 1fr;
    gap: 16px;
    padding: 12px 20px;
    background: var(--beige-dark);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border-light);
}

.service-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
}

.service-stack span {
    color: var(--text-primary);
}

.booking-total {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.booking-total small {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.user-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}

.user-empty .btn {
    margin-top: 16px;
}

.dashboard-pagination {
    padding: 16px 20px;
    border-top: 1px solid var(--border-light);
}

.booking-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.full-notification {
    align-items: flex-start;
    padding: 20px 0;
}

.full-notification time {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.7rem;
}

.full-notification form {
    margin-inline-start: auto;
}

.full-notification .notification-read {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    font: inherit;
    font-size: 0.7rem;
    background: var(--gold-soft);
    color: var(--text-primary);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-sm);
}

.profile-page {
    max-width: 1080px;
}

.profile-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.profile-head h1 {
    margin: 8px 0 7px;
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 3rem);
}

.profile-head p {
    margin: 0;
    color: var(--text-secondary);
}

.profile-kicker {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    color: var(--gold);
    background: var(--gold-soft);
    border: 1px solid var(--gold-border);
    font-size: 0.75rem;
}


.profile-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.5fr);
    gap: 22px;
}

.profile-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-top: 2px solid var(--gold);
    box-shadow: var(--shadow-sm);
}

.profile-summary {
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 12px;
    text-align: center;
}

.profile-avatar {
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    overflow: hidden;
    color: var(--black);
    background: var(--gold);
    font-family: var(--font-secondary);
    font-size: 2.1rem;
    font-weight: 800;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-summary h2 {
    margin: 5px 0 0;
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: 1.35rem;
}

.profile-summary p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
    overflow-wrap: anywhere;
}

.profile-role {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.profile-divider {
    width: 100%;
    height: 1px;
    margin: 10px 0;
    background: var(--border-light);
}

.profile-form-card h2 {
    margin: 0 0 5px;
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: 1.35rem;
}

.profile-form-card > p {
    margin: 0 0 22px;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.profile-field {
    display: grid;
    gap: 7px;
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 700;
}

.profile-field input {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    box-sizing: border-box;
    color: var(--text-primary);
    background: var(--beige-light);
    border: 1px solid var(--border-medium);
    outline: 0;
    font: inherit;
    font-weight: 400;
}

.profile-field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-soft);
}

.profile-field input[type=file] {
    padding: 12px;
}

.profile-hint {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 400;
}

.profile-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.profile-actions .btn {
    min-height: 46px;
}

.profile-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    color: #356842;
    background: #edf8ef;
    border-inline-start: 3px solid #4c9b5b;
    font-size: 0.82rem;
}

.profile-error {
    margin-bottom: 18px;
    padding: 12px 14px;
    color: #8a2424;
    background: #fff0ee;
    border-inline-start: 3px solid #b93a34;
    font-size: 0.8rem;
}

.profile-error span {
    display: block;
    margin: 3px 0;
}

.notification-count {
    display: inline-grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    padding: 0 12px;
    color: var(--black);
    background: var(--gold);
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-size: 0.78rem;
    font-weight: 800;
}

.notification-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.notification-row:last-child {
    border-bottom: none;
}

.notification-row > i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--gold);
    background: var(--gold-soft);
    border-radius: 50%;
}

.notification-row div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notification-row strong {
    color: var(--text-primary);
    font-size: 0.84rem;
}

.notification-row small {
    color: var(--text-secondary);
    font-size: 0.76rem;
}

.dashboard-columns aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dashboard-columns aside .user-panel {
    width: 100%;
}

.dashboard-columns .user-panel > .panel-title,
.dashboard-lower-grid .user-panel > .panel-title {
    margin-bottom: 12px;
}

.dashboard-columns > section.user-panel,
.dashboard-lower-grid > section.user-panel {
    min-width: 0;
}

.dashboard-columns aside section.user-panel {
    background: var(--bg-card);
}

.dashboard-columns .portal-list-row,
.dashboard-columns .booking-link {
    border-bottom-color: var(--border-light);
}

.dashboard-columns .portal-list-row:last-child {
    border-bottom: none;
}

.status-pill {
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .portal-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .portal-page-head {
        flex-direction: column;
    }

    .detail-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-list-row {
        grid-template-columns: 32px 1fr;
        gap: 8px;
    }

    .portal-list-row .status-pill {
        grid-column: 2;
    }

    .portal-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .booking-link,
    .booking-table-head {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 16px;
    }

    .booking-link div:first-child {
        display: flex;
        justify-content: space-between;
    }

    .service-stack {
        flex-direction: row;
    }

    .profile-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   DASHBOARD HOME PAGE — Matching Details Decor Frontend Style
   ============================================================ */

.dashboard-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    padding: clamp(24px, 4vw, 40px) clamp(16px, 2vw, 24px);
    background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.dashboard-heading > div:first-child {
    max-width: 620px;
}

.dashboard-heading h1 {
    margin: 8px 0 12px;
    color: var(--text-inverse);
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.35;
}

.dashboard-heading .user-kicker {
    color: var(--gold-light);
}

.dashboard-heading .user-muted {
    color: var(--text-inverse-muted);
}

.dashboard-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 220px;
    padding: 12px 14px;
    color: var(--gold-light);
    background: rgba(184, 149, 106, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    font-family: var(--font-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.dashboard-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin: 0 0 18px;
}

.dashboard-actions .btn,
.outline-action,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dashboard-actions .btn {
    min-height: 44px;
    padding: 10px 18px;
}

.user-grid.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 16px;
    margin: 20px 0 22px;
}

.user-stat {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
}

.user-stat small {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.user-stat strong {
    display: block;
    margin-top: 10px;
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: clamp(1.7rem, 2.7vw, 2.4rem);
    font-weight: 800;
}

.user-stat strong small {
    display: inline-block;
    margin-inline-start: 3px;
    font-size: 0.72rem;
}

.user-stat .metric-note {
    display: block;
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.dashboard-columns {
    display: grid;
    grid-template-columns: minmax(560px, 1.8fr) minmax(320px, 1fr);
    gap: 22px;
    align-items: start;
}

.dashboard-columns .user-panel,
.dashboard-lower-grid .user-panel {
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.panel-title .panel-eyebrow {
    display: block;
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.panel-title h2 {
    margin: 4px 0 0;
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: 1.12rem;
    font-weight: 800;
}

.panel-title-icon {
    color: var(--gold);
}

.text-link {
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 800;
}

.text-link:hover,
.outline-action:hover {
    color: var(--black);
}

.portal-list-row {
    padding: 14px 0;
}

.portal-list-row strong {
    color: var(--text-primary);
}

.portal-list-row small {
    color: var(--text-secondary);
}

.portal-list-row .list-icon {
    background: var(--gold-soft);
    color: var(--gold);
}

.booking-link {
    background: transparent;
}

.booking-link:hover {
    background: var(--gold-soft);
}

.dashboard-lower-grid {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) minmax(260px, 0.7fr);
    gap: 22px;
    margin-top: 22px;
}

.dashboard-lower-grid .user-panel {
    min-width: 0;
}

.project-progress-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
}

.project-progress-row:last-child {
    border-bottom: none;
}

.project-progress-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.project-progress-info strong {
    color: var(--text-primary);
    font-size: 0.92rem;
}

.project-progress-info span {
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.project-progress-info small {
    color: var(--text-muted);
    font-size: 0.74rem;
}

.project-progress-info .progress-track {
    width: 100%;
    height: 7px;
    margin: 8px 0 0;
    background: var(--beige-dark);
}

.project-progress-info .progress-track i {
    background: var(--gold);
}

.profile-health {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-ring {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    margin: 20px auto 18px;
    color: var(--black);
    background: conic-gradient(var(--gold) var(--profile-completion, 72%), var(--beige-dark) var(--profile-completion, 72%));
    border-radius: 50%;
    border: 8px solid var(--bg-card);
    box-shadow: var(--shadow-gold);
}

.profile-ring strong {
    color: var(--black);
    font-family: var(--font-secondary);
    font-size: 2rem;
}

.profile-ring span {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.profile-health p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.8;
}

.outline-action {
    justify-content: center;
    width: fit-content;
    margin-top: 14px;
    padding: 10px 14px;
    color: var(--gold-dark);
    background: transparent;
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.outline-action:hover {
    background: var(--gold-soft);
}

.user-empty,
.mini-empty {
    padding: 24px 12px;
    color: var(--text-muted);
    font-size: 0.84rem;
    text-align: center;
}

.user-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    color: var(--black);
    background: var(--gold-soft);
    border-inline-start: 3px solid var(--gold);
}

@media (max-width: 1024px) {
    .dashboard-columns,
    .dashboard-lower-grid,
    .user-grid.dashboard-metrics {
        grid-template-columns: 1fr;
    }

    .dashboard-columns {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .dashboard-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-date {
        width: fit-content;
    }

    .dashboard-actions {
        justify-content: center;
    }

    .dashboard-actions .btn {
        width: 100%;
    }

    .user-grid.dashboard-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .user-grid.dashboard-metrics {
        grid-template-columns: 1fr;
    }

    .dashboard-heading h1 {
        font-size: clamp(1.8rem, 10vw, 2.6rem);
    }

    .user-stat {
        padding: 16px;
    }

    .project-progress-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-ring {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 520px) {
    .detail-stat-grid {
        grid-template-columns: 1fr;
    }

    .user-panel {
        padding: 16px;
    }

    .panel-title {
        flex-direction: column;
    }

    .profile-page {
        text-align: center;
    }

    .profile-card {
        padding: 22px 17px;
    }

    .profile-form-grid {
        grid-template-columns: 1fr;
        text-align: start;
    }

    .profile-actions .btn {
        width: 100%;
    }
}

/* ============================================================
   28. ABOUT PAGE SYSTEM
   ============================================================ */
.about-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(78px, 11vw, 138px) 0 clamp(64px, 8vw, 104px);
    background: linear-gradient(135deg, #08090a 0%, #121313 60%, #211b12 100%);
    border-bottom: 1px solid rgba(197, 169, 104, .3);
}

.about-hero::before {
    inset: 0;
    width: auto;
    height: auto;
    opacity: .16;
    background-image: linear-gradient(rgba(197, 169, 104, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(197, 169, 104, .25) 1px, transparent 1px);
    background-size: 42px 42px;
}

.about-hero::after {
    position: absolute;
    right: 8%;
    bottom: 0;
    width: 180px;
    height: 2px;
    content: '';
    background: linear-gradient(90deg, transparent, var(--cyber-gold-bright));
}

.about-hero-content {
    max-width: 800px;
    animation: headingIn .8s cubic-bezier(.2, .75, .25, 1) both;
}

.about-hero-content .section-badge,
.about-text .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    color: var(--cyber-gold-bright);
    background: rgba(197, 169, 104, .1);
    border: 1px solid rgba(197, 169, 104, .42);
    font-family: var(--font-secondary);
    font-size: .72rem;
    font-weight: 700;
    clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
}

.about-hero-content h1 {
    margin: 22px 0 15px;
    color: #fff;
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.15;
}

.about-hero-content p {
    max-width: 620px;
    color: rgba(255, 255, 255, .68);
    font-size: 1.05rem;
    line-height: 2;
}

.about-content,
.about-values,
.about-team,
.about-why {
    padding: clamp(64px, 8vw, 104px) 0;
}

.about-content {
    background: var(--beige-light);
}

.about-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(38px, 7vw, 92px);
}

.about-text .section-badge {
    margin-bottom: 20px;
}

.about-text h2 {
    margin-bottom: 19px;
    font-family: var(--font-secondary);
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.18;
}

.about-description {
    max-width: 650px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 2;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 30px 0;
}

.about-stat {
    padding: 15px 12px;
    background: rgba(197, 169, 104, .08);
    border: 1px solid rgba(197, 169, 104, .3);
    text-align: center;
    clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
}

.about-stat .stat-number {
    color: var(--gold-dark);
    font-family: var(--font-secondary);
    font-size: 1.8rem;
}

.about-stat .stat-label {
    color: var(--text-muted);
    font-size: .72rem;
}

.about-buttons {
    gap: 12px;
}

.about-image-wrapper {
    border: 1px solid rgba(197, 169, 104, .42);
    border-radius: 0;
    box-shadow: 18px 18px 0 rgba(197, 169, 104, .12), 0 22px 50px rgba(8, 9, 10, .16);
    clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
}

.about-image-wrapper img {
    height: clamp(350px, 38vw, 520px);
    filter: saturate(.82) contrast(1.04);
}

.about-image-badge {
    bottom: 22px;
    border-radius: 0;
    border-color: rgba(197, 169, 104, .5);
    color: var(--cyber-gold-bright);
    background: rgba(8, 9, 10, .88);
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

.about-values,
.about-why {
    background: #f8f7f3;
    background-image: linear-gradient(rgba(8, 9, 10, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 9, 10, .035) 1px, transparent 1px);
    background-size: 34px 34px;
}

.about-team {
    background: #0c0d0e;
    background-image: linear-gradient(rgba(197, 169, 104, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(197, 169, 104, .06) 1px, transparent 1px);
    background-size: 34px 34px;
}

.about-team .section-title,
.about-team .section-subtitle {
    color: #fff;
}

.values-grid,
.team-grid,
.why-grid {
    gap: 18px;
    margin-top: 38px;
}

.value-card,
.team-card,
.why-card {
    min-height: 100%;
    border: 1px solid rgba(197, 169, 104, .26);
    border-top: 2px solid var(--cyber-gold);
    background: rgba(255, 255, 255, .82);
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
}

.about-team .team-card {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(197, 169, 104, .3);
}

.value-card .value-icon,
.why-card .why-icon {
    color: var(--gold-dark);
    filter: drop-shadow(0 0 8px rgba(197, 169, 104, .2));
}

.about-team .team-card h3 {
    color: #fff;
}

.about-team .team-avatar {
    background: rgba(197, 169, 104, .16);
    border-color: var(--cyber-gold);
    color: var(--cyber-gold-bright);
}

.about-team .team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: skewX(6deg);
}

.about-team .team-card:hover .team-avatar img {
    transform: skewX(0deg) scale(1.05);
}

.about-team .empty-state {
    grid-column: 1 / -1;
    width: min(100%, 520px);
    margin-inline: auto;
    padding: 30px;
    color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(197, 169, 104, .25);
    text-align: center;
}

.about-team .team-role {
    color: rgba(255, 255, 255, .56);
}

.about-team .team-social a {
    color: rgba(255, 255, 255, .62);
    background: rgba(255, 255, 255, .06);
    border-color: rgba(197, 169, 104, .26);
}

.about-team .section-header .section-subtitle {
    color: rgba(255, 255, 255, .6);
}

@media (max-width: 768px) {
    .about-hero,
    .about-content,
    .about-values,
    .about-team,
    .about-why {
        text-align: center;
    }

    .about-hero-content,
    .about-hero-content p,
    .about-description {
        margin-inline: auto;
    }

    .about-hero-content h1 {
        font-size: clamp(2.25rem, 11vw, 3.3rem);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .about-stats {
        gap: 8px;
    }

    .about-buttons {
        justify-content: center;
    }

    .values-grid,
    .team-grid,
    .why-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .value-card,
    .team-card,
    .why-card {
        width: 100%;
        max-width: 390px;
    }
}

/* ============================================================
   29. SERVICES PAGE
   ============================================================ */
.content-section {
    padding: clamp(54px, 7vw, 94px) 0;
    background: var(--beige);
}

.services-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(197, 169, 104, .3);
}

.services-toolbar .section-badge {
    margin-bottom: 9px;
}

.services-toolbar p {
    margin: 0;
    color: var(--text-muted);
    font-size: .85rem;
}

.service-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.service-filter {
    min-height: 38px;
    padding: 7px 14px;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid rgba(197, 169, 104, .34);
    font-family: var(--font-secondary);
    font-size: .75rem;
    cursor: pointer;
    clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
    transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.service-filter:hover,
.service-filter.active {
    color: var(--cyber-ink);
    background: var(--cyber-gold-bright);
    border-color: var(--cyber-gold-bright);
}

.services-page .services-grid,
.content-section .services-grid {
    align-items: stretch;
}

.content-section .service-card {
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: 28px;
}

.content-section .service-card h2 {
    margin: 13px 0 8px;
    font-family: var(--font-secondary);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.3;
}

.content-section .service-card p {
    flex: 1;
    color: var(--text-secondary);
    line-height: 1.8;
}

.content-section .service-card .service-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--cyber-gold-dark);
    background: rgba(197, 169, 104, .1);
    border: 1px solid rgba(197, 169, 104, .35);
    clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
}

.content-section .service-card .service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0;
    padding-top: 14px;
    border-top: 1px solid rgba(197, 169, 104, .2);
}

.content-section .service-card .service-meta strong {
    color: var(--gold-dark);
    font-family: var(--font-secondary);
}

.content-section .service-card .btn {
    width: 100%;
}

.content-section .service-card.is-filtered-out {
    display: none;
}

.content-section .empty-state {
    grid-column: 1 / -1;
    max-width: 560px;
    margin: 0 auto;
    padding: 42px 24px;
    text-align: center;
}

@media (max-width: 768px) {
    .services-toolbar {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .service-filters {
        justify-content: center;
    }

    .content-section .service-card {
        min-height: 350px;
        text-align: center;
    }

    .content-section .service-card .service-icon {
        margin-inline: auto;
    }

    .content-section .service-card .section-badge {
        align-self: center;
    }

    .content-section .service-card .service-meta {
        justify-content: center;
    }
}

/* ============================================================
   30. SERVICE DETAIL PAGE
   ============================================================ */
.service-detail-page {
    min-height: 560px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    gap: 22px;
    align-items: stretch;
}

.detail-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 4vw, 46px);
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(197, 169, 104, .34);
    border-top: 2px solid var(--cyber-gold);
    box-shadow: 0 18px 44px rgba(8, 9, 10, .08);
    clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
}

.detail-panel::after {
    position: absolute;
    right: -30px;
    bottom: -35px;
    width: 130px;
    height: 130px;
    content: '';
    border: 1px solid rgba(197, 169, 104, .16);
    transform: rotate(45deg);
    pointer-events: none;
}

.detail-panel-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 24px;
}

.detail-panel-heading .service-icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    color: var(--cyber-gold-dark);
    background: rgba(197, 169, 104, .12);
    border: 1px solid rgba(197, 169, 104, .35);
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

.detail-panel-heading .section-badge {
    margin: 0;
}

.detail-panel h2 {
    margin: 0 0 13px;
    font-family: var(--font-secondary);
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    line-height: 1.25;
}

.detail-description {
    max-width: 680px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 2;
}

.detail-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 30px 0;
}

.detail-facts > div {
    display: grid;
    gap: 6px;
    padding: 15px 17px;
    background: rgba(197, 169, 104, .09);
    border: 1px solid rgba(197, 169, 104, .28);
    clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
}

.detail-facts span {
    color: var(--text-muted);
    font-size: .72rem;
}

.detail-facts strong {
    color: var(--gold-dark);
    font-family: var(--font-secondary);
    font-size: 1.15rem;
}

.detail-facts small {
    font-size: .7rem;
}

.detail-main-panel > .btn {
    position: relative;
    z-index: 1;
}

.related-panel {
    background: #0c0d0e;
    border-color: rgba(197, 169, 104, .3);
    color: #fff;
}

.related-heading .section-badge {
    margin-bottom: 16px;
}

.related-heading h3 {
    margin: 0 0 22px;
    color: #fff;
    font-family: var(--font-secondary);
    font-size: 1.4rem;
}

.related-list {
    display: grid;
    gap: 9px;
}

.related-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 15px;
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(197, 169, 104, .18);
    clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
    transition: color .25s ease, background .25s ease, transform .25s ease;
}

.related-link span {
    display: grid;
    gap: 4px;
}

.related-link small {
    color: var(--cyber-gold-bright);
    font-size: .65rem;
}

.related-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--cyber-gold-bright);
}

.related-link:hover {
    color: var(--cyber-ink);
    background: var(--cyber-gold-bright);
    transform: translateX(-4px);
}

.related-link:hover small,
.related-link:hover svg {
    color: var(--cyber-ink);
}

@media (max-width: 768px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-panel {
        padding: 25px 20px;
        text-align: center;
    }

    .detail-panel-heading,
    .detail-facts {
        justify-content: center;
    }

    .detail-panel-heading {
        flex-direction: column;
    }

    .detail-facts {
        text-align: center;
    }

    .detail-main-panel > .btn {
        width: 100%;
    }

    .related-link {
        text-align: start;
    }
}

/* ============================================================
   31. PROJECTS PAGE
   ============================================================ */
.projects-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(197, 169, 104, .3);
}

.projects-toolbar .section-badge {
    margin-bottom: 9px;
}

.projects-toolbar p {
    margin: 0;
    color: var(--text-muted);
    font-size: .85rem;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.project-filter {
    min-height: 38px;
    padding: 7px 14px;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid rgba(197, 169, 104, .34);
    font-family: var(--font-secondary);
    font-size: .75rem;
    cursor: pointer;
    clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
    transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.project-filter:hover,
.project-filter.active {
    color: var(--cyber-ink);
    background: var(--cyber-gold-bright);
    border-color: var(--cyber-gold-bright);
}

.content-section .projects-grid {
    align-items: stretch;
}

.content-section .project-card {
    min-height: 390px;
    border-top: 2px solid var(--cyber-gold);
    clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
}

.content-section .project-card a {
    display: block;
    height: 100%;
}

.content-section .project-card img,
.content-section .project-placeholder {
    height: 390px;
}

.content-section .project-placeholder {
    display: grid;
    place-content: center;
    gap: 10px;
    color: var(--gold-dark);
    background: linear-gradient(145deg, #e9e7df, #d7d1c4);
    text-align: center;
}

.content-section .project-placeholder svg {
    width: 34px;
    height: 34px;
    margin: auto;
}

.content-section .project-card .project-overlay {
    padding: 24px 22px;
    background: linear-gradient(transparent, rgba(8, 9, 10, .94) 35%);
}

.content-section .project-card h2 {
    margin: 8px 0 5px;
    color: #fff;
    font-family: var(--font-secondary);
    font-size: clamp(1.4rem, 2.3vw, 2rem);
}

.content-section .project-card.is-filtered-out {
    display: none;
}

@media (max-width: 768px) {
    .projects-toolbar {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .project-filters {
        justify-content: center;
    }

    .content-section .project-card,
    .content-section .project-card img,
    .content-section .project-placeholder {
        min-height: 340px;
        height: 340px;
    }
}

/* ============================================================
   32. PROJECT DETAIL PAGE
   ============================================================ */
.project-detail-page {
    min-height: 620px;
}

.project-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
    gap: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(197, 169, 104, .34);
    border-top: 2px solid var(--cyber-gold);
    box-shadow: 0 20px 48px rgba(8, 9, 10, .1);
    clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-content: start;
    padding: 14px;
    background: #151617;
}

.project-gallery-item {
    position: relative;
    min-height: 180px;
    margin: 0;
    overflow: hidden;
    background: #252729;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

.project-gallery-item:first-child {
    grid-column: 1 / -1;
    min-height: 350px;
}

.project-gallery-item img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.project-gallery-item video {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    object-fit: cover;
    background: #08090a;
}

.project-gallery-item:hover img {
    transform: scale(1.04);
}

.project-gallery-item figcaption {
    position: absolute;
    right: 12px;
    bottom: 10px;
    left: 12px;
    padding: 7px 9px;
    color: #fff;
    background: rgba(8, 9, 10, .72);
    font-size: .7rem;
}

.project-gallery .project-placeholder {
    display: grid;
    min-height: 470px;
    grid-column: 1 / -1;
    place-content: center;
    gap: 12px;
    color: var(--cyber-gold-bright);
    text-align: center;
}

.project-gallery .project-placeholder svg {
    width: 38px;
    height: 38px;
    margin: auto;
}

.project-detail-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 58px);
}

.project-detail-copy .project-tag {
    align-self: flex-start;
    margin-bottom: 16px;
    color: var(--gold-dark);
    font-family: var(--font-secondary);
    font-size: .72rem;
    font-weight: 700;
}

.project-detail-copy h2 {
    margin: 0 0 15px;
    font-family: var(--font-secondary);
    font-size: clamp(1.9rem, 3.3vw, 3.2rem);
    line-height: 1.2;
}

.project-detail-copy > p {
    color: var(--text-secondary);
    line-height: 2;
}

.project-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 28px 0 10px;
}

.project-facts > div {
    display: grid;
    gap: 6px;
    padding: 13px;
    background: rgba(197, 169, 104, .1);
    border: 1px solid rgba(197, 169, 104, .28);
}

.project-facts span {
    color: var(--text-muted);
    font-size: .7rem;
}

.project-facts strong {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gold-dark);
    font-family: var(--font-secondary);
    font-size: .95rem;
}

.project-facts svg {
    width: 15px;
    height: 15px;
}

.project-progress {
    height: 4px;
    margin-bottom: 27px;
    overflow: hidden;
    background: rgba(8, 9, 10, .1);
}

.project-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--cyber-gold), var(--cyber-gold-bright));
}

.project-detail-copy .btn {
    align-self: flex-start;
}

.related-projects {
    margin-top: 74px;
}

.related-projects .section-header {
    margin-bottom: 28px;
}

.related-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.related-project-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px;
    color: var(--text-primary);
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(197, 169, 104, .3);
    font-family: var(--font-secondary);
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
    transition: transform .25s ease, color .25s ease, background .25s ease;
}

.related-project-link svg {
    width: 17px;
    height: 17px;
    color: var(--gold-dark);
}

.related-project-link:hover {
    color: var(--cyber-ink);
    background: var(--cyber-gold-bright);
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .project-detail-shell {
        grid-template-columns: 1fr;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-gallery-item:first-child {
        min-height: 260px;
    }

    .project-gallery-item {
        min-height: 190px;
    }

    .project-detail-copy {
        padding: 30px 20px;
        text-align: center;
    }

    .project-detail-copy .project-tag,
    .project-detail-copy .btn {
        align-self: center;
    }

    .project-facts {
        text-align: center;
    }

    .project-facts strong {
        justify-content: center;
    }

    .related-project-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   24. MODERN ARABIC TYPE + HEADER FINISH
   ============================================================ */
:root {
    --font-primary: 'Cairo', sans-serif;
    --font-secondary: 'Tajawal', 'Cairo', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.nav-links a,
.btn,
.lang-toggle,
.audio-toggle,
.mobile-bottom-nav a {
    font-family: var(--font-secondary);
}

.site-header {
    isolation: isolate;
    background: linear-gradient(180deg, rgba(9, 10, 11, .97), rgba(9, 10, 11, .88));
    border-bottom-color: rgba(197, 169, 104, .28);
    box-shadow: 0 10px 34px rgba(0, 0, 0, .14);
}

.site-header::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: '';
    opacity: .18;
    background: repeating-linear-gradient(180deg, transparent 0, transparent 3px, rgba(255, 255, 255, .035) 4px);
}

.site-header::after {
    position: absolute;
    right: 8%;
    bottom: -1px;
    left: 8%;
    height: 1px;
    content: '';
    background: linear-gradient(90deg, transparent, var(--cyber-gold-bright), transparent);
    opacity: .6;
    transform: scaleX(.55);
    transition: transform .55s ease, opacity .55s ease;
}

.site-header:hover::after,
.site-header.scrolled::after {
    opacity: 1;
    transform: scaleX(1);
}

.site-header .nav {
    transition: min-height .35s ease;
}

.site-header.scrolled .nav {
    min-height: 44px;
}

.nav-links a {
    letter-spacing: .01em;
    transition: color .25s ease, transform .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    transform: translateY(-1px);
}

.nav-links a::after {
    bottom: -10px;
    width: 0;
    height: 2px;
    box-shadow: 0 0 12px var(--cyber-gold-bright);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 22px;
}

@media (max-width: 768px) {
    .site-header::after {
        right: 18px;
        left: 18px;
    }

    .nav-links a::after {
        display: none;
    }
}

/* ============================================================
   25. DISTINCTIVE SECTION HEADINGS
   ============================================================ */
.section-header {
    position: relative;
    max-width: 820px;
    margin-bottom: clamp(38px, 6vw, 64px);
    padding-top: 18px;
}

.section-header::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 74px;
    height: 2px;
    content: '';
    background: linear-gradient(90deg, transparent, var(--cyber-gold-bright), transparent);
    transform: translateX(-50%);
}

.section-header .section-badge,
.page-hero .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 7px 13px;
    color: var(--cyber-gold-bright);
    background: rgba(197, 169, 104, .09);
    border: 1px solid rgba(197, 169, 104, .4);
    font-family: var(--font-secondary);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.2;
    clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
}

.section-header .section-badge::before,
.section-header .section-badge::after {
    width: 5px;
    height: 5px;
    background: var(--cyber-gold-bright);
    transform: rotate(45deg);
}

.section-header .section-title {
    position: relative;
    margin: 0 auto 17px;
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
}

.section-header .section-title::after {
    display: block;
    width: 54px;
    height: 3px;
    margin: 17px auto 0;
    content: '';
    background: linear-gradient(90deg, var(--cyber-gold), var(--cyber-gold-bright));
    clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 7px 100%);
}

.section-header .section-subtitle {
    max-width: 590px;
    color: var(--text-secondary);
    font-size: .98rem;
    line-height: 1.9;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 9vw, 112px) 0 clamp(52px, 7vw, 82px);
    background: linear-gradient(135deg, #0b0c0d 0%, #171614 58%, #252019 100%);
    border-bottom: 1px solid rgba(197, 169, 104, .28);
}

.page-hero::after {
    position: absolute;
    right: 8%;
    bottom: 0;
    width: 170px;
    height: 2px;
    content: '';
    background: linear-gradient(90deg, transparent, var(--cyber-gold-bright));
}

.page-hero h1 {
    max-width: 850px;
    margin: 12px 0 10px;
    color: #fff;
    font-family: var(--font-secondary);
    font-size: clamp(2.15rem, 5vw, 4.3rem);
    line-height: 1.18;
}

.page-hero p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .66);
    font-size: 1rem;
    line-height: 1.9;
}

@media (max-width: 768px) {
    .section-header {
        padding-top: 14px;
    }

    .section-header .section-title {
        font-size: clamp(1.85rem, 9vw, 2.65rem);
    }

    .section-header .section-subtitle {
        font-size: .9rem;
    }

    .page-hero {
        padding: 48px 0 46px;
    }

    .page-hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }
}

/* ============================================================
   27. FOOTER REFINEMENT
   ============================================================ */
.footer {
    position: relative;
    overflow: hidden;
    padding: clamp(58px, 8vw, 92px) 0 22px;
    background: linear-gradient(145deg, #08090a 0%, #101112 62%, #17130d 100%);
    border-top: 1px solid rgba(197, 169, 104, .3);
}

.footer::before {
    position: absolute;
    top: 0;
    right: 7%;
    left: 7%;
    height: 1px;
    content: '';
    background: linear-gradient(90deg, transparent, var(--cyber-gold-bright), transparent);
    opacity: .7;
}

.footer::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 36%;
    height: 100%;
    pointer-events: none;
    content: '';
    opacity: .18;
    background: repeating-linear-gradient(135deg, transparent 0, transparent 11px, rgba(197, 169, 104, .1) 12px, transparent 13px);
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    grid-template-columns: minmax(240px, 1.7fr) repeat(2, minmax(140px, 1fr)) minmax(220px, 1.35fr);
    gap: clamp(28px, 5vw, 68px);
    margin-bottom: 48px;
}

.footer-brand {
    padding-inline-end: 28px;
    border-inline-end: 1px solid rgba(197, 169, 104, .2);
}

.footer-brand .logo {
    display: inline-flex;
    margin-bottom: 18px;
}

.footer-brand .logo .logo-image {
    width: 176px;
    height: 62px;
    object-fit: cover;
}

.footer-brand p {
    max-width: 320px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .58);
    font-size: .82rem;
    line-height: 2;
}

.footer h4 {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 19px;
    color: #fff;
    font-family: var(--font-secondary);
    font-size: .86rem;
    letter-spacing: .02em;
    text-transform: none;
}

.footer h4::before {
    width: 6px;
    height: 6px;
    content: '';
    background: var(--cyber-gold-bright);
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(240, 213, 142, .45);
}

.footer-links a {
    position: relative;
    width: fit-content;
    padding: 6px 0;
    color: rgba(255, 255, 255, .52);
    font-size: .8rem;
    transition: color .25s ease, padding .25s ease;
}

.footer-links a::after {
    position: absolute;
    right: 0;
    bottom: 1px;
    left: 0;
    height: 1px;
    content: '';
    background: var(--cyber-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}

.footer-links a:hover {
    padding-inline-start: 7px;
    color: var(--cyber-gold-bright);
}

.footer-links a:hover::after {
    transform: scaleX(1);
}

.footer-contact p {
    gap: 11px;
    margin-bottom: 11px;
    color: rgba(255, 255, 255, .54);
    font-size: .79rem;
}

.footer-contact p a {
    color: rgba(255, 255, 255, .62);
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--cyber-gold-bright);
    stroke-width: 1.7;
}

.footer-social {
    gap: 8px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(197, 169, 104, .28);
    border-radius: 0;
    background: rgba(255, 255, 255, .035);
    clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}

.footer-social a:hover {
    background: var(--cyber-gold-bright);
    color: var(--cyber-ink);
    border-color: var(--cyber-gold-bright);
    transform: translateY(-4px);
}

.footer-cta .btn {
    min-height: 40px;
    padding: 9px 16px;
    font-size: .7rem;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    padding-top: 20px;
    color: rgba(255, 255, 255, .38);
    border-top-color: rgba(197, 169, 104, .18);
    font-size: .7rem;
}

.footer-bottom a {
    color: var(--cyber-gold);
}

.footer-credit i {
    color: var(--cyber-gold-bright);
}

@media (max-width: 1024px) {
    .footer-brand {
        padding-inline-end: 0;
        border-inline-end: 0;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 24px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

/* ============================================================
   26. MOTION SYSTEM
   ============================================================ */
@keyframes heroContentIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes headingIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slide.active .hero-content > * {
    opacity: 0;
    animation: heroContentIn .72s cubic-bezier(.2, .75, .25, 1) forwards;
}

.hero-slide.active .hero-content > :nth-child(1) { animation-delay: .08s; }
.hero-slide.active .hero-content > :nth-child(2) { animation-delay: .16s; }
.hero-slide.active .hero-content > :nth-child(3) { animation-delay: .24s; }
.hero-slide.active .hero-content > :nth-child(4) { animation-delay: .32s; }
.hero-slide.active .hero-content > :nth-child(5) { animation-delay: .40s; }

.section-header,
.page-hero .container {
    animation: headingIn .8s cubic-bezier(.2, .75, .25, 1) both;
}

.section-header::before {
    animation: accentPulse 2.8s ease-in-out infinite;
}

@keyframes accentPulse {
    0%, 100% { opacity: .5; transform: translateX(-50%) scaleX(.72); }
    50% { opacity: 1; transform: translateX(-50%) scaleX(1); }
}

.services-grid .service-card,
.projects-grid .project-card,
.stats-grid .stat-item,
.process-step,
.why-card {
    animation: cardIn .7s cubic-bezier(.2, .75, .25, 1) both;
}

.services-grid > :nth-child(1), .projects-grid > :nth-child(1), .stats-grid > :nth-child(1) { animation-delay: .08s; }
.services-grid > :nth-child(2), .projects-grid > :nth-child(2), .stats-grid > :nth-child(2) { animation-delay: .16s; }
.services-grid > :nth-child(3), .projects-grid > :nth-child(3), .stats-grid > :nth-child(3) { animation-delay: .24s; }
.services-grid > :nth-child(4), .projects-grid > :nth-child(4), .stats-grid > :nth-child(4) { animation-delay: .32s; }
.services-grid > :nth-child(5), .projects-grid > :nth-child(5) { animation-delay: .40s; }
.services-grid > :nth-child(6), .projects-grid > :nth-child(6) { animation-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
    .hero-slide.active .hero-content > *,
    .section-header,
    .page-hero .container,
    .services-grid .service-card,
    .projects-grid .project-card,
    .stats-grid .stat-item,
    .process-step,
    .why-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
}