:root {
    --bg: #f7f8fc;
    --surface: #ffffff;
    --surface-soft: #eef2f8;
    --text: #202a3b;
    --muted: #667085;
    --line: #dbe2ec;
    --primary: #5573a6;
    --primary-dark: #314d7c;
    --primary-soft: #dce6f5;
    --accent: #46628f;
    --accent-soft: #f5e5de;
    --shadow: 0 20px 60px rgba(85, 115, 166, 0.08);
    --shadow-card: 0 4px 24px rgba(85, 115, 166, 0.06);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background:
        radial-gradient(ellipse at 20% 10%, rgba(85, 115, 166, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 90%, rgba(70, 98, 143, 0.06) 0%, transparent 40%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 30%, #ffffff 100%);
}

a {
    color: inherit;
}

.container {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    backdrop-filter: blur(20px);
}

.site-nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 650;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-dark);
    background: #e6f6ff;
}

.nav-links a:hover {
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--primary-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: var(--primary-soft);
}

.hero {
    padding: 96px 0 64px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
    gap: 64px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #d3e6ff;
    color: var(--primary-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.hero h1,
.page-hero h1 {
    max-width: 800px;
    color: var(--text);
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.hero p,
.page-hero p {
    max-width: 680px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3cb2ff, #005ded);
    box-shadow: 0 16px 32px rgba(85, 115, 166, 0.28);
    color: #ffffff;
    text-decoration: none;
    font-weight: 750;
    font-size: 1.02rem;
    transition: all 0.24s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(85, 115, 166, 0.35);
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary-dark);
    border: 1.5px solid var(--line);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.btn-secondary:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(85, 115, 166, 0.15);
}

.hero-panel {
    position: relative;
    min-height: 440px;
    padding: 32px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 242, 248, 0.95));
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(85, 115, 166, 0.25));
}

.panel-orbit {
    position: absolute;
    inset: 48px;
    z-index: 1;
    border: 1px dashed rgba(85, 115, 166, 0.3);
    border-radius: 50%;
}

.panel-orbit::before,
.panel-orbit::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 28px;
    background: rgba(140, 164, 201, 0.8);
    box-shadow: 0 16px 36px rgba(85, 115, 166, 0.15);
}

.panel-orbit::before {
    top: 16px;
    right: 24px;
}

.panel-orbit::after {
    left: 14px;
    bottom: 28px;
}

.hero-stat {
    position: relative;
    z-index: 2;
    width: 200px;
    padding: 26px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(85, 115, 166, 0.12);
}

.hero-stat strong {
    display: block;
    color: var(--primary);
    font-size: 5rem;
    line-height: 0.85;
    font-weight: 900;
}

.hero-stat span {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.95rem;
}

.hero-checklist {
    position: absolute;
    right: 32px;
    bottom: 34px;
    z-index: 2;
    width: min(280px, calc(100% - 64px));
    padding: 22px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 40px rgba(85, 115, 166, 0.14);
    backdrop-filter: blur(12px);
}

.hero-checklist p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 11px 0;
    color: var(--text);
    font-weight: 750;
    font-size: 0.96rem;
}

.hero-checklist i {
    color: var(--primary);
    font-size: 1.1rem;
}

.notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 24px 0;
    padding: 20px 24px;
    border: 1.5px solid rgba(184, 117, 93, 0.3);
    border-radius: 12px;
    background: var(--accent-soft);
    color: #7a4e40;
}

.notice.compact {
    margin-top: 38px;
}

.notice i {
    margin-top: 4px;
    color: var(--accent);
    font-size: 1.15rem;
}

.section {
    padding: 84px 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(240, 250, 243, 0.8), rgba(255, 255, 255, 0.9));
}

.section-title {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-title.align-left {
    margin: 0;
    text-align: left;
}

.section-title h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
    color: #1d4185;
}

.section-title p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.08rem;
}

.about-highlight {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 42px;
    align-items: center;
}

.about-card,
.content-section,
.contact-aside,
.card,
.mini-card,
.knowledge-block {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-card);
}

.about-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
    gap: 38px;
    padding: 32px;
    align-items: stretch;
}

.about-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 16px 36px rgba(85, 115, 166, 0.1);
}

