/* ==========================================================================
   MohandesChi V3 — Master Architectural Design System & Hybrid Parallax
   Owner & Lead Designer: Atife Dehdarian, Architect (مهندس عاطفه دهداریان)
   Direction: Alternating Dark & Light Architectural Sections, Cinematic Storytelling,
              Hybrid Layered Parallax, 10% Gold Accent (#F6BD48)
   ========================================================================== */

@font-face {
    font-family: 'Vazirmatn';
    src: url('/fonts/Vazirmatn-VF.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('/fonts/Estedad-VF.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* 1. Deep Architectural Charcoal & Obsidian (Dark Surfaces) */
    --mc-obsidian: #0D0E11;
    --mc-charcoal: #15171C;
    --mc-slate: #1C1F26;
    --mc-slate-elevated: #252A34;
    --mc-dark-border: rgba(255, 255, 255, 0.09);
    --mc-dark-bg: #0D0E11;
    --mc-dark-card: #15171C;
    --mc-dark-hover: rgba(255, 255, 255, 0.08);
    --mc-black: #080808;
    --mc-white: #FFFFFF;
    --mc-gray-200: #E3E3E4;
    --mc-gray-300: #D1D3D8;
    --mc-gray-400: #9EA3AE;
    --mc-gray-500: #8A8E99;
    --mc-gray-600: #6B707C;
    --mc-gray-700: #4A4E59;

    /* 2. Natural Stone, Concrete & Neutrals */
    --mc-concrete: #8A8E99;
    --mc-stone-warm: #D5CFCE;
    --mc-stone-light: #E4E1DB;
    --mc-stone-border: rgba(138, 142, 153, 0.24);

    /* 3. Warm Pearl White & Off-White (Light Business Sections) */
    --mc-pearl-white: #F9F8F6;
    --mc-offwhite: #EFEFEA;
    --mc-light-card: #FFFFFF;
    --mc-light-text: #15171C;
    --mc-light-muted: #555A68;
    --mc-light-border: rgba(21, 23, 28, 0.10);

    /* 4. Official MohandesChi Gold Accent (~10% visual emphasis) */
    --mc-gold: #F6BD48;
    --mc-gold-hover: #E5AD38;
    --mc-gold-active: #CFA02E;
    --mc-gold-dim: rgba(246, 189, 72, 0.14);
    --mc-gold-glow: 0 0 24px rgba(246, 189, 72, 0.28);

    /* 5. Translucent Floating Glassmorphism Header (Borderless, Charcoal Alpha) */
    --header-bg: rgba(21, 23, 28, 0.56);
    --header-bg-light: rgba(21, 23, 28, 0.78);
    --header-blur: blur(20px);
    --header-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
    --header-radius: 9999px;

    /* 6. Responsive Type Scale & Layout Rhythm (Locally Hosted Vazirmatn Persian UI) */
    --font-heading-fa: 'Vazirmatn', 'Estedad', system-ui, -apple-system, sans-serif;
    --font-body-fa: 'Vazirmatn', system-ui, -apple-system, sans-serif;
    --font-heading-en: 'Inter', system-ui, -apple-system, sans-serif;
    --font-tall-en: 'Bebas Neue', 'Inter', sans-serif;
    --font-body-en: 'Inter', system-ui, -apple-system, sans-serif;
    --fs-h1: clamp(40px, 3.2vw, 48px);              /* 40-48px desktop */
    --fs-h2: clamp(28px, 2.2vw, 32px);              /* 28-32px desktop */
    --fs-card-title: 19px;                          /* 18-20px desktop */
    --fs-body: 16px;                                /* 15-16px desktop */
    --fs-support: 13.5px;                           /* 13-14px both */
    --lh-heading: 1.32;
    --lh-body: 1.75;
    --mc-container-max: 1280px;
    --mc-section-py: clamp(4rem, 6.5vw, 6rem);
}

@media (max-width: 767px) {
    :root {
        --fs-h1: clamp(28px, 7.5vw, 32px);          /* 28-32px mobile */
        --fs-h2: clamp(22px, 5.8vw, 26px);          /* 22-26px mobile */
        --fs-card-title: 17px;                      /* 16-18px mobile */
        --fs-body: 15px;                            /* 14-16px mobile */
        --fs-support: 13.5px;                       /* 13-14px mobile */
    }
}

/* Base Body Styles */
html, body {
    background-color: var(--mc-dark-bg);
    color: var(--mc-white);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: clip; /* Prevents horizontal scrollbar without breaking position: sticky */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Bidirectional Typography (700 headings, 600 buttons, 400 body)
   Overrides Bootstrap --bs-body-font-family so inputs/selects/buttons inherit Vazirmatn */
[dir="rtl"] {
    --bs-body-font-family: var(--font-body-fa);
    --bs-font-sans-serif: var(--font-body-fa);
    font-family: var(--font-body-fa);
    font-weight: 400;
}

[dir="rtl"] body {
    font-size: var(--fs-body);
}

[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] a,
[dir="rtl"] li,
[dir="rtl"] span,
[dir="rtl"] label,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea,
[dir="rtl"] button,
[dir="rtl"] .btn,
[dir="rtl"] .form-control,
[dir="rtl"] .form-select,
[dir="rtl"] .accordion-button,
[dir="rtl"] footer {
    font-family: var(--font-body-fa);
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
    font-family: var(--font-heading-fa);
    font-weight: 700;
    letter-spacing: -0.015em;
}

[dir="ltr"] {
    --bs-body-font-family: var(--font-body-en);
    --bs-font-sans-serif: var(--font-body-en);
    font-family: var(--font-body-en);
    font-weight: 400;
    font-size: var(--fs-body);
}

[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3,
[dir="ltr"] h4, [dir="ltr"] h5, [dir="ltr"] h6 {
    font-family: var(--font-heading-en);
    font-weight: 700;
}

button, .btn, .mc-btn-gold, .mc-btn-hero-secondary, .mc-btn-outline-light-pill, .mc-btn-outline-dark-pill {
    font-weight: 600;
    min-height: 44px;
}

.mc-support-text {
    font-size: var(--fs-support);
    line-height: 1.65;
}

/* ==========================================================================
   Mandatory Custom Header (Owner Approved Design)
   - Semi-transparent glassmorphism with backdrop blur
   - Fully rounded corners (pill)
   - ABSOLUTELY NO BORDER, NO OUTLINE, NO STROKE, NO SURROUNDING LINE/STRIP
   - Subtle controlled shadow
   - Floating positioning with elegant spacing
   ========================================================================== */
.mc-floating-header-wrapper {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 0 20px;
    pointer-events: none;
}

.mc-glass-header {
    pointer-events: auto;
    max-width: 1360px;
    margin: 0 auto;
    background: var(--header-bg);
    backdrop-filter: var(--header-blur);
    -webkit-backdrop-filter: var(--header-blur);
    border-radius: var(--header-radius);

    /* Strict Owner Rule: Absolutely NO border, NO outline, NO decorative strip */
    border: none !important;
    outline: none !important;
    box-shadow: var(--header-shadow);

    padding: 10px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(20px)) {
    .mc-glass-header {
        background: rgba(21, 23, 28, 0.94);
    }
    .mc-glass-header.is-light {
        background: rgba(249, 248, 246, 0.94);
    }
}

/* Header Brand Logo Integration */
.mc-header-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
    max-width: 155px;
}

.mc-header-logo img {
    max-height: 30px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.mc-header-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border: none;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mc-header-lang-btn:hover,
.mc-header-lang-btn:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
}

.mc-header-nav-wrap {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
}

/* Header Navigation Links */
.mc-header-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 9999px;
    position: relative;
}

.mc-header-nav a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 9999px;
    transition: color 0.2s ease, background-color 0.2s ease;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    z-index: 2;
}

.mc-header-nav a:hover,
.mc-header-nav a:focus-visible {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.10);
}

.mc-header-nav a.mc-nav-legal {
    color: var(--mc-gold);
}

.mc-header-nav a.active {
    color: var(--mc-obsidian);
    background: #FFFFFF;
    font-weight: 600;
}

.mc-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.mc-header-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border: none;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mc-header-auth-btn:hover,
.mc-header-auth-btn:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
}

.mc-header-cta {
    padding: 7px 18px;
    font-size: 0.84rem;
    white-space: nowrap;
}

/* Mobile Header Hamburger Button */
.mc-header-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--mc-white);
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mc-header-menu-btn:hover,
.mc-header-menu-btn:focus-visible {
    background: rgba(255, 255, 255, 0.18);
}

.mc-drawer-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #FFFFFF;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mc-drawer-close-btn:hover,
.mc-drawer-close-btn:focus-visible {
    background: rgba(246, 189, 72, 0.2);
    color: var(--mc-gold);
}

