/* ============================================================
   UBM — Apple-Level Design System
   "The Product Is the Hero"
   [Updated: 2026-02-19 T14:35]
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
    /* Elite Color Tokens (OKLCH - 2026 Standards) */
    --primary-h: 255;
    --primary-c: 0.22;

    --color-blue: oklch(60% var(--primary-c) var(--primary-h));
    --color-blue-hover: oklch(50% var(--primary-c) var(--primary-h));
    --color-blue-light: oklch(94% 0.05 var(--primary-h));
    --color-blue-subtle: oklch(98% 0.02 var(--primary-h));

    --color-bg: oklch(100% 0 0);
    --color-bg-alt: oklch(98% 0.01 250);
    --color-bg-elevated: oklch(100% 0 0);
    --color-surface: oklch(96% 0.02 250);

    --color-text: oklch(20% 0.04 250);
    --color-text-secondary: oklch(45% 0.03 250);
    --color-text-muted: oklch(65% 0.02 250);
    --color-text-inverse: oklch(100% 0 0);

    --color-border: oklch(92% 0.01 250);
    --color-border-hover: oklch(88% 0.02 250);

    /* Elite Typography */
    --font-heading: 'Sora', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Fluid Spacing (Tightened for High-Density Editorial) */
    --space-xs: clamp(0.2rem, 0.4vw, 0.4rem);
    --space-sm: clamp(0.5rem, 0.75vw, 0.75rem);
    --space-md: clamp(1rem, 1.5vw, 1.5rem);
    --space-lg: clamp(1.75rem, 2.5vw, 2.75rem);
    --space-xl: clamp(3.5rem, 5vw, 5rem);
    --space-2xl: clamp(5rem, 8vw, 7.5rem);

    /* Precision Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Multi-layered Shadows for Depth */
    --shadow-sm: 0 2px 4px oklch(0% 0 0 / 2%);
    --shadow-md: 0 4px 12px oklch(0% 0 0 / 4%), 0 2px 4px oklch(0% 0 0 / 2%);
    --shadow-lg: 0 12px 32px oklch(0% 0 0 / 8%), 0 4px 8px oklch(0% 0 0 / 4%);
    --shadow-xl: 0 24px 48px oklch(0% 0 0 / 10%), 0 12px 24px oklch(0% 0 0 / 5%);

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.25s;
    --duration-normal: 0.5s;
    --duration-slow: 0.8s;
}

[id^="service-"] {
    scroll-margin-top: 100px;
}

