.inner-hero {
    padding: 66px 0 42px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    border-bottom: 1px solid rgba(18, 60, 108, .10);
}

.inner-hero::before,
.inner-hero::after {
    content: none;
}

.inner-hero .container {
    display: block;
}

.inner-kicker {
    color: #1367a5;
    font-weight: 800;
    letter-spacing: .12em;
}

.inner-title {
    color: #0b335d;
    margin-bottom: 14px;
    font-size: clamp(42px, 5vw, 68px);
    letter-spacing: 0;
}

.inner-text {
    max-width: 760px;
    color: #4e6176;
    font-size: 18px;
    line-height: 1.7;
}

.about-nitec-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
}

.about-nitec-sidebar {
    position: sticky;
    top: 104px;
    padding: 22px;
    border: 1px solid rgba(18, 60, 108, .10);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 48px rgba(18, 60, 108, .06);
}

.about-nitec-sidebar h2 {
    margin: 0 0 22px;
    color: #0b335d;
    font-size: 26px;
    line-height: 1.15;
}

.about-nitec-sidebar nav {
    display: grid;
    gap: 6px;
}

.about-nitec-sidebar a {
    display: block;
    padding: 12px 14px;
    border-left: 3px solid transparent;
    color: #25364a;
    font-size: 16px;
    line-height: 1.35;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.about-nitec-sidebar a:hover {
    border-color: #1367a5;
    background: #f3f8fc;
    color: #1367a5;
}

.about-nitec-content {
    min-width: 0;
}

.about-nitec-section {
    scroll-margin-top: 112px;
    margin-bottom: 30px;
    padding: 32px;
    border: 1px solid rgba(18, 60, 108, .08);
    border-radius: 0;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 48px rgba(18, 60, 108, .055);
}

.about-nitec-section:last-child {
    margin-bottom: 0;
}

.about-nitec-section .section-head {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(18, 60, 108, .08);
}

.about-nitec-section .section-kicker {
    color: #1367a5;
}

.about-nitec-section .section-title {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.12;
}

.about-info-card,
.about-schedule-card {
    padding: 26px;
    border: 1px solid rgba(18, 60, 108, .08);
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.about-info-card h3,
.about-schedule-card h3,
.about-nitec-section .card h3 {
    color: #0b335d;
}

.about-nitec-section .card {
    border: 1px solid rgba(18, 60, 108, .08);
    background: #fff;
    box-shadow: none;
}

.about-info-card .richtext-content,
.about-info-card p,
.about-schedule-card .richtext-content {
    color: #43566b;
    font-size: 16px;
    line-height: 1.75;
}

.about-action-panel {
    align-items: center;
    padding: 28px;
    border: 1px solid rgba(19, 103, 165, .14);
    background:
        linear-gradient(135deg, #f4f9ff 0%, #ffffff 100%);
}

.about-action-panel .btn {
    box-shadow: 0 14px 28px rgba(47, 128, 237, .18);
}

.about-schedule-card {
    display: grid;
    gap: 12px;
}

.about-schedule-card p {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 20px;
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid rgba(18, 60, 108, .08);
}

.about-schedule-card p:last-child {
    border-bottom: 0;
}

.about-schedule-card strong {
    color: #0b335d;
}

.about-schedule-card span {
    color: #536579;
}

.about-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    padding: 6px;
    border: 1px solid rgba(18, 60, 108, .09);
    background: #f6faff;
}

.about-tab {
    border: 1px solid transparent;
    background: transparent;
    color: #15324f;
    font-size: 16px;
    opacity: 1;
    padding: 11px 16px;
    border-radius: 0;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
}

.about-tab:hover {
    color: #1367a5;
    background: #fff;
}

.about-tab.active {
    background: #fff;
    color: #0b335d;
    border-color: rgba(19, 103, 165, .18);
    box-shadow: 0 10px 22px rgba(18, 60, 108, .06);
}

.about-nitec-sidebar a,
.about-tab,
.about-panel,
.about-nitec-section,
.about-nitec-section p,
.about-nitec-section li,
.about-nitec-section span,
.contacts-sidebar a {
    opacity: 1;
}

.about-panel {
    display: none;
}

.about-panel.active {
    display: block;
}

.management-intro {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
    margin: 4px 0 26px;
    padding: 24px 26px;
    border: 1px solid rgba(18, 60, 108, .08);
    background:
        linear-gradient(135deg, #f2f8ff 0%, #ffffff 100%);
}

.management-intro p {
    margin: 0 0 6px;
    color: #1367a5;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.management-intro h3 {
    margin: 0;
    color: #0b335d;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.15;
}

.management-intro span {
    flex: 0 0 auto;
    color: #536579;
    font-size: 14px;
    font-weight: 700;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.management-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(18, 60, 108, .09);
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 14px 34px rgba(18, 60, 108, .055);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.branches-panel-head {
    margin-bottom: 18px;
}

.branches-panel-head h3 {
    margin: 0;
    color: #0b335d;
    font-size: 22px;
    line-height: 1.35;
}

.branch-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.branch-office-card {
    min-height: 180px;
    border: 1px solid rgba(18, 60, 108, .09);
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 14px 34px rgba(18, 60, 108, .05);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.branch-office-card:hover {
    border-color: rgba(19, 103, 165, .28);
    box-shadow: 0 20px 44px rgba(18, 60, 108, .09);
    transform: translateY(-2px);
}

.branch-office-card .team-card-link {
    display: grid;
    gap: 12px;
    height: 100%;
    padding: 22px;
}

.branch-office-card h3 {
    margin: 0;
    color: #0b335d;
    font-size: 20px;
    line-height: 1.25;
}

.branch-office-card p {
    margin: 0;
    color: #536579;
    line-height: 1.55;
}

.branch-office-card .news-link {
    margin-top: auto;
    color: #1367a5;
    font-weight: 800;
}

.branch-panel-action {
    margin-top: 24px;
}

.management-card:hover {
    border-color: rgba(19, 103, 165, .30);
    box-shadow: 0 22px 54px rgba(18, 60, 108, .11);
    transform: translateY(-4px);
}

.management-photo {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin: 14px 14px 0;
    background:
        linear-gradient(135deg, #eef4fa, #f8fbff);
}

.management-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.management-photo:hover img,
.management-photo:focus-visible img {
    object-fit: contain;
}

@media (hover: none) {
    .management-photo img {
        object-fit: contain;
    }
}

.management-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 12px;
    padding: 20px 20px 22px;
}

.management-name {
    margin: 0;
    color: #0b335d;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

a.management-name:hover {
    color: #1367a5;
}

.management-position {
    width: max-content;
    max-width: 100%;
    padding: 7px 10px;
    border-left: 3px solid #1367a5;
    background: #f3f8fc;
}

.management-body p {
    margin: 0;
    color: #536579;
    font-size: 15px;
    line-height: 1.5;
}

.management-link {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #1367a5;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.management-link:hover {
    text-decoration: underline;
}

.management-link span {
    transition: transform .18s ease;
}

.management-link:hover span {
    transform: translateX(3px);
}

.management-body form {
    margin: 6px 0 0;
}

.management-text-card {
    min-height: 180px;
}

.flex-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .about-nitec-layout {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .about-nitec-sidebar {
        position: static;
        border-right: 0;
        border-bottom: 1px solid rgba(18, 60, 108, .12);
        padding-bottom: 18px;
    }

    .about-nitec-sidebar nav {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .about-nitec-sidebar a {
        flex: 0 0 auto;
        padding: 10px 14px;
        border: 1px solid rgba(18, 60, 108, .12);
        border-radius: 999px;
        background: #fff;
    }

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

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

    .management-intro {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .about-nitec-section .section-title {
        font-size: 28px;
    }

    .about-tab {
        width: 100%;
        padding-right: 0;
        text-align: left;
    }

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

    .branch-card-grid {
        grid-template-columns: 1fr;
    }

    .about-nitec-section {
        padding: 24px 18px;
    }

    .about-schedule-card p {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .management-intro {
        padding: 20px;
    }

    .management-photo {
        margin: 12px 12px 0;
    }
}
