/* ============================================
   MANTRA AEROTECH — LAYOUT.CSS
   Primary: #034694 | Dark cards: #0A0A0A
   Font: Poppins (300-800)
   Single stylesheet (no Tailwind). Bootstrap grid+utilities loaded separately.
   ============================================ */

/* ── @font-face Poppins (self-hosted, WOFF2 first, TTF fallback) ──
   WOFF2 is ~67% smaller and supported by every browser this site targets; the TTF stays
   as a fallback for very old agents. 700/800 now load their real Bold/ExtraBold files
   (previously both aliased SemiBold, so every bold rendered a weight too light). */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/Fonts/Poppins/Poppins-Light.woff2') format('woff2'),
         url('/Fonts/Poppins/Poppins-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/Fonts/Poppins/Poppins-Regular.woff2') format('woff2'),
         url('/Fonts/Poppins/Poppins-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/Fonts/Poppins/Poppins-Medium.woff2') format('woff2'),
         url('/Fonts/Poppins/Poppins-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/Fonts/Poppins/Poppins-SemiBold.woff2') format('woff2'),
         url('/Fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/Fonts/Poppins/Poppins-Bold.woff2') format('woff2'),
         url('/Fonts/Poppins/Poppins-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/Fonts/Poppins/Poppins-ExtraBold.woff2') format('woff2'),
         url('/Fonts/Poppins/Poppins-ExtraBold.ttf') format('truetype');
}

/* ── Design Tokens ── */
:root {
    --font-poppins: 'Poppins', system-ui, -apple-system, sans-serif;
    --font-headline: var(--font-poppins);
    --font-body: var(--font-poppins);
    /* Palette - primary scale */
    --color-primary: #034694;
    --color-primary-50: #EBF2FF;
    --color-primary-100: #cddaea;
    --color-primary-200: #b3c8df;
    --color-primary-300: #9ab5d4;
    --color-primary-400: #81a3ca;
    --color-primary-500: #6890bf;
    --color-primary-600: #4f7eb4;
    --color-primary-700: #356ba9;
    --color-primary-800: #1c599f;
    --color-primary-900: #034694;
    --color-primary-950: #033f85;
    --color-primary-deep: #023876;
    --color-primary-darker: #022a59;
    --color-primary-darkest: #011c3b;
    --color-primary-abyss: #010e1e;
    /* Shades (10% darker steps) */
    --color-primary-shade-1: #033f85;
    --color-primary-shade-2: #023876;
    --color-primary-shade-3: #023168;
    --color-primary-shade-4: #022a59;
    --color-primary-shade-5: #02234a;
    --color-primary-shade-6: #011c3b;
    --color-primary-shade-7: #01152c;
    --color-primary-shade-8: #010e1e;
    --color-primary-shade-9: #00070f;
    /* Tints (10% lighter steps) */
    --color-primary-tint-1: #1c599f;
    --color-primary-tint-2: #356ba9;
    --color-primary-tint-3: #4f7eb4;
    --color-primary-tint-4: #6890bf;
    --color-primary-tint-5: #81a3ca;
    --color-primary-tint-6: #9ab5d4;
    --color-primary-tint-7: #b3c8df;
    --color-primary-tint-8: #cddaea;
    --color-primary-tint-9: #e6edf4;
    --color-accent: #023876;
    --color-accent-light: #48cae4;
    --color-accent-dark: #0096c7;
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
    --color-success: #2B8A3E;
    --color-warning: #E67700;
    --color-error: #ef4444;
    --color-sky-start: #D4EAFF;
    --color-sky-end: #FFFFFF;
    --color-dark-card: #0A0A0A;
    /* Typography scale */
    --fs-h1: 2.625rem;
    --fs-h2: 2rem;
    --fs-h3: 1.75rem;
    --fs-h4: 1.5rem;
    --fs-h5: 1.25rem;
    --fs-h6: 1.125rem;
    --fs-body: 0.875rem;
    --spacing-section: 5rem;
    --spacing-section-sm: 3rem;
    /* Theme tokens */
    --bg-page: #FFFFFF;
    --bg-section-alt: var(--color-slate-50);
    --bg-card: #FFFFFF;
    --text-heading: var(--color-slate-900);
    /* Body copy darkened from slate-600 (#475569) to slate-700 (#334155) for stronger
       contrast against the white page while the base font-size stays at 14px. */
    --text-body: var(--color-slate-700);
    --text-muted: var(--color-slate-500);
    --border-light: var(--color-slate-200);
    --border-card: var(--color-slate-200);
    --icon-bg: linear-gradient(135deg, var(--color-primary-50), var(--color-primary-100));
    --icon-color: var(--color-primary-900);
}

[data-theme="dark"] {
    --bg-page: #09090b;
    --bg-section-alt: #111114;
    --bg-card: #16161a;
    --text-heading: #f1f5f9;
    --text-body: #94a3b8;
    --text-muted: #64748b;
    --border-light: rgba(255, 255, 255, 0.08);
    --border-card: rgba(255, 255, 255, 0.08);
    --icon-bg: linear-gradient(135deg, rgba(3, 70, 148, 0.2), rgba(3, 70, 148, 0.1));
    --icon-color: var(--color-accent-light);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-page);
    line-height: 1.7;
    overflow-x: clip;
    font-size: var(--fs-body);
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3 {
    font-family: var(--font-headline);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-heading);
}

h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-heading);
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

h4 {
    font-size: var(--fs-h4);
}

h5 {
    font-size: var(--fs-h5);
}

h6 {
    font-size: var(--fs-h6);
}

p {
    color: var(--text-body);
    font-size: var(--fs-body);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

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

button {
    font-family: inherit;
}

/* ── Utility classes (Tailwind-style shortforms used in JSX) ── */
.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: var(--fs-body);
}

.rounded-full {
    border-radius: 999px !important;
}

.rounded-xl {
    border-radius: 1rem !important;
}

.rounded-lg {
    border-radius: 0.5rem !important;
}

.fw-semibold {
    font-weight: 600;
}

.leading-relaxed {
    line-height: 1.625;
}

/* ── Keyframes ── */
@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(43, 138, 62, 0.4);
    }

    50% {
        box-shadow: 0 0 12px 4px rgba(43, 138, 62, 0.15);
    }
}

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

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

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes hero-glow-drift {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.85;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.12);
        opacity: 1;
    }
}

@keyframes hero-shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes hero-particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    50% {
        transform: translateY(-40px) translateX(15px);
    }
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out forwards;
}

.animate-slide-up {
    animation: slide-up 0.6s ease-out forwards;
    opacity: 0;
}

.animate-slide-down {
    animation: slide-down 0.4s ease-out forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* ── Section Utilities ── */
.section-padding {
    padding: var(--spacing-section) 0;
}

.section-padding-sm {
    padding: var(--spacing-section-sm) 0;
}

.section-alt {
    background: var(--bg-section-alt);
}

.section-dark {
    background: linear-gradient(135deg, var(--color-primary-darkest) 0%, var(--color-primary-900) 100%);
    color: white;
}

    .section-dark h2, .section-dark h3, .section-dark h4 {
        color: white;
    }

    .section-dark p {
        color: var(--color-primary-300);
    }

.micro-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.intro-paragraph {
    font-size: var(--fs-body);
    line-height: 1.85;
    color: var(--text-body);
    max-width: 720px;
    margin-bottom: 1rem;
}

/* ── Badges ── */
.badge-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(3, 70, 148, 0.1);
    color: var(--color-primary-900);
    border: 1px solid rgba(3, 70, 148, 0.15);
}

.badge-accent-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--color-primary-50);
    color: var(--color-primary-900);
    border: 1px solid var(--color-primary-100);
}

/* ── Buttons ── */
.btn-primary-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--color-primary-900);
    color: white;
    border: none;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-body);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

    .btn-primary-pill:hover {
        background: var(--color-primary-deep);
        color: white;
        transform: scale(1.02);
        box-shadow: 0 8px 30px rgba(3, 70, 148, 0.3);
    }

    .btn-primary-pill:active {
        transform: scale(0.98);
    }

    .btn-primary-pill svg {
        transition: transform 0.3s ease;
    }

    .btn-primary-pill:hover svg {
        transform: translateX(3px);
    }

.btn-outline-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: transparent;
    color: var(--color-primary-900);
    border: 2px solid var(--color-primary-900);
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-body);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

    .btn-outline-pill:hover {
        background: var(--color-primary-900);
        color: white;
        transform: scale(1.02);
    }

.btn-white-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: white;
    color: var(--color-primary-900);
    border: 2px solid white;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-body);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

    .btn-white-pill:hover {
        background: var(--color-primary-50);
        color: var(--color-primary-900);
        transform: scale(1.02);
    }

.btn-outline-white-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-body);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

    .btn-outline-white-pill:hover {
        border-color: white;
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

/* ── Cards ── */
.card-hover {
    background: var(--bg-card);
    border-radius: 1rem;
    border: 1px solid var(--border-card);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

    .card-hover:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(3, 70, 148, 0.08);
        border-color: rgba(3, 70, 148, 0.2);
    }

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

    .card-hover img {
        transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

/* ══════════════════════════════════════════
   HEADER & MEGA MENU
   ══════════════════════════════════════════ */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
}

    .nav-header[data-scrolled="true"] {
        background: #ffffff;
        box-shadow: 0 1px 24px rgba(0, 0, 0, 0.06);
        border-bottom: 1px solid var(--border-light);
    }

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-heading);
}