/* Elite Visual Details */
.glass-card {
    background: oklch(100% 0 0 / 65%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid oklch(100% 0 0 / 30%);
    box-shadow: var(--shadow-lg);
}

/* Elite Modal Style */
.modal-backdrop.show {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: oklch(0% 0 0 / 40%);
}

.elite-modal .modal-content {
    background: oklch(100% 0 0 / 85%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid oklch(100% 0 0 / 20%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    height: 92vh;
    /* Force height to fit screen */
    display: flex;
    flex-direction: column;
}

/* Ensure the dialog itself allows for large height */
.elite-modal .modal-dialog {
    max-width: 95vw;
    margin: 4vh auto;
}

.elite-modal .modal-header {
    border-bottom: 1px solid oklch(0% 0 0 / 5%);
    padding: var(--space-md) var(--space-lg);
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.elite-modal .btn-close {
    background-color: oklch(0% 0 0 / 5%);
    padding: 12px;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 9999 !important;
    /* Extremely high to ensure clickability */
    position: relative;
    pointer-events: auto !important;
}

.elite-modal .btn-close:hover {
    background-color: oklch(0% 0 0 / 10%);
    transform: rotate(90deg);
}

.elite-modal .modal-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
}

.elite-modal .modal-body {
    padding: var(--space-md);
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.elite-modal .modal-body iframe,
.elite-modal .modal-body #stl-viewer-container {
    flex-grow: 1;
    width: 100%;
    border-radius: var(--radius-md);
    animation: elite-iframe-reveal 0.8s var(--ease-out) both;
    animation-delay: 0.3s;
}

@keyframes elite-iframe-reveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.elite-modal .modal-footer {
    border-top: 1px solid oklch(0% 0 0 / 5%);
    padding: var(--space-md) var(--space-lg);
    flex-shrink: 0;
}

.dark-glass-card {
    background: oklch(20% 0.02 250 / 80%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid oklch(100% 0 0 / 10%);
    color: var(--color-text-inverse);
}

.service-watermark {
    position: absolute;
    font-family: var(--font-heading);
    font-size: clamp(8rem, 20vw, 15rem);
    font-weight: 900;
    color: var(--color-blue);
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

/* Mesh Gradient Foundations */
.bg-mesh-subtle {
    background-color: var(--color-bg);
    background-image:
        radial-gradient(at 10% 20%, oklch(95% 0.05 250 / 10%) 0px, transparent 50%),
        radial-gradient(at 90% 80%, oklch(95% 0.05 250 / 8%) 0px, transparent 50%),
        radial-gradient(at 50% 50%, oklch(90% 0.02 250 / 5%) 0px, transparent 50%);
    background-size: 100% 100%;
}

/* Kinetic Typography Tokens */
@keyframes text-pop-elite {
    0% {
        opacity: 0;
        transform: translateY(20px) skewY(2deg);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) skewY(0);
        filter: blur(0);
    }
}

.kinetic-header {
    animation: text-pop-elite var(--duration-slow) var(--ease-out) both;
}

/* Kinetic reveal logic */
@keyframes elite-entry {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.reveal-elite {
    animation: elite-entry var(--duration-slow) var(--ease-out) both;
}

.reveal-elite-delay-1 {
    animation-delay: 0.1s;
}

.reveal-elite-delay-2 {
    animation-delay: 0.2s;
}

.reveal-elite-delay-3 {
    animation-delay: 0.3s;
}

/* Elite Component Helpers */
.feature-card--dark {
    background: oklch(18% 0.03 255);
    color: oklch(100% 0 0) !important;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid oklch(25% 0.03 255);
    position: relative;
    overflow: hidden;
}

.feature-card--dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, oklch(100% 0 0 / 0.05), transparent);
    pointer-events: none;
}

.feature-card--dark * {
    color: inherit !important;
}

.feature-card--dark .opacity-75 {
    opacity: 0.85;
}

.feature-card--light {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    transition: transform var(--duration-normal) var(--ease-spring), box-shadow var(--duration-normal) var(--ease-out), border-color 0.3s ease;
}

.feature-card--light:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-blue);
}

/* ============================================================
   2. BASE RESET
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-blue);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

a:hover {
    color: var(--color-blue-hover);
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.15;
    margin: 0 0 var(--space-sm);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw + 0.5rem, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 var(--space-sm);
    color: var(--color-text-secondary);
    max-width: 60ch;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-blue) 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-blue {
    color: var(--color-blue) !important;
}

.text-muted {
    color: var(--color-text-muted) !important;
}

/* ============================================================
   4. LAYOUT
   ============================================================ */
.section-padding {
    padding: var(--space-xl) 0;
}

.section-padding-lg {
    padding: var(--space-2xl) 0;
}

/* ============================================================
   5. NAVBAR
   ============================================================ */
.sub-header {
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.sub-header .info li,
.sub-header .social-links li a {
    color: var(--color-text-secondary) !important;
    font-family: var(--font-body);
    font-size: 0.85rem;
}

/* ============================================================
   5. UBM ELITE HEADER (Clean Slate Architecture)
   ============================================================ */
/* 
   NOTE: This component uses a strictly isolated namespace 'ubm-elite-header'
   to avoid collisions with legacy 'header-area' styles.
*/

/* 
.ubm-elite-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 90px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
*/

.ubm-elite-header.scrolled {
    height: 72px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.ubm-header-container {
    width: 100%;
    max-width: 1400px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    /* Logo | Nav | CTA */
    align-items: center;
    gap: 2rem;
}

/* 1. Brand Identity */
.ubm-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 2;
}

.ubm-brand img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: height 0.4s ease;
}

.ubm-elite-header.scrolled .ubm-brand img {
    height: 42px;
}

/* 2. Navigation Core */
.ubm-nav-core {
    justify-self: center;
    height: 100%;
    display: flex;
    align-items: center;
}

.ubm-nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ubm-nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.ubm-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: var(--color-text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 99px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ubm-nav-link:hover,
.ubm-nav-link.active {
    color: var(--color-text);
    background: rgba(0, 0, 0, 0.04);
}

.ubm-nav-link i {
    font-size: 10px;
    opacity: 0.5;
    margin-top: 2px;
    transition: transform 0.3s ease;
}

.ubm-nav-item:hover .ubm-nav-link i {
    transform: rotate(180deg);
}

/* 3. Dropdown Engine (Absolute Isolation) */
.ubm-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 280px;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    z-index: 1000;
}

/* Reveal Logic */
.ubm-nav-item:hover .ubm-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.ubm-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.ubm-menu-item:hover {
    background: var(--color-bg-alt);
}

.menu-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-blue-subtle);
    color: var(--color-blue);
    border-radius: 8px;
    font-size: 14px;
    flex-shrink: 0;
}

