:root {
    --csh-bg: #05070a;
    --csh-bg-soft: #0b1118;
    --csh-text: #0d1720;
    --csh-muted: #647180;
    --csh-line: #dce4eb;
    --csh-surface: #ffffff;
    --csh-surface-soft: #f4f7fa;
    --csh-blue: #1597f4;
    --csh-blue-deep: #063f88;
    --csh-orange: #ff7a18;
    --csh-shadow: 0 24px 70px rgba(2, 12, 24, 0.14);
    --csh-radius: 8px;
    --csh-container: min(1160px, calc(100vw - 48px));
    --csh-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--csh-text);
    background: var(--csh-surface);
    font-family: var(--csh-font);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

html.nav-open {
    overflow: hidden;
}

img,
svg {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(21, 151, 244, 0.5);
    outline-offset: 4px;
}

.screen-reader-text,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.skip-link:focus {
    z-index: 50;
    top: 16px;
    left: 16px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    clip: auto;
    color: #fff;
    background: var(--csh-blue);
}

.site-header {
    position: fixed;
    z-index: 30;
    top: 0;
    right: 0;
    left: 0;
    color: #fff;
    background: rgba(3, 5, 8, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
}

.admin-bar .site-header {
    top: 32px;
}

.site-header__inner {
    width: var(--csh-container);
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand img {
    width: 188px;
    height: auto;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 700;
}

.primary-nav a {
    color: rgba(255, 255, 255, 0.84);
    transition: color 180ms ease;
}

.primary-nav a:hover {
    color: #fff;
}

.primary-nav .nav-legal {
    padding: 8px 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span:not(.screen-reader-text) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
}

.site-main {
    overflow: hidden;
}

.container {
    width: var(--csh-container);
    margin: 0 auto;
}

.container--narrow {
    max-width: 880px;
}

.hero {
    position: relative;
    min-height: 720px;
    color: #fff;
    background: var(--csh-bg);
}

.hero__media {
    position: absolute;
    inset: 0;
}

.hero__media::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(2, 4, 7, 0.98) 0%, rgba(2, 4, 7, 0.9) 32%, rgba(2, 4, 7, 0.24) 78%),
        linear-gradient(180deg, rgba(2, 4, 7, 0.24) 0%, rgba(2, 4, 7, 0.02) 45%, rgba(2, 4, 7, 0.72) 100%);
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero__inner {
    position: relative;
    z-index: 1;
    width: var(--csh-container);
    min-height: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 112px 0 88px;
}

.hero__content {
    max-width: 630px;
}

.hero__mark {
    width: 74px;
    height: 74px;
    margin-bottom: 26px;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.34));
}

.hero h1 {
    max-width: 760px;
    margin: 0 0 24px;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 0.98;
    font-weight: 850;
    letter-spacing: 0;
}

.hero p {
    max-width: 590px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
    line-height: 1.65;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    color: #fff;
    background: var(--csh-blue);
    border: 1px solid var(--csh-blue);
}

.button--ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.03);
}

.hero__scroll {
    position: absolute;
    z-index: 2;
    bottom: 28px;
    left: 50%;
    width: 26px;
    height: 26px;
    border-right: 2px solid rgba(255, 255, 255, 0.9);
    border-bottom: 2px solid rgba(255, 255, 255, 0.9);
    transform: translateX(-50%) rotate(45deg);
}

.section {
    padding: 104px 0;
}

.section[id],
.contact-band[id] {
    scroll-margin-top: 92px;
}

.section--intro {
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
}

.section--dark {
    color: #fff;
    background:
        linear-gradient(135deg, rgba(21, 151, 244, 0.18), transparent 40%),
        var(--csh-bg-soft);
}

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

.section-heading h2,
.role-layout__copy h2,
.contact-band h2,
.page-hero h1 {
    margin: 0 0 16px;
    color: var(--csh-text);
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: 0;
}

.section-heading h2 span {
    color: var(--csh-blue);
}

.section-heading p,
.role-layout__copy p,
.contact-band p {
    margin: 0;
    color: var(--csh-muted);
    font-size: 18px;
}

.section-heading--light h2,
.section-heading--light p {
    color: #fff;
}

.section-heading--light p {
    color: rgba(255, 255, 255, 0.72);
}

