/* AAGGS Preview — Premium Enterprise Software Company */

:root {
    --navy-950: #060e1a;
    --navy-900: #0a1628;
    --navy-800: #0f2340;
    --navy-700: #152d4f;
    --navy-600: #1a365d;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --blue-600: #1d4ed8;
    --blue-500: #2563eb;
    --blue-400: #3b82f6;
    --blue-accent: #00b4ff;
    --blue-glow: rgba(0, 180, 255, 0.22);
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 4px 24px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 16px 48px rgba(10, 22, 40, 0.12);
    --shadow-xl: 0 24px 64px rgba(10, 22, 40, 0.16);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --max-width: 1280px;
    --hero-content-max: min(94vw, 1660px);
    --header-height: 96px;
    --section-pad: 6rem;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font-sans);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-sans);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ── Scroll reveal ── */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Shared buttons ── */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-accent) 100%);
    padding: 0.9375rem 1.875rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--blue-glow);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 180, 255, 0.38);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
    padding: 0.9375rem 1.875rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: transparent;
    padding: 0.9375rem 1.875rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-1px);
}

/* ── Section shared ── */

.section {
    padding: var(--section-pad) 1.5rem;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-500);
    margin-bottom: 0.875rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.75;
}

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

#solutions.section {
    padding-top: calc(var(--section-pad) + 1.5rem);
}

.cta-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Header ── */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    min-width: 0;
    flex-shrink: 0;
}

.brand-logo-img {
    display: block;
    height: 72px;
    width: auto;
    max-width: min(480px, 58vw);
    object-fit: contain;
    object-position: left center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.nav-link {
    position: relative;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    padding: 0.625rem 1.125rem;
    border-radius: 8px;
    transition: color 0.25s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 1.125rem;
    right: 1.125rem;
    height: 2px;
    background: var(--blue-accent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-out);
}

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

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-cta-wrap {
    margin-left: 0.75rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-accent) 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 16px var(--blue-glow);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 180, 255, 0.38);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--navy-900);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem 1.5rem 1.75rem;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.mobile-nav.open { display: flex; }

.mobile-nav .nav-link {
    padding: 0.875rem 1rem;
    width: 100%;
}

.mobile-nav .nav-link::after { display: none; }

.mobile-nav .btn-cta {
    margin-top: 0.75rem;
    width: 100%;
    text-align: center;
    padding: 0.875rem 1rem;
}

/* ── Hero ── */

.hero {
    position: relative;
    margin-top: var(--header-height);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    min-height: auto;
    padding: 2.5rem 0;
    background-color: var(--navy-900);
    background-image:
        linear-gradient(105deg, rgba(10, 22, 40, 0.94) 0%, rgba(10, 22, 40, 0.82) 38%, rgba(15, 35, 64, 0.72) 62%, rgba(10, 22, 40, 0.88) 100%),
        url('/static/aaggs_enterprise_hero.jpg');
    background-position: center center, center 42%;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    color: var(--white);
    overflow: hidden;
}

@media (min-width: 769px) {
    .hero {
        min-height: 58vh;
        height: 58vh;
        padding: 0;
    }

    .hero-content {
        padding: 1.25rem 2rem 1.5rem;
        justify-content: flex-start;
    }

    .hero-title {
        margin-bottom: 1rem;
    }

    .hero-value-prop {
        margin-bottom: 0.875rem;
    }

    .hero-subtext {
        margin-bottom: 1rem;
    }

    .hero-trust {
        margin-bottom: 1.5rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 75% 25%, rgba(0, 180, 255, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 45% 35% at 15% 75%, rgba(37, 99, 235, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, transparent 75%);
    pointer-events: none;
}

.hero-tech-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.55;
}

.hero-tech-svg {
    position: absolute;
    right: -2%;
    top: 50%;
    transform: translateY(-50%);
    width: min(42vw, 520px);
    height: auto;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, transparent 85%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--hero-content-max);
    margin: 0 auto;
    padding: 1.5rem 2rem 2rem;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 1.25rem;
    max-width: 22ch;
}

.hero-title .accent {
    color: var(--blue-accent);
}