.menu-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-title {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
}

.menu-desc {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    line-height: 1.3;
}

/* 4. Action Area */
.ubm-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.ubm-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    height: 48px;
    background: var(--color-blue);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 99px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
}

.ubm-cta:hover {
    background: var(--color-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
    color: #fff;
}

/* Mobile Overrides (Simple) */
.ubm-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
}

@media (max-width: 1100px) {
    .ubm-header-container {
        padding: 0 15px;
        height: 70px;
        gap: 1rem;
        grid-template-columns: auto 1fr auto;
    }

    .ubm-elite-header.scrolled {
        height: 64px;
    }

    .ubm-brand img {
        height: 36px;
    }

    /* Mobile Nav Drawer */
    .ubm-nav-core {
        display: none;
        /* Hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        height: auto;
        overflow-y: auto;
        max-height: 80vh;
    }

    .ubm-nav-core.mobile-active {
        display: block !important;
        animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .ubm-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .ubm-nav-item {
        width: 100%;
        display: block;
        height: auto;
    }

    .ubm-nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 14px 16px;
        border-radius: 12px;
        background: transparent;
    }

    .ubm-nav-link:hover,
    .ubm-nav-link.active {
        background: var(--color-bg-alt);
    }

    /* Mobile Dropdown Reset */
    .ubm-dropdown-menu {
        position: static;
        width: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding: 0 0 0 1rem;
        display: none;
        /* Managed by JS slideToggle */
        transition: none;
        background: transparent;
        pointer-events: auto;
    }

    .ubm-nav-item:hover .ubm-dropdown-menu {
        /* Disable hover reveal on mobile */
        transform: none;
    }

    .ubm-menu-item {
        padding: 10px;
        background: transparent;
    }

    .menu-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    /* Mobile Actions */
    .ubm-actions {
        gap: 0.75rem;
    }

    .ubm-cta {
        padding: 0 16px;
        height: 40px;
        font-size: 0.85rem;
    }

    .ubm-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--color-bg-alt);
        border-radius: 50%;
        border: none;
        font-size: 1.25rem;
        color: var(--color-text);
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .ubm-mobile-toggle:hover,
    .ubm-mobile-toggle.active {
        background: var(--color-blue-subtle);
        color: var(--color-blue);
    }
}

.dropdown-item-info {
    display: flex !important;
    flex-direction: column !important;
}

.dropdown-item-title {
    font-family: var(--font-heading) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.dropdown-item-desc {
    font-size: 0.75rem !important;
    color: var(--color-text-secondary) !important;
    line-height: 1.2 !important;
}

/* Nav CTA Button */
.nav-cta {
    background: var(--color-blue) !important;
    color: #ffffff !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25) !important;
    margin-left: 1rem !important;
    text-transform: none !important;
}

.nav-cta:hover {
    background: var(--color-blue-hover) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35) !important;
}