/* Mobile Offcanvas Navigation Drawer */
.mc-mobile-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    background: rgba(12, 12, 12, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    z-index: 1100;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .mc-mobile-drawer {
    left: auto;
    right: 0;
    transform: translateX(100%);
}

.mc-mobile-drawer.is-open {
    transform: translateX(0);
}

.mc-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1090;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mc-drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mc-mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mc-mobile-nav-links a {
    color: var(--mc-gray-200);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.mc-mobile-nav-links a:hover,
.mc-mobile-nav-links a.active {
    color: var(--mc-gold);
    background: rgba(246, 189, 72, 0.08);
}

/* Gold Accent Highlight (approx 10% visual emphasis) */
.mc-gold-accent {
    color: var(--mc-gold) !important;
}

.mc-badge-gold {
    background-color: var(--mc-gold-dim);
    color: var(--mc-gold);
    border: 1px solid rgba(246, 189, 72, 0.3);
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Citadel Button Styling */
.mc-btn-gold {
    background-color: var(--mc-gold);
    color: var(--mc-black);
    font-weight: 600;
    border-radius: 9999px;
    padding: 8px 22px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mc-btn-gold:hover {
    background-color: var(--mc-gold-hover);
    color: var(--mc-black);
    box-shadow: var(--mc-gold-glow);
    transform: translateY(-1px);
}

.mc-btn-ghost {
    background: transparent;
    color: var(--mc-gray-300);
    border-radius: 9999px;
    padding: 8px 18px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mc-btn-ghost:hover {
    color: var(--mc-white);
    background: var(--mc-dark-hover);
}

/* Language Selector Pill */
.mc-lang-selector {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 9999px;
    padding: 3px;
    gap: 2px;
}

.mc-lang-btn {
    border: none;
    background: transparent;
    color: var(--mc-gray-400);
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mc-lang-btn.active, .mc-lang-btn:hover {
    color: var(--mc-black);
    background: var(--mc-gold);
}

/* ==========================================================================
   Alternating Light & Warm Stone Architectural Sections (Owner Directive)
   - Breaks monochrome dark fatigue
   - Warm stone, pearl white and concrete surfaces for business functionality
   ========================================================================== */
.mc-section-light {
    background-color: var(--mc-pearl-white);
    color: var(--mc-light-text);
    padding: 110px 0;
    position: relative;
    border-top: 1px solid var(--mc-stone-border);
    border-bottom: 1px solid var(--mc-stone-border);
}

.mc-section-light .mc-section-title {
    color: var(--mc-light-text);
}

.mc-section-light .mc-section-subtitle {
    color: #9E7419;
}

.mc-section-warm-stone {
    background-color: var(--mc-offwhite);
    color: var(--mc-light-text);
    padding: 100px 0;
    position: relative;
}

.mc-card-light {
    background: var(--mc-light-card);
    border: 1px solid var(--mc-light-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(13, 14, 17, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    height: 100%;
}

.mc-card-light:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(13, 14, 17, 0.09);
    border-color: rgba(246, 189, 72, 0.5);
}

/* ==========================================================================
   Cinematic Architectural Entrance Simulator (Hybrid Layered Parallax)
   - Scene 1: Exterior establishing shot
   - Scene 2: Approaching the building
   - Scene 3: Main entrance reveal
   - Scene 4: Camera entering the building
   - Scene 5: Interior architectural reveal
   - Scene 6: Transition into MohandesChi brand storytelling
   ========================================================================== */
.mc-entrance-hero {
    position: relative;
    min-height: 100vh;
    background-color: var(--mc-obsidian);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-entrance-stage {
    position: absolute;
    inset: 0;
    perspective: 1200px;
    overflow: hidden;
    pointer-events: none;
}

/* Independent Parallax Depth Layers */
.mc-layer-bg {
    position: absolute;
    inset: -60px;
    background-size: cover;
    background-position: center;
    transition: transform 0.1s linear, opacity 0.5s ease;
    will-change: transform;
}

.mc-layer-mg {
    position: absolute;
    inset: -30px;
    background-size: cover;
    background-position: center;
    transition: transform 0.1s linear, opacity 0.5s ease;
    will-change: transform;
}

.mc-layer-fg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: transform 0.1s linear, opacity 0.5s ease;
    will-change: transform;
}

/* Interactive Storyboard Scene Selector Pills */
.mc-storyboard-controller {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 14, 17, 0.85);
    backdrop-filter: blur(16px);
    padding: 6px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-width: 90vw;
    overflow-x: auto;
}

.mc-scene-nav-btn {
    border: none;
    background: transparent;
    color: var(--mc-concrete);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 9999px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.mc-scene-nav-btn:hover, .mc-scene-nav-btn.active {
    background: var(--mc-gold);
    color: var(--mc-obsidian);
}

/* ==========================================================================
   Specialized Construction Legal Services (Prestigious Slate Architecture)
   ========================================================================== */
.mc-legal-section {
    background-color: var(--mc-charcoal);
    color: var(--mc-pearl-white);
    padding: 120px 0;
    position: relative;
    border-top: 1px solid var(--mc-dark-border);
    border-bottom: 1px solid var(--mc-dark-border);
}

.mc-legal-card {
    background: var(--mc-slate);
    border: 1px solid rgba(246, 189, 72, 0.2);
    border-radius: 20px;
    padding: 36px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mc-legal-card:hover {
    background: var(--mc-slate-elevated);
    border-color: var(--mc-gold);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.mc-legal-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(246, 189, 72, 0.12);
    color: var(--mc-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mc-legal-card:hover .mc-legal-icon-wrap {
    transform: rotateY(360deg);
}

/* ==========================================================================
   Before / After Renovation Comparison Slider (Livspace Reference)
   ========================================================================== */
.mc-before-after-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    user-select: none;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.mc-ba-img-before, .mc-ba-img-after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.mc-ba-img-before {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    transition: clip-path 0.1s ease-out;
}

.mc-ba-divider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--mc-gold);
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
}

.mc-ba-divider-pill {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--mc-gold);
    color: var(--mc-obsidian);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    font-size: 0.9rem;
}

/* Adaptive Floating Header when passing light sections — Translucent Charcoal Glass
   Preserves original metallic logo contrast while keeping background visibly blurred */
.mc-glass-header.is-light {
    background: var(--header-bg-light);
    backdrop-filter: var(--header-blur);
    -webkit-backdrop-filter: var(--header-blur);
    box-shadow: 0 14px 36px rgba(13, 14, 17, 0.22);
}

.mc-glass-header.is-light .mc-header-nav {
    background: rgba(255, 255, 255, 0.07);
}

.mc-glass-header.is-light .mc-header-nav a {
    color: rgba(255, 255, 255, 0.92);
}

.mc-glass-header.is-light .mc-header-nav a:hover,
.mc-glass-header.is-light .mc-header-nav a:focus-visible {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.14);
}

.mc-glass-header.is-light .mc-header-nav a.mc-nav-legal {
    color: var(--mc-gold);
}

.mc-glass-header.is-light .mc-header-nav a.active {
    color: var(--mc-obsidian);
    background: #FFFFFF;
}

.mc-glass-header.is-light .mc-header-auth-btn,
.mc-glass-header.is-light .mc-header-lang-btn,
.mc-glass-header.is-light .mc-header-menu-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

.mc-glass-header.is-light .mc-header-auth-btn:hover,
.mc-glass-header.is-light .mc-header-lang-btn:hover,
.mc-glass-header.is-light .mc-header-menu-btn:hover {
    background: rgba(255, 255, 255, 0.20);
    color: #FFFFFF;
}

/* ==========================================================================
   Interactive Magnetic Pointer & Custom Cursor (Video 2 Reference)
   ========================================================================== */
.mc-cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
    mix-blend-mode: difference;
    display: none; /* Shown via JS on pointer devices */
}

.mc-cursor-follower.is-hovering {
    width: 56px;
    height: 56px;
    background: rgba(246, 189, 72, 0.25);
    border-color: var(--mc-gold);
}

/* ==========================================================================
   Hero Section (Citadel Scrubbed Parallax Reference)
   ========================================================================== */
.mc-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 24px 60px;
    background-color: var(--mc-black);
}

/* ==========================================================================
   Opening Villa Hero (First Viewport beneath Floating Glass Header)
   CSS Sticky Viewport + GSAP ScrollTrigger Normalized Progress Scrubbing
   ========================================================================== */
.mc-opening-villa-hero {
    position: relative;
    width: 100%;
    height: 280vh; /* 100vh viewport + 180vh scroll travel */
    background-color: var(--mc-obsidian, #0D0E11);
    box-sizing: border-box;
}

.mc-opening-villa-hero.is-fallback {
    height: 100vh !important;
    height: 100svh !important;
}

.mc-villa-sticky-viewport {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background-color: #080808;
    z-index: 10;
}

.mc-villa-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    opacity: 1;
    pointer-events: none;
}

.mc-villa-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
    filter: brightness(0.86) contrast(1.06);
    background-color: transparent;
}

.mc-villa-video.is-ready {
    opacity: 1;
}

.mc-opening-villa-hero.is-fallback .mc-villa-video {
    display: none !important;
}

.mc-villa-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(13, 14, 17, 0.16) 0%, rgba(13, 14, 17, 0.72) 100%);
    z-index: 3;
    pointer-events: none;
}

.mc-villa-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 240px;
    background: linear-gradient(0deg, rgba(13, 14, 17, 0.92) 0%, rgba(13, 14, 17, 0) 100%);
    z-index: 4;
    pointer-events: none;
}

