/* Keep the supplied solution page's design, with shared navigation on small screens. */
html {
    scroll-padding-top: 150px;
}

/* Supplied Hong Kong photograph, with contrast concentrated behind the copy. */
.hero {
    background: #102d42 url('../img/hong-kong-sunset-crop.jpg') center center / cover no-repeat;
}

.hero::before {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: linear-gradient(90deg, rgba(5, 22, 37, 0.82) 0%, rgba(5, 22, 37, 0.64) 42%, rgba(5, 22, 37, 0.18) 75%, rgba(5, 22, 37, 0.08) 100%);
}

.hero-container {
    width: 100%;
    grid-template-columns: 1fr;
}

.hero-content {
    max-width: 720px;
}

.hero-illustration {
    display: none;
}

.hero-badge {
    color: #9affb7;
    background: rgba(5, 39, 32, 0.85);
    border-color: rgba(154, 255, 183, 0.5);
}

.hero h1,
.hero-subtitle {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.hero h1 .highlight {
    color: #71f69a;
}

.hero-subtitle {
    color: #fff;
}

.hero .btn-primary {
    color: #05351e;
}

.hero .btn-secondary {
    background: rgba(5, 22, 37, 0.6);
    border-color: rgba(255, 255, 255, 0.7);
}

.nav-container {
    max-width: 1360px;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.nav-links {
    gap: 18px;
}

.lang-switcher {
    margin-left: 0;
    flex-shrink: 0;
}

.logo {
    color: var(--tech-blue);
}

.back-home-label {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.nav-cta {
    padding: 10px 18px;
}

.footer-logo img {
    padding: 5px 12px;
    background: #fff;
    border-radius: 6px;
    height: 70px;
}

.lang-btn {
    min-height: 36px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--tech-blue);
    outline-offset: 4px;
}

@media (max-width: 1100px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 10px 0;
    }

    .nav-container {
        padding: 0 16px;
        gap: 8px 12px;
    }

    .logo {
        flex: 1 0 100%;
        justify-content: space-between;
        gap: 6px;
    }

    .logo img {
        height: 36px;
    }

    .back-home-label {
        font-size: 12px;
    }

    .nav-cta {
        order: 3;
        margin-left: auto;
        padding: 8px 12px;
        font-size: 12px;
    }

    .lang-switcher {
        order: 2;
        width: auto;
    }

    .hero {
        padding: 150px 20px 60px;
        background-position: 42% center;
    }

    .hero::before {
        background: linear-gradient(90deg, rgba(5, 22, 37, 0.88), rgba(5, 22, 37, 0.66));
    }

    .hero-container {
        gap: 28px;
        min-width: 0;
    }

    .hero h1 {
        font-size: clamp(28px, 8vw, 36px);
        overflow-wrap: anywhere;
    }

    .hero-buttons > a,
    .cta-buttons > a {
        max-width: 100%;
        padding: 14px 24px;
    }

    .hero-container > div:last-child > i {
        font-size: 140px !important;
    }

    .section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-title,
    .cta-box h2 {
        font-size: 28px;
        overflow-wrap: anywhere;
    }

    .cta-section,
    .cta-box {
        padding-left: 20px;
        padding-right: 20px;
    }
}
