﻿/* ELIDZ Skills Portal — Landing */

:root {
    --navy: #102747;
    --blue-900: #15375e;
    --blue-800: #205a82;
    --blue-700: #28769a;
    --orange-500: #e9812b;
    --orange-400: #f3a34b;
    --ink: #172b3d;
    --muted: #5c6b79;
    --line: rgba(16, 39, 71, 0.12);
    --surface: #f5f7f5;
    --white: #ffffff;
    --gradient-brand: linear-gradient(135deg, #205a82 0%, #e9812b 100%);
    --nav-height: 80px;
    --font: "Outfit", system-ui, sans-serif;
    --display: "Source Serif 4", Georgia, serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow: 0 18px 40px rgba(16, 39, 71, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    line-height: 1.6;
    background: var(--blue-900);
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
address { font-style: normal; }
ul, ol { list-style: none; }

.container {
    width: min(1160px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 10001;
    padding: 0.65rem 1rem;
    background: var(--blue-800);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease;
}

.btn-primary {
    background: var(--orange-500);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(233, 129, 43, 0.24);
}
.btn-primary:hover {
    transform: translateY(-2px);
    background: #d9711e;
    box-shadow: 0 14px 30px rgba(233, 129, 43, 0.3);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }

.btn-ghost-light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); }

.btn-lg { padding: 0.95rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-nav-ghost {
    padding: 0.65rem 0.85rem;
    font-size: 0.88rem;
    color: var(--blue-800);
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease;
}
.btn-nav-ghost:hover {
    background: rgba(32, 90, 130, 0.07);
}

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.72rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
    background: var(--orange-500);
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 7px 16px rgba(233, 129, 43, 0.25);
    transition: transform 0.2s var(--ease), background 0.2s ease, box-shadow 0.2s ease;
}
.btn-nav-cta i { font-size: 0.72rem; transition: transform 0.2s var(--ease); }
.btn-nav-cta:hover {
    transform: translateY(-1px);
    background: #d9711e;
    box-shadow: 0 10px 20px rgba(233, 129, 43, 0.26);
}
.btn-nav-cta:hover i { transform: translateX(3px); }

/* Nav */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--nav-height);
    padding-top: env(safe-area-inset-top, 0);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(16, 39, 71, 0.06);
    z-index: 1000;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 8px 28px rgba(16, 39, 71, 0.08);
}

.nav-container {
    width: min(1160px, calc(100% - 2.5rem));
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
}

.brand-logo {
    height: 42px;
    width: auto;
    max-width: min(230px, 46vw);
    object-fit: contain;
    object-position: left center;
}

.brand-portal-tag {
    display: inline-flex;
    padding: 0.28rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange-500);
    background: rgba(233, 129, 43, 0.08);
    border: 1px solid rgba(233, 129, 43, 0.14);
    border-radius: 999px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 0.15rem;
    margin-left: auto;
    padding: 0.3rem;
    background: #f3f5f5;
    border: 1px solid rgba(16, 39, 71, 0.04);
    border-radius: 999px;
}