.nav-logo-img {
    height: 18px;
    width: auto;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    font-size: var(--fs-body);
    font-weight: 500;
    color: #0f172a;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 4px;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--color-primary-900);
        border-radius: 2px;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        transform: translateX(-50%);
    }

    .nav-link:hover::after {
        width: 60%;
    }

    .nav-link:hover {
        color: var(--color-primary-900);
    }

    .nav-link svg {
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

.nav-dropdown-trigger {
    position: relative;
}

    .nav-dropdown-trigger.open .nav-link svg {
        transform: rotate(180deg);
    }

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

.nav-theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    background: var(--bg-section-alt);
    color: var(--text-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .nav-theme-toggle:hover {
        border-color: var(--color-primary-900);
        color: var(--color-primary-900);
        transform: scale(1.05);
    }

.nav-cta {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    background: var(--color-primary-900);
    color: white;
    border: none;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-body);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

@media (min-width: 992px) {
    .nav-cta {
        display: inline-flex;
    }
}

.nav-cta:hover {
    background: var(--color-primary-deep);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(3, 70, 148, 0.3);
}

.nav-cta svg {
    transition: transform 0.3s ease;
}

.nav-cta:hover svg {
    transform: translateX(3px);
}

.nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--text-heading);
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 992px) {
    .nav-mobile-toggle {
        display: none;
    }
}

/* ── Mega panel ── */
.mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 2px solid var(--color-primary-900);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 1.75rem 0 1.5rem;
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

    .mega-panel.open {
        opacity: 1;
        transform: translateY(0) scale(1);
        visibility: visible;
    }

@media (max-width: 992px) {
    .mega-panel {
        display: none;
    }
}

.mega-solutions-grid {
    display: grid;
    grid-template-columns: 300px 1fr 240px;
    gap: 1.5rem;
    min-height: 340px;
}

@media (max-width: 1200px) {
    .mega-solutions-grid {
        grid-template-columns: 260px 1fr 200px;
        gap: 1rem;
    }
}

.mega-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border-right: 1px solid var(--border-light);
    padding-right: 1.5rem;
}

.mega-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    font-family: var(--font-body);
    color: var(--text-body);
    position: relative;
}

    .mega-tab:hover {
        background: var(--bg-section-alt);
    }

    .mega-tab.active {
        background: var(--color-primary-50);
        border-color: rgba(3, 70, 148, 0.15);
        color: var(--color-primary-900);
    }

.mega-tab-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--bg-section-alt);
    color: var(--text-muted);
    transition: all 0.25s ease;
}

.mega-tab.active .mega-tab-icon {
    background: var(--color-primary-900);
    color: white;
}

.mega-tab-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.mega-tab-title {
    font-size: var(--fs-body);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-heading);
    transition: color 0.2s;
}

.mega-tab.active .mega-tab-title {
    color: var(--color-primary-900);
}

.mega-tab-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: none;
}

.mega-tab-arrow {
    color: var(--text-muted);
    opacity: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mega-tab.active .mega-tab-arrow {
    opacity: 1;
    color: var(--color-primary-900);
}

.mega-content {
    padding: 0 0.5rem;
    overflow: hidden;
}

.mega-content-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mega-content-pane {
    display: none;
}

    .mega-content-pane.active {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        animation: fade-in 0.25s ease;
    }

.mega-content-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.mega-content-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-primary-900), var(--color-primary-deep));
    color: white;
}

.mega-content-title {
    font-size: var(--fs-body);
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-heading);
    font-family: var(--font-body);
}

.mega-content-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: none;
    margin: 0;
}

.mega-sublinks {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .mega-sublinks.cols-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.25rem 1rem;
    }

.mega-sublink {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-body);
    transition: all 0.2s ease;
}

    .mega-sublink:hover {
        background: var(--bg-section-alt);
        color: var(--color-primary-900);
        transform: translateX(4px);
    }

.mega-sublink-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary-400);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.mega-sublink:hover .mega-sublink-dot {
    background: var(--color-primary-900);
    transform: scale(1.4);
}

.mega-sublink-name {
    font-size: var(--fs-body);
    font-weight: 600;
    display: block;
    color: var(--text-heading);
    line-height: 1.3;
}

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

.mega-sublink-arrow {
    margin-left: auto;
    color: var(--text-muted);
    opacity: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mega-sublink:hover .mega-sublink-arrow {
    opacity: 1;
    color: var(--color-primary-900);
}

.mega-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary-900);
    text-decoration: none;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: #f0f6ff;
    border: 1px solid #d6e4f5;
    margin-top: 0.75rem;
    width: fit-content;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

    .mega-view-all:hover {
        background: var(--color-primary-900);
        border-color: var(--color-primary-900);
        color: white;
        gap: 0.65rem;
    }

.mega-cta-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--color-primary-900) 0%, var(--color-primary-deep) 45%, var(--color-accent-dark) 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mega-cta-glow {
    position: absolute;
    top: -30%;
    right: -30%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.mega-cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: white;
}

    .mega-cta-content svg {
        opacity: 0.8;
    }

.mega-cta-title {
    font-size: var(--fs-body);
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin: 0;
    font-family: var(--font-body);
}

.mega-cta-desc {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin: 0;
    max-width: none;
}

.mega-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

    .mega-cta-btn:hover {
        background: rgba(255,255,255,0.25);
        color: white;
        transform: translateY(-1px);
    }

/* ── Mobile Drawer ── */
.mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
}

    .mobile-backdrop.open {
        opacity: 1;
        visibility: visible;
    }

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    width: 320px;
    max-width: 90vw;
    background: var(--bg-card);
    border-left: 1px solid var(--border-light);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    /* The drawer is off-screen at every width, so transform alone would leave its links
       in the tab order and reachable while invisible. visibility removes them; it is
       delayed until the slide-out finishes so the close animation is still seen.
       site.js also applies `inert` for browsers that support it. */
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.32s;
}

    .mobile-drawer.open {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
    }

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.mobile-drawer-title {
    font-family: var(--font-headline);
    font-size: var(--fs-h5);
    color: var(--text-heading);
}

.mobile-drawer-close {
    background: transparent;
    border: none;
    color: var(--text-heading);
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-drawer-body {
    padding: 1rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-link {
    display: block;
    padding: 0.75rem 0;
    font-size: var(--fs-body);
    font-weight: 500;
    color: var(--text-heading);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
}

.mobile-accordion {
    border-bottom: 1px solid var(--border-light);
}

.mobile-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 0;
    font-size: var(--fs-body);
    font-weight: 500;
    color: var(--text-heading);
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

    .mobile-accordion-trigger svg {
        transition: transform 0.3s ease;
    }

.mobile-accordion.open .mobile-accordion-trigger svg {
    transform: rotate(180deg);
}

.mobile-accordion-content {
    display: none;
    padding: 0.25rem 0 0.75rem 0.5rem;
    flex-direction: column;
    gap: 0.15rem;
}

.mobile-accordion.open .mobile-accordion-content {
    display: flex;
}

.mobile-sub-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    font-size: var(--fs-body);
    color: var(--text-body);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

    .mobile-sub-link:hover {
        background: var(--bg-section-alt);
        color: var(--color-primary-900);
    }

    .mobile-sub-link svg {
        color: var(--color-primary-900);
        flex-shrink: 0;
    }

/* Category headers inside mobile solutions accordion */
.mobile-sub-link--header {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-primary-900);
    padding: 0.65rem 0.75rem;
    margin-top: 0.75rem;
    border-left: 3px solid var(--color-primary-900);
    border-radius: 0 8px 8px 0;
    background: rgba(3, 70, 148, 0.05);
    letter-spacing: 0.01em;
}

    .mobile-sub-link--header:first-child {
        margin-top: 0;
    }

    .mobile-sub-link--header:hover {
        background: rgba(3, 70, 148, 0.09);
    }

    .mobile-sub-link--header i {
        font-size: 1.1rem;
        color: var(--color-primary-900);
    }

/* Sub-items under category headers */
.mobile-sub-link--item {
    padding: 0.6rem 0.75rem 0.6rem 2rem;
    font-size: 0.875rem;
    color: var(--text-muted, #64748b);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-left: 1rem;
    margin-right: 0.25rem;
}

    .mobile-sub-link--item:hover {
        color: var(--color-primary-900);
        background: var(--bg-section-alt);
        border-radius: 6px;
    }

.mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.85rem 2rem;
    background: var(--color-primary-900);
    color: white;
    border-radius: 999px;
    font-weight: 600;
    font-size: var(--fs-body);
    text-decoration: none;
    transition: all 0.3s ease;
}

    .mobile-cta:hover {
        background: var(--color-primary-deep);
        color: white;
    }

/* ══════════════════════════════════════════
   HERO BANNER (inner pages)
   ══════════════════════════════════════════ */
.hero-inner {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

    .hero-inner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(1, 14, 30, 0.88) 0%, rgba(3, 70, 148, 0.75) 50%, rgba(2, 42, 89, 0.82) 100%);
        z-index: 1;
    }

/* Circular/rounded logo badge (e.g. IATA stamp). The image sits directly in the badge now
   (no <picture> wrapper), so centre it as a flex box that fills the badge. */
.logo-badge > img {
    display: block;
    margin: auto;
}

/* Hero image is now a real <img> (see #16). Positioned to fill the banner exactly as the
   old background-image did (cover, centred), sitting beneath the ::before gradient overlay. */
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 9rem;
    padding-bottom: 3rem;
    width: 100%;
}

.hero-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

    .hero-breadcrumbs a {
        color: rgba(255,255,255,0.7);
        font-size: var(--fs-body);
        text-decoration: none;
        transition: color 0.2s;
    }

        .hero-breadcrumbs a:hover {
            color: white;
        }

    .hero-breadcrumbs .current {
        color: white;
        font-size: var(--fs-body);
        font-weight: 500;
    }

    .hero-breadcrumbs svg {
        color: rgba(255,255,255,0.45);
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: slide-up 0.5s 0.2s both;
}

.hero-title {
    color: white !important;
    max-width: 20ch;
    margin-bottom: 1rem;
    animation: slide-up 0.6s 0.3s both;
}

.hero-subtitle-text {
    color: rgba(255,255,255,0.95);
    max-width: 70ch;
    font-size: var(--fs-body);
    line-height: 1.6;
    animation: slide-up 0.5s 0.45s both;
}

/* ══════════════════════════════════════════
   HOME — Cloud Hero
   ══════════════════════════════════════════ */
