*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

:root {
    --color-page: #f5f7fc;
    --color-surface: #ffffff;
    --color-surface-soft: #f8fafd;
    --color-panel: #f0f5fa;
    --color-border: #eef2f8;
    --color-border-strong: #dce5ef;
    --color-text: #1a2c3e;
    --color-text-soft: #2c4f69;
    --color-muted: #4a6f8a;
    --color-brand: #2d9cdb;
    --color-brand-dark: #1b6b93;
    --color-heading: #1a3e53;
    --shadow-card: 0 25px 45px -12px rgba(0, 0, 0, 0.12), 0 2px 5px rgba(0, 0, 0, 0.02);
    --shadow-soft: 0 6px 14px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.05);
    --font-main: "Inter", Arial, sans-serif;
}

.page {
    min-height: 100vh;
    padding: 2rem 1rem;
    background: var(--color-page);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.4;
}

.page_view_home {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.company-card {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 2rem;
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
}

.company-card__inner {
    padding: 3rem 2.5rem;
}

.company-card__logo {
    margin-bottom: 1rem;
}

.company-card__tagline {
    margin: 1rem 0 2rem;
}

.company-card__banner {
    margin: 1rem 0 2rem;
}

.company-card__section {
    margin-bottom: 2.5rem;
}

.company-card__back {
    margin-bottom: 2rem;
}

.company-card__footer {
    margin-top: 1.5rem;
}

.logo {
    text-align: center;
}

.logo__image {
    display: block;
    width: 85%;
    height: auto;
    margin: 0 auto;
}

.logo__image_size_compact {
    width: 85%;
    margin-bottom: 55px;
}

.tagline {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    color: #2b5e7a;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

.banner {
    text-align: center;
}

.banner__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.about {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.about__text {
    flex: 1;
    color: #213746;
    font-size: 1.05rem;
    line-height: 1.45;
}

.about__paragraph + .about__paragraph {
    margin-top: 1rem;
}

.directions__title {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.directions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.direction-card {
    display: block;
    min-height: 150px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.direction-card:hover,
.direction-card:focus-visible {
    border-color: var(--color-border-strong);
    box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.direction-card:focus-visible {
    outline: 3px solid rgba(45, 156, 219, 0.3);
    outline-offset: 3px;
}

.direction-card_linked {
    cursor: pointer;
}

.direction-card__icon {
    display: block;
    margin-bottom: 1rem;
    color: var(--color-brand);
    font-size: 2rem;
}

.direction-card__title {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
}

.advantages {
    padding: 2rem 2.5rem;
    border-radius: 1.5rem;
    background: var(--color-panel);
}

.advantages__title {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.2rem;
}

.advantages__item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 64px;
    padding: 0.9rem 1.2rem;
    border-radius: 1rem;
    background: var(--color-surface);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    font-size: 0.95rem;
    font-weight: 500;
}

.advantages__icon {
    width: 1.6rem;
    color: #1f8cad;
    font-size: 1.2rem;
}

.contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1.8rem;
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    background: var(--color-surface);
}

.contacts__column {
    flex: 1;
    min-width: 240px;
}

.contacts__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #1b4f6e;
    font-size: 1.2rem;
    font-weight: 600;
}

.contacts__row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.6rem 0;
    color: #2c4c6e;
    font-size: 0.9rem;
}

.contacts__icon {
    width: 1.6rem;
    color: var(--color-brand);
    font-size: 1rem;
}

.contacts__link {
    color: var(--color-brand-dark);
    text-decoration: none;
    border-bottom: 1px dotted #bdd4e2;
}

.contacts__link:hover {
    border-bottom-style: solid;
}

.back-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    background: #eff3f8;
    color: #1f6e8c;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.back-nav__link:hover,
.back-nav__link:focus-visible {
    background: #e2eaf1;
    color: #0a4b64;
}

.page-heading {
    text-align: center;
}

.page-heading__title {
    margin-bottom: 0.5rem;
    color: #1c5d7a;
    font-size: 2rem;
    font-weight: 700;
}

.page-heading__badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    background: #e7f0f7;
    color: var(--color-brand-dark);
    font-size: 0.8rem;
    font-weight: 500;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--color-brand);
}

.section-title__icon {
    color: var(--color-brand);
    font-size: 1.7rem;
}

.section-title__text {
    color: var(--color-heading);
    font-size: 1.7rem;
    font-weight: 600;
}

.project-section__customer {
    margin-bottom: 1.8rem;
}

.customer-box {
    padding: 1.2rem 1.5rem;
    border: 1px solid #e6edf4;
    border-radius: 1.2rem;
    background: var(--color-surface-soft);
}

.customer-box__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0d4e6b;
    font-size: 1.05rem;
    font-weight: 700;
}

.customer-box__text {
    margin-top: 0.4rem;
    color: #3b6e8b;
    font-size: 0.85rem;
}

.research-card {
    padding: 1.6rem 1.8rem;
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    background: var(--color-surface);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.research-card:hover {
    border-color: #cfdde9;
    box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.08);
}

.research-card:hover {
    transform: translateY(-4px);
}

.feature-box {
    padding: 1.8rem;
    border-radius: 1.5rem;
    background: #f5f9fe;
}

.feature-box_tone_muted {
    background: var(--color-panel);
}

.feature-box__header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.feature-box__icon {
    color: var(--color-brand);
    font-size: 1.8rem;
}

.feature-box__title {
    color: #175d7c;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-box__text {
    margin-bottom: 1rem;
    color: #2b5778;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.tag-list__item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 1rem;
    background: #eff3f8;
    color: #2c5a74;
    font-size: 0.72rem;
    font-weight: 500;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.research-grid_four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.research-card__icon {
    margin-bottom: 1rem;
    color: var(--color-brand);
    font-size: 2.2rem;
}

.research-card__title {
    margin-bottom: 0.75rem;
    color: #1a5d7a;
    font-size: 1.3rem;
    font-weight: 700;
}

.research-card__year {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.2rem 0.7rem;
    border-radius: 1rem;
    background: #eef4fc;
    color: var(--color-brand);
    font-size: 0.8rem;
    font-weight: 500;
}

.research-card__description {
    color: var(--color-text-soft);
    font-size: 0.95rem;
    line-height: 1.5;
}

.site-footer {
    padding-top: 1rem;
    border-top: 1px solid #e2eaf1;
    color: #7c8f9e;
    font-size: 0.8rem;
}

.site-footer__contacts {
    margin-bottom: 1rem;
}

.site-footer__meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer__item {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

@media (max-width: 1180px) {
    .research-grid_four {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .company-card__inner {
        padding: 2rem 1.5rem;
    }

    .advantages {
        padding: 2rem 1.5rem;
        border-radius: 1rem;
    }

    .page-heading__title {
        font-size: 1.7rem;
    }

    .section-title {
        align-items: flex-start;
    }

    .section-title__text {
        font-size: 1.35rem;
    }
}

@media (max-width: 640px) {
    .page {
        padding: 1rem 0.75rem;
    }

    .company-card {
        border-radius: 1.25rem;
    }

    .company-card__inner {
        padding: 1.5rem 1rem;
    }

    .logo__image,
    .logo__image_size_compact {
        width: 100%;
    }

    .direction-card,
    .research-card {
        padding: 1.2rem;
    }

    .research-grid,
    .research-grid_four {
        grid-template-columns: 1fr;
    }

    .contacts {
        padding: 1.2rem;
    }
}