.mc-hero-content-wrap {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 120px 24px 36px;
    pointer-events: none;
}

.mc-hero-inner {
    max-width: 780px;
    margin-bottom: clamp(2.25rem, 6vh, 4.5rem);
    pointer-events: auto;
}

.mc-hero-villa-title {
    font-family: var(--font-heading-fa);
    font-size: var(--fs-h1);
    font-weight: 700;
    line-height: var(--lh-heading);
    color: #FFFFFF;
    margin: 0 0 28px;
    letter-spacing: -0.015em;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.75);
}

[dir="ltr"] .mc-hero-villa-title {
    font-family: var(--font-heading-en);
}

.mc-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mc-hero-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
}

.mc-btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 9999px;
    background: rgba(21, 23, 28, 0.56);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.28);
    text-decoration: none;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.mc-btn-hero-secondary:hover,
.mc-btn-hero-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--mc-gold);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.mc-scroll-cue {
    pointer-events: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s ease;
}

.mc-scroll-cue:hover {
    color: var(--mc-gold);
}

.mc-scroll-cue-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.mc-scroll-cue-line {
    width: 1.5px;
    height: 30px;
    background: linear-gradient(180deg, var(--mc-gold) 0%, rgba(246, 189, 72, 0) 100%);
    animation: mcScrollPulse 2s ease-in-out infinite;
}

@keyframes mcScrollPulse {
    0%, 100% { transform: scaleY(0.7); opacity: 0.55; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* Tablet & Mobile Villa Framing */
@media (max-width: 991px) {
    .mc-opening-villa-hero {
        height: 220vh;
    }
}

@media (max-width: 767px) {
    .mc-opening-villa-hero {
        height: 185vh; /* Shorter mobile scroll track */
    }
    .mc-villa-video,
    .mc-villa-poster {
        object-position: 54% center; /* Deliberate portrait crop keeping villa entrance visible */
    }
    .mc-hero-content-wrap {
        padding: 100px 18px 28px;
    }
    .mc-hero-inner {
        margin-bottom: 1.75rem;
    }
    .mc-hero-villa-title {
        font-size: var(--fs-h1);
        margin-bottom: 20px;
    }
    .mc-hero-btn {
        padding: 10px 22px;
        font-size: 14.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mc-opening-villa-hero {
        height: 100vh !important;
        height: 100svh !important;
    }
    .mc-villa-video {
        display: none !important;
    }
    .mc-villa-poster {
        opacity: 1 !important;
        visibility: visible !important;
    }
    .mc-scroll-cue-line {
        animation: none !important;
    }
}

.mc-hero-bg {
    position: absolute;
    inset: -40px;
    background-image: url('/media/villa-scroll-poster.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.42;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    filter: brightness(0.7) contrast(1.1);
}

.mc-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(8, 8, 8, 0.3) 0%, rgba(0, 0, 0, 0.88) 100%);
    pointer-events: none;
}

.mc-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.mc-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    color: var(--mc-gold);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.mc-hero-title {
    font-size: clamp(2.5rem, 6.5vw, 5.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--mc-white);
    text-transform: uppercase;
}

[dir="ltr"] .mc-hero-title {
    letter-spacing: 0.08em;
    font-family: var(--font-tall-en);
}

.mc-hero-lead {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    line-height: 1.7;
    color: var(--mc-gray-300);
    max-width: 820px;
    margin: 0 auto 36px;
    font-weight: 400;
}

.mc-hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.mc-scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--mc-gray-400);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 10;
    transition: color 0.2s ease;
}

.mc-scroll-indicator:hover {
    color: var(--mc-gold);
}

.mc-scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--mc-gold), transparent);
    animation: mc-scroll-pulse 2s infinite ease-in-out;
}

@keyframes mc-scroll-pulse {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   Section 2: About & Architectural Scale (Citadel About Section)
   ========================================================================== */
.mc-section-padding {
    padding: 110px 0;
}

.mc-section-header {
    margin-bottom: 64px;
    text-align: center;
}

.mc-section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--mc-gold);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.mc-section-title {
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--mc-white);
    max-width: 900px;
    margin: 0 auto;
}

.mc-pillar-card {
    background: var(--mc-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 40px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    transform-style: preserve-3d;
}

.mc-pillar-card:hover {
    border-color: rgba(246, 189, 72, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.mc-pillar-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--mc-gray-600);
    font-family: var(--font-tall-en);
    line-height: 1;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.mc-pillar-card:hover .mc-pillar-number {
    color: var(--mc-gold);
}

.mc-pillar-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--mc-white);
}

.mc-pillar-desc {
    color: var(--mc-gray-400);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ==========================================================================
   Section 3: Infinite Partner Marquee / Ticker
   ========================================================================== */
.mc-marquee-section {
    background-color: var(--mc-dark-bg);
    padding: 36px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.mc-marquee-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: mc-marquee-scroll 32s linear infinite;
}

.mc-marquee-track:hover {
    animation-play-state: paused;
}

[dir="rtl"] .mc-marquee-track {
    animation: mc-marquee-scroll-rtl 32s linear infinite;
}

[dir="rtl"] .mc-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes mc-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes mc-marquee-scroll-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

.mc-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--mc-gray-400);
    font-size: 1.05rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 8px 18px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mc-marquee-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--mc-gold);
}

/* ==========================================================================
   Section 4: Case Studies Parallax Carousel (Alternating Cards)
   ========================================================================== */
.mc-carousel-section {
    background-color: var(--mc-black);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.mc-carousel-track-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 20px 24px;
    cursor: grab;
}

.mc-carousel-track-wrapper:active {
    cursor: grabbing;
}

.mc-carousel-track-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.mc-carousel-track {
    display: flex;
    gap: 32px;
    width: max-content;
}

.mc-case-card {
    width: 780px;
    max-width: 88vw;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    min-height: 480px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    user-select: none;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .mc-case-card {
        flex-direction: column;
        min-height: auto;
    }
}