.hero-cloud {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #0a1930;
}

.hero-cloud-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    z-index: 0;
}

/* Hero background video shares .hero-cloud-img positioning; render as a block */
.hero-cloud-video {
    display: block;
    pointer-events: none;
}

.hero-cloud-radial {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        /* Softer focus vignette behind the headline */
        radial-gradient(ellipse 60% 48% at 50% 45%, rgba(1, 14, 30, 0.34) 0%, rgba(1, 14, 30, 0.14) 55%, transparent 82%),
        /* Gentle darkening toward the bottom, where the text and buttons sit */
        linear-gradient(to bottom, rgba(1, 14, 30, 0.20) 0%, rgba(1, 14, 30, 0.05) 40%, rgba(1, 14, 30, 0.42) 100%),
        /* Light even wash so the bright video never blows out the text */
        linear-gradient(rgba(1, 14, 30, 0.18), rgba(1, 14, 30, 0.18));
}

.hero-cloud-glow {
    position: absolute;
    z-index: 1;
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, rgba(3, 70, 148, 0.04) 40%, transparent 70%);
    animation: hero-glow-drift 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-cloud-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-page) 100%);
    z-index: 2;
}

.hero-cloud-content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    padding: 3.5rem 1.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero-text-backdrop {
    position: relative;
    padding: 0 1.5rem;
}

.hero-cloud-content h1 {
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-h1-accent {
    display: block;
    margin-top: 0.1em;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
    margin-left: auto;
    margin-right: auto;
    font-size: 1.0625rem;
    max-width: 58ch;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.hero-shimmer-line {
    width: 80px;
    height: 3px;
    margin: 0 auto 1.5rem;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: hero-shimmer 3s ease-in-out infinite;
    opacity: 0.7;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

/* Hero stats strip */
.hero-stats-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    padding: 1.25rem 2.5rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.hero-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.2);
}

.hero-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.28);
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    backdrop-filter: blur(8px);
    text-decoration: none;
    transition: all 0.25s ease;
}

    .hero-secondary-btn:hover {
        background: rgba(255,255,255,0.2);
        border-color: rgba(255,255,255,0.4);
        color: white;
    }

/* ── HOME: Solutions Showcase (sticky stacking cards) ── */
.sol-showcase {
    padding: var(--spacing-section) 0;
    background: var(--bg-page);
}

/* Labeled section divider — visual hierarchy break */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 520px;
    margin: 4.5rem auto 4rem;
}

.section-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-card));
}

    .section-divider-line:last-child {
        background: linear-gradient(90deg, var(--border-card), transparent);
    }

.section-divider-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary-700);
}

    .section-divider-label i {
        font-size: 0.95rem;
        color: var(--color-primary-900);
        opacity: 0.85;
    }

@media (max-width: 480px) {
    .section-divider {
        gap: 0.75rem;
        margin: 2rem auto;
    }

    .section-divider-label {
        font-size: 0.65rem;
        letter-spacing: 0.08em;
    }
}

/* ── HOME: Solutions Showcase — full-bleed alternating panels with wavy seams ── */
.sol-showcase {
    padding-bottom: 0;
}

/* Full-bleed wrapper: breaks out of the centered container to span the viewport */
.sol-panels {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Each panel: near-full-height split of image + content, scales by device.
   Dark navy theme — the image fades into the dark background, white text over it. */
.sol-panel {
    position: relative;
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: stretch;
    min-height: clamp(560px, 90vh, 820px);
    /* Odd panels (1, 3): text on the right — bright blue glow rises from the bottom-right,
       fading up into deep navy. Matches the reference look. */
    background:
        radial-gradient(90% 90% at 85% 115%, rgba(53, 107, 169, 0.85) 0%, rgba(28, 89, 159, 0.35) 30%, rgba(2, 42, 89, 0) 62%),
        linear-gradient(160deg, var(--color-primary-darkest) 0%, var(--color-primary-darker) 45%, var(--color-primary-deep) 100%);
    overflow: hidden;
}

/* Even panels (2, 4): text on the left — glow mirrors to the bottom-left */
.sol-panel--tint {
    background:
        radial-gradient(90% 90% at 15% 115%, rgba(53, 107, 169, 0.85) 0%, rgba(28, 89, 159, 0.35) 30%, rgba(2, 42, 89, 0) 62%),
        linear-gradient(200deg, var(--color-primary-darkest) 0%, var(--color-primary-darker) 45%, var(--color-primary-deep) 100%);
}

/* Reversed panel (2nd, 4th): text is the left column, image the right.
   Flip the column ratio so the image stays the larger 55% half. */
.sol-panel--reverse {
    grid-template-columns: 45% 55%;
}

.sol-panel--reverse .sol-panel-media {
    order: 2;
}

/* ── Media half ── */
.sol-panel-media {
    position: relative;
    overflow: hidden;
}

    .sol-panel-media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .sol-panel:hover .sol-panel-media img {
        transform: scale(1.04);
    }

/* Glass icon badge on the image */
.sol-panel-badge {
    position: absolute;
    top: 1.75rem;
    left: 1.75rem;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 22px rgba(1, 14, 30, 0.22);
}

.sol-panel--reverse .sol-panel-badge {
    left: auto;
    right: 1.75rem;
}

    .sol-panel-badge i {
        font-size: 1.55rem;
        color: #fff;
    }

/* ── Content half ── */
.sol-panel-content {
    position: relative;
    display: flex;
    align-items: center;
    padding: 3rem clamp(2rem, 5vw, 5rem);
    overflow: hidden;
}

.sol-panel-inner {
    position: relative;
    z-index: 1;
    max-width: 40rem;
}

/* Large faint ghost number behind the content */
.sol-panel-num {
    position: absolute;
    top: -3.5rem;
    right: 0;
    z-index: 0;
    font-size: clamp(8rem, 14vw, 15rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #fff;
    opacity: 0.07;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sol-panel:hover .sol-panel-num {
    opacity: 0.11;
    transform: translateY(-6px);
}

/* Eyebrow index */
.sol-panel-index {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

    .sol-panel-index::before {
        content: "";
        width: 28px;
        height: 2px;
        border-radius: 2px;
        background: var(--color-accent-light, #48cae4);
    }

.sol-panel-index-num {
    font-weight: 800;
    color: #fff;
}

.sol-panel-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent-light, #48cae4);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.sol-panel-title {
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.sol-panel-desc {
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    margin-bottom: 1.75rem;
    max-width: 48ch;
}

.sol-panel-chips {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

    .sol-panel-chips li {
        font-size: 0.76rem;
        font-weight: 500;
        color: #fff;
        background: rgba(255, 255, 255, 0.1);
        padding: 0.45rem 0.95rem;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        transition: background 0.25s ease, border-color 0.25s ease;
    }

    .sol-panel:hover .sol-panel-chips li {
        background: rgba(255, 255, 255, 0.16);
        border-color: rgba(255, 255, 255, 0.32);
    }

.sol-panel-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.9rem 1.8rem;
    background: #fff;
    color: var(--color-primary-900);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, gap 0.3s ease, color 0.3s ease;
    box-shadow: 0 8px 22px rgba(1, 14, 30, 0.35);
    width: fit-content;
}

    .sol-panel-cta:hover {
        background: var(--color-accent-dark, #0096c7);
        color: #fff;
        box-shadow: 0 12px 30px rgba(0, 180, 216, 0.4);
        transform: translateY(-2px);
        gap: 0.75rem;
    }

    .sol-panel-cta svg {
        transition: transform 0.3s ease;
    }

    .sol-panel-cta:hover svg {
        transform: translateX(3px);
    }

/* ── Tablet: stack image over content, simplify seam ── */
@media (max-width: 991px) {
    .sol-panel {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        min-height: 0;
    }

    .sol-panel--reverse .sol-panel-media {
        order: -1;
    }

    .sol-panel-media {
        min-height: clamp(280px, 42vh, 420px);
    }

    .sol-panel-content {
        padding: 2.5rem clamp(1.5rem, 5vw, 3rem) 3rem;
    }

    .sol-panel-num {
        top: -2rem;
        font-size: clamp(7rem, 22vw, 11rem);
    }
}

@media (max-width: 575px) {
    .sol-panel-media {
        min-height: 240px;
    }

    .sol-panel-badge {
        width: 46px;
        height: 46px;
        top: 1.1rem;
        left: 1.1rem;
    }

    .sol-panel--reverse .sol-panel-badge {
        right: 1.1rem;
    }

    .sol-panel-content {
        padding: 2rem 1.5rem 2.5rem;
    }

    .sol-panel-desc {
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sol-panel-media img,
    .sol-panel-num,
    .sol-panel-cta {
        transition: none;
    }

    .sol-panel:hover .sol-panel-media img,
    .sol-panel:hover .sol-panel-num {
        transform: none;
    }
}

/* ── HOME: Why-Choose grid ── */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.why-choose-card {
    position: relative;
    background: #f0f6ff69;
    border: 1px solid #e4edf8;
    border-radius: 16px;
    padding: 2rem 1.5rem 1.75rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    height: 100%;
}

    .why-choose-card:hover {
        background: linear-gradient(135deg, var(--color-primary-900) 0%, var(--color-primary-deep) 100%);
        border-color: transparent;
        transform: translateY(-6px);
        box-shadow: 0 20px 60px rgba(3, 70, 148, 0.3), 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    .why-choose-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 1.5rem;
        width: 40px;
        height: 3px;
        border-radius: 0 0 3px 3px;
        background: linear-gradient(90deg, var(--color-primary-900), var(--color-accent));
        transition: opacity 0.3s ease;
    }

    .why-choose-card:hover::before {
        opacity: 0;
    }

.why-choose-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(3, 70, 148, 0.1);
    color: var(--color-primary-900);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-choose-card:hover .why-choose-icon {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: scale(1.08);
}

.why-choose-title {
    font-size: var(--fs-body);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
    transition: color 0.4s ease;
}

.why-choose-card:hover .why-choose-title {
    color: #ffffff;
}

.why-choose-desc {
    font-size: var(--fs-body);
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
    max-width: none;
    transition: color 0.4s ease;
}

.why-choose-card:hover .why-choose-desc {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════
   CTA BAND
   ══════════════════════════════════════════ */
.cta-band {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem;
    background: linear-gradient(165deg, var(--color-primary-darkest) 0%, var(--color-primary-900) 35%, var(--color-primary-deep) 65%, var(--color-primary-darker) 100%);
}


.cta-plane-float {
    position: absolute;
    top: 22%;
    left: 15%;
    color: white;
    animation: cta-plane-drift 12s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
    transform: rotate(-15deg);
}
.plane-2 {
    top: unset;
    left: unset;
    bottom: 22%;
    right: 15%;
}
@keyframes cta-plane-drift {
    0%,100% {
        transform: rotate(-15deg) translate(0,0);
    }

    25% {
        transform: rotate(-12deg) translate(8px,-6px);
    }

    50% {
        transform: rotate(-15deg) translate(15px,-3px);
    }

    75% {
        transform: rotate(-18deg) translate(6px,-8px);
    }
}

.cta-band-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.cta-band-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    margin-bottom: 1.75rem;
}

.cta-band-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
    animation: cta-badge-pulse 2s ease-in-out infinite;
}

@keyframes cta-badge-pulse {
    0%,100% {
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(0,180,216,0.3);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 8px 2px rgba(0,180,216,0.2);
    }
}

.cta-band-title {
    color: white !important;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cta-band-subtitle {
    color: rgba(255,255,255,0.8) !important;
    font-size: var(--fs-body);
    line-height: 1.7;
    max-width: 50ch;
    margin: 0 auto 2rem;
}

.cta-band-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .cta-cloud-left, .cta-cloud-left-sm {
        left: -2%;
        font-size: 8px;
    }

    .cta-cloud-right, .cta-cloud-right-sm {
        right: -2%;
        font-size: 8px;
    }

    .cta-plane-float {
        display: none;
    }
}

@media (max-width: 768px) {
    .cta-band {
        padding: 4rem 0 3.5rem;
    }

    .cta-cloud {
        display: none;
    }
}

@media (max-width: 480px) {
    .cta-band {
        padding: 3rem 0 2.5rem;
    }

    .cta-band-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ══════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════ */
/* The hidden starting state (opacity:0) is scoped to `html.js`, a class set by an inline
   script in <head> BEFORE this stylesheet paints. If site.js never runs — it 404s, is
   proxy/CSP-blocked, or throws before boot() — the class is still present, but site.js is
   what adds `.visible`, so we must not leave content stuck at opacity:0. Guarding the
   *hidden* state on `.js` means: no JS at all → class never set → content shows normally;
   JS present but reveal fails → the <noscript>-style fallback below (and the IO fallback in
   site.js) still reveal it. Net effect: content is never permanently invisible. */
html.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s cubic-bezier(0.16,1,0.3,1);
}

    /* Scoped under html.js too, so it out-specifies `html.js .reveal` once JS adds .visible. */
    html.js .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

html.js .reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.7s cubic-bezier(0.16,1,0.3,1);
}

    html.js .reveal-left.visible {
        opacity: 1;
        transform: translateX(0);
    }

html.js .reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.7s cubic-bezier(0.16,1,0.3,1);
}

    html.js .reveal-right.visible {
        opacity: 1;
        transform: translateX(0);
    }

html.js .reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: all 0.7s cubic-bezier(0.16,1,0.3,1);
}

    html.js .reveal-scale.visible {
        opacity: 1;
        transform: scale(1);
    }

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

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

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

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

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.site-footer {
    background: #0A0A0A;
    color: #9ca3af;
}

    .site-footer .footer-main {
        padding: 4rem 0 3rem;
    }

    .site-footer h5 {
        color: white;
        font-size: 0.8125rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        margin-bottom: 1.25rem;
    }

    .site-footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .site-footer .footer-links li {
        margin-bottom: 0.5rem;
    }

    .site-footer .footer-link {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        color: #9ca3af;
        font-size: var(--fs-body);
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .site-footer a:hover {
        color: var(--color-primary-100) !important;
    }

    .site-footer .footer-brand-text {
        color: #6b7280;
        font-size: var(--fs-body);
        max-width: 34ch;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .site-footer .social-icon {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.06);
        color: #9ca3af;
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 8px;
        transition: background 0.2s ease, color 0.2s ease;
    }

        .site-footer .social-icon:hover {
            background: rgba(255,255,255,0.12);
            color: white !important;
        }

    .site-footer .support-row {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #9ca3af;
        font-size: var(--fs-body);
        text-decoration: none;
        line-height: 1.7;
        margin-bottom: 0.5rem;
    }

        .site-footer .support-row svg {
            color: #d4d4d4;
            flex-shrink: 0;
        }

    .site-footer .address-row {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        color: #9ca3af;
        font-size: var(--fs-body);
        line-height: 1.7;
        margin-top: 0.5rem;
    }

    .site-footer .footer-bottom {
        padding: 0.75rem 0;
        border-top: 1px solid rgba(255,255,255,0.06);
    }

        .site-footer .footer-bottom .legal-row {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            justify-content: space-between;
            align-items: center;
        }

@media (min-width: 768px) {
    .site-footer .footer-bottom .legal-row {
        flex-direction: row;
    }
}

.site-footer .footer-bottom p,
.site-footer .footer-bottom a {
    color: #6b7280;
    font-size: 0.75rem;
    text-decoration: none;
}

.site-footer .footer-bottom .legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ══════════════════════════════════════════
   SITE PAGES (About, Technology, Contact, Legal)
   ══════════════════════════════════════════ */
/* About: purpose cards */
.about-purpose-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    height: 100%;
}

    .about-purpose-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--color-primary-900), var(--color-accent));
        border-radius: 20px 20px 0 0;
    }

    .about-purpose-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 50px rgba(3,70,148,0.1);
        border-color: rgba(3,70,148,0.18);
    }