.menu-trigger span,
.menu-trigger span:before,
.menu-trigger span:after {
    background-color: var(--color-text) !important;
}

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn-primary-apple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--color-blue);
    color: var(--color-text-inverse);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
    letter-spacing: 0;
}

.btn-primary-apple:hover {
    background: var(--color-blue-hover);
    color: var(--color-text-inverse);
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn-secondary-apple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.btn-secondary-apple:hover {
    background: var(--color-surface);
    border-color: var(--color-border-hover);
}

.btn-secondary-apple.active {
    background: var(--color-blue);
    color: var(--color-text-inverse);
}

.btn-text-blue {
    color: var(--color-blue);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-text-blue i {
    transition: transform 0.3s var(--ease-spring);
}

.btn-text-blue:hover i {
    transform: translateX(6px);
}

/* Legacy compat */
.btn-monolith {
    composes: btn-primary-apple;
}

.btn-monolith-outline {
    composes: btn-secondary-apple;
}

.btn-monolith {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--color-blue);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.btn-monolith:hover {
    background: var(--color-blue-hover);
    color: #fff;
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn-monolith-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--color-blue);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--color-blue);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.btn-monolith-outline:hover {
    background: var(--color-blue);
    color: #fff;
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn-monolith-outline.active {
    background: var(--color-blue);
    color: #fff;
}

/* ============================================================
   6. HEADER & NAVIGATION
   ============================================================ */

/* --- Top Utility Bar (Consolidated) --- */
.top-bar {
    background: #000;
    color: #fff;
    padding: 8px 0;
    font-size: 0.72rem;
    position: relative;
    z-index: 101;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-group {
    display: flex;
    gap: 1.5rem;
}

.top-bar-link {
    color: #9ca3af;
    text-decoration: none !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-link:hover,
.top-bar-link.active {
    color: #fff;
}

.top-bar-link i {
    font-size: 0.85rem;
}

.top-bar-utility {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.top-info {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db;
}

.top-info i {
    color: var(--color-blue);
    font-size: 0.8rem;
}

.top-social {
    display: flex;
    gap: 0.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: #9ca3af;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.top-social li a:hover {
    background: #0077b5;
    /* LinkedIn Brand Color */
    border-color: #0077b5;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 991px) {

    .top-info,
    .top-bar-link span {
        display: none;
    }

    .top-bar-group {
        gap: 1rem;
    }

    /* Mobile Nav Overrides */
    .main-nav .nav {
        display: none;
        /* Controlled by slideToggle */
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        border-bottom: 2px solid var(--color-blue);
        gap: 0;
    }

    .main-nav .nav>li {
        width: 100%;
        padding: 0;
    }

    .main-nav .nav>li>a {
        justify-content: space-between;
        padding: 1rem;
        border-radius: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-dropdown {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        /* Controlled by slideToggle */
        box-shadow: none !important;
        border: none !important;
        padding: 0 0 0 1.5rem !important;
        background: var(--color-surface) !important;
    }

    .dropdown-item-premium {
        padding: 0.75rem 1rem;
    }

    .nav-cta {
        margin: 1rem 0 0 0 !important;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Legacy Redundant Header Styles Removed */
.header-area,
#header,
.main-header {
    z-index: 10 !important;
}

/* Logo Sizing */
.header-area .logo {
    display: flex !important;
    align-items: center !important;
}

.header-area .logo img {
    height: 48px !important;
    width: auto !important;
    max-width: 200px !important;
    display: block !important;
}

/* Navigation */
.header-area .nav {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-area .nav li a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
    text-transform: capitalize;
    padding: 5px 0;
    position: relative;
    display: block;
}

.header-area .nav li a:hover,
.header-area .nav li a.active {
    color: var(--color-blue);
}

.header-area .nav li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-blue);
    border-radius: 2px;
}

/* Mobile Menu */
.menu-trigger {
    display: none;
}

@media (max-width: 991px) {
    .sub-header {
        display: none;
    }

    .header-area {
        top: 0;
        background: #fff;
    }

    .header-area .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        gap: 0;
        border-top: 1px solid var(--color-border);
    }

    .header-area .nav li {
        border-bottom: 1px solid var(--color-border);
        width: 100%;
    }

    .header-area .nav li:last-child {
        border-bottom: none;
    }

    .header-area .nav li a {
        display: block;
        padding: 15px 0;
        text-align: center;
    }

    .header-area .nav li a.active::after {
        display: none;
    }

    .menu-trigger {
        display: block;
        cursor: pointer;
        padding: 10px;
        color: var(--color-text);
        font-weight: 600;
        text-transform: uppercase;
    }

    .menu-trigger.active {
        color: var(--color-blue);
    }
}


/* ============================================================
   7. HERO CAROUSEL
   ============================================================ */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 550px;
    max-height: 800px;
    overflow: hidden;
    background: var(--color-surface);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 6s ease;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1.03);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(255, 255, 255, 0.7) 40%,
            rgba(255, 255, 255, 0.2) 70%,
            transparent 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 0 var(--space-lg);
}

.hero-slide-content .hero-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-blue);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    padding: 0.4rem 1rem;
    background: var(--color-blue-subtle);
    border-radius: var(--radius-full);
}

.hero-slide-content h1 {
    font-size: clamp(2.2rem, 4vw + 0.5rem, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.hero-slide-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot.active {
    background: var(--color-blue);
    width: 32px;
    border-radius: 6px;
}

/* ============================================================
   8. TRUST BAR / STATS
   ============================================================ */
.trust-bar {
    padding: var(--space-lg) 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stat-item {
    text-align: center;
    padding: var(--space-sm);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================================
   9. CARDS
   ============================================================ */
.card-apple {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition:
        transform var(--duration-normal) var(--ease-out),
        box-shadow var(--duration-normal) var(--ease-out);
}

.card-apple:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-border-hover);
}

/* Product cards */
.product-card {
    position: relative;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition:
        transform var(--duration-normal) var(--ease-out),
        box-shadow var(--duration-normal) var(--ease-out);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    z-index: 10;
}

.product-card .card-img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f7;
    padding: var(--space-sm);
    overflow: hidden;
}

.product-card .card-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: transform var(--duration-slow) var(--ease-out);
}

.product-card:hover .card-img img {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* Service cards */
.service-card {
    position: relative;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition:
        transform var(--duration-normal) var(--ease-out),
        box-shadow var(--duration-normal) var(--ease-out);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.service-card .service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-blue-subtle);
    border-radius: var(--radius-md);
    color: var(--color-blue);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

/* Bento grid (legacy compat) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.bento-item {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

/* Legacy card compat */
.product-tech-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.product-tech-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.card-img-wrapper {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    padding: var(--space-md);
    overflow: hidden;
}

.card-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform var(--duration-slow) var(--ease-out);
}

.product-tech-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.feature-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

/* ============================================================
   10. PAGE HEADER (Sub-pages)
   ============================================================ */
.page-header {
    background: var(--color-bg-alt);
    padding: clamp(4rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border), transparent);
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw + 1rem, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    line-height: 1.1;
}