.mc-case-card-dark {
    background-color: var(--mc-dark-card);
    color: var(--mc-white);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mc-case-card-light {
    background-color: var(--mc-white);
    color: var(--mc-black);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.mc-case-card-photo {
    width: 52%;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

@media (max-width: 768px) {
    .mc-case-card-photo {
        width: 100%;
        height: 240px;
    }
}

.mc-case-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mc-case-card:hover .mc-case-card-photo img {
    transform: scale(1.05);
}

.mc-case-card-body {
    width: 48%;
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .mc-case-card-body {
        width: 100%;
        padding: 28px 24px;
    }
}

.mc-case-tag {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.mc-case-card-dark .mc-case-tag {
    color: var(--mc-gold);
}

.mc-case-card-light .mc-case-tag {
    color: #b07e15;
}

.mc-case-title {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

.mc-case-card-dark .mc-case-desc {
    color: var(--mc-gray-400);
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 24px;
}

.mc-case-card-light .mc-case-desc {
    color: var(--mc-gray-700);
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 24px;
}

.mc-case-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mc-case-card-light .mc-case-meta-grid {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.mc-meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.7;
}

.mc-meta-val {
    font-size: 0.92rem;
    font-weight: 600;
}

.mc-carousel-nav-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.mc-carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--mc-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mc-carousel-btn:hover {
    background: var(--mc-gold);
    color: var(--mc-black);
    border-color: var(--mc-gold);
}

.mc-carousel-indicators {
    display: flex;
    gap: 8px;
}

.mc-carousel-dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease, width 0.3s ease;
    cursor: pointer;
}

.mc-carousel-dot.active {
    background: var(--mc-gold);
    width: 48px;
}

/* ==========================================================================
   Section 5: Interactive Dot-Matrix Map Section (Kermanshah / Iran)
   ========================================================================== */
.mc-map-section {
    background-color: var(--mc-dark-bg);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.mc-map-canvas-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 600px;
    background: #040404;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.mc-map-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.mc-map-overlay-info {
    position: absolute;
    top: 32px;
    right: 32px;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px 24px;
    max-width: 320px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 10;
}

[dir="ltr"] .mc-map-overlay-info {
    right: auto;
    left: 32px;
}

.mc-map-node-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mc-gold);
    margin-bottom: 8px;
}

/* ==========================================================================
   Section 6: Principals & Certified Engineers Directory (Dual-State Photo)
   ========================================================================== */
.mc-principals-section {
    background-color: var(--mc-black);
    padding: 120px 0;
}

.mc-principal-card {
    background: var(--mc-dark-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    height: 100%;
    transform-style: preserve-3d;
}

.mc-principal-card:hover {
    border-color: rgba(246, 189, 72, 0.4);
    transform: translateY(-6px);
}

.mc-principal-photo-wrapper {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    background-color: #0c0c0c;
}

.mc-photo-office, .mc-photo-site {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mc-photo-site {
    opacity: 0;
}

.mc-principal-card:hover .mc-photo-office {
    opacity: 0;
    transform: scale(1.04);
}

.mc-principal-card:hover .mc-photo-site {
    opacity: 1;
    transform: scale(1.04);
}

.mc-principal-info {
    padding: 24px;
}

.mc-principal-role {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--mc-gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.mc-principal-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mc-white);
    margin-bottom: 8px;
}

.mc-principal-location {
    font-size: 0.85rem;
    color: var(--mc-gray-400);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.mc-badge-cert {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    color: var(--mc-gray-300);
}

/* ==========================================================================
   Section 7: Connect With a Partner / Quick Inquiry (High-Contrast White Card)
   ========================================================================== */
.mc-finder-section {
    background-color: var(--mc-white);
    color: var(--mc-black);
    padding: 100px 0;
    position: relative;
}

.mc-finder-title {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--mc-black);
}

.mc-finder-lead {
    font-size: 1.15rem;
    color: var(--mc-gray-700);
    max-width: 720px;
    margin: 0 auto 48px;
}

.mc-finder-form-card {
    background: var(--mc-light-bg);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--mc-gray-200);
}

.mc-finder-select, .mc-finder-input {
    background: var(--mc-white);
    border: 1px solid var(--mc-gray-300);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.95rem;
    color: var(--mc-black);
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mc-finder-select:focus, .mc-finder-input:focus {
    outline: none;
    border-color: var(--mc-gold);
    box-shadow: 0 0 0 3px rgba(246, 189, 72, 0.25);
}

/* ==========================================================================
   Section 8: Parallax Kinetic Footer (Giant Wordmark Reveal)
   ========================================================================== */
.mc-footer-brand-section {
    background-color: var(--mc-black);
    padding: 120px 0 40px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mc-giant-wordmark-container {
    width: 100%;
    max-width: 100%;
    direction: ltr;
    overflow: hidden;
    text-align: center;
    padding: 32px 8px 44px;
    position: relative;
}

.mc-giant-wordmark {
    display: block;
    width: 100%;
    font-family: var(--font-heading-en) !important;
    font-size: clamp(2rem, 8.8vw, 7.2rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.05);
    -webkit-text-stroke: 1.25px rgba(255, 255, 255, 0.16);
    user-select: none;
    text-transform: uppercase;
    transition: color 0.5s ease, -webkit-text-stroke 0.5s ease;
}

.mc-giant-wordmark:hover {
    color: rgba(246, 189, 72, 0.08);
    -webkit-text-stroke: 1.5px rgba(246, 189, 72, 0.35);
}

.mc-footer-nav-col h6 {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--mc-gold);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.mc-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mc-footer-links li {
    margin-bottom: 10px;
}

.mc-footer-links a {
    color: var(--mc-gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.mc-footer-links a:hover {
    color: var(--mc-white);
    transform: translateX(-3px);
}

[dir="ltr"] .mc-footer-links a:hover {
    transform: translateX(3px);
}

.mc-footer-bottom {
    padding-top: 40px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--mc-gray-500);
    font-size: 0.85rem;
}

/* ==========================================================================
   Three-Dimensional Icon Hover Rotation (Video 2 Reference: 00:01 - 00:05)
   ========================================================================== */
.mc-icon-3d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    perspective: 800px;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mc-icon-3d svg, .mc-icon-3d img {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
}

/* Hover rotation around Y-axis (3D coin spin) */
*:hover > .mc-icon-3d svg,
*:hover > .mc-icon-3d-spin svg,
.mc-btn-gold:hover .mc-icon-3d svg,
.mc-case-card:hover .mc-icon-3d svg,
.mc-principal-card:hover .mc-icon-3d svg,
.mc-carousel-btn:hover .mc-icon-3d svg {
    transform: rotateY(360deg) scale(1.15);
}

/* 3D Flip on vertical axis */
.mc-icon-3d-flip svg {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*:hover > .mc-icon-3d-flip svg {
    transform: rotateX(180deg);
}

/* ==========================================================================
   Persistent Floating Action Badge (Video 2 Reference: 00:04 - 00:05)
   ========================================================================== */
.mc-floating-action-badge {
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 9999px;
    padding: 8px 18px 8px 10px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    border: none;
    text-decoration: none;
    color: var(--mc-white);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

[dir="rtl"] .mc-floating-action-badge {
    left: auto;
    right: 32px;
    padding: 8px 10px 8px 18px;
}

.mc-floating-action-badge:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 45px rgba(246, 189, 72, 0.25);
    color: var(--mc-gold);
}

.mc-floating-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--mc-gold);
    color: var(--mc-black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mc-floating-action-badge:hover .mc-floating-badge-icon {
    transform: rotateY(360deg);
}

/* ==========================================================================
   Demo Content Disclaimer Badges (Content Integrity Rule)
   ========================================================================== */
.mc-badge-demo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--mc-gray-400);
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Map Canvas */
.mc-map-canvas-container {
    height: clamp(380px, 50vh, 600px);
}

/* ==========================================================================
   Responsive Breakpoints & Header Collapse (Prevent Nav/Language Crowding)
   ========================================================================== */
@media (max-width: 1599px) {
    .mc-floating-action-badge {
        display: none;
    }
}

.mc-header-account-label {
    font-size: 0.86rem;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1359px) {
    .mc-header-nav-wrap {
        display: none;
    }
    .mc-header-menu-btn {
        display: inline-flex;
    }
    .mc-floating-action-badge {
        display: none;
    }
}

@media (max-width: 991px) {
    .mc-floating-header-wrapper {
        top: 12px;
        padding: 0 12px;
    }
    .mc-glass-header {
        padding: 8px 14px;
        gap: 8px;
    }
    .mc-hero-section {
        padding: 120px 16px 50px;
    }
}

@media (max-width: 576px) {
    .mc-header-logo {
        max-width: 125px;
    }
    .mc-header-logo img {
        max-height: 26px;
        max-width: 120px;
    }
    .mc-header-auth-btn {
        padding: 5px 10px;
        font-size: 0.78rem;
    }
    .mc-header-menu-btn {
        width: 36px;
        height: 36px;
    }
    .mc-btn-gold {
        padding: 8px 18px;
        font-size: 14.5px;
    }
}

/* ==========================================================================
   Refined Homepage Typography, Section Rhythm & Editorial Layouts
   ========================================================================== */
.mc-container {
    max-width: var(--mc-container-max);
}

.mc-section-light,
.mc-section-warm-stone,
.mc-section-dark,
.mc-section-slate {
    padding: var(--mc-section-py) 0;
    position: relative;
}

.mc-section-dark {
    background-color: var(--mc-charcoal);
    color: var(--mc-white);
}

.mc-section-slate {
    background-color: var(--mc-slate);
    color: var(--mc-white);
}

.mc-section-intro {
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.mc-intro-note {
    max-width: 440px;
}

.mc-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9E7419;
    margin-bottom: 10px;
}

.mc-section-dark .mc-eyebrow,
.mc-section-slate .mc-eyebrow,
.mc-visual-caption-card .mc-eyebrow {
    color: var(--mc-gold);
}

.mc-heading-2 {
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: var(--lh-heading);
    color: var(--mc-light-text);
    letter-spacing: -0.015em;
}

.mc-body-muted {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--mc-light-muted);
}

.mc-muted-on-dark {
    color: rgba(255, 255, 255, 0.72);
    line-height: var(--lh-body);
}

.mc-btn-outline-light-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.mc-btn-outline-light-pill:hover,
.mc-btn-outline-light-pill:focus-visible {
    border-color: var(--mc-gold);
    background: rgba(246, 189, 72, 0.12);
    color: #FFFFFF;
}

.mc-btn-outline-dark-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 9999px;
    border: 1px solid rgba(21, 23, 28, 0.22);
    color: var(--mc-light-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.mc-btn-outline-dark-pill:hover,
.mc-btn-outline-dark-pill:focus-visible {
    border-color: var(--mc-charcoal);
    background: rgba(21, 23, 28, 0.06);
    color: var(--mc-obsidian);
}

.mc-text-link-dark {
    color: var(--mc-light-text);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mc-text-link-dark:hover {
    color: #9E7419;
}

/* ==========================================================================
   Sponsored Brands Strip (Slow Marquee + Pause Control + Touch Scroll)
   ========================================================================== */
.mc-sponsor-strip {
    background-color: var(--mc-pearl-white);
    border-bottom: 1px solid var(--mc-stone-border);
    padding: 18px 0;
}

.mc-sponsor-bar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mc-sponsor-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.mc-sponsor-label {
    font-size: var(--fs-support);
    font-weight: 700;
    color: var(--mc-light-text);
    white-space: nowrap;
}

.mc-sponsor-pause-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 34px;
    padding: 4px 12px;
    border-radius: 9999px;
    border: 1px solid var(--mc-light-border);
    background: var(--mc-light-card);
    color: var(--mc-light-text);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.mc-sponsor-pause-btn:hover,
.mc-sponsor-pause-btn:focus-visible {
    border-color: var(--mc-gold);
    background: rgba(246, 189, 72, 0.14);
}

.mc-sponsor-viewport {
    flex: 1 1 auto;
    overflow: hidden;
    position: relative;
}

.mc-sponsor-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: mcSponsorScroll 36s linear infinite;
}

.mc-sponsor-strip.is-paused .mc-sponsor-track,
.mc-sponsor-viewport:hover .mc-sponsor-track,
.mc-sponsor-viewport:focus-within .mc-sponsor-track {
    animation-play-state: paused;
}

.mc-sponsor-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    opacity: 0.78;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.mc-sponsor-item:hover,
.mc-sponsor-item:focus-visible {
    opacity: 1;
}

.mc-sponsor-item img {
    max-height: 36px;
    width: auto;
    object-fit: contain;
}

.mc-sponsor-demo-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 9999px;
    background: rgba(246, 189, 72, 0.18);
    color: #8A6112;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.mc-sponsor-demo-tile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    background: var(--mc-light-card);
    border: 1px solid var(--mc-stone-border);
    flex-shrink: 0;
    white-space: nowrap;
}

.mc-sponsor-demo-name {
    font-size: var(--fs-support);
    font-weight: 600;
    color: var(--mc-light-text);
}

.mc-sponsor-demo-tag {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--mc-light-muted);
    background: var(--mc-offwhite);
    padding: 2px 7px;
    border-radius: 9999px;
}

[dir="rtl"] .mc-sponsor-track {
    animation-name: mcSponsorScrollRtl;
}

@keyframes mcSponsorScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes mcSponsorScrollRtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

@media (hover: none), (pointer: coarse) {
    .mc-sponsor-viewport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .mc-sponsor-viewport::-webkit-scrollbar {
        display: none;
    }
    .mc-sponsor-track {
        animation: none;
    }
    .mc-sponsor-clone {
        display: none;
    }
    .mc-sponsor-pause-btn {
        display: none;
    }
}

@media (max-width: 767px) {
    .mc-sponsor-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .mc-sponsor-viewport {
        width: 100%;
        overflow-x: auto;
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .mc-sponsor-viewport::-webkit-scrollbar {
        display: none;
    }
    .mc-sponsor-track {
        animation: none;
    }
    .mc-sponsor-clone {
        display: none;
    }
}

/* ==========================================================================
   Six Image-Led Service Cards (3 cols desktop / 2 tablet / 1 mobile)
   Motion Reference: 02-citadel-hover-icon-animation.mp4
   ========================================================================== */
.mc-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 991px) {
    .mc-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .mc-quick-grid {
        grid-template-columns: 1fr;
    }
}

.mc-flip-card {
    display: block;
    text-decoration: none;
    perspective: 1200px;
    height: 360px;
    border-radius: 20px;
    outline: none;
}

.mc-flip-card:focus-visible {
    box-shadow: 0 0 0 3px var(--mc-gold);
}

.mc-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 20px;
}

@media (hover: hover) and (pointer: fine) {
    .mc-flip-card:hover .mc-flip-inner,
    .mc-flip-card:focus-visible .mc-flip-inner {
        transform: rotateY(180deg);
    }
}

.mc-flip-face {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.mc-flip-front {
    background-color: var(--mc-charcoal);
    box-shadow: 0 14px 32px rgba(13, 14, 17, 0.10);
}

.mc-flip-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.6s ease;
}

.mc-flip-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 14, 17, 0.05) 0%, rgba(13, 14, 17, 0.30) 52%, rgba(13, 14, 17, 0.90) 100%);
}

