:root {
    --bg: #f3f6fa;
    --surface: #ffffff;
    --text: #1d2a39;
    --muted: #5f6d7b;
    --line: #dbe3ee;
    --primary: #1f5ea8;
    --primary-dark: #173f70;
    --accent: #f0b429;
    --success: #15803d;
    --danger: #b42318;
    --radius: 14px;
    --shadow: 0 12px 32px rgba(15, 37, 63, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top right, #dce8f8 0%, #f3f6fa 42%, #f9fbff 100%);
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

.container {
    width: min(1180px, calc(100% - 2.2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.top-line {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.8rem 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: inherit;
}

.logo-image {
    display: block;
    width: min(360px, 100%);
    max-height: 64px;
    object-fit: contain;
}

.logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, #2a6bbb, #154074);
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
}

.logo-text {
    display: grid;
    line-height: 1.2;
}

.logo-text--fallback {
    max-width: 340px;
}

.logo-text strong {
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
    font-size: 1.03rem;
}

.logo-text small {
    color: var(--muted);
    font-size: 0.8rem;
}

.header-contacts {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.header-contact-list {
    display: grid;
    justify-items: end;
}

.header-contacts a {
    font-size: 0.92rem;
    color: var(--text);
}

.header-contacts span {
    font-size: 0.92rem;
    color: var(--text);
}

.btn.btn-outline.header-callback-btn {
    white-space: nowrap;
    padding: 0.56rem 0.86rem;
    font-weight: 700;
    color: #1c4e84;
    border-color: #8fadd2;
    background: linear-gradient(165deg, #fbfdff, #eef4fc);
    box-shadow: 0 6px 14px rgba(28, 78, 132, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn.btn-outline.header-callback-btn:hover,
.btn.btn-outline.header-callback-btn:focus-visible {
    color: #123963;
    border-color: #5f88bb;
    background: linear-gradient(165deg, #ffffff, #deebfa);
    box-shadow: 0 10px 20px rgba(23, 68, 114, 0.18);
    transform: translateY(-1px);
    filter: none;
}

.btn.btn-outline.header-callback-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(23, 68, 114, 0.12);
}

.main-nav {
    border-top: 1px solid var(--line);
}

.nav-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.6rem 0;
}

.nav-wrap a {
    color: #2f3f55;
    padding: 0.52rem 0.78rem;
    border-radius: 10px;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
    font-size: 0.93rem;
    transition: background 0.2s ease, color 0.2s ease;
}

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

.hero {
    padding: 2.3rem 0 1.1rem;
}

.hero-shell {
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid #cfdced;
    background: #173c69;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.hero-track {
    position: relative;
    min-height: 380px;
}

.hero-slide {
    display: none;
    min-height: 380px;
    padding: 2rem;
    background: linear-gradient(130deg, #1e4f88, #123459);
    color: #fff;
    animation: rise 0.45s ease;
    position: relative;
    overflow: hidden;
}

.hero-slide.is-active {
    display: block;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(120deg, rgba(18, 49, 87, 0.85), rgba(14, 30, 52, 0.6));
    pointer-events: none;
}

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

.hero-badge {
    margin: 0;
    display: inline-block;
    padding: 0.28rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #f0f6ff;
    font-size: 0.82rem;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
}

.hero h1,
.hero h2 {
    font-family: 'Manrope', sans-serif;
    margin: 0.72rem 0;
    font-size: clamp(1.65rem, 3.3vw, 2.5rem);
}

.hero p {
    color: #e8f2ff;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.1rem;
}

.hero-slide .btn-outline {
    color: #e9f2ff;
    border-color: rgba(233, 242, 255, 0.65);
}

.hero-nav {
    position: absolute;
    inset-inline: 0;
    bottom: 0.7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0 0.9rem;
}

.hero-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(15, 28, 46, 0.45);
    color: #fff;
    cursor: pointer;
    font-size: 1.3rem;
    line-height: 1;
}

.hero-dots {
    display: flex;
    gap: 0.42rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.hero-dot.is-active {
    background: #fff;
}

.section {
    padding: 2.05rem 0;
}

.hero ~ .section {
    content-visibility: auto;
    contain-intrinsic-size: 640px;
}

.section-muted {
    background: linear-gradient(180deg, rgba(219, 231, 248, 0.3), rgba(255, 255, 255, 0));
}

.section-head {
    margin-bottom: 1.2rem;
}

.section-head h2,
.section-head h1 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.section-head p {
    margin: 0.5rem 0 0;
    color: var(--muted);
}

.section-head.between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.page-header {
    padding-top: 2rem;
    padding-bottom: 0.8rem;
}

.cards-2,
.cards-3,
.cards-4 {
    display: grid;
    gap: 1rem;
}

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

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

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

.card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(22, 42, 65, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.24), rgba(103, 141, 184, 0.08));
    opacity: 0;
    transition: opacity 0.22s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(22, 42, 65, 0.11);
    border-color: #c4d5ea;
}

.card:hover::before,
.card:focus-within::before {
    opacity: 1;
}

.card:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(22, 42, 65, 0.1);
    border-color: #b8cce6;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: 'Manrope', sans-serif;
    font-size: 1.12rem;
}

.card p {
    color: var(--muted);
    line-height: 1.45;
}

.card .meta {
    font-size: 0.9rem;
    color: #62758e;
}

.card-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
    margin-bottom: 0.75rem;
    background: #eef3fa;
    transition: transform 0.32s ease, filter 0.32s ease;
    will-change: transform;
}

.card:hover .card-media,
.card:focus-within .card-media {
    transform: scale(1.025);
    filter: saturate(1.03) contrast(1.01);
}

.card-media--placeholder {
    display: grid;
    place-items: center;
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4f6784;
    background: linear-gradient(145deg, #e7eef8, #f7faff);
}

.chip {
    display: inline-flex;
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    color: var(--primary-dark);
    background: #e5eef9;
}

.chip.active {
    background: #1e60ab;
    color: #fff;
    border-color: #1e60ab;
}

.brand-list {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.35rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.tag-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.7rem;
}

.projects-map {
    width: 100%;
    height: 420px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
    background: #eef3fa;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
}

.project-filters .chip {
    border: 1px solid #c7d7eb;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.project-filters .chip:hover {
    background: #eef5ff;
    border-color: #9eb8d7;
    color: #1b4f86;
    transform: translateY(-1px);
}

.brand-pseudo-grid {
    display: flex;
    gap: 1rem;
    margin-top: 0.9rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.45rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.brand-pseudo-card {
    display: flex;
    flex: 0 0 220px;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    min-height: 150px;
    height: 100%;
    border: 1px solid #c7d7eb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    color: var(--text);
    scroll-snap-align: start;
}

.brand-pseudo-card:hover {
    border-color: #1e60ab;
    box-shadow: 0 10px 24px rgba(18, 48, 91, 0.12);
    transform: translateY(-2px);
    color: var(--text);
}

.brand-pseudo-card:focus-visible {
    outline: 2px solid #1e60ab;
    outline-offset: 2px;
    color: var(--text);
}

.brand-pseudo-card.is-active {
    border-color: #1e60ab;
    box-shadow: 0 12px 24px rgba(30, 96, 171, 0.18);
}

.brand-pseudo-card h3 {
    margin-bottom: 0.35rem;
}

.brand-pseudo-card .meta {
    margin-bottom: 0;
}

.brand-pseudo-logo-wrap {
    display: flex;
    align-items: center;
    min-height: 42px;
    margin-bottom: 0.1rem;
}

.brand-pseudo-logo {
    display: block;
    max-width: 100%;
    max-height: 38px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.project-card.is-hidden {
    display: none;
}

.certificate-image {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.7rem;
    border: 1px solid var(--line);
}

.category-tree {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.category-tree > li {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.75rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-tree > li:hover {
    border-color: #c3d4e8;
    box-shadow: 0 8px 18px rgba(26, 52, 83, 0.08);
}

.category-tree > li > a {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

.category-tree p {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

.category-tree ul {
    list-style: none;
    margin: 0.6rem 0 0;
    padding: 0 0 0 0.85rem;
    border-left: 2px solid #d8e2f0;
    display: grid;
    gap: 0.5rem;
}

.brand-item {
    flex: 0 0 180px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    scroll-snap-align: start;
}

.brand-logo {
    width: 100%;
    height: 58px;
    object-fit: contain;
    margin-bottom: 0.45rem;
}

.spec-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 0.45rem;
}

.spec-list li span {
    color: var(--muted);
}

.content-block,
.content-grid {
    line-height: 1.65;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
}

.lead {
    font-size: 1.05rem;
    color: #44566d;
}

.feedback-block {
    background: linear-gradient(145deg, #fefefe, #e9f0fb);
    border-top: 1px solid var(--line);
}

.feedback-modal-cta {
    background: linear-gradient(145deg, #fefefe, #e9f0fb);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.2rem 0;
}

.feedback-modal-cta__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.feedback-modal-cta__copy h2 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.3rem, 2.3vw, 1.9rem);
}

.feedback-modal-cta__copy p {
    margin: 0.45rem 0 0;
    color: var(--muted);
    line-height: 1.45;
}

.feedback-modal-cta .btn {
    flex-shrink: 0;
    min-width: 220px;
}

.feedback-modal .callback-modal__dialog {
    width: min(760px, 100%);
}

.feedback-block--modal {
    padding: 0;
    background: transparent;
    border-top: none;
}

.feedback-block--modal .container {
    width: 100%;
}

.feedback-block--modal .section-head {
    margin-bottom: 0.9rem;
}

.feedback-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.feedback-form label {
    display: grid;
    gap: 0.3rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
}

.feedback-form input,
.feedback-form textarea {
    border: 1px solid #c8d4e3;
    border-radius: 10px;
    padding: 0.7rem 0.75rem;
    font: inherit;
}

.feedback-form textarea {
    resize: vertical;
    margin-top: 0.7rem;
    margin-bottom: 0.9rem;
}

.captcha-block {
    margin: 0.85rem 0 0.75rem;
    padding: 0.75rem;
    border: 1px solid #c8d8ec;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #f1f6fd 100%);
}

.captcha-question {
    margin: 0 0 0.55rem;
    color: #304a67;
    font-family: 'Manrope', sans-serif;
    font-size: 0.92rem;
}

.captcha-answer {
    display: grid;
    gap: 0.3rem;
}

.feedback-form .hint {
    display: block;
    margin-top: 0.35rem;
    color: #5e738d;
    font-size: 0.82rem;
}

.callback-block {
    padding-top: 0.5rem;
}

.callback-card {
    max-width: 620px;
}

body.modal-open {
    overflow: hidden;
}

.callback-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.callback-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.callback-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 24, 40, 0.62);
    backdrop-filter: blur(3px);
}

.callback-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    border-radius: 18px;
    border: 1px solid #d6e2f0;
    padding: 1.2rem 1.2rem 1rem;
    background: linear-gradient(165deg, #f4f8ff 0%, #ffffff 48%, #eef4fd 100%);
    box-shadow: 0 24px 48px rgba(13, 29, 52, 0.28);
    transform: translateY(14px) scale(0.98);
    transition: transform 0.27s ease;
}

.callback-modal.is-open .callback-modal__dialog {
    transform: translateY(0) scale(1);
}

.callback-modal__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 34px;
    height: 34px;
    border: 1px solid #c9d8ec;
    border-radius: 10px;
    background: #fff;
    color: #385274;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.callback-modal__title {
    margin: 0;
    padding-right: 2rem;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.25rem, 2.2vw, 1.52rem);
}

.callback-modal__text {
    margin: 0.55rem 0 0;
    color: #546b85;
    line-height: 1.45;
}

.feedback-form--modal {
    margin-top: 0.95rem;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.92);
}

.js-callme-form .btn[type="submit"] {
    margin-top: 0.65rem;
}

.form-status {
    margin: 0.65rem 0 0;
    min-height: 1.1rem;
    font-size: 0.9rem;
    color: #4c5e74;
}

.form-status.is-success {
    color: var(--success);
}

.form-status.is-error {
    color: var(--danger);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.68rem 1rem;
    border-radius: 10px;
    border: 1px solid transparent;
    background: linear-gradient(155deg, #1e60ab, #194b85);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    cursor: pointer;
}

.btn:hover {
    color: #fff;
    filter: brightness(1.06);
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border-color: #9fb6d4;
}

.breadcrumbs {
    padding: 0.75rem 0 0.2rem;
}

.breadcrumbs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.45rem;
}

.breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.breadcrumbs__item:not(:last-child)::after {
    content: "/";
    color: #95a7bd;
    font-size: 0.78rem;
}

.breadcrumbs__link,
.breadcrumbs__current {
    font-size: 0.88rem;
    line-height: 1.3;
}

.breadcrumbs__link {
    color: #5a6f89;
}

.breadcrumbs__link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
    text-underline-offset: 0.14rem;
}

.breadcrumbs__current {
    color: #2d4057;
    font-weight: 700;
}

.flash {
    margin-top: 0.8rem;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.93rem;
}

.flash-success {
    background: #edf9f0;
    color: var(--success);
    border: 1px solid #a7ddb7;
}

.flash-error {
    background: #fff0ef;
    color: var(--danger);
    border: 1px solid #f5bab5;
}

.site-footer {
    margin-top: 2rem;
    background: #1d2b3a;
    color: #d3e2f2;
    padding-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1rem;
    padding-bottom: 1.2rem;
}

.site-footer h4,
.site-footer h5 {
    margin-top: 0;
    color: #fff;
    font-family: 'Manrope', sans-serif;
}

.footer-logo {
    display: block;
    width: min(240px, 100%);
    max-height: 68px;
    object-fit: contain;
    margin-bottom: 0.65rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(220, 234, 248, 0.2);
    padding: 0.9rem 0 1.3rem;
}

@media (hover: none), (pointer: coarse) {
    .card:hover,
    .card:focus-within {
        transform: none;
        box-shadow: 0 8px 20px rgba(22, 42, 65, 0.05);
        border-color: var(--line);
    }

    .card:hover::before,
    .card:focus-within::before {
        opacity: 0;
    }

    .card:hover .card-media,
    .card:focus-within .card-media {
        transform: none;
        filter: none;
    }

    .project-filters .chip:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .card,
    .card::before,
    .card-media,
    .brand-pseudo-card,
    .project-filters .chip,
    .btn.btn-outline.header-callback-btn {
        transition: none !important;
    }

    .card:hover,
    .card:focus-within,
    .brand-pseudo-card:hover,
    .brand-pseudo-card.is-active,
    .project-filters .chip:hover,
    .btn.btn-outline.header-callback-btn:hover,
    .btn.btn-outline.header-callback-btn:focus-visible {
        transform: none !important;
        filter: none !important;
    }

    .card:hover .card-media,
    .card:focus-within .card-media {
        transform: none !important;
        filter: none !important;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .content-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-slide {
        min-height: 340px;
    }

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

@media (max-width: 720px) {
    .top-line {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .header-contacts {
        justify-self: stretch;
        width: 100%;
        justify-content: space-between;
        gap: 0.55rem;
    }

    .header-contact-list {
        justify-items: start;
    }

    .logo-image {
        max-height: 54px;
    }

    .hero-slide {
        min-height: 310px;
        padding: 1.3rem;
    }

    .cards-2,
    .cards-3,
    .cards-4,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .section-head.between {
        align-items: flex-start;
        flex-direction: column;
    }

    .projects-map {
        height: 320px;
    }

    .feedback-modal-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .feedback-modal-cta .btn {
        width: 100%;
        min-width: 0;
    }

    .callback-modal {
        padding: 0.7rem;
    }

    .callback-modal__dialog {
        padding: 1rem 0.9rem 0.9rem;
    }

    .breadcrumbs {
        padding-top: 0.55rem;
    }

    .breadcrumbs__link,
    .breadcrumbs__current {
        font-size: 0.84rem;
    }
}