.hero-value-prop {
    font-family: var(--font-display);
    font-size: clamp(1.125rem, 2.2vw, 1.4375rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    max-width: 820px;
    margin-bottom: 1.25rem;
    line-height: 1.55;
}

.hero-subtext {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.78);
    max-width: 880px;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--blue-accent);
    padding: 0.875rem 1.25rem;
    border-radius: 0 10px 10px 0;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-trust svg {
    flex-shrink: 0;
    color: var(--blue-accent);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ── Capabilities section ── */

.capabilities-section {
    position: relative;
    background: var(--navy-900);
    padding: 3.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.capabilities-section .section-inner {
    position: relative;
    z-index: 1;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.capability-item {
    padding: 2.75rem 2rem;
    min-height: 260px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.capability-item:hover {
    background: rgba(0, 180, 255, 0.08);
    border-color: rgba(0, 180, 255, 0.3);
    transform: translateY(-3px);
}

.capability-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 180, 255, 0.1);
    border: 1px solid rgba(0, 180, 255, 0.22);
    border-radius: 14px;
    color: var(--blue-accent);
    flex-shrink: 0;
    transition: background 0.35s var(--ease-out), border-color 0.35s, transform 0.35s var(--ease-out);
}

.capability-icon svg {
    width: 28px;
    height: 28px;
}

.capability-item:hover .capability-icon {
    background: rgba(0, 180, 255, 0.16);
    border-color: rgba(0, 180, 255, 0.35);
    transform: scale(1.06);
}

.capability-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.capability-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    max-width: 260px;
    margin: 0 auto;
    flex: 1;
}

/* ── Industry trust strip ── */

.industry-trust-section {
    background: var(--navy-800);
    padding: 3.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.industry-trust {
    text-align: center;
}

.industry-trust-title {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.25rem;
}

.industry-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.625rem;
}

.industry-trust-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.industry-trust-badge:hover {
    background: rgba(0, 180, 255, 0.1);
    border-color: rgba(0, 180, 255, 0.28);
    color: var(--white);
}

/* ── Featured solutions cards ── */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.solutions-grid .solution-card:nth-child(4),
.solutions-grid .solution-card:nth-child(5) {
    grid-column: span 1;
}

.solutions-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: calc(66.666% + 0.75rem);
    margin-left: auto;
    margin-right: auto;
}

.solution-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 180, 255, 0.35);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    border-radius: 14px;
    color: var(--blue-accent);
    margin-bottom: 1.5rem;
    transition: transform 0.35s var(--ease-out);
}

.solution-card:hover .card-icon {
    transform: scale(1.06);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.75rem;
}

.card-desc {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--blue-500);
    margin-top: auto;
    transition: gap 0.25s, color 0.25s;
}

.card-link:hover {
    color: var(--blue-accent);
    gap: 0.625rem;
}

.card-link svg {
    transition: transform 0.25s;
}

.card-link:hover svg {
    transform: translateX(3px);
}

/* ── Industries ── */

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.industry-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s, background 0.35s;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 180, 255, 0.3);
    background: var(--white);
}

.industry-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: 12px;
    color: var(--navy-700);
    transition: background 0.35s, color 0.35s;
}

.industry-card:hover .industry-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(0, 180, 255, 0.12) 100%);
    color: var(--blue-500);
}

.industry-name {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.35;
}

/* ── Technology badges ── */

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.875rem;
    max-width: 960px;
    margin: 0 auto;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy-800);
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s, color 0.3s;
}

.tech-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 180, 255, 0.4);
    color: var(--blue-500);
}

.tech-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-accent));
    flex-shrink: 0;
}

/* ── Why AAGGS ── */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-block {
    padding: 2rem 1.75rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}

.why-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 180, 255, 0.25);
}

.why-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    border-radius: 12px;
    color: var(--blue-accent);
    margin-bottom: 1.25rem;
}

.why-title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.625rem;
}

.why-desc {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.65;
}

/* ── Bottom CTA ── */

.cta-section {
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
    color: var(--white);
    padding: 5.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 50% 100%, rgba(0, 180, 255, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 80% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1875rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 2.5rem;
    line-height: 1.65;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ── Footer ── */

.site-footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.65);
    padding: 4rem 1.5rem 2rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-img {
    display: block;
    height: 64px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    max-width: 340px;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.25rem;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.25s;
}

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

.footer-contact-item {
    font-size: 0.9375rem;
    margin-bottom: 0.625rem;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.25s;
}

.footer-contact-item a:hover {
    color: var(--blue-accent);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ── Responsive ── */

@media (max-width: 1100px) {
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid-bottom {
        max-width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 80px;
        --section-pad: 4rem;
    }

    .header-inner { padding: 0 1.25rem; }

    .brand-tagline { display: none; }

    .brand-logo-img { height: 56px; max-width: min(360px, 52vw); }

    .nav-actions { display: none; }

    .menu-toggle { display: flex; }

    .hero-tech-overlay { display: none; }

    .hero {
        min-height: auto;
        height: auto;
        padding: 2rem 0;
    }

    .hero-content { padding: 0 1.25rem; }

    .capabilities-section {
        padding: 3rem 1.25rem;
    }

    .capability-item {
        padding: 1.75rem 1.25rem;
    }

    .industry-trust-section {
        padding: 3rem 1.25rem;
    }

    .industry-trust-badges {
        gap: 0.5rem;
    }

    .industry-trust-badge {
        font-size: 0.75rem;
        padding: 0.4375rem 0.875rem;
    }

    .solutions-grid,
    .solutions-grid-bottom,
    .industries-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-brand-col { grid-column: span 1; }

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

    .cta-actions .btn-primary,
    .cta-actions .btn-outline-light {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .brand-logo-img { height: 48px; max-width: min(280px, 70vw); }

    .hero-value-prop {
        font-size: 1.0625rem;
    }

    .hero-actions { flex-direction: column; }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .capabilities-grid { grid-template-columns: 1fr; }

    .capabilities-section {
        padding: 2.5rem 1rem;
    }

    .industry-trust-section {
        padding: 2.5rem 1rem;
    }

    .tech-badges { gap: 0.625rem; }

    .tech-badge {
        font-size: 0.8125rem;
        padding: 0.625rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