.page-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================================
   11. PREMIUM COMPONENTS (Sub-pages)
   ============================================================ */

/* Jump Navigation */
.jumpnav-premium {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 100;
}

.jumpnav-premium-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 0;
}

.jumpnav-premium-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease;
}

.jumpnav-premium-link:hover,
.jumpnav-premium-link.active {
    color: var(--color-blue);
}

.jumpnav-premium-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-blue);
}

/* Section Header Premium */
.section-header-premium {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--space-lg);
}

.section-header-premium-title {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.section-header-premium-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--color-blue), transparent);
    opacity: 0.3;
}

/* Accordion Premium (FAQ) */
.premium-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-premium-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-spring);
}

.accordion-premium-item:hover {
    border-color: var(--color-blue);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.accordion-premium-button {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    transition: background 0.3s ease;
}

.accordion-premium-button:hover {
    background: var(--color-blue-subtle);
}

.accordion-premium-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-blue-light);
    color: var(--color-blue);
    border-radius: 50%;
    font-size: 0.7rem;
    transition: transform var(--duration-normal) var(--ease-spring);
}

.accordion-premium-item.active .accordion-premium-icon {
    transform: rotate(135deg);
    background: var(--color-blue);
    color: #fff;
}

.accordion-premium-content {
    padding: 0 1.5rem 1.5rem 3.5rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.jumpnav-premium-link.hover-discovery {
    position: relative;
    padding-left: 1rem;
    transition: all 0.3s var(--ease-out);
}

.jumpnav-premium-link.hover-discovery::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    width: 4px;
    height: 12px;
    background: var(--color-blue);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-spring);
    transform-origin: left;
}