.about-purpose-card--accent {
    background: linear-gradient(135deg, var(--color-primary-900) 0%, var(--color-primary-deep) 100%);
    border-color: transparent;
    color: white;
}

    .about-purpose-card--accent::before {
        background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    }

    .about-purpose-card--accent h3 {
        color: #ffffff;
    }

    .about-purpose-card--accent p {
        color: rgba(255,255,255,0.7);
    }

.about-purpose-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--icon-bg);
    color: var(--icon-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.about-purpose-card:hover .about-purpose-icon {
    transform: scale(1.05);
}

.about-purpose-icon--accent {
    background: rgba(255,255,255,0.12);
    color: var(--color-accent-light);
}

/* Purpose section redesign */
.purpose-card {
    position: relative;
    padding: 2.5rem;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(3,70,148,0.08);
    height: 100%;
    transition: all 0.45s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 4px 24px rgba(3,70,148,0.05);
    overflow: hidden;
}

    .purpose-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 24px;
        background: radial-gradient(ellipse at top left, rgba(3,70,148,0.04) 0%, transparent 60%);
        pointer-events: none;
    }

    .purpose-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 64px rgba(3,70,148,0.12);
        border-color: rgba(3,70,148,0.15);
    }

.purpose-card--vision {
    background: linear-gradient(145deg, var(--color-primary-deep) 0%, #0a2a5c 100%);
    border-color: transparent;
}

    .purpose-card--vision::before {
        background: radial-gradient(ellipse at bottom right, rgba(0,180,216,0.1) 0%, transparent 60%);
    }

    .purpose-card--vision .purpose-card-title {
        color: #ffffff;
    }

    .purpose-card--vision .purpose-card-text {
        color: rgba(255,255,255,0.78);
    }

    .purpose-card--vision .purpose-card-icon {
        background: rgba(255,255,255,0.1);
        color: #a8d8ff;
        border-color: rgba(255,255,255,0.15);
    }

    .purpose-card--vision .purpose-card-accent-line {
        background: linear-gradient(90deg, var(--color-accent), rgba(0,180,216,0.3), transparent);
    }

.purpose-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.purpose-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: var(--color-primary-50, #ebf2ff);
    color: var(--color-primary-900);
    border: 1px solid rgba(3,70,148,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.purpose-card:hover .purpose-card-icon {
    transform: scale(1.08) rotate(-3deg);
}

.purpose-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-primary-deep);
    margin: 0;
    letter-spacing: -0.01em;
}

.purpose-card-text {
    font-size: 0.9675rem;
    line-height: 1.8;
    color: var(--text-body);
    margin: 0;
}

.purpose-card-accent-line {
    margin-top: 1.75rem;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--color-primary-900), rgba(3,70,148,0.15), transparent);
    width: 60%;
    transition: width 0.4s ease;
}

.purpose-card:hover .purpose-card-accent-line {
    width: 85%;
}

/* About: capability cards */
.about-capability-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    height: 100%;
}

    .about-capability-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 32px rgba(3,70,148,0.08);
        border-color: rgba(3,70,148,0.18);
    }

.about-capability-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: var(--icon-bg);
    color: var(--icon-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.about-capability-card:hover .about-capability-icon {
    background: linear-gradient(135deg, var(--color-primary-900), var(--color-primary-deep));
    color: white;
    transform: scale(1.05);
}

.about-capability-content {
    flex: 1;
    min-width: 0;
}

.about-capability-title {
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
    line-height: 1.35;
}

.about-capability-desc {
    font-size: var(--fs-body);
    color: var(--text-body);
    line-height: 1.65;
    max-width: none;
    margin: 0;
}

/* About: Stats */
.stat-number {
    font-family: var(--font-body);
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-primary-900);
    line-height: 1;
    letter-spacing: -0.02em;
}

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

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border-light);
    align-self: center;
}

@media (max-width: 768px) {
    .stat-divider {
        display: none;
    }
}