.subsidiary-grid,
.participation-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.subsidiary-card,
.participation-card {
    border-radius: var(--csh-radius);
}

.subsidiary-card {
    min-height: 330px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--csh-line);
    box-shadow: 0 16px 40px rgba(15, 38, 58, 0.08);
}

.subsidiary-card__logo {
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 14px;
    border: 1px solid rgba(13, 23, 32, 0.08);
    border-radius: 8px;
    background: #fff;
}

.subsidiary-card__logo--dark {
    background: #05070a;
    border-color: #05070a;
}

.subsidiary-card__logo img {
    max-width: 100%;
    max-height: 78px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.subsidiary-card--orange a {
    color: var(--csh-orange);
}

.icon {
    width: 56px;
    height: 56px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.subsidiary-card h3,
.participation-card h3,
.role-list h3 {
    grid-column: 2;
    margin: 0;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 850;
}

.subsidiary-card__sector {
    margin: 8px 0 0;
    color: var(--csh-blue);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.35;
    text-transform: uppercase;
}

.subsidiary-card p {
    margin: 0;
    color: var(--csh-muted);
    font-size: 15px;
    line-height: 1.58;
}

.subsidiary-card a {
    margin-top: auto;
    color: var(--csh-blue);
    font-size: 14px;
    font-weight: 850;
}

.subsidiary-card a::after {
    content: " ->";
}

.participation-grid {
    gap: 20px;
}

.participation-card {
    min-height: 260px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.participation-card span {
    display: block;
    margin-bottom: 44px;
    color: var(--csh-blue);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
}

.participation-card p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.role-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.6fr;
    gap: 64px;
    align-items: start;
}

.role-layout__copy {
    position: sticky;
    top: 116px;
}

.role-list {
    display: grid;
    gap: 18px;
}

.role-list article {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 22px;
    align-items: start;
    padding: 26px 0;
    border-bottom: 1px solid var(--csh-line);
}

.role-list .icon {
    color: var(--csh-blue-deep);
}

.role-list p {
    grid-column: 2;
    margin: 8px 0 0;
    color: var(--csh-muted);
}

.contact-band {
    padding: 96px 0;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(2, 5, 10, 0.98), rgba(2, 10, 18, 0.88)),
        var(--csh-bg);
}

.contact-band__inner {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 420px);
    gap: 64px;
    align-items: center;
}

.contact-band h2,
.contact-band p {
    color: #fff;
}

.contact-band p {
    color: rgba(255, 255, 255, 0.72);
}

.contact-panel {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--csh-radius);
    background: rgba(255, 255, 255, 0.06);
}

.contact-panel strong {
    color: #fff;
}

.contact-panel .button {
    margin-top: 12px;
}

.site-footer {
    color: rgba(255, 255, 255, 0.72);
    background: #030508;
}

.site-footer__inner,
.site-footer__bottom {
    width: var(--csh-container);
    margin: 0 auto;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 56px;
    padding: 70px 0 46px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__logo {
    width: 210px;
    height: auto;
    margin-bottom: 20px;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 18px;
}

.site-footer p {
    margin: 0 0 12px;
}

.site-footer a {
    color: #fff;
}

.site-footer__bottom {
    padding: 24px 0 32px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 14px;
}

.page-hero {
    padding: 160px 0 70px;
    color: #fff;
    background: var(--csh-bg);
}

.page-kicker {
    margin: 0 0 12px;
    color: var(--csh-blue);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-hero h1 {
    color: #fff;
}

.page-content {
    padding: 72px 0 96px;
}

.page-content h2 {
    margin: 44px 0 12px;
    color: var(--csh-text);
    font-size: 28px;
    line-height: 1.2;
}

.page-content h3 {
    margin: 30px 0 8px;
    font-size: 22px;
}

.page-content a {
    color: var(--csh-blue-deep);
    font-weight: 700;
}

.page-content p,
.page-content li {
    color: #344250;
}

.page-content img {
    max-width: 100%;
    height: auto;
}

.legal-content section {
    padding: 28px 0;
    border-bottom: 1px solid var(--csh-line);
}

.legal-content section:first-child {
    padding-top: 0;
}

.legal-content section:last-child {
    border-bottom: 0;
}

.legal-content h2 {
    margin-top: 0;
}

.legal-content p {
    margin: 0 0 12px;
}

.legal-content ul {
    margin: 0;
    padding-left: 22px;
}

.legal-certification {
    margin-top: 20px;
    padding: 28px;
    border: 1px solid rgba(21, 151, 244, 0.22);
    border-radius: var(--csh-radius);
    background: #f5faff;
}

.subsidiary-hero {
    padding: 154px 0 92px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(21, 151, 244, 0.18), transparent 38%),
        var(--csh-bg);
}

.subsidiary-hero--orange {
    background:
        linear-gradient(135deg, rgba(255, 122, 26, 0.22), transparent 38%),
        var(--csh-bg);
}

.subsidiary-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 58px;
    align-items: center;
}