.jumpnav-premium-link.hover-discovery:hover {
    color: var(--color-blue);
    transform: translateX(6px);
}

.jumpnav-premium-link.hover-discovery:hover::before {
    transform: translateY(-50%) scaleX(1);
}

/* ============================================================
   12. FOOTER
   ============================================================ */
footer {
    background: #0f172a;
    padding: var(--space-xl) 0 var(--space-lg);
    position: relative;
    overflow: hidden;
}

.mega-footer-title {
    font-family: var(--font-heading);
    font-size: 12vw;
    font-weight: 700;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.03);
    text-align: center;
    user-select: none;
    white-space: nowrap;
    position: absolute;
    bottom: -2vw;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-content h4,
.footer-content h5 {
    font-family: var(--font-heading);
    color: #fff !important;
    font-weight: 600;
}

.footer-link {
    display: block;
    color: #94a3b8;
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: #fff;
    padding-left: 4px;
}

.social-icon-btn {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-icon-btn:hover {
    background: var(--color-blue);
    color: #fff;
    border-color: var(--color-blue);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .mega-footer-title {
        font-size: 20vw;
    }
}

/* ============================================================
   12. SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ============================================================
   13. FORMS
   ============================================================ */
.form-control-dark {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-radius: var(--radius-sm);
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control-dark:focus {
    background: var(--color-bg);
    border-color: var(--color-blue);
    color: var(--color-text);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    outline: none;
}

.form-control-dark::placeholder {
    color: var(--color-text-muted);
}

/* ============================================================
   14. UTILITIES
   ============================================================ */
.bg-accent {
    background-color: var(--color-blue) !important;
}

.bg-secondary {
    background-color: var(--color-bg-alt) !important;
}

.border-subtle {
    border-color: var(--color-border) !important;
}

.border-accent {
    border-color: var(--color-blue) !important;
}

.text-accent {
    color: var(--color-blue) !important;
}

.text-white {
    color: var(--color-text) !important;
}

.border-tech {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.fs-xs {
    font-size: 0.75rem;
}

.fs-sm {
    font-size: 0.875rem;
}

.fs-lg {
    font-size: 1.1rem;
}

.uppercase {
    text-transform: uppercase;
}

.letter-spacing-2 {
    letter-spacing: 0.1em;
}

.tech-overlay,
.blueprint-overlay {
    display: none;
}

.btn-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: var(--color-blue);
    border-color: var(--color-blue);
    color: #fff;
}

/* Pagination */
.pagination-dark .page-link {
    background: var(--color-bg);
    border-color: var(--color-border);
    color: var(--color-text);
    border-radius: var(--radius-sm);
}

.pagination-dark .page-item.active .page-link {
    background: var(--color-blue);
    color: #fff;
    border-color: var(--color-blue);
}

/* ============================================================
   15. SECTION LABELS
   ============================================================ */
.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-blue);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

/* ============================================================
   16. CTA SECTION
   ============================================================ */
.cta-section {
    background: var(--color-blue);
    padding: var(--space-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: #fff;
    font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 auto var(--space-lg);
}

.cta-section .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: #fff;
    color: var(--color-blue);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
    cursor: pointer;
}

.cta-section .btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: var(--color-blue);
}

/* ============================================================
   17. ACCESSIBILITY
   ============================================================ */