.mc-flip-front-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #FFFFFF;
}

.mc-flip-index {
    font-family: var(--font-tall-en);
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    color: var(--mc-gold);
    margin-bottom: 6px;
}

.mc-flip-title {
    font-size: var(--fs-card-title);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 10px;
    line-height: 1.45;
    min-height: 2.9em;
    display: flex;
    align-items: flex-end;
}

.mc-flip-link-cue {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-support);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.mc-flip-back {
    background: var(--mc-charcoal);
    color: #FFFFFF;
    transform: rotateY(180deg);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(246, 189, 72, 0.28);
    box-shadow: 0 18px 40px rgba(13, 14, 17, 0.24);
}

.mc-flip-back-index {
    font-family: var(--font-tall-en);
    font-size: 1.6rem;
    color: var(--mc-gold);
    letter-spacing: 0.06em;
}

.mc-flip-back-title {
    font-size: var(--fs-card-title);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 10px;
    line-height: 1.45;
}

.mc-flip-back-desc {
    font-size: var(--fs-support);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.mc-flip-back-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mc-gold);
    font-weight: 600;
    font-size: var(--fs-support);
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* Clearly Visible Vertical Image Parallax (Inside Clipped Frames Only) */
.mc-parallax-frame {
    overflow: hidden;
}

.mc-parallax-img {
    transform: scale(1.22) translate3d(0, 0, 0);
    will-change: transform;
}

.mc-projects-feature-img {
    object-position: center 30%;
}

/* How It Works — 3-Step Process Cards */
.mc-process-card {
    background: var(--mc-light-card);
    border: 1px solid var(--mc-light-border);
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 28px rgba(13, 14, 17, 0.04);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.mc-process-card:hover {
    border-color: rgba(246, 189, 72, 0.5);
    transform: translateY(-3px);
}

.mc-process-step-num {
    font-family: var(--font-tall-en);
    font-size: 2rem;
    line-height: 1;
    color: #9E7419;
    margin-bottom: 14px;
}

.mc-process-title {
    font-size: var(--fs-card-title);
    font-weight: 700;
    color: var(--mc-light-text);
    margin: 0 0 12px;
    line-height: 1.4;
}

/* FAQ Accordion */
.mc-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mc-faq-item {
    background: var(--mc-light-card);
    border: 1px solid var(--mc-light-border) !important;
    border-radius: 16px !important;
    overflow: hidden;
}

.mc-faq-btn {
    background: var(--mc-light-card);
    color: var(--mc-light-text);
    font-weight: 700;
    font-size: var(--fs-body);
    padding: 18px 22px;
    box-shadow: none !important;
}

.mc-faq-btn:not(.collapsed) {
    background: var(--mc-pearl-white);
    color: var(--mc-obsidian);
}

.mc-faq-body {
    color: var(--mc-light-muted);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    padding: 4px 22px 20px;
}

/* Compact Brand Introduction & Official Contact Section */
.mc-about-card {
    background: var(--mc-light-card);
    border: 1px solid var(--mc-light-border);
    border-radius: 24px;
    padding: clamp(1.75rem, 3.5vw, 2.75rem);
    box-shadow: 0 14px 36px rgba(13, 14, 17, 0.05);
}

.mc-contact-box {
    background: var(--mc-pearl-white);
    border: 1px solid var(--mc-stone-border);
    border-radius: 18px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mc-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.65;
}

.mc-contact-row i {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.mc-phone-link {
    color: #8A6112;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(138, 97, 18, 0.45);
}

.mc-phone-link:hover,
.mc-phone-link:focus-visible {
    color: var(--mc-obsidian);
    border-bottom-color: var(--mc-obsidian);
}

/* ==========================================================================
   Professional Discovery Split Layout (Houzz Usability Reference)
   ========================================================================== */
.mc-discovery-search-card {
    background: var(--mc-light-card);
    border: 1px solid var(--mc-light-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(13, 14, 17, 0.06);
}

.mc-form-label-light {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mc-light-text);
    margin-bottom: 6px;
}

.mc-input-light {
    background-color: var(--mc-pearl-white);
    border: 1px solid rgba(21, 23, 28, 0.16);
    color: var(--mc-light-text);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 15.5px;
}

@media (max-width: 767px) {
    .mc-input-light {
        font-size: 15px;
    }
}

select.mc-input-light {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.mc-input-light:focus {
    background-color: #FFFFFF;
    border-color: var(--mc-gold);
    box-shadow: 0 0 0 3px rgba(246, 189, 72, 0.22);
    color: var(--mc-light-text);
}

.mc-input-addon-light {
    background-color: var(--mc-pearl-white);
    border: 1px solid rgba(21, 23, 28, 0.16);
    color: var(--mc-light-muted);
}

.mc-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mc-specialty-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 9999px;
    background: var(--mc-light-card);
    border: 1px solid var(--mc-light-border);
    color: var(--mc-light-text);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.mc-specialty-chip:hover {
    border-color: var(--mc-gold);
    background: rgba(246, 189, 72, 0.14);
    color: var(--mc-obsidian);
}

.mc-pro-compact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mc-pro-compact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--mc-light-card);
    border: 1px solid var(--mc-light-border);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mc-pro-compact-row:hover {
    border-color: var(--mc-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(13, 14, 17, 0.08);
}

.mc-pro-compact-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mc-charcoal);
    color: var(--mc-gold);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mc-pro-compact-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--mc-light-text);
    flex-shrink: 0;
}