/* Contact form */
.contact-form {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-page) 140%);
    border: 1px solid var(--border-card);
    border-radius: 18px;
    padding: 2rem 2rem 1.75rem;
    box-shadow: 0 20px 45px -30px rgba(3, 70, 148, 0.28);
}

    /* Tighter header so the fields start higher */
    .contact-form > h3 {
        margin-bottom: 0.35rem !important;
        font-size: 1.35rem;
    }

    .contact-form > p {
        margin-bottom: 1.5rem !important;
        font-size: 0.875rem !important;
        line-height: 1.5;
    }

    .contact-form .form-group {
        margin-bottom: 0;
    }

    .contact-form label {
        display: block;
        margin-bottom: 0.35rem;
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--text-heading);
        letter-spacing: 0.01em;
    }

        .contact-form label .req {
            color: var(--color-error);
            margin-left: 2px;
        }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form select,
    .contact-form textarea {
        width: 100%;
        padding: 0.6rem 0.85rem;
        font-size: 0.9rem;
        font-family: inherit;
        background: var(--bg-page);
        color: var(--text-heading);
        border: 1px solid var(--border-light);
        border-radius: 10px;
        transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
    }

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

        .contact-form input[type="text"]:focus,
        .contact-form input[type="email"]:focus,
        .contact-form input[type="tel"]:focus,
        .contact-form select:focus,
        .contact-form textarea:focus {
            border-color: var(--color-primary-900);
            background: var(--bg-card);
            box-shadow: 0 0 0 3px rgba(3,70,148,0.10);
            outline: none;
        }

        .contact-form input[type="text"]:hover:not(:focus),
        .contact-form input[type="email"]:hover:not(:focus),
        .contact-form input[type="tel"]:hover:not(:focus),
        .contact-form select:hover:not(:focus),
        .contact-form textarea:hover:not(:focus) {
            border-color: rgba(3, 70, 148, 0.35);
        }

    .contact-form .field-validation-error,
    .contact-form .text-danger,
    .contact-form .form-error {
        color: var(--color-error);
        font-size: 0.75rem;
        margin-top: 0.25rem;
        display: block;
    }

    .contact-form input.input-validation-error,
    .contact-form textarea.input-validation-error,
    .contact-form select.input-validation-error {
        border-color: var(--color-error);
    }

    .contact-form .form-check {
        display: flex;
        align-items: flex-start;
        gap: 0.6rem;
        font-size: 0.8125rem;
        color: var(--text-body);
        line-height: 1.55;
    }

        .contact-form .form-check input[type=checkbox] {
            width: 18px;
            height: 18px;
            margin-top: 2px;
            accent-color: var(--color-primary-900);
        }

    /* Zoho CRM form integration */
    .contact-form #crmWebToEntityForm {
        background: transparent;
        padding: 0;
        max-width: 100%;
    }

    .contact-form .zcwf_col_fld_slt {
        width: 100%;
        padding: 0.6rem 0.85rem;
        font-size: 0.9rem;
        font-family: inherit;
        background: var(--bg-page);
        color: var(--text-heading);
        border: 1px solid var(--border-light);
        border-radius: 10px;
        transition: border-color 0.2s, box-shadow 0.2s;
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        padding-right: 2.5rem;
        cursor: pointer;
    }

        .contact-form .zcwf_col_fld_slt:focus {
            border-color: var(--color-primary-900);
            box-shadow: 0 0 0 3px rgba(3,70,148,0.08);
            outline: none;
        }

    /* Captcha section */
    .contact-form .captcha-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .contact-form .captcha-image-row {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0;
        border-radius: 10px;
    }

        .contact-form .captcha-image-row img {
            border-radius: 8px;
            height: 40px;
            display: inline-block;
            flex-shrink: 0;
            border: 1px solid var(--border-light);
        }

        .contact-form .captcha-image-row input[name="enterdigest"] {
            flex: 1;
            background: var(--bg-page);
            border-radius: 10px;
            padding: 0.6rem 0.85rem;
            font-size: 0.9rem;
            outline: none;
            border: 1px solid var(--border-light);
            transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
        }

        .contact-form .captcha-image-row input[name="enterdigest"]:focus {
            border-color: var(--color-primary-900);
            background: var(--bg-card);
            box-shadow: 0 0 0 3px rgba(3,70,148,0.10);
        }

    .contact-form .captcha-reload {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        font-size: 0;
        color: var(--color-primary-900);
        text-decoration: none;
        transition: all 0.2s ease;
        border-radius: 50%;
        background: rgba(0,80,160,0.06);
        flex-shrink: 0;
    }

        .contact-form .captcha-reload:hover {
            color: var(--color-primary-deep);
            background: rgba(0,80,160,0.12);
            transform: rotate(90deg);
        }

    /* Reset button */
    .contact-form .btn-reset-form {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        cursor: pointer;
    }

    .contact-form input.formsubmit.btn-primary-pill {
        padding: 0.65rem 1.75rem;
        font-size: 0.9rem;
    }

    /* Submit button override for input type */
    .contact-form input.formsubmit.btn-primary-pill {
        cursor: pointer;
        border: none;
    }

        .contact-form input.formsubmit.btn-primary-pill:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

    /* Placeholder styling */
    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        color: var(--text-muted);
        font-weight: 400;
    }

.form-success {
    background: rgba(43,138,62,0.08);
    border: 1px solid rgba(43,138,62,0.25);
    color: #1e6f33;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

/* Contact details panel */
.contact-info-panel {
    background: linear-gradient(135deg, var(--color-primary-900) 0%, var(--color-primary-deep) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    color: white;
}

    .contact-info-panel h3 {
        color: white;
        margin-bottom: 0.75rem;
    }

    .contact-info-panel p {
        color: rgba(255,255,255,0.8);
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

    .contact-info-item .icon-wrap {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: rgba(255,255,255,0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        flex-shrink: 0;
    }

    .contact-info-item h6 {
        color: white;
        margin-bottom: 0.2rem;
        font-size: var(--fs-body);
        font-weight: 600;
    }

    .contact-info-item p, .contact-info-item a {
        color: rgba(255,255,255,0.8);
        font-size: var(--fs-body);
        line-height: 1.55;
        margin: 0;
    }

        .contact-info-item a:hover {
            color: white !important;
        }

.map-wrap {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-card);
    box-shadow: 0 4px 24px rgba(3,70,148,0.06);
}

    .map-wrap iframe {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 320px;
        border: 0;
    }

/* Legal pages */
.legal-content {
/*    max-width: 760px;*/
    margin: 0 auto;
}

    .legal-content h2 {
        font-size: var(--fs-h4);
        margin-top: 2.5rem;
        margin-bottom: 1rem;
    }

    .legal-content h3 {
        font-size: var(--fs-h6);
        margin-top: 1.75rem;
        margin-bottom: 0.65rem;
    }

    .legal-content p, .legal-content li {
        font-size: 0.9375rem;
        line-height: 1.85;
        color: var(--text-body);
    }

    .legal-content ul, .legal-content ol {
        padding-left: 1.5rem;
        margin-bottom: 1rem;
    }

    .legal-content li {
        margin-bottom: 0.4rem;
    }

    .legal-content a {
        color: var(--color-primary-900);
        text-decoration: underline;
    }

/* Tech capability card */
.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 18px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    overflow: hidden;
}

    .tech-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--color-primary-900), var(--color-accent));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    }

    .tech-card:hover::before {
        transform: scaleX(1);
    }

    .tech-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(3,70,148,0.08);
        border-color: rgba(3,70,148,0.15);
    }

.tech-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--icon-bg);
    color: var(--icon-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.tech-card:hover .tech-card-icon {
    background: linear-gradient(135deg, var(--color-primary-900), var(--color-primary-deep));
    color: white;
    transform: scale(1.05);
}

.tech-card h4 {
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    font-size: 1.0625rem;
}

.tech-card p {
    color: var(--text-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    max-width: none;
    margin: 0;
}

/* Partnerships */
.partnership-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.35s ease;
}

    .partnership-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(3,70,148,0.08);
    }

/* ══════════════════════════════════════════
   SOLUTIONS — Hub & Sub-Product Blocks
   ══════════════════════════════════════════ */
/* Solutions hub card (Index) */
.sol-hub-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px -14px rgba(3, 70, 148, 0.12), 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: transform 0.45s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.45s cubic-bezier(0.16,1,0.3,1),
                border-color 0.45s ease;
}

    .sol-hub-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 60px -22px rgba(3, 70, 148, 0.28), 0 4px 12px rgba(0, 0, 0, 0.04);
        border-color: rgba(3,70,148,0.2);
    }

.sol-hub-image {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    padding: 32px;
}

    .sol-hub-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        min-height: 280px;
        transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
    }

    .sol-hub-card:nth-child(odd) .sol-hub-image img {
        border-radius: 32px 0px 0px 32px;
    }

    .sol-hub-card:nth-child(even) .sol-hub-image img {
        border-radius: 0px 32px 32px 0px;
    }

    /* Directional depth wash toward the content side */
    .sol-hub-image::after {
        content: "";
        position: absolute;
        inset: 32px;
        border-radius: inherit;
        background: linear-gradient(115deg, rgba(1, 14, 30, 0.22) 0%, rgba(3, 70, 148, 0.05) 45%, rgba(3, 70, 148, 0) 70%);
        pointer-events: none;
    }

.sol-hub-card:hover .sol-hub-image img {
    transform: scale(1.05);
}

.sol-hub-body {
    position: relative;
    padding: 2.75rem 3rem;
    overflow: hidden;
}

/* Large faint ghost number behind the content */
.sol-hub-num {
    position: absolute;
    top: 0.75rem;
    right: 1.75rem;
    z-index: 0;
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--color-primary-900);
    opacity: 0.055;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sol-hub-card:hover .sol-hub-num {
    opacity: 0.09;
    transform: translateY(-4px);
}

/* Keep real content above the ghost number */
.sol-hub-body > *:not(.sol-hub-num) {
    position: relative;
    z-index: 1;
}

