/* Sussex Technology Solutions — brand theme from STS assets */

:root {
    --bg-deep: #00050a;
    --bg-card: rgba(0, 20, 40, 0.55);
    --bg-card-hover: rgba(0, 30, 60, 0.7);
    --navy: #0a1628;
    --navy-mid: #132a4a;
    --accent-cyan: #00f2ff;
    --accent-blue: #0088ff;
    --accent-deep: #0044cc;
    --text-silver: #b0c4de;
    --text-muted: #7a8fa8;
    --text-white: #ffffff;
    --gradient-cyan: linear-gradient(135deg, #00f2ff 0%, #0088ff 50%, #0044cc 100%);
    --gradient-text: linear-gradient(90deg, #e8f4ff 0%, #00f2ff 50%, #88ccff 100%);
    --glow-cyan: 0 0 24px rgba(0, 242, 255, 0.35);
    --border-glass: 1px solid rgba(0, 242, 255, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --font-display: 'Rajdhani', sans-serif;
    --font-body: 'Exo 2', sans-serif;
    --header-h: 80px;
    --transition: 0.25s ease;
    --container: min(1200px, 92vw);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-silver);
    background: var(--bg-deep);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('/assets/STS_Wallpaper.png') center / cover no-repeat;
    opacity: 0.35;
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 5, 10, 0.75) 0%, rgba(0, 5, 10, 0.92) 40%, var(--bg-deep) 100%);
    z-index: -1;
    pointer-events: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--text-white);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.2;
    margin: 0 0 0.5em;
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.container {
    width: var(--container);
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 9999;
    padding: 0.5rem 1rem;
    background: var(--accent-cyan);
    color: var(--bg-deep);
    border-radius: 4px;
}

.skip-link:focus {
    top: 1rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
    background: rgba(0, 5, 10, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 242, 255, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1.5rem;
}

.logo-link {
    flex-shrink: 0;
}

.logo-img {
    height: 44px;
    width: auto;
}

.logo-dark { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-bar {
    width: 26px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 2px;
    transition: var(--transition);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-silver);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 6px;
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--accent-cyan);
    background: rgba(0, 242, 255, 0.08);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
    background: var(--gradient-cyan);
    color: var(--bg-deep);
    box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 32px rgba(0, 242, 255, 0.5);
    color: var(--bg-deep);
}

.btn-outline {
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(0, 242, 255, 0.1);
    color: var(--text-white);
}

.btn-portal {
    background: rgba(0, 242, 255, 0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 255, 0.35);
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

.btn-portal:hover {
    background: rgba(0, 242, 255, 0.22);
    color: var(--text-white);
}

.btn-block { width: 100%; }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 3rem) 0 4rem;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 136, 255, 0.2) 0%, transparent 70%);
    top: 10%;
    right: -10%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 255, 0.4);
    border-radius: 100px;
    background: rgba(0, 242, 255, 0.06);
}

.hero-title {
    margin-bottom: 0.75rem;
}

.hero-title .gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.15rem;
    max-width: 32rem;
    margin-bottom: 2rem;
    color: var(--text-silver);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-logo-wrap {
    position: relative;
    padding: 2rem;
}

.hero-logo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: var(--border-glass);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
}

.hero-logo-wrap img {
    position: relative;
    max-width: 100%;
    filter: drop-shadow(0 0 40px rgba(0, 242, 255, 0.25));
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 0.75rem;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Cards */
.glass-card {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    padding: 2rem;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.glass-card:hover {
    border-color: rgba(0, 242, 255, 0.45);
    box-shadow: var(--glow-cyan);
    transform: translateY(-4px);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    color: var(--accent-cyan);
}

.service-card h3 {
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.link-arrow {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

.link-arrow::after {
    content: ' →';
}

/* Products */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card .product-name {
    font-size: 1.75rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-logo {
    display: block;
    width: auto;
    max-width: min(200px, 100%);
    height: auto;
    max-height: 48px;
    margin-inline: auto;
    margin-bottom: 1rem;
    object-fit: contain;
    object-position: center;
}

.product-card--detail .product-logo {
    max-height: 64px;
    max-width: min(240px, 100%);
    margin-bottom: 1.25rem;
}

.product-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: rgba(0, 242, 255, 0.15);
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Industries */
.industries-section {
    padding: 5rem 0;
    background: rgba(0, 10, 25, 0.35);
    border-block: 1px solid rgba(0, 242, 255, 0.1);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.industries-grid > li {
    display: flex;
    min-height: 100%;
}

a.industry-card {
    text-decoration: none;
    color: inherit;
}

.industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    min-height: 9.5rem;
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.industry-card:hover {
    transform: translateY(-4px);
}

.industry-card:hover .industry-icon {
    color: var(--accent-cyan);
}

.industry-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    color: var(--accent-cyan);
    transition: color var(--transition), filter var(--transition);
}

.industry-card:hover .industry-icon {
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.45));
}

.industry-name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.industry-card:hover .industry-name {
    color: var(--accent-cyan);
}

@media (min-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
        gap: 1.5rem;
    }

    .industry-card {
        min-height: 10.5rem;
        padding: 2rem 1.5rem;
    }

    .industry-icon {
        width: 3.25rem;
        height: 3.25rem;
    }

    .industry-name {
        font-size: 1rem;
    }
}

.industries-section-cta {
    margin: 2.5rem 0 0;
    text-align: center;
}

/* Industries detail page */
.industries-toc-section {
    padding: 2rem 0 3rem;
    border-bottom: 1px solid rgba(0, 242, 255, 0.08);
}

.industries-toc-heading {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    text-align: center;
}

.industries-toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.industries-toc-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition), color var(--transition);
}