.mc-discovery-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 500px;
    background: var(--mc-charcoal);
    box-shadow: 0 24px 56px rgba(13, 14, 17, 0.16);
}

.mc-discovery-photo {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    display: block;
}

.mc-visual-caption-card {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(21, 23, 28, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.mc-visual-caption-card:hover {
    border-color: var(--mc-gold);
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .mc-discovery-visual,
    .mc-discovery-photo {
        min-height: 360px;
    }
}

/* ==========================================================================
   Projects & Tenders Showcase + Materials Mini List + Legal/Estimator Split
   ========================================================================== */
.mc-projects-feature-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 440px;
    background: var(--mc-obsidian);
}

.mc-projects-feature-img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    display: block;
}

.mc-projects-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 14, 17, 0.12) 0%, rgba(13, 14, 17, 0.88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
}

.mc-tender-editorial-item {
    display: block;
    text-decoration: none;
    background: var(--mc-slate);
    border: 1px solid var(--mc-dark-border);
    border-radius: 18px;
    padding: 22px 24px;
    transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.mc-tender-editorial-item:hover {
    border-color: rgba(246, 189, 72, 0.45);
    background: var(--mc-slate-elevated);
    transform: translateY(-2px);
}

.mc-materials-mini-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mc-materials-mini-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--mc-light-card);
    border: 1px solid var(--mc-light-border);
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.mc-materials-mini-row:hover {
    border-color: var(--mc-gold);
}

.mc-editorial-dark-panel {
    background: var(--mc-charcoal);
    border: 1px solid var(--mc-dark-border);
    border-radius: 24px;
    padding: clamp(1.75rem, 3.5vw, 2.75rem);
}

.mc-estimator-launch-panel {
    background: linear-gradient(160deg, var(--mc-charcoal) 0%, var(--mc-obsidian) 100%);
    border: 1px solid rgba(246, 189, 72, 0.26);
    border-radius: 24px;
    padding: clamp(1.75rem, 3.5vw, 2.75rem);
}

.mc-lawyer-highlight {
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--mc-dark-border);
}

/* ==========================================================================
   Accessibility: Reduced-Motion Preferences (WCAG 2.1 Compliance)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .mc-marquee-track {
        animation: none !important;
    }
    .mc-cursor-follower {
        display: none !important;
    }
    .mc-pillar-card,
    .mc-principal-card,
    .mc-flip-inner,
    .mc-flip-card:hover .mc-flip-inner,
    .mc-flip-card:focus-visible .mc-flip-inner,
    .mc-parallax-img {
        transform: none !important;
    }
    .mc-sponsor-track {
        animation: none !important;
    }
    .mc-sponsor-viewport {
        overflow-x: auto !important;
    }
    .mc-sponsor-clone {
        display: none !important;
    }
    .mc-icon-3d svg {
        transform: none !important;
    }
}

/* ==========================================================================
   Enterprise Workflows, Cards & Directory Styling
   ========================================================================== */
.mc-page-container {
    padding-top: 130px;
    padding-bottom: 80px;
    min-height: 100vh;
    background-color: #0d0e11;
}

.mc-card {
    background-color: #15171c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mc-card:hover {
    border-color: rgba(246, 189, 72, 0.3);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.btn-gold {
    background-color: #f6bd48;
    color: #0d0e11;
    font-weight: 700;
    border: none;
    transition: all 0.25s ease;
}

.btn-gold:hover, .btn-gold:focus {
    background-color: #e5ae3d;
    color: #000000;
    box-shadow: 0 6px 18px rgba(246, 189, 72, 0.35);
}

.btn-outline-gold {
    border: 1px solid #f6bd48;
    color: #f6bd48;
    background: transparent;
    transition: all 0.25s ease;
}

.btn-outline-gold:hover, .btn-outline-gold:focus {
    background-color: #f6bd48;
    color: #0d0e11;
    box-shadow: 0 4px 14px rgba(246, 189, 72, 0.25);
}

.hover-gold {
    transition: color 0.2s ease;
}

.hover-gold:hover {
    color: #f6bd48 !important;
}

.mc-avatar-badge {
    position: relative;
    display: inline-block;
}

.mc-avatar-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1c1f26 0%, #2a2e38 100%);
    border: 2px solid #f6bd48;
    color: #f6bd48;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.mc-avatar-lg {
    width: 84px;
    height: 84px;
    font-size: 1.85rem;
}

.mc-verified-pill {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #15171c;
    border-radius: 50%;
    padding: 2px 4px;
    line-height: 1;
}

.mc-rating-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(246, 189, 72, 0.12);
    border: 1px solid rgba(246, 189, 72, 0.3);
    color: #f6bd48;
    border-radius: 20px;
    padding: 3px 12px;
    font-weight: 700;
    font-size: 0.85rem;
}

.mc-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mc-portfolio-thumb {
    height: 220px;
    object-fit: cover;
}

.text-gold {
    color: #f6bd48 !important;
}

.border-gold {
    border-color: #f6bd48 !important;
}

.bg-gold {
    background-color: #f6bd48 !important;
}

/* ==========================================================================
   Visual Advertising Carousel (One Banner at a Time — MohandesChi Identity)
   ========================================================================== */
.mc-ad-carousel-section {
    background-color: var(--mc-pearl-white);
    padding: 28px 0 12px;
    position: relative;
}

.mc-ad-carousel-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 14px;
}

.mc-ad-section-label {
    font-size: var(--fs-support);
    font-weight: 700;
    color: var(--mc-light-text);
    letter-spacing: 0.01em;
}

.mc-ad-demo-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 11px;
    border-radius: 9999px;
    background: rgba(21, 23, 28, 0.08);
    color: var(--mc-light-muted);
    font-size: 13px;
    font-weight: 600;
}

.mc-ad-toolbar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mc-ad-counter {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--mc-light-muted);
    min-width: 40px;
    text-align: center;
}

.mc-ad-control-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid var(--mc-light-border);
    background: var(--mc-light-card);
    color: var(--mc-light-text);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.mc-ad-control-btn:hover,
.mc-ad-control-btn:focus-visible {
    border-color: var(--mc-gold);
    background: rgba(246, 189, 72, 0.14);
    outline: none;
}

.mc-ad-stage {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--mc-obsidian);
    aspect-ratio: 16 / 5.2;
    min-height: 310px;
    max-height: 440px;
    box-shadow: 0 22px 52px rgba(13, 14, 17, 0.14);
    touch-action: pan-y;
}

.mc-ad-stage:focus-visible {
    outline: 3px solid var(--mc-gold);
    outline-offset: 3px;
}

.mc-ad-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.mc-ad-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.65s ease;
    z-index: 1;
}

.mc-ad-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.mc-ad-picture,
.mc-ad-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.mc-ad-img {
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    transition: transform 6.5s ease-out;
}

.mc-ad-slide.is-active .mc-ad-img {
    transform: scale(1);
}