.about-card .experience {
    position: absolute;
    left: 56px;
    bottom: 52px;
    padding: 16px 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 40px rgba(85, 115, 166, 0.15);
    backdrop-filter: blur(14px);
}

.about-card > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 10px 12px 0;
}

.experience {
    color: #005ded;
    font-size: clamp(3.8rem, 8.5vw, 6.5rem);
    font-weight: 900;
    line-height: 0.85;
}

.experience-label {
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.about-card h3 {
    margin: 12px 0 14px;
    font-size: 1.5rem;
    font-weight: 800;
}

.about-card p,
.card p,
.mini-card p,
.contact-aside p {
    color: var(--muted);
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    transition: gap 0.2s ease;
}

.text-link:hover {
    gap: 14px;
}

.health-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.card {
    overflow: hidden;
    padding: 32px;
    transition: all 0.24s ease;
}

.card-media {
    width: calc(100% + 64px);
    height: 160px;
    display: block;
    margin: -32px -32px 28px;
    object-fit: cover;
    border-bottom: 1px solid var(--line);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(85, 115, 166, 0.12);
}

.card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: #005ded;
    font-size: 1.7rem;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.28rem;
    font-weight: 800;
}

.page-hero {
    padding: 76px 0 60px;
    background:
        linear-gradient(135deg, rgba(220, 230, 245, 0.85), rgba(255, 255, 255, 0.5)),
        radial-gradient(circle at right, rgba(85, 115, 166, 0.15), transparent 30rem);
    border-bottom: 1px solid var(--line);
}

.content-section {
    padding: clamp(30px, 5vw, 60px);
}

.content-hero-image,
.legal-image {
    width: 100%;
    height: 300px;
    display: block;
    margin-bottom: 34px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 20px 44px rgba(85, 115, 166, 0.1);
}

.legal-image {
    height: 240px;
}

.content-section h1,
.content-section h2,
.content-section h3 {
    color: var(--text);
    line-height: 1.3;
}

.content-section h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    font-size: 1.55rem;
    font-weight: 800;
}

.content-section h2:not(:first-child) {
    margin-top: 40px;
}

.content-section h2 i {
    color: var(--primary);
    font-size: 1.3rem;
}

.content-section h3 {
    margin: 24px 0 10px;
    font-size: 1.18rem;
    font-weight: 750;
}

.content-section p {
    margin-bottom: 18px;
    color: var(--muted);
    line-height: 1.85;
}

.content-section ul {
    display: grid;
    gap: 14px;
    margin: 18px 0 26px;
    list-style: none;
}

.content-section li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
    line-height: 1.75;
}

.content-section li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.content-section strong {
    color: #1e293b;
    font-weight: 750;
}

.content-section a {
    color: var(--primary-dark);
    font-weight: 750;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.content-section a:hover {
    border-color: var(--primary);
}

.feature-grid,
.knowledge-grid {
    display: grid;
    gap: 20px;
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 36px;
}

.mini-card {
    padding: 28px;
    box-shadow: none;
    border-radius: 12px;
}

.mini-card i {
    color: var(--primary);
    font-size: 1.65rem;
    margin-bottom: 16px;
}

.mini-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.knowledge-block {
    padding: 32px;
    overflow: hidden;
    box-shadow: none;
    border-radius: 12px;
}

.knowledge-image {
    width: calc(100% + 64px);
    height: 185px;
    display: block;
    margin: -32px -32px 28px;
    object-fit: cover;
    border-bottom: 1px solid var(--line);
}

.knowledge-block h2:not(:first-child),
.knowledge-block h2 {
    margin-top: 0;
}

.legal {
    max-width: 920px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
    align-items: stretch;
}

.contact-card h2 {
    margin-bottom: 30px;
}

.contact-list {
    display: grid;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--text);
    text-decoration: none;
    font-weight: 750;
    transition: all 0.2s ease;
}

.contact-item:hover {
    background: var(--primary-soft);
    transform: translateX(4px);
}