.sol-hub-index {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--color-primary-700);
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

    /* Accent bar before the eyebrow */
    .sol-hub-index::before {
        content: "";
        width: 24px;
        height: 2px;
        border-radius: 2px;
        background: var(--color-primary-900);
    }

.sol-hub-index-num {
    font-weight: 800;
    color: var(--color-primary-900);
}

.sol-hub-title {
    font-size: clamp(1.375rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.sol-hub-tagline {
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--color-primary-900);
    margin-bottom: 0.75rem;
    max-width: none;
}

.sol-hub-desc {
    font-size: var(--fs-body);
    color: var(--text-body);
    line-height: 1.7;
    max-width: 52ch;
    margin-bottom: 1.25rem;
}

.sol-hub-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .sol-hub-features li {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.8125rem;
        font-weight: 500;
        color: var(--color-primary-900);
        line-height: 1.4;
        padding: 0.4rem 0.9rem;
        border-radius: 999px;
        background: #f0f6ff;
        border: 1px solid #d6e4f5;
        transition: all 0.3s ease;
    }

        .sol-hub-features li:hover {
            background: var(--color-primary-900);
            border-color: var(--color-primary-900);
            color: white;
        }

        .sol-hub-features li i {
            color: var(--color-primary-deep);
            flex-shrink: 0;
            font-size: 0.75rem;
            transition: color 0.3s ease;
        }

        .sol-hub-features li:hover i {
            color: white;
        }

@media (prefers-reduced-motion: reduce) {
    .sol-hub-card,
    .sol-hub-image img,
    .sol-hub-num {
        transition: none;
    }

    .sol-hub-card:hover {
        transform: none;
    }

    .sol-hub-card:hover .sol-hub-image img,
    .sol-hub-card:hover .sol-hub-num {
        transform: none;
    }
}

/* Sub-Product block */
.sub-product-block { /* wrapper section */
}

.sub-product-section {
    padding: var(--spacing-section) 0;
    background: var(--bg-page);
}

    .sub-product-section.alt {
        background: var(--bg-section-alt);
    }

.sp-image-wrap {
    position: relative;
    min-height: 320px;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
/*    box-shadow: 0 16px 48px rgba(3,70,148,0.1);*/
    max-height: 550px;
}

/* Sticky image column for long-content sections (hub pages) */
.sp-image-sticky {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

    .sp-image-sticky .sp-image-wrap {
        max-height: 480px;
        box-shadow: 0 16px 48px rgba(3, 70, 148, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
        border: 1px solid rgba(3, 70, 148, 0.06);
        transition: box-shadow 0.3s ease, transform 0.3s ease;
    }

    .sp-image-sticky .sp-image-wrap:hover {
        box-shadow: 0 20px 60px rgba(3, 70, 148, 0.12), 0 6px 16px rgba(0, 0, 0, 0.06);
        transform: translateY(-2px);
    }

    .sp-image-wrap img {
        display: block;
        width: 100%;
        height: 100%;
/*        object-fit: contain;*/
        min-height: 320px;
        border-radius: inherit;
    }

.sp-image-wrap.sp-image-cover img {
    object-fit: cover;
    min-height: 0 !important;
}

.sp-features {
    display: grid;
    gap: 0.35rem 1rem;
    margin-top: 1rem;
}

    .sp-features.cols-2 {
        grid-template-columns: 1fr 1fr;
    }

    .sp-features.cols-1 {
        grid-template-columns: 1fr;
    }

    .sp-features .sp-feature {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.3rem 0;
        font-size: 0.8125rem;
        line-height: 1.5;
        color: var(--text-body);
    }

        .sp-features .sp-feature i {
            color: var(--color-primary-600);
            flex-shrink: 0;
            margin-top: 2px;
        }

.sp-feature-group {
    margin-top: 1.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

    .sp-feature-group:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.sp-feature-group-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.sp-feature-group-bar {
    width: 3px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--color-primary-900), var(--color-primary-600));
    flex-shrink: 0;
}

.sp-feature-group-head h6 {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-heading);
    margin: 0;
    line-height: 1.3;
}

.sp-feature-group-items {
    display: grid;
    gap: 0.2rem 1rem;
    padding-left: 0.75rem;
}

    .sp-feature-group-items.cols-2 {
        grid-template-columns: 1fr 1fr;
    }

    .sp-feature-group-items.cols-1 {
        grid-template-columns: 1fr;
    }

    .sp-feature-group-items .sp-feature {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.2rem 0;
        font-size: 0.8rem;
        line-height: 1.55;
        color: var(--text-body);
    }

        .sp-feature-group-items .sp-feature i {
            color: var(--color-primary-600);
            flex-shrink: 0;
            margin-top: 2px;
        }

/* Benefits grid */
.sp-benefits-section {
    padding: var(--spacing-section-sm) 0;
}
    /*.sp-benefits-section .row{
    justify-content: center;
}*/
    .sp-benefits-section.alt {
        background: var(--bg-section-alt);
    }

.benefit-card {
    background: #f0f6ff69;
    border: 1px solid #e4edf8;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    overflow: hidden;
}

    .benefit-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 1.5rem;
        width: 40px;
        height: 3px;
        border-radius: 0 0 3px 3px;
        background: linear-gradient(90deg, var(--color-primary-900), var(--color-accent));
        transition: opacity 0.3s ease;
    }

    .benefit-card:hover::before {
        opacity: 0;
    }

    .benefit-card:hover {
        background: linear-gradient(135deg, var(--color-primary-900) 0%, var(--color-primary-deep) 100%);
        border-color: transparent;
        transform: translateY(-6px);
        box-shadow: 0 20px 60px rgba(3, 70, 148, 0.3), 0 8px 24px rgba(0, 0, 0, 0.1);
    }

.benefit-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(3, 70, 148, 0.1);
    color: var(--color-primary-900);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}

.benefit-card:hover .benefit-card-icon {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: scale(1.08);
}

.benefit-card h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
    line-height: 1.35;
    transition: color 0.4s ease;
}

.benefit-card:hover h5 {
    color: #ffffff;
}

.benefit-card p {
    font-size: 0.8125rem;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
    max-width: none;
    transition: color 0.4s ease;
}

.benefit-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

/* Device catalogue (security) */
.device-catalogue {
    padding: var(--spacing-section) 0;
    background: var(--bg-section-alt);
}

.device-catalogue-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .device-catalogue-header p {
        max-width: 720px;
        margin: 1rem auto 0;
        font-size: var(--fs-body);
        line-height: 1.75;
        color: var(--text-body);
    }

.device-catalogue-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (max-width: 768px) {
    .device-catalogue-grid {
        grid-template-columns: 1fr;
    }
}

.device-catalogue-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    display: flex;
    flex-direction: column;
}

    .device-catalogue-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 36px rgba(3,70,148,0.08);
        border-color: rgba(3,70,148,0.18);
    }

.device-card-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary-900) 0%, var(--color-primary-deep) 100%);
    border-bottom: 1px solid var(--border-light);
}

    .device-card-header .device-name {
        color: #fff;
    }

    .device-card-header .device-subtitle {
        color: rgba(255,255,255,0.6);
    }

.device-name {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-primary-900);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.device-subtitle {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.device-catalogue-card .device-specs {
    padding: 1.25rem 1.5rem;
    flex: 1;
}

.device-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

    .device-specs li {
        position: relative;
        padding-left: 1.1rem;
        font-size: 0.85rem;
        line-height: 1.55;
        color: var(--text-body);
    }

        .device-specs li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.55em;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--color-primary-900);
        }

/* ══════════════════════════════════════════
   KIOSK DETAIL PAGE
   ══════════════════════════════════════════ */
.designed-for-bar {
/*    background: var(--bg-section-alt);*/
    padding: 0.75rem 0;
}

    .designed-for-bar p {
        margin: 0;
        text-align: center;
        font-size: var(--fs-body);
    }

        .designed-for-bar p .label {
            font-weight: 600;
            color: var(--color-primary-900);
        }

        .designed-for-bar p .value {
            color: var(--color-slate-600);
        }

.kiosk-intro-bar {
    width: 60px;
    height: 3px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--color-primary-900), var(--color-accent));
    margin-top: 1.5rem;
}

/* Key Technical Capabilities Grid */
.key-cap-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, 1fr);
}

    .key-cap-grid.cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .key-cap-grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

@media (max-width: 992px) {
    .key-cap-grid, .key-cap-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .key-cap-grid, .key-cap-grid.cols-4 {
        grid-template-columns: 1fr;
    }
}

.key-cap-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    overflow: hidden;
}

    .key-cap-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(3,70,148,0.08);
        border-color: rgba(3,70,148,0.15);
    }

.key-cap-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--icon-bg);
    color: var(--icon-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.key-cap-card:hover .key-cap-card-icon {
    background: linear-gradient(135deg, var(--color-primary-900), var(--color-primary-deep));
    color: white;
    transform: scale(1.05);
}

.key-cap-card h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
}

.key-cap-card p {
    font-size: 0.8125rem;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
    max-width: none;
}

/* System Integration dark section */
.system-integration {
    padding: var(--spacing-section) 0;
    background: linear-gradient(135deg, var(--color-primary-darkest) 0%, var(--color-primary-900) 100%);
    color: white;
}

    .system-integration h3 {
        color: white;
        margin-bottom: 1rem;
    }

    .system-integration p {
        color: var(--color-primary-200);
        max-width: none;
        font-size: var(--fs-body);
        line-height: 1.8;
        margin-bottom: 1rem;
    }

        .system-integration p:last-child {
            margin-bottom: 0;
        }

    .system-integration .micro-label {
        color: var(--color-primary-300);
    }

/* Operational Benefits numbered cards */
.op-benefits-section {
    padding: var(--spacing-section) 0;
    background: var(--bg-section-alt);
}

.op-benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    background: white;
    border: 1px solid var(--color-slate-200);
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

    .op-benefit-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(3,70,148,0.08);
    }