.mc-ad-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 14, 17, 0.18) 0%, rgba(13, 14, 17, 0.62) 52%, rgba(13, 14, 17, 0.88) 100%);
    z-index: 2;
}

[dir="ltr"] .mc-ad-scrim {
    background: linear-gradient(270deg, rgba(13, 14, 17, 0.18) 0%, rgba(13, 14, 17, 0.62) 52%, rgba(13, 14, 17, 0.88) 100%);
}

.mc-ad-overlay {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 32px 72px;
}

.mc-ad-content-card {
    max-width: 560px;
}

.mc-ad-slide-demo-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 500;
}

.mc-ad-headline {
    font-size: clamp(22px, 2.3vw, 30px);
    font-weight: 700;
    line-height: 1.38;
    color: #FFFFFF;
    margin: 0 0 10px;
}

.mc-ad-subtitle {
    font-size: var(--fs-body);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.84);
    margin: 0 0 20px;
}

.mc-ad-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(13, 14, 17, 0.56);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mc-ad-arrow:hover,
.mc-ad-arrow:focus-visible {
    background: var(--mc-gold);
    border-color: var(--mc-gold);
    color: var(--mc-obsidian);
    outline: none;
}

.mc-ad-arrow-prev {
    inset-inline-start: 16px;
}

.mc-ad-arrow-next {
    inset-inline-end: 16px;
}

.mc-ad-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 9999px;
    background: rgba(13, 14, 17, 0.54);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mc-ad-dot {
    width: 9px;
    height: 9px !important;
    min-height: 9px !important;
    min-width: 0 !important;
    border-radius: 9999px;
    border: none;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.mc-ad-dot.is-active {
    width: 26px;
    background: var(--mc-gold);
}

@media (max-width: 991px) {
    .mc-ad-stage {
        aspect-ratio: 16 / 7;
        min-height: 300px;
    }
    .mc-ad-overlay {
        padding: 24px 62px 52px;
    }
}

@media (max-width: 767px) {
    .mc-ad-carousel-section {
        padding: 20px 0 8px;
    }
    .mc-ad-stage {
        aspect-ratio: 4 / 3.4;
        min-height: 310px;
        max-height: none;
        border-radius: 20px;
    }
    .mc-ad-scrim {
        background: linear-gradient(180deg, rgba(13, 14, 17, 0.28) 0%, rgba(13, 14, 17, 0.78) 55%, rgba(13, 14, 17, 0.94) 100%);
    }
    .mc-ad-overlay {
        align-items: flex-end;
        padding: 62px 18px 54px;
    }
    .mc-ad-headline {
        font-size: 19px;
        margin-bottom: 6px;
    }
    .mc-ad-subtitle {
        font-size: 14px;
        margin-bottom: 14px;
    }
    .mc-ad-arrow {
        top: 14px;
        transform: none;
        width: 36px;
        height: 36px;
    }
    .mc-ad-arrow-prev {
        inset-inline-start: 12px;
    }
    .mc-ad-arrow-next {
        inset-inline-end: 12px;
    }
}

/* ==========================================================================
   LIVSPACE-Inspired Editorial Parallax Sections (#discovery & #projects)
   ========================================================================== */
.mc-editorial-section {
    padding: clamp(4.5rem, 7.5vw, 6.5rem) 0;
}

.mc-editorial-heading {
    letter-spacing: -0.015em;
}

.mc-editorial-rule {
    width: 64px;
    height: 2px;
    background: var(--mc-gold);
    border-radius: 2px;
}

.mc-editorial-frame-wrap {
    position: relative;
    padding: 12px;
}

.mc-editorial-frame-backdrop {
    position: absolute;
    inset: 0;
    border-radius: 32px;
    transform: none;
    pointer-events: none;
}

.mc-editorial-frame-light .mc-editorial-frame-backdrop {
    background: rgba(21, 23, 28, 0.05);
    border: 1px solid rgba(21, 23, 28, 0.12);
}

.mc-editorial-frame-dark .mc-editorial-frame-backdrop {
    background: rgba(246, 189, 72, 0.06);
    border: 1px solid rgba(246, 189, 72, 0.24);
}

.mc-editorial-parallax-frame {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    min-height: 540px;
    background: var(--mc-charcoal);
    box-shadow: 0 24px 56px rgba(13, 14, 17, 0.18);
    z-index: 2;
}

.mc-editorial-portrait-frame {
    aspect-ratio: 3 / 4;
    min-height: 580px;
    max-height: 680px;
    width: 100%;
}

.mc-parallax-scroll-layer {
    position: absolute;
    top: -10%;
    inset-inline: 0;
    width: 100%;
    height: 120%;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.mc-parallax-zoom-layer {
    width: 100%;
    height: 100%;
    will-change: transform;
    transform: scale(1);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
    .mc-editorial-parallax-frame:hover .mc-parallax-zoom-layer {
        transform: scale(1.055);
    }
}

.mc-editorial-parallax-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}

@media (max-width: 991px) {
    .mc-editorial-portrait-frame {
        aspect-ratio: 4 / 5;
        min-height: 420px;
        max-height: 520px;
    }
}

@media (max-width: 767px) {
    .mc-editorial-portrait-frame {
        aspect-ratio: 4 / 5;
        min-height: 360px;
        max-height: 440px;
    }
}

/* Special Offers Carousel (#special-offers) — 3 Distinct Campaign Layouts */
.mc-special-offers-section {
    background-color: #EFEFEA;
    padding: 20px 0 32px;
    position: relative;
}

.mc-offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 9999px;
    background: var(--mc-gold);
    color: var(--mc-obsidian);
    font-size: 13px;
    font-weight: 800;
}

.mc-offer-stage {
    border: 1px solid rgba(21, 23, 28, 0.10);
    aspect-ratio: auto;
    height: 360px;
    min-height: 360px;
    max-height: 360px;
    background: #15171C;
}

.mc-offer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
    width: 100%;
    height: 100%;
    position: relative;
}

.mc-offer-copy-panel {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 32px 64px 44px 36px;
    overflow: hidden;
}