.industries-toc-link .industry-icon {
    width: 1.75rem;
    height: 1.75rem;
}

.industries-toc-link:hover {
    border-color: rgba(0, 242, 255, 0.45);
    color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.industry-detail {
    scroll-margin-top: calc(var(--header-h) + 1rem);
    padding: 3.5rem 0;
    border-bottom: 1px solid rgba(0, 242, 255, 0.08);
}

.industry-detail-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
    align-items: start;
}

.industry-detail--alt .industry-detail-grid {
    direction: rtl;
}

.industry-detail--alt .industry-detail-grid > * {
    direction: ltr;
}

.industry-detail-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.25rem;
    border-radius: var(--radius);
    background: rgba(0, 242, 255, 0.08);
    border: 1px solid rgba(0, 242, 255, 0.2);
}

.industry-icon--lg {
    width: 2.25rem;
    height: 2.25rem;
}

.industry-detail-intro h2 {
    margin-bottom: 0.75rem;
}

.industry-detail-summary {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.industry-detail-intro > p:not(.industry-detail-summary) {
    color: var(--text-muted);
}

.industry-detail-highlights-heading {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.industry-detail ul {
    color: var(--text-muted);
    padding-left: 1.25rem;
}

.industry-detail ul li {
    margin-bottom: 0.6rem;
}

@media (min-width: 768px) {
    .industries-toc-grid {
        grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
        gap: 1rem;
    }

    .industries-toc-link {
        padding: 1.15rem 1rem;
        font-size: 0.9rem;
    }
}

/* Stats strip */
.stats-strip {
    padding: 3rem 0;
    border-block: 1px solid rgba(0, 242, 255, 0.12);
    background: rgba(0, 10, 25, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* CTA */
.cta-band {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(0, 68, 204, 0.3) 0%, rgba(0, 242, 255, 0.08) 100%);
    border: var(--border-glass);
}

/* Page hero (inner pages) */
.page-hero {
    padding: calc(var(--header-h) + 4rem) 0 3rem;
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 0.5rem;
}

.page-hero .lead {
    max-width: 560px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Service detail */
.service-detail {
    scroll-margin-top: calc(var(--header-h) + 1rem);
    padding: 3rem 0;
    border-bottom: 1px solid rgba(0, 242, 255, 0.08);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.service-detail:nth-child(even) .service-detail-grid {
    direction: rtl;
}

.service-detail:nth-child(even) .service-detail-grid > * {
    direction: ltr;
}

.service-detail ul {
    color: var(--text-muted);
    padding-left: 1.25rem;
}

.service-detail ul li {
    margin-bottom: 0.5rem;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
    display: flex;
    gap: 1rem;
}

.values-list strong {
    color: var(--accent-cyan);
    min-width: 120px;
    font-family: var(--font-display);
}

/* Contact form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-silver);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-white);
    background: rgba(0, 15, 30, 0.8);
    border: 1px solid rgba(0, 242, 255, 0.25);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.15);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(0, 200, 120, 0.15);
    border: 1px solid rgba(0, 200, 120, 0.4);
    color: #7dffb8;
}

.alert-error {
    background: rgba(255, 80, 80, 0.12);
    border: 1px solid rgba(255, 80, 80, 0.35);
    color: #ffaaaa;
}

.contact-info p {
    margin-bottom: 1.5rem;
}

.contact-info dt {
    font-family: var(--font-display);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 1rem;
}

.contact-info dd {
    margin: 0.25rem 0 0;
    color: var(--text-white);
}

/* Portal */
.portal-section {
    min-height: calc(100vh - var(--header-h));
    padding: calc(var(--header-h) + 3rem) 0 4rem;
    display: flex;
    align-items: center;
}

.portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.portal-title {
    font-size: 2.5rem;
}

.portal-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.portal-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.portal-features li {
    padding: 0.6rem 0 0.6rem 1.75rem;
    position: relative;
    color: var(--text-silver);
}

.portal-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
}

.portal-card-title {
    margin-bottom: 1.5rem;
}

.portal-help {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

.portal-dashboard {
    padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-company {
    color: var(--text-muted);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.dashboard-tile h2 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.dashboard-tile p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
}

.badge-soon {
    background: rgba(0, 242, 255, 0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 255, 0.3);
}

/* Footer */
.site-footer {
    position: relative;
    margin-top: 4rem;
    padding: 4rem 0 0;
    background: rgba(0, 3, 8, 0.9);
    border-top: 1px solid rgba(0, 242, 255, 0.12);
}

.footer-circuit {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-cyan);
    opacity: 0.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 280px;
}

.footer-heading {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: block;
    padding: 0.35rem 0;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0, 242, 255, 0.08);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom p { margin: 0; }

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid,
    .about-grid,
    .contact-grid,
    .portal-grid,
    .service-detail-grid,
    .industry-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) .service-detail-grid,
    .industry-detail--alt .industry-detail-grid {
        direction: ltr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 2rem;
        background: rgba(0, 5, 10, 0.98);
        backdrop-filter: blur(16px);
        transform: translateX(100%);
        transition: transform var(--transition);
        gap: 1.5rem;
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
    }

    .btn-portal {
        width: 100%;
        justify-content: center;
    }

    .hero-visual { order: -1; }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