.subsidiary-hero h1 {
    margin: 0 0 20px;
    max-width: 780px;
    color: #fff;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
}

.subsidiary-hero p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 20px;
}

.subsidiary-hero__logo {
    min-height: 240px;
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--csh-radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.subsidiary-hero__logo img {
    max-width: 100%;
    max-height: 172px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.subsidiary-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 64px;
    align-items: start;
}

.subsidiary-detail__main h2 {
    margin: 0 0 14px;
    color: var(--csh-text);
    font-size: 34px;
    line-height: 1.12;
}

.subsidiary-detail__main h2 + p {
    margin: 0 0 42px;
}

.subsidiary-detail__main p {
    color: var(--csh-muted);
    font-size: 18px;
    line-height: 1.72;
}

.subsidiary-facts {
    position: sticky;
    top: 116px;
    display: grid;
    gap: 12px;
}

.subsidiary-facts span {
    padding: 16px 18px;
    border: 1px solid var(--csh-line);
    border-radius: var(--csh-radius);
    color: var(--csh-blue-deep);
    background: #fff;
    font-weight: 850;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    min-height: 250px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    border: 1px solid var(--csh-line);
    border-radius: var(--csh-radius);
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 38, 58, 0.07);
}

.service-card .icon {
    width: 42px;
    height: 42px;
    color: var(--csh-blue-deep);
}

.service-card h3 {
    margin: 0 0 10px;
    color: var(--csh-text);
    font-size: 18px;
    line-height: 1.2;
}

.service-card p {
    margin: 0;
    color: var(--csh-muted);
    font-size: 14px;
    line-height: 1.55;
}

.source-note {
    margin-top: 18px;
    font-size: 13px;
}

@media (max-width: 980px) {
    :root {
        --csh-container: min(100vw - 32px, 760px);
    }

    .site-header__inner {
        min-height: 70px;
    }

    .admin-bar .site-header {
        top: 46px;
    }

    .nav-toggle {
        display: block;
    }

    .primary-nav {
        position: fixed;
        top: 70px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 16px 24px;
        background: rgba(3, 5, 8, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav a {
        padding: 14px 0;
    }

    .primary-nav .nav-legal {
        margin-top: 8px;
        text-align: center;
    }

    .hero,
    .hero__inner {
        min-height: 700px;
    }

    .hero__media::after {
        background:
            linear-gradient(90deg, rgba(2, 4, 7, 0.98), rgba(2, 4, 7, 0.76)),
            linear-gradient(180deg, transparent 0%, rgba(2, 4, 7, 0.88) 100%);
    }

    .hero__content {
        max-width: 620px;
    }

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

    .role-layout,
    .subsidiary-hero__inner,
    .subsidiary-detail__grid,
    .contact-band__inner,
    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .role-layout__copy,
    .subsidiary-facts {
        position: static;
    }

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

@media (max-width: 640px) {
    .brand img {
        width: 154px;
    }

    .hero,
    .hero__inner {
        min-height: 660px;
    }

    .hero__inner {
        padding-top: 96px;
    }

    .hero__mark {
        width: 68px;
        height: 68px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero__actions,
    .button {
        width: 100%;
    }

    .section {
        padding: 72px 0;
    }

    .subsidiary-grid,
    .participation-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .subsidiary-hero {
        padding: 118px 0 72px;
    }

    .subsidiary-hero__logo {
        min-height: 190px;
        padding: 24px;
    }

    .role-list article {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .role-list h3,
    .role-list p {
        grid-column: 1;
    }

    .site-footer__bottom {
        flex-direction: column;
    }
}