.nav-link {
    padding: 0.58rem 0.9rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    border-radius: 999px;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.nav-link:hover,
.nav-link.active {
    color: var(--navy);
    background: var(--white);
    box-shadow: 0 2px 6px rgba(16, 39, 71, 0.07);
}

.nav-link:focus-visible,
.btn-nav-ghost:focus-visible,
.btn-nav-cta:focus-visible,
.mobile-menu-btn:focus-visible,
.mobile-nav-link:focus-visible {
    outline: 3px solid rgba(233, 129, 43, 0.55);
    outline-offset: 3px;
}

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

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    cursor: pointer;
    margin-left: auto;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.mobile-menu-btn:hover { background: #edf2f2; border-color: rgba(32, 90, 130, 0.2); }
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
    margin: auto;
}
.hamburger span {
    display: block;
    height: 2px;
    background: var(--blue-900);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.6rem);
    right: max(1.25rem, calc((100% - 1160px) / 2));
    width: min(390px, calc(100vw - 2rem));
    background: var(--white);
    border: 1px solid rgba(16, 39, 71, 0.1);
    border-radius: 22px;
    padding: 1.15rem;
    box-shadow: 0 24px 60px rgba(16, 39, 71, 0.16);
}
.mobile-menu.active { display: block; }
.mobile-menu-label {
    padding: 0.25rem 0.7rem 0.7rem;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.mobile-nav-links { display: grid; gap: 0.3rem; margin-bottom: 1rem; }
.mobile-nav-link {
    padding: 0.78rem 0.85rem;
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    border-radius: 12px;
    transition: color 0.2s ease, background 0.2s ease, padding 0.2s ease;
}
.mobile-nav-link.active,
.mobile-nav-link:hover { background: rgba(32, 90, 130, 0.07); color: var(--blue-800); }
.mobile-nav-link:hover { padding-left: 1rem; }
.mobile-nav-actions {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 0.55rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}
.mobile-nav-actions .btn { width: 100%; }

body.menu-open { overflow: hidden; }
body.menu-open .hamburger span:first-child { transform: translateY(7px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:last-child { transform: translateY(-7px) rotate(-45deg); }



/* Hero */
.hero {
    position: relative;
    min-height: 680px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 4vw, 4rem);
    display: grid;
    align-items: center;
    padding: calc(var(--nav-height) + 3rem) max(1.25rem, calc((100% - 1160px) / 2)) 3rem;
    color: var(--ink);
    background:
        radial-gradient(ellipse at 9% 12%, rgba(233, 129, 43, 0.1), transparent 25rem),
        linear-gradient(110deg, #fbfaf6 0%, #f5f7f5 54%, #eef2f1 100%);
    overflow: hidden;
}

.hero-media {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    width: 100%;
    background: #e5ecee;
    z-index: 0;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(16, 39, 71, 0.18);
}

.hero-media picture {
    display: block;
    aspect-ratio: 1382 / 712;
    overflow: hidden;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.hero-content {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    width: 100%;
}

.hero-brand {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--orange-500);
    margin-bottom: 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 1.2rem;
    background: rgba(32, 90, 130, 0.07);
    border: 1px solid rgba(32, 90, 130, 0.12);
    border-radius: 999px;
    color: var(--blue-900);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}

.hero-badge i {
    color: var(--orange-400);
    font-size: 0.7rem;
}

.hero-badge:hover {
    background: rgba(32, 90, 130, 0.12);
    border-color: rgba(32, 90, 130, 0.22);
    transform: translateY(-1px);
}

.hero-badge:focus-visible {
    outline: 2px solid var(--orange-400);
    outline-offset: 3px;
}

.hero h1 {
    font-family: var(--display);
    font-size: clamp(3.2rem, 5.2vw, 4.7rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.035em;
    max-width: 10ch;
    margin-bottom: 1.25rem;
    text-wrap: balance;
}

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

.hero-lead {
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.7;
    color: var(--muted);
    max-width: 41ch;
    margin-bottom: 1.6rem;
}

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

.hero-footnote {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.15rem;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 500;
}

.hero-footnote i { color: #43856e; }

.hero-note {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    max-width: 100%;
    padding: 0.9rem 1.1rem;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 0;
}

.hero-note-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--white);
    background: var(--blue-800);
    border-radius: 13px;
}

.hero-note strong,
.hero-note small { display: block; }
.hero-note strong { font-size: 0.9rem; }
.hero-note small { margin-top: 0.1rem; color: var(--muted); font-size: 0.78rem; }

.hero .btn-ghost {
    color: var(--blue-900);
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(32, 90, 130, 0.18);
    box-shadow: 0 6px 18px rgba(16, 39, 71, 0.06);
}
.hero .btn-ghost:hover {
    background: var(--white);
    border-color: rgba(32, 90, 130, 0.32);
}

/* Stats */
.stats-band {
    position: relative;
    z-index: 3;
    background: var(--white);
    color: var(--ink);
    padding: 1.65rem 0;
    border-bottom: 1px solid var(--line);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stats-item {
    text-align: center;
    padding: 0.35rem 1rem;
    border-right: 1px solid var(--line);
}

.stats-item:last-child { border-right: 0; }

.stats-number {
    display: block;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--blue-800);
    margin-bottom: 0.25rem;
}

.stats-label {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Sections */
.section {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-header {
    max-width: 640px;
    margin-bottom: 3rem;
}

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

.section-header h2 {
    font-family: var(--display);
    font-size: clamp(1.9rem, 4vw, 2.85rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 0.85rem;
}

.section-header p {
    color: var(--muted);
    font-size: 1.05rem;
}

#features .section-header {
    max-width: none;
    padding: clamp(1.75rem, 4vw, 3rem);
    background: linear-gradient(120deg, var(--navy), var(--blue-900));
    border-radius: 20px;
}

#features .section-header .section-tag,
#features .section-header h2,
#features .section-header p {
    color: var(--white);
}

/* Steps */
.how-it-works { background: var(--surface); }

.steps-rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    counter-reset: none;
}

.step-item {
    position: relative;
    min-height: 205px;
    padding: 1.55rem 1.5rem;
    background: var(--white);
    border: 1px solid rgba(16, 39, 71, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(16, 39, 71, 0.045);
}

.step-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2.15rem;
    left: auto;
    right: -1.1rem;
    width: 1.1rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(32, 90, 130, 0.35), rgba(233, 129, 43, 0.35));
}

.step-num {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--orange-500);
    margin-bottom: 1.2rem;
    padding: 0.3rem 0.65rem;
    background: rgba(233, 129, 43, 0.1);
    border-radius: 999px;
}

.step-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.55rem;
}