.op-benefit-number {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--color-primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary-900);
    font-weight: 700;
    font-size: 0.75rem;
}

.op-benefit-text {
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--color-slate-700);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-section-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary-900);
    border-radius: 100px;
}

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

/* Responsive base */
@media (max-width: 768px) {
    .section-padding {
        padding: 3.5rem 0;
    }

    .hero-cloud {
        min-height: 100dvh;
        align-items: flex-start;
    }

    .hero-cloud-content {
        padding-top: 5.5rem;
    }

    .hero-stats-strip {
        gap: 1rem;
        padding: 1rem 1.25rem;
        flex-wrap: wrap;
    }

    .hero-stat-number {
        font-size: 1.25rem;
    }

    .hero-stat-label {
        font-size: 0.65rem;
    }

    .hero-stat-divider {
        height: 28px;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 2.5rem 0;
    }

    .hero-cloud {
        min-height: auto;
        align-items: flex-start;
        padding-bottom: 2rem;
    }

    .hero-cloud-content {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }

    .hero-cloud-content h1 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
    }

    .hero-stats-strip {
        gap: 0.75rem;
        padding: 0.875rem 1rem;
        margin-top: 1.5rem;
    }
}

/* ── INSIGHTS / CASE STUDIES / EVENTS ── */

/* Filter chips */
.cs-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    background: var(--bg-card);
    color: var(--text-body);
    border: 1px solid var(--border-card);
    font-weight: 600;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .cs-chip.active, .cs-chip:hover {
        background: var(--color-primary-900);
        color: white;
        border-color: var(--color-primary-900);
    }

/* Case study card */
.cs-card-inner {
    display: block;
    text-decoration: none;
    height: 100%;
    padding: 1.5rem;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .cs-card-inner:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px -12px rgba(3,70,148,0.14);
    }

.cs-tag {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(3,70,148,0.08);
    color: var(--color-primary-900);
    border: 1px solid rgba(3,70,148,0.12);
    margin-bottom: 0.75rem;
    text-transform: capitalize;
}

.cs-card-inner h4 {
    color: var(--text-heading);
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
}

.cs-card-inner p {
    color: var(--text-body);
    font-size: var(--fs-body);
    margin-bottom: 1rem;
}

.cs-link {
    color: var(--color-primary-900);
    font-weight: 600;
    font-size: var(--fs-body);
}

/* Insight card */
.insight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 16px rgba(3,70,148,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .insight-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px -12px rgba(3,70,148,0.14);
        border-color: var(--color-primary-200);
    }

.insight-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-50);
    color: var(--color-primary-900);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.insight-card h3 {
    font-size: var(--fs-h6);
    margin-bottom: 0.5rem;
}

.insight-card p {
    color: var(--text-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.insight-card-link {
    color: var(--color-primary-900);
    font-weight: 600;
    font-size: var(--fs-body);
    text-decoration: none;
    margin-top: auto;
}

    .insight-card-link:hover {
        text-decoration: underline;
    }

/* CTA pill buttons */
.btn-primary-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    background: var(--color-primary-900);
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    box-shadow: 0 8px 28px -10px rgba(3,70,148,0.4);
    transition: opacity 0.2s;
}

    .btn-primary-pill:hover {
        opacity: 0.9;
        color: white;
    }

.btn-outline-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    background: var(--bg-card);
    color: var(--color-primary-900);
    font-weight: 600;
    font-size: 0.9375rem;
    border: 1px solid var(--border-card);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

    .btn-outline-pill:hover {
        background: var(--color-primary-900);
        border-color: var(--color-primary-900);
        color: white;
        transform: scale(1.02);
    }

/* Featured event */
.featured-event-card {
    background: linear-gradient(135deg, var(--color-primary-deep, #022a59), var(--color-primary-900));
    border-radius: 20px;
    color: white;
    box-shadow: 0 20px 60px rgba(3,70,148,0.25);
    overflow: hidden;
}

/* Featured event image side — framed like the homepage event card */
.fe-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 48px -18px rgba(0, 0, 0, 0.5);
}

    .fe-media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 16 / 10;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .featured-event-card:hover .fe-media img {
        transform: scale(1.04);
    }

.fe-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    background: rgba(255,255,255,0.12);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.fe-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.9375rem;
}

.fe-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    background: white;
    color: var(--color-primary-deep, #022a59);
    font-weight: 600;
    font-size: var(--fs-body);
    text-decoration: none;
}

.fe-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    font-weight: 600;
    font-size: var(--fs-body);
    text-decoration: none;
}


/* ══════════════════════════════════════════
   SOLUTIONS — Responsive Overrides
   Fix horizontal scroll & ensure full responsiveness
   ══════════════════════════════════════════ */

/* ── Tablets & small laptops (≤992px) ── */
@media (max-width: 992px) {
    .sol-hub-num {
        font-size: 5rem;
        right: 1.25rem;
    }

    .sol-hub-body {
        padding: 2rem 1.75rem;
    }

    .sol-hub-image {
        padding: 20px;
        min-height: 240px;
    }

    .sol-hub-image img {
        min-height: 240px;
    }

    .sol-hub-card:nth-child(odd) .sol-hub-image img,
    .sol-hub-card:nth-child(even) .sol-hub-image img {
        border-radius: 16px 16px 0 0;
    }

    .sol-hub-body {
        padding: 1.75rem;
    }

    .sub-product-section {
        padding: 3.5rem 0;
    }

    .sp-image-wrap {
        min-height: 240px;
        max-height: none;
        height: auto;
    }

    /* Let the image show at its natural aspect ratio on stacked layouts instead of
       being locked to the wrapper height (which cropped/squashed portraits on mobile). */
    .sp-image-wrap img {
        min-height: 240px;
        height: auto;
        object-fit: contain;
    }

    .sp-features.cols-2 {
        grid-template-columns: 1fr 1fr;
    }

    .sp-feature-group-items.cols-2 {
        grid-template-columns: 1fr 1fr;
    }

    .sp-image-sticky {
        position: static;
    }
}

/* ── Small tablets & large phones (≤768px) ── */
@media (max-width: 768px) {
    .sol-hub-image {
        padding: 16px;
        min-height: 200px;
    }

    .sol-hub-image img {
        min-height: 200px;
        border-radius: 12px !important;
    }

    .sol-hub-body {
        padding: 1.5rem;
    }

    .sol-hub-title {
        font-size: 1.25rem;
    }

    .sol-hub-desc {
        font-size: 0.8125rem;
    }

    .sol-hub-features {
        gap: 0.375rem;
    }

    .sol-hub-features li {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }

    .sub-product-section {
        padding: 2.5rem 0;
    }

    .sp-image-wrap {
        min-height: 200px;
        max-height: none;
        margin-bottom: 1.5rem;
    }

    .sp-image-wrap img {
        min-height: 200px;
    }

    .sp-features.cols-2 {
        grid-template-columns: 1fr;
    }

    .sp-feature-group-items.cols-2 {
        grid-template-columns: 1fr;
    }

    .sp-benefits-section {
        padding: 2.5rem 0;
    }

    .benefit-card {
        padding: 1.5rem 1.25rem;
    }

    .hero-inner {
        min-height: 50vh;
    }

    .hero-content {
        padding-top: 6.5rem;
        padding-bottom: 2.5rem;
    }
}

/* ── Mobile phones (≤576px) ── */
@media (max-width: 576px) {
    .sol-hub-image {
        padding: 12px;
        min-height: 180px;
    }

    .sol-hub-image img {
        min-height: 180px;
    }

    .sol-hub-body {
        padding: 1.25rem;
    }

    .sol-hub-title {
        font-size: 1.125rem;
    }

    .sol-hub-tagline {
        font-size: 0.8125rem;
    }

    .sol-hub-desc {
        font-size: 0.8125rem;
        line-height: 1.6;
    }

    .sol-hub-features {
        gap: 0.3rem;
    }

    .sol-hub-features li {
        font-size: 0.6875rem;
        padding: 0.25rem 0.6rem;
    }

    .sub-product-section {
        padding: 2rem 0;
    }

    .sp-image-wrap {
        min-height: 180px;
        max-height: none;
    }

    .sp-image-wrap img {
        min-height: 180px;
    }

    .sp-features .sp-feature {
        font-size: 0.75rem;
    }

    .sp-feature-group-items .sp-feature {
        font-size: 0.75rem;
    }

    .sp-benefits-section {
        padding: 2rem 0;
    }

    .benefit-card {
        padding: 1.25rem 1rem;
    }

    .benefit-card h5 {
        font-size: 0.875rem;
    }

    .benefit-card p {
        font-size: 0.75rem;
    }

    .hero-inner {
        min-height: auto;
    }

    .hero-content {
        padding-top: 5.5rem;
        padding-bottom: 2rem;
    }
}

/* ── Extra small phones (≤400px) ── */
@media (max-width: 400px) {
    .sol-hub-image {
        padding: 8px;
        min-height: 160px;
    }

    .sol-hub-image img {
        min-height: 160px;
    }

    .sol-hub-body {
        padding: 1rem;
    }

    .sol-hub-title {
        font-size: 1rem;
    }

    .sol-hub-features li {
        font-size: 0.625rem;
        padding: 0.2rem 0.5rem;
    }

    .sp-image-wrap {
        min-height: 150px;
        max-height: none;
    }

    .benefit-card {
        padding: 1rem 0.875rem;
    }
}

/* ── Scroll to Top Button ── */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--color-primary-900);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(3, 70, 148, 0.3), 0 2px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
}

    .scroll-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-to-top:hover {
        background: var(--color-primary-deep, #023876);
        box-shadow: 0 6px 24px rgba(3, 70, 148, 0.4), 0 3px 8px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }

    .scroll-to-top:active {
        transform: translateY(0);
    }

@media (max-width: 576px) {
    .scroll-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 40px;
        height: 40px;
    }
}