:focus-visible {
    outline: 3px solid var(--color-blue);
    outline-offset: 3px;
    border-radius: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .hero-slide-bg {
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   18. RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .section-padding {
        padding: var(--space-lg) 0;
    }

    .section-padding-lg {
        padding: var(--space-xl) 0;
    }

    .page-header {
        padding: var(--space-xl) 0 var(--space-lg);
    }

    .hero-carousel {
        height: 70vh;
        min-height: 450px;
    }

    .hero-slide-overlay {
        background: linear-gradient(to bottom,
                rgba(255, 255, 255, 0.95) 0%,
                rgba(255, 255, 255, 0.8) 60%,
                rgba(255, 255, 255, 0.4) 100%);
    }

    .hero-slide-content {
        max-width: 100%;
    }

    .hero-slide-content h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
}


/* Page Header Styles moved to Section 10 */


/* ==========================================================================
   SECTION PADDING & CTA
   ========================================================================== */

.section-padding {
    padding: var(--space-2xl) 0;
}

.section-padding-lg {
    padding: clamp(3rem, 6vw, 5rem) 0;
}










/* ==========================================================================
   APPLE-STYLE FOOTER
   ========================================================================== */

.apple-footer {
    background: var(--color-bg-alt);
    color: var(--color-text);
    font-family: var(--font-body);
}

.apple-footer-directory {
    padding: 2.5rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.apple-footer-logo {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 0.75rem;
}

.apple-footer-logo img {
    mix-blend-mode: multiply;
}

.apple-footer-tagline {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.apple-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.apple-footer-contact a {
    font-size: 0.85rem;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.apple-footer-contact a:hover {
    color: var(--color-blue);
    text-decoration: none;
}

.apple-footer-contact span {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
}

.apple-footer-contact i {
    color: var(--color-blue);
    width: 20px;
    margin-right: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
}

.apple-footer-heading {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.01em;
    margin-bottom: 0.75rem;
}

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

.apple-footer-links li {
    margin-bottom: 0.4rem;
}

.apple-footer-links a {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.apple-footer-links a:hover {
    color: var(--color-blue);
}

.apple-footer-links a i {
    margin-right: 0.35rem;
    font-size: 0.75rem;
}

/* Legal Bar */
.apple-footer-legal {
    border-top: 1px solid var(--color-border);
    padding: 1rem 0;
}

.apple-footer-legal-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.apple-footer-legal-inner span {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
}

.apple-footer-legal-links {
    display: flex;
    gap: 1.25rem;
}

.apple-footer-legal-links a {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.apple-footer-legal-links a:hover {
    color: var(--color-text);
}

@media (max-width: 767.98px) {
    .apple-footer-legal-inner {
        flex-direction: column;
    }
}

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: #ffffff;
    color: var(--color-blue);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--duration-fast) ease;
}

.btn-white:hover {
    background: #f8fafc;
    color: var(--color-blue-hover);
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f172a;
    color: #ffffff;
    padding: 1.5rem 0;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.cookie-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-actions .btn {
    padding: 0.5rem 2rem;
    border-radius: var(--radius-sm);
}

/* ============================================================
   FAQ CONTACT PROMPT BANNER
   ============================================================ */
.faq-contact-prompt {
    margin-bottom: 3rem;
}

.faq-contact-prompt-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.75rem;
    background: var(--color-blue-subtle);
    border: 1px solid var(--color-blue-light);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}

.faq-prompt-icon {
    width: 40px;
    height: 40px;
    background: var(--color-blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue);
    font-size: 1rem;
    flex-shrink: 0;
}

.faq-prompt-body {
    flex: 1;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.faq-prompt-body strong {
    color: var(--color-text);
    display: block;
    margin-bottom: 0.2rem;
}

.faq-prompt-body a {
    color: var(--color-blue);
    font-weight: 600;
    text-decoration: none;
}

.faq-prompt-body a:hover {
    text-decoration: underline;
}

.faq-prompt-cta {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--color-blue);
    color: #fff !important;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.25s ease;
}

.faq-prompt-cta:hover {
    background: var(--color-blue-hover);
    transform: translateY(-1px);
}

@media (max-width: 576px) {
    .faq-contact-prompt-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-prompt-cta {
        width: 100%;
        text-align: center;
    }
}