.step-item p { color: var(--muted); }

/* Features */
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.35rem;
    align-items: start;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

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

.feature-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(32, 90, 130, 0.1), rgba(233, 129, 43, 0.12));
    color: var(--blue-800);
    font-size: 1.1rem;
}

.feature-row h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.feature-row p {
    color: var(--muted);
    max-width: 62ch;
}

/* Industries */
.industries { background: var(--surface); }

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

.industry-tile {
    display: block;
    padding: 1.8rem 1.6rem;
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(16, 39, 71, 0.035);
    transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.industry-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(32, 90, 130, 0.28);
    box-shadow: var(--shadow);
}

.industry-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1.1rem;
    border-radius: 12px;
    background: var(--gradient-brand);
    color: var(--white);
}

.industry-tile h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.45rem;
}

.industry-tile p { color: var(--muted); font-size: 0.95rem; }

/* Portal entry */
.portal-entry {
    padding-block: clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(circle at 15% 20%, rgba(233, 129, 43, 0.18), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(32, 90, 130, 0.22), transparent 42%),
        var(--navy);
}

.portal-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.portal-pane {
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: 22px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.portal-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange-400);
    margin-bottom: 0.75rem;
}

.portal-pane h2 {
    font-family: var(--display);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.portal-pane p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.4rem;
    max-width: 36ch;
}

.portal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.8rem;
}

#contact .contact-info .section-tag,
#contact .contact-info h2,
#contact .contact-info > p,
#contact .contact-list strong,
#contact .contact-list address,
#contact .contact-list a {
    color: var(--white);
}

#contact .contact-list-icon {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

#contact .contact-list a:hover {
    color: var(--orange-400);
}

.contact-info > p {
    color: var(--muted);
    margin-bottom: 1.75rem;
}

.contact-list {
    display: grid;
    gap: 1.15rem;
}

.contact-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
}

.contact-list-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(32, 90, 130, 0.08);
    color: var(--blue-800);
}

.contact-list strong {
    display: block;
    font-size: 0.85rem;
    color: var(--navy);
    margin-bottom: 0.15rem;
}

.contact-list a {
    color: var(--muted);
    text-decoration: none;
}
.contact-list a:hover { color: var(--blue-800); }

