/* =========================================================
   Company Common
========================================================= */


/* =========================================================
   Language
========================================================= */

.company-language {
    border-bottom: 1px solid #dbe4ee;
}

.company-language-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;

    width: min(1080px, calc(100% - 80px));
    margin: 0 auto;

    padding: 18px 0;
}

.language-label {
    color: #8a9aaa;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.language-switch {
    display: flex;
    align-items: center;
}

.language-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.language-switch label {
    display: inline-block;

    padding: 7px 14px;

    color: #64748b;

    font-size: 0.8rem;
    font-weight: 600;

    cursor: pointer;

    border-bottom: 2px solid transparent;

    transition: 0.25s ease;
}

.language-switch input:checked + label {
    color: #17324d;
    border-bottom-color: #2563eb;
}


/* =========================================================
   Navigation
========================================================= */

.company-navigation {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    width: min(1080px, calc(100% - 80px));
    margin: 0 auto 100px;

    border-top: 1px solid #cbd7e3;
    border-bottom: 1px solid #cbd7e3;
}

.company-nav-link {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 35px 40px;

    color: #17324d;
    text-decoration: none;

    transition: 0.3s ease;
}

.company-nav-link + .company-nav-link {
    border-left: 1px solid #dbe4ee;
}

.company-nav-link span {
    margin-bottom: 10px;

    color: #2563eb;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.company-nav-link strong {
    font-size: 1.45rem;
    line-height: 1.6;
}

.company-nav-link b {
    position: absolute;

    right: 40px;
    bottom: 35px;

    color: #2563eb;

    font-size: 1.3rem;
    font-weight: 400;

    transition: transform 0.25s ease;
}

.company-nav-link:hover {
    background: #17324d;
    color: #ffffff;
}

.company-nav-link:hover span,
.company-nav-link:hover b {
    color: #60a5fa;
}

.company-nav-link:hover b {
    transform: translateX(7px);
}


/* =========================================================
   Hero Common
========================================================= */

.company-hero,
.history-hero {
    position: relative;

    padding: 100px 0 90px;

    background:
        linear-gradient(
            135deg,
        #ffffff 0%,
        #f7faff 45%,
        #eef5fc 75%,
        #ffffff 100%
        );

    overflow: hidden;
}


/* Hero Inner */

.company-hero-inner,
.history-hero-inner {
    position: relative;

    width: min(1080px, calc(100% - 80px));

    margin: 0 auto;
}


/* Hero Eyebrow */

.section-eyebrow,
.history-kicker {
    display: block;

    margin-bottom: 18px;

    color: #2563eb;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.18em;
}


/* Hero Heading */

.company-hero h1,
.history-hero h1 {
    margin: 0 0 28px;

    color: #17324d;

    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;

    line-height: 1.3;
}


/* Hero Lead */

.company-lead,
.history-lead {
    margin: 0 0 24px;

    color: #17324d;

    font-size: 1.55rem;
    font-weight: 700;

    line-height: 1.7;
}


/* =========================================================
   Common Section Heading
========================================================= */

.company-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 25px;

    margin-bottom: 55px;
}

.company-section-heading > span {
    padding-top: 7px;

    color: #2563eb;

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.company-section-heading small {
    display: block;

    margin-bottom: 8px;

    color: #7d8da0;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.company-section-heading h2 {
    margin: 0;

    color: #17324d;

    font-size: 2.2rem;
    line-height: 1.4;
}


/* =========================================================
   Common Hero
   Responsive
========================================================= */

@media (max-width: 768px) {

    .company-hero,
    .history-hero {
        padding: 70px 0;
    }


    .company-hero-inner,
    .history-hero-inner {
        display: flex;
        flex-direction: column;

        align-items: stretch;

        width: min(100% - 40px, 600px);

        margin: 0 auto;

        gap: 40px;
    }


    .company-hero h1,
    .history-hero h1 {
        font-size: 2.3rem;
    }


    .company-lead,
    .history-lead {
        font-size: 1.05rem;
        line-height: 1.9;
    }


    .company-hero-image img,
    .history-hero-image img {
        width: 100%;
        height: 260px;

        object-fit: cover;
    }

    .company-navigation {
        width: min(100% - 40px, 600px);

        grid-template-columns: 1fr;

        margin-bottom: 70px;
    }

    .company-nav-link + .company-nav-link {
        border-left: 0;
        border-top: 1px solid #dbe4ee;
    }

}