/* ── Global overflow containment for all sections ── */
section:not(.sub-product-section),
.sp-benefits-section,
.sol-hub-card,
.cta-band {
    overflow-x: clip;
    max-width: 100vw;
}

.sub-product-section {
    overflow: visible;
}

main {
    overflow-x: clip;
}

/* ── Keyboard focus indicators ──────────────────────────────
   Previously only .contact-form fields had any :focus styling, so keyboard users had no
   visible indicator anywhere else (nav, mega tabs, drawer, CTAs, footer, scroll-to-top).
   :focus-visible keeps mouse clicks clean while always showing a ring for keyboard use.
   WCAG 2.4.7.
*/
:root {
    --focus-ring: 0 0 0 3px rgba(3, 70, 148, 0.35);
    --focus-ring-light: 0 0 0 3px rgba(255, 255, 255, 0.65);
}

a:focus-visible,
button:focus-visible,
[role="tab"]:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--color-primary-900);
    outline-offset: 2px;
    border-radius: 4px;
    /* Several components (.nav-link, .sol-card-cta, ...) declare `transition: all`, which
       animates outline-width and makes the focus ring fade in over ~200ms. A focus
       indicator must be immediate, so opt this state out of transitions entirely. */
    transition: none;
}

/* On dark backgrounds a navy ring disappears - switch to a light ring. */
.site-footer a:focus-visible,
.cta-band a:focus-visible,
.cta-band button:focus-visible,
.mega-cta-box a:focus-visible,
.hero-cloud-content a:focus-visible,
.hero-content a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: var(--focus-ring-light);
}

/* Pill buttons and cards already have their own radius - match it so the ring hugs them. */
.btn-primary-pill:focus-visible,
.btn-outline-pill:focus-visible,
.nav-cta:focus-visible,
.mobile-cta:focus-visible,
.hero-secondary-btn:focus-visible,
.mega-cta-btn:focus-visible {
    border-radius: 999px;
}

.mega-tab:focus-visible,
.sol-card-cta:focus-visible,
.mega-sublink:focus-visible {
    border-radius: 12px;
}

.scroll-to-top:focus-visible {
    outline: 2px solid var(--color-primary-900);
    outline-offset: 3px;
    border-radius: 50%;
}

/* Skip-link style target for the logo, the first focusable element on every page. */
.nav-logo:focus-visible {
    outline: 2px solid var(--color-primary-900);
    outline-offset: 4px;
    border-radius: 6px;
}

/* ══════════════════════════════════════════════════════════════════════════
   HOMEPAGE UI/UX POLISH  (design + animation only — no content changes)
   Appended enhancement layer. Everything here is:
     • purely visual (motion, depth, hover feedback, focus polish)
     • gated behind (prefers-reduced-motion: no-preference) where it animates
     • never changes copy, layout structure, or font-size (base stays 14px)
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Richer scroll-reveal ───────────────────────────────────────────────
   The existing .reveal system fades + slides. We add a gentle blur-in and a
   longer, springier curve so sections feel like they "settle" into place.
   Only applied when the user hasn't asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
    /* Hidden-state blur is also gated on `html.js` so a no-JS page is never left blurred. */
    html.js .reveal,
    html.js .reveal-left,
    html.js .reveal-right,
    html.js .reveal-scale {
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        filter: blur(6px);
        will-change: opacity, transform, filter;
    }

        html.js .reveal.visible,
        html.js .reveal-left.visible,
        html.js .reveal-right.visible,
        html.js .reveal-scale.visible {
            filter: blur(0);
        }

    /* A touch more travel + a subtle scale for the base vertical reveal so
       cards and headings rise with a little more presence. */
    html.js .reveal {
        transform: translateY(30px) scale(0.985);
    }

        html.js .reveal.visible {
            transform: translateY(0) scale(1);
        }

    /* Finer-grained stagger so long rows cascade instead of popping together. */
    .stagger-1 { transition-delay: 0.06s; }
    .stagger-2 { transition-delay: 0.14s; }
    .stagger-3 { transition-delay: 0.22s; }
    .stagger-4 { transition-delay: 0.30s; }
    .stagger-5 { transition-delay: 0.38s; }
    .stagger-6 { transition-delay: 0.46s; }
}

/* ── 2. Hero polish ────────────────────────────────────────────────────────
   A slow, subtle zoom on the background video gives the hero life without
   distracting from the headline. Primary CTA gets a moving sheen on hover. */
@media (prefers-reduced-motion: no-preference) {
    @keyframes hero-kenburns {
        0%   { transform: scale(1);    }
        100% { transform: scale(1.08); }
    }

    .hero-cloud-video {
        animation: hero-kenburns 22s ease-in-out infinite alternate;
    }
}

/* Headline entrance easing already handled by .animate-slide-up; here we just
   make the two hero buttons feel more tactile and consistent with each other. */
.hero-cloud-content .btn-primary-pill,
.hero-secondary-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Sweeping light sheen across the primary CTA on hover. */
.hero-cloud-content .btn-primary-pill::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .hero-cloud-content .btn-primary-pill:hover::after {
        transform: translateX(120%);
    }
}

/* Secondary hero button: lift + brighten border to match the primary's energy. */
.hero-secondary-btn {
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

    .hero-secondary-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(1, 14, 30, 0.35);
    }

    .hero-secondary-btn svg {
        transition: transform 0.3s ease;
    }

    .hero-secondary-btn:hover svg {
        transform: translateX(3px);
    }

/* A soft, breathing scroll cue could be added in markup; we keep to styling
   the shimmer line the hero already has so it reads as an intentional accent. */

/* ── 3. Solution panels: depth + parallax-feel media ───────────────────────
   The alternating navy panels are the visual centrepiece. We add:
     • a slow zoom on the media image on hover (feels premium)
     • an accent underline that grows under the title on hover
     • per-chip lift so the tech chips feel interactive
   The panel itself is a .reveal, so it already animates in on scroll. */
.sol-panel-media img {
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
    .sol-panel:hover .sol-panel-media img {
        transform: scale(1.06);
    }
}

/* Growing accent rule beneath the panel title. */
.sol-panel-title {
    position: relative;
}

    .sol-panel-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -0.5rem;
        height: 3px;
        width: 0;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--color-accent-light, #48cae4), transparent);
        transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

.sol-panel:hover .sol-panel-title::after {
    width: 84px;
}

/* Chips: individual hover lift (in addition to the panel-hover brighten). */
.sol-panel-chips li {
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

@media (prefers-reduced-motion: no-preference) {
    .sol-panel-chips li:hover {
        transform: translateY(-2px);
        background: rgba(255, 255, 255, 0.22);
        border-color: rgba(255, 255, 255, 0.4);
    }
}

/* Badge on the media: gentle pop on panel hover. */
.sol-panel-badge {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .sol-panel:hover .sol-panel-badge {
        transform: scale(1.08) rotate(-3deg);
    }
}

/* ── 4. "Why Mantra AeroTech" cards: lift + accent bar ─────────────────────
   The cards already flip to navy on hover. We add a lift, a left accent bar
   that wipes in, and a slight icon rotate so the interaction feels crafted. */
.why-choose-card {
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
    .why-choose-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 48px -18px rgba(3, 70, 148, 0.45);
    }
}

.why-choose-icon {
    transition: background 0.35s ease, color 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .why-choose-card:hover .why-choose-icon {
        transform: scale(1.08) rotate(-4deg);
    }
}

/* ── 5. Generic card & pill button micro-interactions ──────────────────────
   Adds a consistent, subtle "press" on active for all pill buttons so taps
   feel responsive on touch devices too. */
.btn-primary-pill:active,
.btn-outline-pill:active,
.btn-white-pill:active,
.btn-outline-white-pill:active,
.hero-secondary-btn:active,
.sol-panel-cta:active {
    transform: scale(0.97);
}

/* Outline pill: fill sweeps up from the bottom on hover (in addition to the
   existing background swap) for a more modern feel. */
.btn-outline-pill {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

    .btn-outline-pill::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: var(--color-primary-900);
        transform: translateY(101%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

@media (prefers-reduced-motion: no-preference) {
    .btn-outline-pill:hover::before {
        transform: translateY(0);
    }
}

/* ── 6. Section-to-section rhythm ──────────────────────────────────────────
   A hair more breathing room between the big alternating panels and the
   surrounding light sections improves scan-ability without touching content. */
@media (min-width: 992px) {
    .sol-showcase + .section-padding {
        padding-top: calc(var(--spacing-section) + 1rem);
    }
}

/* ── 7. Scroll-to-top button polish (if present) ───────────────────────────
   Smooth show/hide already toggled by site.js via .visible; we make the
   entrance a spring and add a hover lift. */
#scrollToTop {
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

@media (prefers-reduced-motion: no-preference) {
    #scrollToTop:hover {
        transform: translateY(-3px);
    }
}

/* ── 8. Link affordance for inline text CTAs ("Explore Partnerships" etc.) ──
   These are plain inline links; give them an animated arrow nudge + underline
   grow so they read as interactive without changing their markup. */
a.text-sm svg,
.mega-view-all svg {
    transition: transform 0.3s ease;
}

@media (prefers-reduced-motion: no-preference) {
    a.text-sm:hover svg {
        transform: translateX(4px);
    }
}

/* ── 9. Image loading grace ────────────────────────────────────────────────
   Lazy images fade in once decoded instead of snapping in, softening layout. */
@media (prefers-reduced-motion: no-preference) {
    .sol-panel-media img,
    .card-hover img {
        animation: fade-in 0.6s ease-out both;
    }
}

/* ── 10. Reduced-motion safety net ─────────────────────────────────────────
   Belt-and-braces: if the user prefers reduced motion, strip transforms from
   the new hover states so nothing moves unexpectedly. */
@media (prefers-reduced-motion: reduce) {
    .hero-cloud-video,
    .sol-panel-media img,
    .why-choose-card,
    .why-choose-icon,
    .sol-panel-badge,
    #scrollToTop {
        animation: none !important;
        transition: none !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        filter: none !important;
    }
}