.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: clamp(1.4rem, 3vw, 2rem);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.form-group { margin-bottom: 0.9rem; }

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    font: inherit;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(32, 90, 130, 0.45);
    box-shadow: 0 0 0 3px rgba(32, 90, 130, 0.12);
}

/* Footer */
.footer {
    background: #071633;
    color: rgba(255, 255, 255, 0.78);
    padding: 3.5rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    margin-bottom: 0.9rem;
}

.footer-portal-name {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.45rem;
}

.footer-description {
    font-size: 0.92rem;
    margin-bottom: 1rem;
    max-width: 34ch;
}

.footer-social {
    display: flex;
    gap: 0.55rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: background 0.2s ease;
}
.footer-social a:hover { background: rgba(233, 129, 43, 0.35); }

.footer-nav h4,
.footer-newsletter h4 {
    color: var(--white);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.footer-nav {
    display: grid;
    gap: 0.45rem;
    align-content: start;
}

.footer-nav a {
    text-decoration: none;
    font-size: 0.92rem;
}
.footer-nav a:hover { color: var(--orange-400); }

.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
}

.newsletter-form {
    display: flex;
    gap: 0.45rem;
}

.newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font: inherit;
}

.newsletter-btn {
    width: 44px;
    border: none;
    border-radius: 10px;
    background: var(--gradient-brand);
    color: var(--white);
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

.footer-bottom a { color: var(--orange-400); text-decoration: none; }

.footer-legal {
    display: flex;
    gap: 1rem;
}
.footer-legal a { color: rgba(255, 255, 255, 0.7); }
.footer-legal a:hover { color: var(--orange-400); }

/* Back to top */
.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: var(--gradient-brand);
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 50;
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Reveal motion */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: inline-flex; }
    .nav-actions { display: none; }

    .hero { gap: 2rem; }

    .steps-rail,
    .industry-grid,
    .portal-split,
    .contact-layout,
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .step-item:not(:last-child)::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
        padding-top: calc(var(--nav-height) + 1.25rem);
        padding-bottom: 3.25rem;
        text-align: left;
    }

    .hero-media {
        grid-column: 1;
        grid-row: 1;
        border-radius: 22px;
    }

    .hero-content {
        grid-column: 1;
        grid-row: 2;
    }

    .hero h1 { max-width: 12ch; font-size: clamp(2.9rem, 8vw, 4rem); }
    .hero-lead { max-width: 52ch; margin-inline: 0; }
    .hero-actions { justify-content: flex-start; }
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
        max-width: 100%;
        justify-content: flex-start;
        text-align: left;
        line-height: 1.4;
    }

    .brand-logo {
        height: 36px;
        max-width: min(180px, 52vw);
    }

    .brand-portal-tag {
        font-size: 0.58rem;
        padding: 0.2rem 0.45rem;
    }

    .steps-rail,
    .industry-grid,
    .portal-split,
    .contact-layout,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stats-item { padding: 0.85rem 0.35rem; }
    .stats-item:nth-child(odd) { border-right: 1px solid var(--line); }
    .stats-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .feature-list { grid-template-columns: 1fr; }
    .step-item { min-height: 0; }

    .footer-brand,
    .footer-bottom {
        text-align: center;
    }

    .footer-logo-link,
    .footer-social {
        justify-content: center;
        display: flex;
    }

    .footer-description { max-width: none; }
    .footer-bottom { flex-direction: column; align-items: center; }
    .footer-legal { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 420px) {
    .brand-portal-tag { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .hero-note { padding: 0.7rem 0.8rem; }
    .hero-note-icon { flex-basis: 38px; width: 38px; height: 38px; }
    .hero-actions .btn { width: 100%; }
}

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

/* Keep the bot trap out of the visual layout and keyboard navigation. */
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-captcha { margin-block: 1rem; }
#contactStatus:not(:empty) { margin-block: 1rem; }
.contact-btn:disabled { opacity: 0.65; cursor: wait; }