.contact-item i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 12px;
    background: var(--surface);
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-aside {
    padding: 34px;
    background: linear-gradient(160deg, var(--primary-dark), #46628f);
    color: #ffffff;
    overflow: hidden;
    border-radius: 16px;
}

.aside-image {
    width: calc(100% + 68px);
    height: 185px;
    display: block;
    margin: -34px -34px 30px;
    object-fit: cover;
    opacity: 0.88;
}

.contact-aside .eyebrow,
.contact-aside p {
    color: rgba(255, 255, 255, 0.82);
}

.contact-aside h3 {
    margin-bottom: 16px;
    font-size: 1.65rem;
    line-height: 1.2;
    font-weight: 800;
}

.site-footer {
    padding: 42px 0;
    border-top: 1px solid var(--line);
    background: #ffffff;
    color: var(--muted);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-links a {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 650;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.footer-info {
    font-size: 0.94rem;
    line-height: 1.7;
}

.footer-info p + p {
    margin-top: 6px;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    padding: 24px max(24px, calc((100% - 1000px) / 2));
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 24px 70px rgba(85, 115, 166, 0.12);
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner__text {
    display: grid;
    gap: 6px;
    max-width: 860px;
    color: var(--muted);
    font-size: 0.96rem;
    text-align: left;
}

.cookie-banner__text strong {
    color: var(--text);
    font-size: 1.02rem;
}

.cookie-banner__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.cookie-banner__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.cookie-banner__link:hover {
    text-decoration: underline;
}

.cookie-banner__button {
    min-width: 116px;
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #3cb2ff, #005ded);
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(85, 115, 166, 0.24);
    transition: all 0.2s ease;
}

.cookie-banner__button--secondary {
    border: 1.5px solid var(--line);
    background: #ffffff;
    color: var(--primary-dark);
    box-shadow: none;
}

.cookie-banner__button:hover {
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .hero-grid,
    .about-highlight,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: 360px;
    }

    .health-cards,
    .feature-grid,
    .knowledge-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-aside {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 32px, 1140px);
    }

    .site-nav {
        min-height: 70px;
        position: relative;
        justify-content: center;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
        font-size: 1.35rem;
    }

    .mobile-menu-toggle {
        position: absolute;
        left: 0;
        top: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-50%);
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: -12px;
        right: -12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #ffffff;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        justify-content: center;
        padding: 14px 16px;
    }

    .hero,
    .section,
    .page-hero {
        padding: 52px 0;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .hero-panel {
        min-height: 320px;
        padding: 24px;
    }

    .about-card {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .about-image {
        height: 240px;
        min-height: 0;
    }

    .about-card .experience {
        position: static;
        width: max-content;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .about-card > div:last-child {
        padding: 0;
    }

    .health-cards,
    .feature-grid,
    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .content-section h2 {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .contact-item {
        align-items: flex-start;
    }

    .content-hero-image,
    .legal-image {
        height: 220px;
    }

    .cookie-banner {
        gap: 16px;
        padding: 18px 16px;
    }

    .cookie-banner__actions {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }

    .cookie-banner__link {
        min-height: 36px;
        font-size: 0.84rem;
        white-space: nowrap;
    }

    .cookie-banner__button {
        min-width: 76px;
        min-height: 36px;
        padding: 0 14px;
        font-size: 0.84rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

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

    .btn {
        width: 100%;
    }

    .hero-checklist {
        left: 22px;
        right: 22px;
        width: auto;
    }

    .hero-stat {
        width: 170px;
        padding: 20px;
    }

    .hero-stat strong {
        font-size: 4rem;
    }
}

/* 2026 visual refresh: keep the restored PHP structure, update presentation only. */
.logo::before {
    content: "\f06c";
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(145deg, #5091ff, var(--primary-dark));
    color: #fff;
    font-family: "Font Awesome 6 Free";
    font-size: 0.95rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(85, 115, 166, 0.22);
    transform: rotate(-5deg);
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 16%, rgba(140, 164, 201, 0.18), transparent 30%),
        radial-gradient(circle at 86% 76%, rgba(85, 115, 166, 0.12), transparent 34%);
}

.hero-grid,
.page-hero .container {
    position: relative;
    z-index: 1;
}

/* Homepage hero: give the lead photograph a larger, editorial presence. */
.hero .container {
    width: min(1320px, calc(100% - 48px));
}

.hero-grid {
    grid-template-columns: minmax(360px, 0.78fr) minmax(600px, 1.22fr);
    gap: 56px;
}

.hero-panel {
    min-height: 590px;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(49, 77, 124, 0.17);
}

.hero-image {
    object-position: center;
}

.hero-panel,
.about-card,
.card,
.content-section,
.contact-card,
.contact-aside {
    border-color: rgba(85, 115, 166, 0.14);
}

.card,
.mini-card,
.knowledge-card,
.contact-item {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.mini-card:hover,
.knowledge-card:hover {
    transform: translateY(-6px);
    border-color: rgba(85, 115, 166, 0.28);
    box-shadow: 0 24px 55px rgba(49, 77, 124, 0.12);
}

.page-hero {
    background:
        radial-gradient(circle at 82% 22%, rgba(140, 164, 201, 0.24), transparent 30%),
        linear-gradient(135deg, #f8f5ec 0%, #eef2f8 55%, #f7f8fc 100%);
}

.content-hero-image,
.legal-image,
.card-media,
.about-image {
    filter: saturate(0.88) contrast(1.02);
}

.site-footer {
    background: linear-gradient(135deg, #031d27, #1a3e75);
}

/* Current consent script compatibility. */
.cookie-banner {
    transform: translateY(140%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner.show,
.cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner > div:first-child {
    min-width: 0;
}

.cookie-banner > div:first-child strong {
    display: block;
    margin-bottom: 3px;
    color: var(--text);
}

.cookie-banner > div:first-child p {
    color: var(--muted);
    font-size: 0.88rem;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.cookie-actions a {
    color: var(--primary-dark);
    font-size: 0.86rem;
    font-weight: 700;
}

.cookie-actions button {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font: inherit;
    cursor: pointer;
}

.cookie-actions .accept {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

@media (max-width: 720px) {
    .logo::before {
        width: 34px;
        height: 34px;
    }

    .cookie-banner {
        align-items: stretch;
        flex-direction: column;
    }

    .cookie-actions {
        flex-wrap: wrap;
        white-space: normal;
    }
}

@media (max-width: 1024px) {
    .hero .container {
        width: min(100% - 40px, 900px);
    }

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

    .hero-panel {
        min-height: clamp(360px, 62vw, 560px);
    }
}

@media (max-width: 480px) {
    .hero .container {
        width: min(100% - 32px, 900px);
    }

    .hero-panel {
        min-height: 380px;
        border-radius: 22px;
    }
}

/* Homepage hero image as a full-bleed background. */
.hero {
    min-height: 720px;
    padding: 110px 0;
    display: flex;
    align-items: center;
    background: #263853;
}

.hero::before {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(15, 27, 47, 0.96) 0%, rgba(25, 42, 68, 0.84) 48%, rgba(32, 49, 76, 0.42) 100%),
        linear-gradient(0deg, rgba(25, 35, 53, 0.25), transparent 55%);
}

.hero .container,
.hero-grid {
    position: static;
}

.hero-grid {
    display: block;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-panel {
    position: absolute;
    z-index: 0;
    inset: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.hero-panel::after {
    display: none;
}

.hero-image {
    object-position: center;
    filter: saturate(0.86) contrast(1.04);
}

.panel-orbit,
.hero-stat,
.hero-checklist {
    display: none;
}

.hero .eyebrow {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.hero h1 {
    color: #ffffff;
    text-shadow:
        0 2px 3px rgba(8, 18, 34, 0.72),
        0 8px 30px rgba(8, 18, 34, 0.55);
}

.hero p {
    color: #f7f9fd;
    font-weight: 520;
    text-shadow:
        0 1px 2px rgba(8, 18, 34, 0.95),
        0 4px 14px rgba(8, 18, 34, 0.75);
}

.hero .eyebrow {
    text-shadow: 0 1px 3px rgba(8, 18, 34, 0.75);
}

.hero .btn-secondary {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 768px) {
    .hero {
        min-height: 650px;
        padding: 82px 0;
    }

    .hero::before {
        background: linear-gradient(90deg, rgba(15, 27, 47, 0.95), rgba(30, 47, 73, 0.72));
    }

    .hero-panel {
        min-height: 0;
        border-radius: 0;
    }
}