.mc-offer-graphic-accent {
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.mc-offer-headline {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px;
}

.mc-offer-subtitle {
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 18px;
    max-width: 480px;
}

.mc-offer-photo-panel {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.mc-offer-photo-clip {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Variant 1: Split Editorial (Warm Charcoal + Gold Diagonal Accent) */
.mc-offer-layout-split .mc-offer-copy-panel {
    background: linear-gradient(135deg, #17191F 0%, #24221F 100%);
    color: #FFFFFF;
}
.mc-offer-layout-split .mc-offer-headline { color: #FFFFFF; }
.mc-offer-layout-split .mc-offer-subtitle { color: rgba(255, 255, 255, 0.80); }
.mc-offer-layout-split .mc-offer-graphic-accent {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 189, 72, 0.22) 0%, rgba(246, 189, 72, 0) 70%);
    top: -60px;
    inset-inline-start: -40px;
}

/* Variant 2: Framed Architectural Card (Warm Stone Surface + Inset Rounded Photo) */
.mc-offer-layout-framed .mc-offer-grid {
    background: #F7F5F0;
}
.mc-offer-layout-framed .mc-offer-copy-panel {
    color: #15171C;
}
.mc-offer-layout-framed .mc-offer-headline { color: #15171C; }
.mc-offer-layout-framed .mc-offer-subtitle { color: #4B4F58; }
.mc-offer-layout-framed .mc-ad-slide-demo-tag {
    background: rgba(21, 23, 28, 0.08);
    color: #4B4F58;
}
.mc-offer-layout-framed .mc-badge-gold {
    background: rgba(246, 189, 72, 0.22);
    color: #7A540E;
    border-color: rgba(158, 116, 25, 0.35);
}
.mc-offer-layout-framed .mc-offer-photo-panel {
    padding: 20px 20px 20px 28px;
}
.mc-offer-layout-framed .mc-offer-photo-clip {
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(13, 14, 17, 0.16);
    border: 2px solid rgba(246, 189, 72, 0.45);
}
.mc-offer-layout-framed .mc-offer-graphic-accent {
    width: 140px;
    height: 140px;
    border: 2px solid rgba(246, 189, 72, 0.32);
    border-radius: 24px;
    bottom: -48px;
    inset-inline-end: 24px;
    transform: rotate(12deg);
}

/* Variant 3: Angled Architectural Ribbon (Deep Slate + Vertical Gold Accent Rule) */
.mc-offer-layout-angled .mc-offer-grid {
    background: #1C1F26;
}
.mc-offer-layout-angled .mc-offer-copy-panel {
    color: #FFFFFF;
    border-inline-start: 5px solid var(--mc-gold);
}
.mc-offer-layout-angled .mc-offer-headline { color: #FFFFFF; }
.mc-offer-layout-angled .mc-offer-subtitle { color: rgba(255, 255, 255, 0.82); }
.mc-offer-layout-angled .mc-offer-photo-clip {
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}
[dir="ltr"] .mc-offer-layout-angled .mc-offer-photo-clip {
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}
.mc-offer-layout-angled .mc-offer-graphic-accent {
    inset-block: 24px;
    inset-inline-end: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(246, 189, 72, 0.55), transparent);
}

.mc-offers-parallax-img {
    position: absolute;
    top: -10%;
    inset-inline: 0;
    width: 100%;
    height: 120%;
    min-height: 120%;
    object-fit: cover;
    object-position: center;
    display: block;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

@media (max-width: 991px) {
    .mc-offer-stage {
        height: 410px;
        min-height: 410px;
        max-height: 410px;
    }
    .mc-offer-copy-panel {
        padding: 24px 56px 46px 24px;
    }
}

@media (max-width: 767px) {
    .mc-offer-stage {
        height: 460px;
        min-height: 460px;
        max-height: 460px;
    }
    .mc-offer-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 190px 1fr;
    }
    .mc-offer-photo-panel {
        order: -1;
        padding: 0 !important;
    }
    .mc-offer-photo-clip {
        clip-path: none !important;
        border-radius: 0 !important;
        border: none !important;
    }
    .mc-offer-copy-panel {
        padding: 16px 18px 52px;
        justify-content: flex-start;
    }
    .mc-offer-headline {
        font-size: 18px;
        margin-bottom: 6px;
    }
    .mc-offer-subtitle {
        font-size: 14px;
        margin-bottom: 12px;
    }
}

/* Top-Rated Vertical Portrait Cards (#top-rated) */
.mc-top-rated-group {
    background: var(--mc-light-card);
    border: 1px solid var(--mc-light-border);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(13, 14, 17, 0.05);
}

.mc-top-rated-portrait-card {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: var(--mc-pearl-white);
    border: 1px solid var(--mc-light-border);
    text-decoration: none;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.mc-top-rated-portrait-card:hover {
    border-color: var(--mc-gold);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(13, 14, 17, 0.09);
}

.mc-top-rated-media {
    position: relative;
    height: 168px;
    background: linear-gradient(135deg, #1C1F26 0%, #2C303A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mc-top-rated-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mc-top-rated-initials {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(246, 189, 72, 0.16);
    border: 2px solid var(--mc-gold);
    color: var(--mc-gold);
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-top-rated-verified-badge {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(21, 23, 28, 0.85);
    color: var(--mc-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mc-top-rated-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* Catalogs Horizontal RTL Carousel (#catalogs) */
.mc-catalog-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: thin;
}

.mc-catalog-card {
    flex: 0 0 340px;
    max-width: 85vw;
    scroll-snap-align: start;
    background: var(--mc-light-card);
    border: 1px solid var(--mc-light-border);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px rgba(13, 14, 17, 0.06);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.mc-catalog-card:hover {
    border-color: var(--mc-gold);
    transform: translateY(-3px);
}

.mc-catalog-cover-link {
    position: relative;
    display: block;
    height: 196px;
    overflow: hidden;
    background: var(--mc-charcoal);
}

.mc-catalog-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.mc-catalog-card:hover .mc-catalog-cover {
    transform: scale(1.04);
}

.mc-catalog-format-pill {
    position: absolute;
    bottom: 12px;
    inset-inline-start: 12px;
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(13, 14, 17, 0.78);
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 600;
}

.mc-catalog-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* Partner Companies Logo Grid (#partners) */
.mc-partners-section {
    padding: clamp(3.5rem, 6vw, 5rem) 0;
    border-top: 1px solid var(--mc-light-border);
}

.mc-partners-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1199px) {
    .mc-partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .mc-partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.mc-partner-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    min-height: 104px;
    padding: 18px 14px;
    border-radius: 18px;
    background: var(--mc-light-card);
    border: 1px solid var(--mc-light-border);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mc-partner-tile:hover {
    border-color: var(--mc-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(13, 14, 17, 0.06);
}

.mc-partner-logo {
    max-height: 44px;
    max-width: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.mc-partner-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--mc-light-text);
    line-height: 1.4;
}

.mc-partner-sector {
    font-size: 12.5px;
    color: var(--mc-light-muted);
}

.mc-editorial-glass-caption {
    position: absolute;
    inset-inline: 22px;
    bottom: 22px;
    z-index: 3;
    display: block;
    text-decoration: none;
    padding: 18px 22px;
    border-radius: 18px;
    background: rgba(105, 88, 76, 0.64);
    backdrop-filter: blur(14px) saturate(115%);
    -webkit-backdrop-filter: blur(14px) saturate(115%);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 12px 32px rgba(13, 14, 17, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.mc-editorial-glass-caption-dark {
    background: rgba(105, 88, 76, 0.72);
    border-color: rgba(255, 255, 255, 0.22);
}

.mc-editorial-glass-caption:hover,
.mc-editorial-glass-caption:focus-visible {
    border-color: rgba(246, 189, 72, 0.78);
    background: rgba(105, 88, 76, 0.76);
}

.mc-editorial-caption-eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #FCE2A6;
    text-shadow: 0 1px 2px rgba(20, 16, 13, 0.28);
    margin-bottom: 6px;
}

.mc-editorial-caption-quote {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.65;
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(20, 16, 13, 0.28);
    margin-bottom: 10px;
}

.mc-editorial-caption-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 1px 2px rgba(20, 16, 13, 0.25);
}

@media (max-width: 991px) {
    .mc-editorial-frame-wrap {
        padding: 8px;
    }
    .mc-editorial-parallax-frame {
        min-height: 410px;
    }
}

@media (max-width: 767px) {
    .mc-editorial-frame-wrap {
        padding: 8px;
        margin-block: 12px;
    }
    .mc-editorial-frame-backdrop {
        border-radius: 28px;
        transform: none;
    }
    .mc-editorial-parallax-frame {
        min-height: 360px;
    }
    .mc-editorial-glass-caption {
        inset-inline: 16px;
        bottom: 16px;
        padding: 15px 17px;
    }
}

/* ==========================================================================
   Actionable Guide Cards («مهندس‌چی چگونه کار می‌کند؟»)
   ========================================================================== */
.mc-guide-card {
    gap: 14px;
}

.mc-guide-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mc-guide-head .mc-process-step-num {
    margin-bottom: 0;
}

.mc-guide-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    background: var(--mc-pearl-white);
    border: 1px solid var(--mc-light-border);
    font-size: 13px;
    font-weight: 600;
    color: var(--mc-light-muted);
}

.mc-guide-summary {
    margin-bottom: 4px;
}

.mc-guide-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--mc-light-border);
    border-bottom: 1px solid var(--mc-light-border);
    margin-bottom: 8px;
}

.mc-guide-detail-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mc-guide-detail-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--mc-light-text);
}

/* ==========================================================================
   Standalone /Contact Page
   ========================================================================== */
.mc-contact-page-hero {
    padding-top: 138px;
    padding-bottom: 88px;
    min-height: 78vh;
}

.mc-contact-page-title {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 700;
    line-height: 1.32;
    color: var(--mc-light-text);
}

.mc-contact-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 767px) {
    .mc-contact-page-hero {
        padding-top: 108px;
        padding-bottom: 64px;
    }
    .mc-contact-detail-grid {
        grid-template-columns: 1fr;
    }
}

.mc-contact-detail-card {
    background: var(--mc-light-card);
    border: 1px solid var(--mc-light-border);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 10px 26px rgba(13, 14, 17, 0.04);
}

.mc-contact-detail-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(246, 189, 72, 0.16);
    color: #9E7419;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.mc-contact-map-card {
    background: var(--mc-charcoal);
    color: #FFFFFF;
    border: 1px solid var(--mc-dark-border);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 20px 44px rgba(13, 14, 17, 0.16);
}

.mc-city-map-visual {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    aspect-ratio: 420 / 260;
    background: #111318;
}

.mc-contact-quick-links {
    background: var(--mc-light-card);
    border: 1px solid var(--mc-light-border);
    border-radius: 18px;
    padding: 18px 20px;
}

@media (prefers-reduced-motion: reduce) {
    .mc-ad-slide,
    .mc-ad-img {
        transition: none !important;
        transform: none !important;
    }
    .mc-editorial-parallax-frame,
    .mc-parallax-scroll-layer,
    .mc-parallax-zoom-layer,
    .mc-editorial-parallax-img,
    .mc-offers-parallax-img {
        top: 0 !important;
        height: 100% !important;
        min-height: 100% !important;
        transform: none !important;
        transition: none !important;
    }
}




