/* Шрифты */
@font-face {
    font-family: 'Geologica';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/geologica-300.ttf') format('truetype');
}

@font-face {
    font-family: 'Geologica';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/geologica-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Geologica';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/geologica-500.ttf') format('truetype');
}

@font-face {
    font-family: 'Geologica';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/geologica-600.ttf') format('truetype');
}

/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-white: #FFFFFF;
    --color-blue-dark: #081B35;
    --color-blue-darker: #00214E;
    --color-blue-black: #0C1522;
    --color-blue-accent: #79A0D4;
    --color-gray-bg: #F8F8F8;
    --color-gray-light: #EEEEEE;
    --color-gray-border: #E6E6E6;
    --color-gray-text: #646C78;
    --color-gray-text-2: #A0A9B7;
    --color-gray-text-3: #BCC5D2;
    --color-gray-bg-2: #E9EBEE;
    --color-gray-dark: #45556B;
    --color-black: #191919;
    --color-black-text: #070A0F;
    --color-dark-bg: #282F3B;
}

body {
    font-family: 'Geologica', sans-serif;
    color: var(--color-black);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-kerning: normal;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1440px;
    margin: 0 auto 0;
}

/* Кнопки */
.btn {
    font-family: 'Geologica', sans-serif;
    font-weight: 500;
    font-size: 19px;
    line-height: 36px;
    padding: 12px 20px;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-features {
    border: 1px solid var(--color-gray-dark);
    color: var(--color-white);
    height: 80px;
    font-size: 27px;
    line-height: 36px;
    margin-right: -5px;
}

.btn-features:hover {
    border-color: var(--color-white);

}

.btn-outline-dark {
    border: 1px solid var(--color-blue-darker);
    color: var(--color-blue-darker);
    min-width: 260px;
    height: 80px;
    font-size: 22px;
}

.btn-outline-dark:hover {
    background: var(--color-blue-darker);
    color: var(--color-white);
}

.btn-primary {
    background: #00214E;
    color: var(--color-white);
    min-width: 460px;
    height: 120px;
    font-size: 30px;
    border-radius: 5px;

}

.btn-transparent {
    width: 400px;
    height: 80px;
    border-radius: 2px;
    border: 1px solid #45556B;
    color: #fff;
    font-weight: 500;
    font-size: 22px;
    line-height: 36px;
    position: relative;
    z-index: 100;
}


.btn-transparent:hover {
    border: 1px solid #fff;
}

.btn-short {
    width: 214px;
    height: 80px;
    border: 1px solid #00214E;
    color: #00214E;
}

.btn-primary:hover {
    background: var(--color-blue-darker);
}

/* Секция Hero */
.hero {
    background: var(--color-blue-dark);
    min-height: 900px;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    opacity: 0.6;
}

/* Контент героя */
.hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: flex-start;
    padding-top: 113px;
    padding-left: 6px;
    overflow: visible;
}

.hero-text {
    flex: 1;
    position: relative;
    padding-left: 90px;
}

.hero-decorator {
    position: absolute;
    left: 6px;
    top: -79px;
    width: 262px;
    height: 404px;
    background-image: url('../images/legacy/Vector 2.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.hero-title {
    font-weight: 500;
    font-size: 82px;
    line-height: 85px;
    color: var(--color-white);
    margin-bottom: 20px;
}

.hero-title-accent {
    color: var(--color-blue-accent);
    font-size: 52px;
    line-height: 89px;
    margin: -18px 0px 0;
    position: relative;
    display: block;
}

.hero-subtitle {
    font-weight: 400;
    font-size: 30px;
    line-height: 42px;
    color: var(--color-white);
    margin-top: 140px;
    margin-left: 5px;
}

.hero-image {
    position: absolute;
    right: -16px;
    top: 159px;
    width: 1023px;
    height: 741px;
    overflow: hidden;
    background-image: url('../images/home/hero-photo.png');
    background-size: 1766px 985px;
    background-position: -17px -128px;
    background-repeat: no-repeat;
    z-index: 5;
    transition: filter 0.3s ease;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 21, 34, 1);
    mix-blend-mode: color;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.services-slider {
    padding-left: 0px;
}

.service-card:first-child .service-image {
    width: 655px;
}

.service-card:not(:first-child) .service-image {
    width: 435px;
}


.img-scalable {
    cursor: pointer;
    transition: transform 1s ease;
}

.img-scalable:hover {
    transform: scale(1.08);
}

.service-card .service-content {
    padding: 43px 70px;
    border: 1px solid var(--color-gray-border);
    background: var(--color-white);
    min-height: 218px;
    display: flex;
    align-items: start;
}

.service-card:first-child .service-content {
    padding: 43px 83px;
}

.nav-btn {
    width: 120px;
    height: 80px;
    border: 1px solid var(--color-gray-text-3);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-dark);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    border-color: var(--color-blue-darker);
    background: var(--color-blue-darker);
    color: var(--color-white);
}

.title {
    font-weight: 500;
    font-size: 40px;
    line-height: 65px;

}

.lh-45 {
    line-height: 45px;
}

.fw-500 {
    font-weight: 500;
}

.services-feature-card-image {
    width: 705px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.services-feature-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-feature-card-content {
    flex: 1;
    padding-top: 164px;
    padding-left: 123px;
    border: 1px solid var(--color-gray-border);

}



p {
    margin-bottom: 20px;
    font-weight: 300;
    font-size: 22px;
    line-height: 40px;
    color: #070A0F;
}

.gap-64 {
    gap: 64px;
}

.mg-top-60 {
    margin-top: 60px;
}

/* Адаптивные стили: сохранен исходный порядок каскада. */
@media (max-width: 767px) {

    .desktop-br {
        display: none;
    }

    .container {
        padding: 0;
        width: 100%;
    }


    .hero-content>.hero-text {
        display: none;
    }

    .btn-short {
        width: 85%;
    }

    .menu-btn {
        width: 55px;
        height: 55px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-bottom: 0px;
    }

    .hero>.container {
        display: none;
    }

    .hero-content {
        flex-direction: column;
        padding-top: 40px;
    }

    .hero-text {
        padding-left: 0;
    }

    .hero-decorator {
        display: none;
    }

    .hero-title {
        font-size: 43px;
        line-height: 48px;
    }

    .hero-title-accent {
        font-size: 33px;
        line-height: 89px;
        display: block;
        margin-top: -20px;
        font-weight: 500;
    }

    .hero-subtitle {
        font-size: 22px;
        line-height: 30px;
        margin-top: -10px;
        font-weight: 400;
    }

    .hero-image {
        position: relative;
        right: 0;
        width: 100%;
        height: 408px;
        background-size: 1078px 602px;
        background-position: -78px -181px;
        background-repeat: no-repeat;
        top: 0px;
    }

    .services-slider {
        overflow: hidden;
        padding-left: 0;
    }

    .service-card:first-child .service-content,
    .service-card .service-content {
        padding: 36px 45px;
    }

    .service-card:first-child .service-image,
    .service-card:not(:first-child) .service-image {
        width: 335px;
        height: 370px;
    }

    .feature-card-1 {
        padding: 51px 50px 49px;
    }

    .feature-card-2 {
        height: 400px;
    }

    .feature-card-3 {
        height: 373px;
    }

    .feature-card-3 .feature-icon {
        top: 81px;
    }

    .feature-card-1::before {
        background-image: url("../images/legacy/sheet.svg");
    }

    .feature-card-2::before {
        background-image: url("../images/legacy/sheet_2.svg");
    }

    .feature-card-3::before {
        background-image: url("../images/legacy/sheet_3.svg");
    }

    .btn-features {
        font-size: 22px;
        line-height: 36px;
        height: 80px;
        width: 335px;
        border-radius: 2px;
        border: 1px solid #fff;
        margin: 28px auto 107px;

    }

    .btn-primary {
        font-weight: 500;
        font-size: 22px;
        line-height: 36px;
        width: 85%;
        min-width: 0;
        height: 80px;
    }

    .partners-title,
    .title {
        font-size: 32px;
        line-height: 65px;
        font-weight: 500;
    }

    .title {
        text-align: center;
    }

    .mgt-20 {
        margin-top: 20px;
    }

    .mgt-31 {
        margin-top: 31px;
    }

    .mgb-25 {
        margin-bottom: 25px;

    }

    .lh-36 {
        line-height: 36px !important;
    }

    .pd-10 {
        padding: 0 10%
    }
}

/* Общие элементы — единая версия для всех страниц. */
:root {
    --page-gutter: clamp(20px, 4vw, 48px);
    --content-width: 1440px;
    --motion-duration: 400ms;
}

body { font-synthesis: none; }
button, input, textarea { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:where(a, button, input):focus-visible {
    outline: 2px solid var(--color-blue-accent);
    outline-offset: 5px;
}
.header > .container, .footer > .container, .mobile-menu-inner {
    width: min(var(--content-width), calc(100% - 2 * var(--page-gutter)));
    max-width: var(--content-width);
    margin-inline: auto;
    padding: 0;
}
.page-header { background: var(--color-blue-dark); min-height: 150px; }
.header { position: relative; z-index: 10; padding: 25px 0 39px; }
.header-content {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 270px clamp(20px, 5.1vw, 98px) 134px clamp(24px, 5.73vw, 110px) 337px;
    align-items: center;
    min-height: 86px;
}
.header-left { display: flex; align-items: flex-end; gap: 30px; min-width: 0; }
.brand-link { display: inline-flex; flex: 0 0 auto; }
.logo, .footer-logo { width: 100px; height: 81px; margin: 0; }
.header-tagline {
    font-weight: 400; font-size: 17px; line-height: 25px;
    color: var(--color-gray-text); margin: 0; padding: 0;
}
.header-tagline__first-row { display: block;     transform: translateY(-13px);}
.header-content > .hero-text { display: none; }
.header .btn-outline {
    grid-column: 2; margin: 6px 0 0; width: 270px; min-width: 0; height: 60px;
    padding: 10px; font-size: 19px; line-height: 36px;
    border: 1px solid var(--color-gray-dark); color: var(--color-white);
    border-radius: 2px; transition: border-color var(--motion-duration) ease;
}
.header .btn-outline:hover { border-color: var(--color-white); }
.social-icons { grid-column: 4; display: flex; gap: 14px; margin: 6px 0 0; }
.social-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; flex: 0 0 auto; border: 1px solid transparent;
    border-radius: 2px; color: var(--color-white);
    transition: border-color var(--motion-duration) ease;
}
.social-link:hover { border-color: var(--color-gray-dark); }
.header-right { grid-column: 6; display: flex; align-items: center; justify-content: space-between; gap: 40px; margin: 6px 0 0; }
.header-contact { margin: 0; }
.phone { display: block; font-size: 25px; line-height: 27px; font-weight: 600; color: white; white-space: nowrap; }
.work-time { font-size: 17px; line-height: 27px; font-weight: 500; color: var(--color-gray-text); margin: 0; white-space: nowrap; }
.burger {
    position: relative; width: 60px; height: 60px; flex: 0 0 auto; margin: 0;
    border: 1px solid var(--color-gray-dark); border-radius: 2px;
    transition: border-color var(--motion-duration) ease;
}
.burger:hover { border-color: white; }
.burger__line {
    position: absolute; left: 50%; width: 30px; height: 2px; background: white;
    transform: translate(-50%, -50%); transition: top 300ms ease, transform 300ms ease;
}
.burger__line:first-child { top: calc(50% - 8px); }
.burger__line:last-child { top: calc(50% + 8px); }
.burger.is-open .burger__line:first-child { top: 50%; transform: translate(-50%, -50%) rotate(45deg); }
.burger.is-open .burger__line:last-child { top: 50%; transform: translate(-50%, -50%) rotate(-45deg); }

/* Native dialogs keep keyboard focus and Escape behavior in the browser. */
.mobile-menu {
    position: fixed; inset: 0; width: 100%; max-width: none;
    height: 100%; height: 100dvh; max-height: none; margin: 0; border: 0;
    padding: 0; background: var(--color-blue-dark); color: white;
    overscroll-behavior: contain;
}
.mobile-menu::backdrop { background: var(--color-blue-dark); }
.mobile-menu::before {
    content: ''; position: fixed; inset: 0 0 0 auto; width: calc(100dvh * 869 / 900);
    /* The mirrored background starts on the left so its visible edge stays at the viewport's right. */
    background: url('../images/ui/menu-pattern.svg') left top / auto 100% no-repeat;
    transform: scaleX(-1); pointer-events: none;
}
.mobile-menu[open] { animation: menu-enter 350ms ease both; }
@keyframes menu-enter { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: translateY(0); } }
.mobile-menu-inner { position: relative; padding-block: clamp(100px, 8.65vw, 166px) 64px; }
.mobile-menu-close {
    position: absolute; top: 56px; right: 0; width: 44px; height: 44px;
    display: grid; place-items: center; padding: 0;
}
.mobile-menu-list, .mobile-menu-services-list { list-style: none; margin: 0; padding: 0; }
.mobile-menu-list { position: relative; display: flex; flex-direction: column; }
.mobile-menu-list > li { margin: 0; }
.mobile-menu-list > li > a, .menu-services-link {
    display: inline-flex; align-items: center; gap: 12px; position: relative;
    font-size: clamp(28px, 1.875vw, 36px); line-height: 1.4; min-height: 87px;
    font-weight: 500; text-transform: uppercase; text-align: left; color: white;
    transition: color var(--motion-duration) ease;
}
.mobile-menu-list > li > a:hover, .menu-services-link:hover,
.menu-services-link[aria-expanded='true'] { color: var(--color-blue-accent); }
.menu-services-row { display: flex; align-items: center; gap: 12px; width: fit-content; }
.menu-services-toggle { display: none; }
.menu-services-panel {
    position: absolute; left: 51.1%; top: 0; right: 0;
    display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden;
    transition: grid-template-rows var(--motion-duration) ease, opacity var(--motion-duration) ease, visibility var(--motion-duration);
}
.menu-services-panel.is-expanded { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
.mobile-menu-services-list { min-height: 0; overflow: hidden; }
.mobile-menu-services-list a {
    display: inline-grid; font-size: clamp(22px, 1.56vw, 30px); line-height: 1.5;
    font-weight: 300; color: var(--color-gray-text-2); margin-bottom: 20px;
    text-underline-offset: 12px; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: transparent;
    transition: color var(--motion-duration) ease, text-decoration-color var(--motion-duration) ease, text-shadow var(--motion-duration) ease;
}
.mobile-menu-services-list a:is(:hover, :focus-visible) { color: white; text-decoration-color: currentColor; text-shadow: 0 0 .5px currentColor; }

.footer { position: relative; overflow: hidden; background: #0a121f; padding: 98px 0 115px; }
.footer-bg {
    position: absolute; inset: 0; pointer-events: none;
}
.footer-bg::before {
    content: ''; position: absolute; right: -244.55px; top: -168.2px;
    width: 900.083px; height: 1259.37px;
    background: url('../images/ui/footer-pattern.svg') center / contain no-repeat;
    transform: rotate(-147.32deg);
}
.footer > .container { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 37px; }
.footer-content, .footer-bottom { display: grid; grid-template-columns: 34% minmax(0, 1fr) 238px; gap: 0; }
.footer-col, .footer-bottom > div { min-width: 0; }
.footer-nav, .footer-services { display: flex; flex-direction: column; align-items: flex-start; }
.footer-link {
    display: inline-grid; font-size: 19px; line-height: 45px; font-weight: 300;
    color: var(--color-gray-text-2); text-decoration: underline;
    text-decoration-color: transparent; text-underline-offset: 10px; text-decoration-thickness: 1px;
    transition: color var(--motion-duration) ease, text-decoration-color var(--motion-duration) ease, text-shadow var(--motion-duration) ease;
}
.footer-link:is(:hover, :focus-visible) { color: white; text-decoration-color: currentColor; text-shadow: 0 0 .5px currentColor; }
/* Reserve the Regular label width before hover, keeping line wraps stable. */
:is(.footer-link, .mobile-menu-services-list a)[data-label]::before {
    content: attr(data-label); grid-area: 1 / 1; visibility: hidden; font-weight: 400;
}
.link-label { grid-area: 1 / 1; }
.footer-phone { display: inline-block; color: white; font-size: 27px; line-height: 27px; font-weight: 600; white-space: nowrap; }
.footer-work-time { color: var(--color-gray-text); font-size: 16px; line-height: 27px; font-weight: 500; margin: 7px 0 51px; white-space: nowrap; }
.footer-socials { display: flex; gap: 19px; }
.footer-socials .social-link { width: 55px; height: 55px; border-color: #282f3b; transition: background-color var(--motion-duration) ease, border-color var(--motion-duration) ease; }
.footer-socials .social-link:is(:hover, :focus-visible) { border-color: #00214e; background-color: #00214e; }
.footer-bottom-left { display: flex; align-items: flex-end; gap: 30px; }
.footer-copyright { width: 245px; font-size: 16px; line-height: 27px; font-weight: 400; color: var(--color-gray-text); margin: 20px 0 0; }
.footer-bottom-center { display: flex; flex-direction: column; align-items: flex-start; padding-top: 0; gap: 6px; }
.footer-bottom-center .footer-link { font-size: 17px; line-height: 27px; font-weight: 400; }
.footer-bottom-right { padding-top: 0; }
.footer-made { font-size: 17px; line-height: 27px; font-weight: 400; color: var(--color-gray-text); margin: 0; }
.footer-made-link { font-size: 22px; line-height: 32px; font-weight: 500; color: white; text-decoration: none; transition: color var(--motion-duration) ease; }
.footer .footer-made-link { font-weight: 500; }
.footer-made-link:is(:hover, :focus-visible) { color: #79a0d4; text-decoration: none; font-weight: 500; }

.request-dialog {
    position: fixed; margin: auto; padding: 0; border: 0; background: transparent;
    color: white; width: 583px; max-width: calc(100% - 64px);
    max-height: calc(100% - 64px); overflow: visible;
}
.request-dialog::backdrop { background: rgb(39 39 39 / 70%); }
.request-dialog[open] { animation: form-enter 250ms ease both; }
@keyframes form-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.modal-form {
    position: relative; background: var(--color-blue-dark); border-radius: 5px;
    padding: 69px 82px 98px; width: 100%; min-height: min(675px, calc(100dvh - 64px));
    max-height: calc(100dvh - 64px); overflow-y: auto;
}
.modal-close {
    position: absolute; top: -20px; right: -12px; width: 52px; height: 52px;
    padding: 0; border-radius: 2px; overflow: hidden; z-index: 1;
}
.modal-close:hover { filter: brightness(1.15); }
.modal-form-title { font-size: 30px; line-height: 40px; font-weight: 500; text-align: center; margin: 0; color: white; }
.modal-form-subtitle { font-size: 20px; line-height: 28px; font-weight: 300; text-align: center; color: #e6e6e6; max-width: 360px; margin: 5px auto 33px; }
.modal-form-content { display: flex; flex-direction: column; align-items: stretch; gap: 20px; width: 100%; }
.modal-form-group { width: 100%; }
.modal-form-label { display: block; color: white; font-size: 19px; line-height: 24px; font-weight: 400; margin-bottom: 10px; }
.modal-form-input {
    width: 100%; height: 60px; padding: 15px 24px; background: white; color: #191919;
    font-size: 19px; line-height: 27px; font-weight: 400;
    border: 1px solid #e6e6e6; border-radius: 2px;
}
.modal-form-input::placeholder { color: var(--color-gray-text-2); }
.modal-form-checkbox { display: flex; align-items: flex-start; gap: 9px; margin-top: 3px; }
.modal-form-checkbox input {
    appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px;
    border: 1px solid #b3b3b3; border-radius: 2px; cursor: pointer;
    background: transparent url('../images/ui/checkbox.png') center / contain no-repeat;
}
.modal-form-checkbox input:checked { border-color: transparent; background-image: url('../images/ui/checkbox-checked.png'); }
.modal-form-input:focus-visible { outline: none; border-color: #79a0d4; }
.modal-form-checkbox input:focus-visible { outline: none; box-shadow: 0 0 0 2px #081b35, 0 0 0 3px #79a0d4; }
.modal-form-checkbox input:checked:not(:focus-visible) { box-shadow: none; }
.modal-close:focus:not(:focus-visible) { outline: none; }
.modal-form-checkbox-text { font-size: 16px; line-height: 24px; font-weight: 300; color: var(--color-gray-text-2); cursor: pointer; }
.agreement-link { color: white; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 3px; transition: text-decoration-color var(--motion-duration) ease; }
.agreement-link:hover { text-decoration-color: transparent; }
.btn-modal { align-self: center; width: 180px; height: 60px; font-size: 19px; line-height: 36px; font-weight: 400; border: 1px solid #00214e; background: #00214e; border-radius: 2px; margin-top: 15px; color: white; }
.btn-modal:hover { background: var(--color-blue-darker); border-color: var(--color-blue-darker); }

.cookie-banner { position: fixed; bottom: 32px; left: 0; right: 0; z-index: 100; padding-inline: 20px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner-card { display: flex; align-items: center; gap: 32px; width: min(894px, 100%); max-height: calc(100dvh - 64px); overflow-y: auto; margin: auto; background: #f4f4f4; padding: 30px 32px; border-radius: 5px; box-shadow: 0 4px 32px rgb(0 0 0 / 15%); }
.cookie-banner-text { font-size: 16px; line-height: 24px; font-weight: 300; color: #070a0f; margin: 0; }
.cookie-banner-link { font-weight: 500; color: var(--color-blue-darker); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-btn { flex: 0 0 auto; color: white; background: var(--color-blue-dark); border-radius: 2px; min-height: 55px; padding: 10px 20px; font-size: 17px; line-height: 27px; }
.cookie-banner-btn:hover { background: var(--color-blue-darker); }

@media (min-width: 768px) and (max-width: 1279px) {
    .header-content { grid-template-columns: minmax(0, 1fr) 134px 300px; gap: 20px; }
    .header .btn-outline { grid-column: 1; grid-row: 2; width: 270px; margin-top: 16px; }
    .social-icons { grid-column: 2; grid-row: 1; }
    .header-right { grid-column: 3; grid-row: 1; gap: 24px; }
    .header-tagline { font-size: 15px; line-height: 23px; }
    .header-left { gap: 18px; }
    .phone { font-size: 22px; }
    .work-time { font-size: 15px; }
    .page-header { min-height: 220px; }
    .footer-content, .footer-bottom { grid-template-columns: 26% minmax(0, 1fr) 220px; gap: 24px; }
    .footer-bottom-left { flex-direction: column; gap: 16px; }
    .footer-copyright { width: auto; }
    .footer-link { line-height: 1.7; margin-bottom: 10px; }
    .footer-phone { font-size: 24px; }
}

@media (min-width: 768px) and (max-width: 999px) {
    .header-content { grid-template-columns: minmax(0, 1fr) 300px; }
    .header .social-icons { display: none; }
    .header-right { grid-column: 2; }
    .footer-content, .footer-bottom { grid-template-columns: 27% minmax(0, 1fr); gap: 32px; }
    .footer-content .footer-col:last-child, .footer-bottom-right { grid-column: 2; }
}

@media (max-width: 767px) {
    :root { --page-gutter: clamp(20px, 8.125vw, 40px); }
    .header { padding: 23px 0 51px; }
    .page-header { min-height: 341px; }
    .header-content { display: flex; flex-direction: column; min-height: 0; }
    .header-left { flex-direction: column; align-items: center; gap: 15px; width: 100%; }
    .header-tagline { padding: 0; font-size: clamp(14px, 4.25vw, 17px); line-height: 25px; font-weight: 500; text-align: center; }
    .header-tagline__first-row { white-space: nowrap; transform: none; }
    .header .social-icons, .header-contact { display: none; }
    .header-right { position: absolute; top: 43px; right: var(--page-gutter); margin: 0; }
    .burger { width: 55px; height: 55px; }
    .header .btn-outline { width: 100%; max-width: 400px; height: 80px; margin-top: 35px; font-size: 20px; border-color: white; order: 3; }
    .header-content > .hero-text { display: block; width: calc(100% + 24px); margin: 32px 0 0; text-align: center; padding: 0; }
    .header-content > .hero-text .hero-title { margin: 0; font-size: clamp(32px, 10.75vw, 43px); line-height: 1.12; font-weight: 500; }
    .header-content > .hero-text .hero-title-accent { display: block; margin: 8px 0 0; font-size: clamp(25px, 8.25vw, 33px); line-height: 1.3; font-weight: 500; }
    .header-content > .hero-text .hero-subtitle { margin: 18px 0 0; font-size: clamp(18px, 5.5vw, 22px); line-height: 30px; font-weight: 400; }
    .mobile-menu::before { display: none; }
    .mobile-menu-inner { width: auto; margin: 0; padding: 46px clamp(32px, 13vw, 52px) 64px; }
    .mobile-menu-close { top: 34px; right: calc(var(--page-gutter) - 9px); width: 44px; height: 44px; }
    .mobile-menu-list > li > a, .menu-services-link { font-size: 24px; line-height: 1.5; min-height: 55px; max-width: calc(100% - 16px); }
    .mobile-menu-list > li > a, .menu-services-link { padding-block: 9.5px; }
    .mobile-menu-list > li:nth-child(5) { order: 0; }
    .mobile-menu-list > li:nth-child(6) { order: 0; }
    .menu-services-panel { position: static; }
    .menu-services-toggle { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; }
    .menu-plus { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: white; color: #191919; font-size: 24px; line-height: 1; font-weight: 400; transition: transform 250ms ease; }
    .menu-services-toggle[aria-expanded='true'] .menu-plus { transform: rotate(135deg); }
    .mobile-menu-services-list a { font-size: 20px; line-height: 28px; margin-bottom: 16px; }
    .mobile-menu-services-list { padding: 0; }
    .menu-services-panel.is-expanded .mobile-menu-services-list { padding-block: 12px; }
    .footer { padding: 54px 0 64px; }
    .footer-bg::before {
        left: calc(50% - 267.8px); right: auto; top: -296.3px;
        width: 1199.8px; height: 1667.7px;
        background-image: url('../images/ui/footer-pattern-mobile.svg');
        transform: rotate(-156deg) skewX(-.42deg);
    }
    .footer > .container { display: flex; gap: 0; }
    .footer-content, .footer-bottom { display: contents; }
    .footer-bottom-left { order: 0; flex-direction: column; align-items: center; gap: 23px; margin-bottom: 38px; }
    .footer-copyright { width: calc(100% + 28px); text-align: center; margin: 0; }
    .footer-content .footer-col:nth-child(2) { order: 1; margin-bottom: 32px; }
    .footer-content .footer-col:nth-child(1) { order: 2; margin-bottom: 31px; }
    .footer-content .footer-col:nth-child(3) { order: 3; margin-bottom: 31px; }
    .footer-nav, .footer-services { width: 100%; max-width: 294px; margin-inline: auto; }
    .footer-link { font-size: 19px; line-height: 40px; font-weight: 400; }
    .footer-services .footer-link { line-height: 27px; margin-bottom: 18px; }
    .footer-services .footer-link:last-child { margin-bottom: 0; }
    .footer-contact { max-width: 294px; margin: auto; }
    .footer-work-time { margin-bottom: 31px; }
    .footer-bottom-center { order: 4; padding: 0; gap: 11px; width: 100%; max-width: 294px; margin: 0 auto 20px; }
    .footer-bottom-center .footer-link { font-size: clamp(14px, 4.25vw, 17px); line-height: 27px; margin-bottom: 0; }
    .footer-bottom-right { order: 5; padding: 0; width: 100%; max-width: 294px; margin-inline: auto; }
}

@media (max-width: 600px) {
    .request-dialog { width: 400px; max-width: 100%; max-height: calc(100% - 32px); }
    .modal-form { padding: 63px clamp(20px, 8.125vw, 33px); min-height: 0; max-height: calc(100dvh - 32px); }
    .modal-close { top: 23px; right: 19px; width: 40px; height: 40px; }
    .modal-form-title { font-size: clamp(25px, 8vw, 32px); line-height: 40px; }
    #request-form-title { font-size: clamp(24px, 7.5vw, 30px); }
    .modal-form-subtitle { font-size: 17px; line-height: 25px; margin-top: 7px; margin-bottom: 24px; max-width: 335px; }
    .modal-form-label { font-size: 17px; }
    .modal-form-content { gap: 16px; }
    .modal-form-checkbox { gap: 8px; margin-top: 3px; }
    .modal-form-checkbox-text { font-size: clamp(15px, 4.25vw, 17px); }
    .cookie-banner { bottom: 16px; }
    .cookie-banner-card { flex-direction: column; gap: 16px; padding: 20px; max-height: calc(100dvh - 32px); }
    .cookie-banner-text { flex-shrink: 0; font-size: 14px; line-height: 22px; text-align: center; }
    .cookie-banner-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-menu[open], .request-dialog[open] { animation: none; }
    .menu-services-panel, .menu-plus, .burger__line, .footer-link, .agreement-link { transition: none; }
}
/* Главная: размеры из макетов 1920 / 400, гибкие промежуточные состояния. */
.home-page { overflow-x: visible; }
.home-page main { display: block; }
.home-page main .btn { transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease; }
.home-page main .container, .home-page .hero > .container { width: min(1440px, calc(100% - 2 * var(--page-gutter))); }
.home-slider-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.home-heading { margin: 0; font-size: clamp(32px, 3.25vw, 52px); line-height: 1.25; font-weight: 500; color: #070a0f; }
.home-mobile-break { display: none; }
.home-page .hero { min-height: 0; height: clamp(710px, 46.875vw, 900px); }
.home-page .hero-content { padding: 140px 0 0; display: block; }
.home-page .hero-content .hero-text { padding-left: clamp(42px, 4.58vw, 88px); }
.home-page .hero-content .hero-title { font-size: clamp(50px, 4.27vw, 82px); line-height: 1.037; margin: 0; }
.home-page .hero-content .hero-title-accent { font-size: clamp(34px, 2.71vw, 52px); line-height: 89px; margin: 0; }
.home-page .hero-content .hero-subtitle { margin: clamp(80px, 7.292vw, 140px) 0 0 5px; font-size: clamp(22px, 1.5625vw, 30px); line-height: 42px; }
.home-page .hero-decorator { left: 2px; top: -79px; width: 266px; height: 408px; background-image: url('../images/home/hero-frame.svg'); }
.home-page .hero-image { right: 0; top: 159px; width: 53.177%; height: calc(100% - 159px); z-index: 1; background-size: auto 133%; background-position: -17px -128px; background-color: #0c1522; background-blend-mode: luminosity; }
.home-page .hero-image-overlay { opacity: 1; }
.home-page .hero-bg-pattern { height: 900px; width: auto; max-width: none; pointer-events: none; }
.home-services { --service-gap: clamp(22px, 4vw, 77px); --service-width: clamp(335px, 22.656vw, 435px); }
.home-services-heading { position: relative; display: grid; grid-template-columns: 45.7% 1fr; column-gap: 14.1%; align-items: center; min-height: clamp(334px, 23.28vw, 447px); }
.home-years { position: relative; align-self: stretch; display: grid; place-items: center; background: #f8f8f8; }
.home-years::after { content: ''; position: absolute; inset: 0 -162px 0 auto; width: 388px; background: url('../images/home/services-mark.svg') center / contain no-repeat; }
.home-years span { position: relative; z-index: 1; font-size: clamp(60px, 5.57vw, 107px); line-height: 1; font-weight: 500; color: #00214e; }
.home-services-heading .home-heading { position: relative; z-index: 1; }
.home-services-viewport { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding-inline: max(var(--page-gutter), calc((100% - 1440px) / 2)); }
.home-services-viewport::-webkit-scrollbar, .home-partners-viewport::-webkit-scrollbar { display: none; }
.mouse-draggable { cursor: grab; user-select: none; -webkit-user-select: none; }
.mouse-draggable.is-dragging, .mouse-draggable.is-dragging * { cursor: grabbing; }
.mouse-draggable img { -webkit-user-drag: none; }
.home-services-track { display: flex; gap: var(--service-gap); width: max-content; }
.home-service-card { width: var(--service-width); flex: 0 0 auto; display: flex; flex-direction: column; outline-offset: -4px; }
.home-service-card:first-child { width: clamp(435px, 34.27vw, 658px); }
.home-service-photo { width: 100%; height: clamp(370px, 26.04vw, 500px); overflow: hidden; border-radius: 5px 5px 0 0; background: #eee; }
.home-service-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 400ms ease, transform 400ms ease; }
.home-service-photo { position: relative; isolation: isolate; }
.home-service-photo::after, .home-contact-photo::after, .home-project-photo::after { content: ''; position: absolute; inset: 0; background: #0c1522; mix-blend-mode: color; pointer-events: none; transition: opacity 400ms ease; }
.home-service-card:is(:hover, :focus-visible) .home-service-photo::after, .home-project-photo.is-color::after { opacity: 0; }
.home-service-caption { flex: 1; border: 1px solid #e6e6e6; min-height: 218px; padding: 38px clamp(32px, 3.646vw, 70px); }
.home-service-caption h3 { display: grid; font-size: clamp(24px, 1.5625vw, 30px); line-height: 40px; font-weight: 500; color: #070a0f; transition: color 400ms ease, text-shadow 400ms ease; overflow-wrap: break-word; }
.home-service-caption h3::before { content: attr(data-label); grid-area: 1 / 1; visibility: hidden; font-weight: 600; }
.home-service-card:is(:hover, :focus-visible) img { filter: grayscale(0); transform: scale(1.04); }
.home-service-card:is(:hover, :focus-visible) h3 { color: #00214e; text-shadow: 0 0 .5px #00214e; }
.home-slider-nav { display: flex; gap: 35px; }
.home-services > .container > .home-slider-nav { margin: 85px 0 0 51%; padding-bottom: 0; }
.home-page .nav-btn { transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease; }
.home-page .nav-btn:disabled { cursor: default; background: transparent; color: #bcc5d2; border-color: #bcc5d2; }
/* .home-page .nav-btn:is(:active, .is-active):not(:disabled) { background: #00214e; border-color: #00214e; color: white; } */
.home-contact { margin-bottom: 124px; overflow: clip; }
.home-contact-layout { display: grid; grid-template-columns: 45.7% 1fr; align-items: end; }
.home-contact-info { position: relative; background: #f8f8f8; min-height: 814px; padding: 126px clamp(45px, 6.25vw, 120px) 120px; }
.home-contact-info .home-heading { font-size: clamp(32px, 2.604vw, 50px); line-height: 1.2; }
.home-contact-text { font-size: clamp(22px, 1.40625vw, 27px); line-height: 36px; color: #646c78; margin: 24px 0 64px; }
.home-contact-links { display: grid; gap: 17px; margin-bottom: 67px; }
.home-contact-links a:first-child { font-size: clamp(26px, 1.875vw, 36px); font-weight: 600; line-height: 1; white-space: nowrap; }
.home-contact-links a:last-child { font-size: 30px; color: #00214e; line-height: 1; }
.home-contact-links a:hover { color: #45556b; }
.home-contact-info .btn { margin: 0; }
.home-contact-socials { position: absolute; right: 0; bottom: 150px; display: grid; gap: 19px; }
.home-contact-socials a { position: relative; display: block; width: 80px; height: 80px; border-radius: 2px; background: #e6e6e6; transition: background-color 200ms ease; }
.home-contact-socials img { opacity: 0; }
.home-contact-socials a::after { content: ''; position: absolute; inset: 0; background-color: #646c78; mask: var(--social-symbol) center / contain no-repeat; transition: background-color 200ms ease; }
.home-contact-socials a[aria-label="MAX"] { --social-symbol: url('../images/home/contact-max.svg'); }
.home-contact-socials a[aria-label="Telegram"] { --social-symbol: url('../images/home/contact-telegram.svg'); }
.home-contact-socials a:is(:hover, :focus-visible) { background-color: #00214e; }
.home-contact-socials a:is(:hover, :focus-visible)::after { background-color: white; }
.home-contact-photo { position: relative; height: 695px; margin-right: calc(-1 * max(var(--page-gutter), (100vw - 1440px) / 2)); overflow: hidden; }
.home-contact-photo img { position: absolute; max-width: none; width: auto; height: 138.3%; left: 50%; top: -12px; transform: translateX(-50%); filter: grayscale(1); transition: .25s all ease-in-out;}
.home-contact-photo:hover img {
    filter: grayscale(0);
}
.home-contact-photo::after {
    transition: .25s all ease-in-out;
}
.home-contact-photo:hover::after {
    opacity: 0;
}
.home-features { overflow: clip; }
.home-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 74px; position: relative; z-index: 1; }
.home-feature { display: flex; flex-direction: column; min-width: 0; position: relative; height: 420px; padding: 64px clamp(28px, 3.646vw, 70px) 64px; }
.home-feature::before { content: ''; position: absolute; z-index: -1; inset: -51px -55px -59px; background: url('../images/home/feature-panel.svg') center / 100% 100% no-repeat; }
.home-feature-icon { align-self: flex-start; width: auto; height: 60px; margin-bottom: auto; }
.home-feature h3 { margin-top: auto; font-size: clamp(21px, 1.40625vw, 27px); line-height: 36px; font-weight: 500; overflow-wrap: break-word; }
.home-calculation { position: relative; margin-top: -80px; min-height: 600px; padding: 194px 0 115px; background: #0a192d; overflow: clip; }
.home-calculation::before { content: ''; position: absolute; pointer-events: none; width: 2037px; height: 2368px; top: -884px; left: calc(50% - 1018.5px); background: url('../images/home/feature-pattern.svg') center / contain no-repeat; transform: rotate(90deg); }
.home-calculation > .container { position: relative; }
.home-calculation-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 8vw, 150px); align-items: start; }
.home-calculation .home-heading { color: white; }
.home-calculation-top p { font-size: clamp(22px, 1.40625vw, 27px); line-height: 40px; font-weight: 300; color: #a0a9b7; }
.home-calculation-top p span { color: white; }
.home-calculation-bottom { margin-top: 55px; display: flex; justify-content: space-between; align-items: start; gap: 35px; }
.home-calculation-bottom ul { flex: 1; list-style: none; display: grid; grid-template-columns: .8fr .9fr 1.35fr; gap: clamp(25px, 3.6vw, 70px); }
.home-calculation-bottom li { position: relative; font-size: clamp(20px, 1.25vw, 24px); line-height: 36px; color: white; padding-left: 33px; }
.home-calculation-bottom li::before { content: ''; position: absolute; width: 11px; height: 11px; border-radius: 2px; background: #79a0d4; top: 13px; left: 0; }
.home-calculation .btn { min-width: 270px; height: 80px; font-size: 22px; margin: 0; border: 1px solid #45556b; color: white; }
.home-calculation .btn:hover { border-color: white; }
.home-partners { padding-top: 123px; }
.home-partners-viewport { overflow-x: auto; scrollbar-width: none; margin-top: 41px; cursor: default; outline: none; }
.home-partner-row { display: flex; gap: 58px; align-items: flex-start; height: 75px; width: max-content; min-width: 100%; justify-content: space-between; }
.home-partner-row + .home-partner-row { margin-top: 35px; height: 90px; width: max(1440px, 100%); gap: 0; }
.home-partner { flex-shrink: 0; cursor: pointer; }
.home-partner--1 { margin-top: 16px; }
.home-partner--2 { margin-top: 25px; }
.home-partner--3 { margin-top: 27px; }
.home-partner--4 { margin-top: 36px; }
.home-partner--5 { margin-top: 26px; }
.home-partner--7, .home-partner--10 { margin-top: 18px; }
.home-partner--8 { margin-top: 30px; }
.home-partner--11 { margin-top: 3px; }
.home-partner--12 { margin-top: 6px; }
.home-partner { position: relative; width: var(--partner-width); }
.home-partner::after { content: ""; position: absolute; inset: 0; background: #9fa4ad; mask: var(--partner-mask) center / 100% 100% no-repeat; pointer-events: none; transition: opacity 400ms ease; }
.home-partner:is(:hover, :focus-visible, .is-color)::after { opacity: 0; }
.home-partner--1 { --partner-width: 227px; }
.home-partner--2 { --partner-width: 200px; }
.home-partner--3 { --partner-width: 138px; }
.home-partner--4 { --partner-width: 215px; }
.home-partner--5 { --partner-width: 109px; }
.home-partner--6 { --partner-width: 259px; }
.home-partner--7 { --partner-width: 184px; }
.home-partner--8 { --partner-width: 272px; }
.home-partner--9 { --partner-width: 80px; }
.home-partner--10 { --partner-width: 392px; }
.home-partner--11 { --partner-width: 114px; }
.home-partner img { width: 100%; max-width: 100%; height: auto; filter: grayscale(1); opacity: 0; transition: filter 400ms ease, opacity 400ms ease; }
.home-partner:is(:hover, :focus-visible, .is-color) img { filter: grayscale(0); opacity: 1; }
.home-partner--12 { --partner-width: 174px; aspect-ratio: 174 / 59; overflow: hidden; position: relative; }
.home-partner--12 img { object-fit: contain; }
.home-projects { position: relative; margin-top: 161px; padding-bottom: 0; }
.home-projects::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: calc(50% + 107px); background: #e9ebee; z-index: -1; }
.home-projects .home-heading { margin-bottom: 84px; }
.home-project-layout { display: grid; grid-template-columns: 57.5% 42.5%; }
.home-project-photo { overflow: hidden; border-radius: 2px; position: relative; }
.home-project-photo picture { display: block; height: 100%; }
.home-project-photo img { position: absolute; max-width: none; width: 194.93%; height: 150.17%; left: -7.49%; top: -42.67%; object-fit: cover; filter: grayscale(1); transition: filter var(--project-color-duration, 400ms) ease; }
.home-project-photo::after { transition-duration: var(--project-color-duration, 400ms); }
.home-project-photo.is-color img { filter: grayscale(0); }
.home-project-info { background: white; min-height: 600px; padding: 83px clamp(35px, 4.53vw, 87px); }
.home-project-info h3 { font-size: clamp(28px, 2.083vw, 40px); line-height: 48px; font-weight: 500; margin-bottom: 22px; white-space: pre-line; }
.home-project-info p { font-size: 22px; line-height: 36px; font-weight: 300; }
.home-project-bottom { display: flex; justify-content: space-between; width: 57.5%; align-items: center; gap: 30px; margin-top: 71px; }
.home-project-bottom > .btn { min-width: 325px; }
.home-project-bottom .home-slider-nav { gap: 35px; }
.home-visit { margin: 155px 0 184px; }
.home-visit-card { position: relative; min-height: 443px; padding: 92px clamp(60px, 6.25vw, 120px); box-shadow: 0 4px 55px #0000001a; border-radius: 2px; }
.home-visit-card p { font-size: 27px; line-height: 36px; color: #646c78; margin-top: 35px; }
.home-visit-logo { position: absolute; top: 75px; right: 120px; }
.home-visit-logo img { max-width: none; }
.home-visit-card > .btn { position: absolute; bottom: 0; right: 0; width: 400px; height: 100px; min-width: 0; padding: 10px; font-size: 27px; line-height: 36px; background: #081b35; }
.home-visit-card > .btn:hover { background: #00214e; }
@media (min-width: 768px) and (max-width: 1279px) {
    .home-page .hero-content { padding-top: 110px; }
    .home-page .hero-content .hero-title { font-size: clamp(43px, 4.6vw, 59px); }
    .home-page .hero-content .hero-subtitle { max-width: 450px; margin-top: 40px; line-height: 36px; }
    .home-page .hero-decorator { width: 230px; height: 352px; top: -60px; }
    .home-services-heading { column-gap: 9%; grid-template-columns: 43% 1fr; }
    .home-years::after { right: -85px; width: 290px; }
    .home-contact-info { padding: 80px 35px; min-height: 700px; }
    .home-contact-socials { position: static; display: flex; margin-top: 30px; }
    .home-contact-photo { height: 620px; }
    .home-feature { padding-inline: 28px; height: 450px; }
    .home-feature-icon { margin-bottom: 75px; }
    .home-feature h3 br { display: none; }
    .home-calculation { padding-top: 170px; }
    .home-calculation-top { gap: 40px; }
    .home-calculation-top .home-heading br { display: none; }
    .home-calculation-bottom { flex-direction: column; }
    .home-calculation-bottom ul { width: 100%; }
    .home-partner-row { gap: 35px; }
    .home-project-layout { grid-template-columns: 52% 48%; }
    .home-project-info { padding: 45px 30px; }
    .home-projects::before { left: 52%; }
    .home-project-bottom { width: 100%; }
    .home-visit-card { padding: 70px 50px 160px; }
    .home-visit-card p { max-width: 60%; font-size: 22px; }
    .home-visit-card p br { display: none; }
    .home-visit-logo { right: 50px; }
}
@media (max-width: 767px) {
    .home-page .nav-btn {flex: 1;}
    .home-heading { font-size: clamp(27px, 8vw, 32px); line-height: 40px; text-align: center; }
    .home-page .hero { height: auto; }
    .home-page .hero-content { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
    .home-page .hero-content > .hero-text { display: block; }
    .home-page .hero > .container { display: block; }
    .home-page .hero-bg-pattern { display: none; }
    .home-page .hero-image { position: relative; top: auto; right: auto; width: 100%; height: auto; aspect-ratio: 400 / 408; background-size: auto 148%; background-position: left -19.5vw top -45.5vw; }
    .home-page .hero .header { padding-bottom: 51px; }
    .home-page .header-content > .hero-text .hero-subtitle { margin-top: 7px; }
    .home-services { --service-width: min(335px, calc(100vw - 2 * var(--page-gutter))); --service-gap: 22px; }
    .home-services-heading { display: flex; flex-direction: column; justify-content: flex-start; gap: 20px; min-height: 334px; background: #f8f8f8; padding: 62px var(--page-gutter) 60px; width: 100%; z-index: 2; }
    .home-page main .home-services-heading, .home-page main .home-contact-layout { width: 100%; }
    .home-years { position: static; display: block; background: none; align-self: center; }
    .home-years::after { inset: -35px 0 0 auto; width: 279px; height: auto; background-image: url('../images/home/services-mark-mobile.svg'); background-position: right top; background-size: 279px auto; pointer-events: none; }
    .home-years span { font-size: 60px; line-height: 55px; }
    .home-services-heading .home-heading { width: 100%; }
    .home-services-viewport { margin-top: 51px; }
    .home-service-card, .home-service-card:first-child { width: var(--service-width); }
    .home-service-card:first-child { order: 7; }
    .home-service-photo { height: auto; aspect-ratio: 335 / 370; }
    .home-service-caption { min-height: 190px; padding: 38px clamp(28px, 11.25vw, 45px); }
    .home-service-caption h3 { font-size: clamp(22px, 6.5vw, 26px); line-height: 36px; }
    .home-services > .container > .home-slider-nav { display: none; }
    .home-contact { margin: 101px 0 62px; }
    .home-contact-layout { display: flex; flex-direction: column; width: 100%; }
    .home-contact-info { width: 100%; min-height: 660px; text-align: center; padding: 63px var(--page-gutter) 88px; }
    .home-contact-info .home-heading { font-size: clamp(27px, 8vw, 32px); line-height: 40px; }
    .home-contact-text { font-size: 22px; line-height: 30px; margin: 14px 0 36px; }
    .home-contact-links { gap: 8px; margin-bottom: 35px; }
    .home-contact-links a:first-child, .home-contact-links a:last-child { font-size: 26px; line-height: 27px; }
    .home-contact-info .btn { width: 100%; min-width: 0; font-size: 22px; }
    .home-contact-socials { position: static; display: flex; justify-content: center; gap: 15px; margin-top: 40px; }
    .home-contact-socials a { width: 70px; height: 70px; }
    .home-contact-photo { width: 100%; height: auto; aspect-ratio: 400 / 557; margin: 0; }
    .home-contact-photo img { height: 107.3%; top: -12px; left: 50%; }
    .home-features > .container > .home-heading { width: calc(100% + 2 * var(--page-gutter)); margin-left: calc(-1 * var(--page-gutter)); padding-inline: 12px; }
    .home-features > .container > .home-heading br { display: initial; }
    .home-feature-grid { grid-template-columns: 1fr; max-width: 420px; margin: 53px auto 0; gap: 39px; }
    .home-feature { height: auto; min-height: 324px; padding: 55px clamp(30px, 12.5vw, 50px); }
    .home-feature::before { filter: drop-shadow(0 4px 12px rgb(0 0 0 / 10%)); inset: 0; background-image: url('../images/home/feature-mobile-1.svg'); background-size: 100% 100%; }
    .home-feature:nth-child(2) { min-height: 406px; }
    .home-feature:nth-child(2)::before { background-image: url('../images/home/feature-mobile-2.svg'); }
    .home-feature:nth-child(3) { min-height: 373px; }
    .home-feature:nth-child(3)::before { background-image: url('../images/home/feature-mobile-3.svg'); }
    .home-feature-icon { height: 60px; margin-bottom: 47px; }
    .home-feature h3 { margin-top: auto; font-size: clamp(22px, 6.5vw, 26px); line-height: 36px; }
    .home-feature h3 br { display: none; }
    .home-calculation { margin-top: 95px; min-height: 967px; padding: 82px 0 107px; }
    .home-calculation::before { width: 1018.5px; height: 1184px; top: 0; left: calc(50% - 509.25px); }
    .home-calculation-top { display: block; }
    .home-calculation-top .home-heading { max-width: 335px; margin-inline: auto; }
    .home-calculation-top .home-heading br { display: none; }
    .home-calculation-top p { margin: 25px auto 0; text-align: center; max-width: 345px; font-size: 22px; line-height: 33px; }
    .home-calculation-bottom { display: block; margin-top: 42px; }
    .home-calculation-bottom ul { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 335px; margin-inline: auto; }
    .home-calculation-bottom li { font-size: 24px; line-height: 36px; }
    .home-calculation-bottom li:last-child br { display: none; }
    .home-calculation .btn { width: 100%; min-width: 0; margin-top: 58px; border-color: white; font-size: 22px; }
    .home-partners { padding-top: 52px; }
    .home-partners-viewport { 
        margin-top: 19px;
        width: 100vw;
        margin-left: calc(-1 * calc(var(--page-gutter)));
        margin-right: calc(calc(var(--page-gutter)) * -1);
        padding-left: var(--page-gutter);
        padding-right: var(--page-gutter);
     }
    .home-partner-row { gap: 46px; justify-content: flex-start; min-width: 0; height: 54px; align-items: center; }
    .home-partner-row + .home-partner-row { margin-top: 24px; gap: 46px; width: max-content; height: 62px; }
    .home-partner { width: calc(var(--partner-width) * .8); margin-top: 0; }
    .home-projects { margin-top: 55px; }
    .home-projects::before { left: 50%; top: 110px; bottom: auto; height: calc(100vw * .9525 + 112px); background: #f2f4f6; }
    .home-projects .home-heading { max-width: 335px; margin: 0 auto 84px; }
    .home-project-layout { display: flex; flex-direction: column; }
    .home-project-photo { width: calc(100% + 2 * var(--page-gutter)); margin-inline: calc(-1 * var(--page-gutter)); aspect-ratio: 400 / 381; height: auto; }
    .home-project-photo img { width: 227%; height: 133.07%; left: -15%; top: -28.35%; }
    .home-project-info { min-height: 0; padding: 90px 0 0; background: transparent; }
    .home-project-info h3 { font-size: 26px; line-height: 36px; margin-bottom: 15px; white-space: normal; }
    .home-project-info h3 br { display: none; }
    .home-project-info p { font-size: 22px; font-weight: 400; line-height: 36px; }
    .home-project-bottom { width: 100%; margin-top: 25px; flex-direction: column-reverse; align-items: stretch; gap: 45px; }
    .home-project-bottom .home-slider-nav { justify-content: space-between; }
    .home-project-bottom > .btn { min-width: 0; width: 100%; font-size: 20px; }
    .home-visit { margin: 102px 0 124px; }
    .home-visit-card { min-height: unset; padding: 170px 0 90px; text-align: center; box-shadow: 0 4px 35px rgb(0 0 0 / 10%);margin-left: calc(var(--page-gutter) * -1);margin-right: calc(var(--page-gutter) * -1); padding-left: var(--page-gutter); padding-right: var(--page-gutter); }
    .home-visit-card p { margin: 13px auto 0; max-width: 312px; font-size: 22px; line-height: 30px; }
    .home-visit-card p br { display: none; }
    .home-visit-logo { top: 52px; right: auto; left: 50%; transform: translateX(-50%); }
    .home-visit-card > .btn { position: static; width: 100%; height: 80px; font-size: clamp(19px, 5.5vw, 22px); margin-top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-service-photo img, .home-service-caption h3, .home-project-photo img { transition: none; }
    .home-project-photo::after { transition: none; }
}

/* Internal service pages and catalogue: Figma 1920 / 400. */
.inner-page { overflow-x: visible; }
.inner-page { --inner-gutter: clamp(24px, 5vw, 80px); }
.inner-container { width: min(1440px, calc(100% - 2 * var(--inner-gutter))); margin-inline: auto; }
.inner-breadcrumbs { font-size: 19px; line-height: 31px; color: #646c78; overflow-wrap: anywhere; }
.inner-breadcrumbs a { color: inherit; text-decoration: none; transition: color 200ms; }
.inner-breadcrumbs a:is(:hover, :focus-visible) { color: #00214e; }
.detail-hero { position: relative; height: 750px; background: #081b35; overflow: clip; }
.detail-hero-content { position: relative; z-index: 1; padding-top: 107px; }
.detail-hero .inner-breadcrumbs { color: #a0a9b7; line-height: 65px; }
.detail-hero .inner-breadcrumbs a:is(:hover, :focus-visible) { color: white; }
.detail-hero h1 { width: min(790px, 65%); font-size: clamp(40px, 2.709vw, 52px); line-height: 1.25; font-weight: 500; color: white; margin: -1px 0 0; }
.detail-price { margin-top: 73px; font-size: 40px; line-height: 36px; font-weight: 500; color: #79a0d4; }
.detail-estimate { margin-top: 56px; width: 400px; height: 80px; padding: 10px; background: transparent; color: white; border: 1px solid #45556b; border-radius: 2px; font-size: 22px; line-height: 36px; }
.detail-estimate:is(:hover, :focus-visible) { border-color: white; background: transparent; }
.detail-hero-art { position: absolute; right: 0; top: 0; width: min(100%, 1920px); height: 100%; container-type: inline-size; pointer-events: none; }
.detail-hero-art img { position: absolute; max-width: none; width: var(--hero-width); height: var(--hero-height); left: var(--hero-left); top: var(--hero-top); transform: var(--hero-transform, none); }
.service-detail--geodesy { --hero-width: 66.719%; --hero-height: 38.385cqw; --hero-left: 21.927%; --hero-top: 1.510cqw; --hero-transform: scaleX(-1); --photo-width: 195.777%; --photo-height: 113.92%; --photo-left: -46.049%; --photo-top: -12.5%; }
.service-detail--geology { --hero-width: 61.875%; --hero-height: 34.531cqw; --hero-left: 39.063%; --hero-top: 3.958cqw; --photo-width: 103%; --photo-height: 107.386%; --photo-left: -.817%; --photo-top: -2.699%; }
.service-detail--ecology { --hero-width: 65.677%; --hero-height: 36.667cqw; --hero-left: 39.948%; --hero-top: 2.396cqw; --photo-width: 180.654%; --photo-height: 105.114%; --photo-left: -57.766%; --photo-top: -2.699%; }
.service-detail--dendrology { --hero-width: 54.59%; --hero-height: 67.77cqw; --hero-left: 40.858%; --hero-top: -24.452cqw; --photo-width: 182.97%; --photo-height: 106.392%; --photo-left: -67.984%; --photo-top: -1.5625%; }
.service-detail--monitoring { --hero-width: 60.677%; --hero-height: 35.573cqw; --hero-left: 31.667%; --hero-top: 3.49cqw; --hero-transform: scaleX(-1); --photo-width: 182.289%; --photo-height: 106.108%; --photo-left: -9.76%; --photo-top: -3.409%; }
.service-detail--laser { --hero-width: 66.979%; --hero-height: 37.396cqw; --hero-left: 33.542%; --hero-top: 1.719cqw; --hero-transform: scaleX(-1); --photo-width: 133.515%; --photo-height: 103.977%; --photo-left: -18.665%; --photo-top: -.710%; }
.service-detail--expertise { --hero-width: 61.5625%; --hero-height: 34.375cqw; --hero-left: 38.438%; --hero-top: 6.354cqw; --photo-width: 188.01%; --photo-height: 109.375%; --photo-left: -28.474%; --photo-top: -.426%; }
.detail-content { display: grid; grid-template-columns: 51% 1fr; column-gap: 86px; align-items: start; margin-top: 119px; }
.detail-gallery { position: relative; min-width: 0; }
.detail-photo { position: relative; width: 100%; aspect-ratio: 734 / 704; border-radius: 5px; overflow: hidden; isolation: isolate; background: #eee; }
.detail-photo img { position: absolute; max-width: none; width: var(--photo-width); height: var(--photo-height); left: var(--photo-left); top: var(--photo-top); filter: grayscale(1); transition: filter 400ms; }
.detail-photo-tone { position: absolute; inset: 0; pointer-events: none; background: #0c1522; mix-blend-mode: color; transition: opacity 400ms; }
.detail-gallery:is(:hover, :focus-within) .detail-photo img, .detail-photo.is-color img { filter: grayscale(0); }
.detail-gallery:is(:hover, :focus-within) .detail-photo-tone, .detail-photo.is-color .detail-photo-tone { opacity: 0; }
.detail-gallery-nav { display: flex; gap: 12px; position: absolute; right: 0; bottom: 0; }
.detail-arrow { display: grid; place-items: center; flex: 0 0 auto; width: 120px; height: 80px; border: 1px solid #00214e; border-radius: 2px; background: white; color: #00214e; cursor: pointer; transition: background-color 200ms, color 200ms; }
.detail-arrow:is(:hover, :focus-visible, :active):not(:disabled) { background: #00214e; color: white; }
.detail-arrow:disabled { color: #bcc5d2; border-color: #bcc5d2; cursor: default; }
.detail-gallery-nav .detail-arrow { border-color: #00214e; border-radius: 2px; }
/* .detail-gallery-nav .detail-arrow.is-active:not(:disabled) { background: #00214e; color: white; } */
.detail-photo { touch-action: pan-y; }
.detail-list { list-style: none; padding: 32px 0 0 37px; font-size: 22px; line-height: 36px; color: #070a0f; min-width: 0; }
.detail-list li { position: relative; margin: 0 0 18px; overflow-wrap: break-word; }
.detail-list li:last-child { margin-bottom: 0; }
.detail-content .detail-gallery { transform: none; }
.detail-content .detail-list { padding-left: 45px; }
.detail-list li::before { content: ''; position: absolute; width: 8px; height: 8px; border-radius: 2px; background: #00214e; left: -37px; top: 15px; }
.detail-mobile-estimate { display: none; }
.detail-others { margin-top: 100px; margin-bottom: 200px; --other-gap: 30px; --other-width: clamp(336px, 23.959vw, 460px); }
.detail-others-heading { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.detail-others h2 { font-weight: 500; font-size: 40px; line-height: 65px; color: #070a0f; }
.detail-others-nav { display: flex; gap: 35px; position: absolute; right: 0; top: -11px; }
.detail-others-viewport { overflow-x: auto; scrollbar-width: none; padding-inline: max(var(--inner-gutter), calc((100% - 1440px) / 2)); margin-top: 70px; }
.detail-others-viewport::-webkit-scrollbar { display: none; }
.detail-others-track { display: flex; gap: var(--other-gap); width: max-content; }
.detail-card { display: flex; flex-direction: column; flex: 0 0 var(--other-width); width: var(--other-width); min-height: 340px; border: 1px solid #e6e6e6; border-radius: 5px; color: #070a0f; text-decoration: none; padding: 34px clamp(36px, 3.333vw, 64px) 45px; transition: border-color 200ms ease; }
.detail-card img { width: auto; height: 100px; max-width: 100%; object-fit: contain; object-position: left center; align-self: start; filter: grayscale(1); transition: filter 400ms ease; }
.detail-card:is(:hover, :focus-visible) img { filter: grayscale(0); }
.detail-card h3 { font-size: clamp(26px, 1.5625vw, 30px); line-height: 1.333; font-weight: 500; margin-top: 27px; overflow-wrap: break-word; transition: color 200ms; }
.detail-card--short h3 { margin-top: 58px; }
.detail-card:is(:hover, :focus-visible) { border-color: #00214e; }
.detail-card:is(:hover, :focus-visible) h3 { color: #00214e; }
.catalog { padding-top: 100px; padding-bottom: 200px; }
.catalog h1 { font-size: 52px; line-height: 65px; font-weight: 500; margin-top: 10px; margin-bottom: 70px; color: #070a0f; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 70px 40px; }
.catalog-card { display: flex; flex-direction: column; color: #070a0f; text-decoration: none; min-width: 0; border: 1px solid #e6e6e6; border-radius: 5px; overflow: hidden; }
.catalog-photo { position: relative; aspect-ratio: 460 / 550; overflow: hidden; isolation: isolate; background: #eee; }
.catalog-photo img { position: absolute; max-width: none; width: var(--catalog-width); height: var(--catalog-height); left: var(--catalog-left); top: var(--catalog-top); filter: grayscale(1); transition: filter 400ms, transform 400ms; }
.catalog-photo::after { content: ''; position: absolute; inset: 0; background: #0c1522; mix-blend-mode: color; pointer-events: none; transition: opacity 400ms; }
.catalog-card:is(:hover, :focus-visible) img { filter: grayscale(0); transform: scale(1.025); }
.catalog-card:is(:hover, :focus-visible) .catalog-photo::after { opacity: 0; }
.catalog-caption { min-height: 218px; display: flex; align-items: flex-start; padding: 40px clamp(24px, 2.625vw, 50px); border-top: 1px solid #e6e6e6; }
.catalog-card:nth-child(n+4) .catalog-caption { min-height: 185px; }
.catalog-caption h2 { display: grid; font-size: clamp(23px, 1.5625vw, 30px); line-height: 1.333; font-weight: 500; }
.catalog-caption h2 span { transition: color 400ms ease, text-shadow 400ms ease; }
.catalog-caption h2::before { content: attr(data-label); font-weight: 600; visibility: hidden; white-space: pre-line; }
.catalog-caption h2::before, .catalog-caption h2 span { grid-area: 1 / 1; }
.catalog-card:is(:hover, :focus-visible) h2 span { color: #00214e; text-shadow: 0 0 .5px #00214e; }
.catalog-card--geodesy { --catalog-width: 355.217%; --catalog-height: 165.818%; --catalog-left: -108.696%; --catalog-top: -54.182%; }
.catalog-card--geology { --catalog-width: 124.783%; --catalog-height: 104.364%; --catalog-left: -1.304%; --catalog-top: -3.455%; }
.catalog-card--ecology { --catalog-width: 232.174%; --catalog-height: 108.364%; --catalog-left: -84.783%; --catalog-top: -3.455%; }
.catalog-card--dendrology { --catalog-width: 222.609%; --catalog-height: 104%; --catalog-left: -72.609%; --catalog-top: -2%; }
.catalog-card--monitoring { --catalog-width: 223.913%; --catalog-height: 104.545%; --catalog-left: -21.956%; --catalog-top: -4.364%; }
.catalog-card--laser { --catalog-width: 161.522%; --catalog-height: 100.909%; --catalog-left: -31.956%; --catalog-top: -.909%; }
.catalog-card--expertise { grid-column: 1 / -1; display: grid; grid-template-columns: 49% 1fr; --catalog-width: 142.411%; --catalog-height: 101.818%; --catalog-left: -20.567%; --catalog-top: -.545%; }
.catalog-card--expertise {
    order: 100;
}
.catalog-card--expertise .catalog-caption h2 {
    max-width: 530px;
}
.catalog-card--expertise .catalog-photo { aspect-ratio: 705 / 550; }
.catalog-card--expertise .catalog-caption { border-top: 0; border-left: 1px solid #e6e6e6; padding-left: clamp(48px, 5.886vw, 113px); padding-top: clamp(130px, 8.542vw, 164px); align-items: start; }
@media (max-width: 1279px) {
    .detail-content { column-gap: 40px; }
    .detail-hero h1 { width: 70%; }
    .detail-hero-art { opacity: .75; }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-caption { min-height: 190px; padding-inline: 40px; }
    .catalog-card:nth-child(n+4) .catalog-caption { min-height: 190px; }
    .catalog-card--expertise { display: flex; grid-column: auto; }
    .catalog-card--expertise .catalog-photo { aspect-ratio: 460 / 550; }
    .catalog-card--expertise .catalog-caption { border-left: 0; border-top: 1px solid #e6e6e6; padding: 40px; align-items: center; }
}
@media (max-width: 999px) {
    .detail-hero { height: 730px; }
    .detail-hero-content { padding-top: 65px; }
    .detail-hero .inner-breadcrumbs { line-height: 30px; margin-bottom: 26px; }
    .detail-hero h1 { width: 90%; }
    .detail-hero-art { top: auto; bottom: 0; height: 400px; opacity: .5; }
    .detail-price { margin-top: 36px; }
    .detail-estimate { margin-top: 32px; }
    .detail-content { grid-template-columns: 1fr; margin-top: 80px; }
    .detail-photo { aspect-ratio: 734 / 550; }
    .detail-gallery-nav { position: static; justify-content: center; gap: 20px; margin-top: 40px; }
    .detail-content .detail-gallery { transform: none; }
    .detail-content .detail-list { padding-top: 54px; padding-left: 37px; }
    .detail-mobile-estimate { display: block; background: #00214e; color: white; width: min(400px, 100%); height: 80px; margin-top: 52px; justify-self: center; }
    .detail-others { margin-bottom: 100px; }
    .detail-others h2 { font-size: 32px; }
    .detail-others-nav { gap: 20px; }
    .detail-others h2 { max-width: calc(100% - 250px); }
}
@media (max-width: 767px) {
    .inner-page { --inner-gutter: 8.125vw; }
    .detail-hero { height: 609px; }
    .detail-hero-content { padding-top: 3px;
            display: flex;
        flex-direction: column;
        align-items: center;}
    .detail-hero .inner-breadcrumbs { display: none; }
    .detail-title-break { display: none; }
    .detail-hero h1 { width: 100%; max-width: 500px; margin: 0 auto; text-align: center; font-size: clamp(34.4px, 10.75vw, 43px); line-height: 48px; hyphens: auto; }
    .detail-price { font-size: 32px; line-height: 36px; text-align: center; margin-top: 24px; }
    .detail-estimate { display: none; }
    .detail-hero-art { width: min(100%, 400px); height: 100%; left: 50%; right: auto; transform: translateX(-50%); opacity: 1; }
    .detail-hero-art img { width: var(--mobile-hero-width); height: var(--mobile-hero-height); left: var(--mobile-hero-left); top: auto; bottom: var(--mobile-hero-bottom); }
    .service-detail--geodesy { --mobile-hero-width: 143%; --mobile-hero-height: 82.25cqw; --mobile-hero-left: -44.25%; --mobile-hero-bottom: -1.75cqw; --photo-width: 280.5%; --photo-height: 125.2%; --photo-left: -74.5%; --photo-top: -17.6%; }
    .service-detail--geology { --mobile-hero-width: 155%; --mobile-hero-height: 86.5cqw; --mobile-hero-left: -37%; --mobile-hero-bottom: 1.5cqw; --photo-width: 138.5%; --photo-height: 110.8%; --photo-left: -6.5%; --photo-top: -3.8%; }
    .service-detail--ecology { --mobile-hero-width: 168.75%; --mobile-hero-height: 94.25cqw; --mobile-hero-left: -21.25%; --mobile-hero-bottom: 0px; --photo-width: 235%; --photo-height: 105%; --photo-left: -88.25%; --photo-top: -2.8%; }
    .service-detail--dendrology { --mobile-hero-width: 110.82%; --mobile-hero-height: 137.68cqw; --mobile-hero-left: -3.601%; --mobile-hero-bottom: -9cqw; --photo-width: 236.75%; --photo-height: 105.6%; --photo-left: -78.5%; --photo-top: -2.2%; }
    .service-detail--monitoring { --mobile-hero-width: 185.25%; --mobile-hero-height: 108.5cqw; --mobile-hero-left: -66.25%; --mobile-hero-bottom: -1.25cqw; --photo-width: 251.75%; --photo-height: 112.4%; --photo-left: -25.25%; --photo-top: -4.2%; }
    .service-detail--laser { --mobile-hero-width: 173.75%; --mobile-hero-height: 97cqw; --mobile-hero-left: -42%; --mobile-hero-bottom: -.25cqw; --photo-width: 169%; --photo-height: 101%; --photo-left: -39.25%; --photo-top: -1%; }
    .service-detail--expertise { --mobile-hero-width: 160%; --mobile-hero-height: 89.25cqw; --mobile-hero-left: -32.25%; --mobile-hero-bottom: -.25cqw; --photo-width: 229.75%; --photo-height: 102.6%; --photo-left: -52.25%; --photo-top: -.6%; }
    .service-detail--expertise .detail-hero h1,
    .service-detail--dendrology .detail-hero h1,
    .service-detail--monitoring .detail-hero h1 { width: calc(100% + 24px); margin-inline: -12px; }
    .service-detail--dendrology .detail-price,
    .service-detail--monitoring .detail-price,
    .service-detail--laser .detail-price { margin-top: 30px; }
    .service-detail--expertise .detail-price { margin-top: 14px; }
    .detail-content { width: 100%; margin-top: 79px; }
    .detail-photo { height: 500px; aspect-ratio: auto; border-radius: 5px; }
    .detail-arrow { width: 105px; height: 70px; }
    .detail-gallery-nav { margin-top: 41px; }
    .detail-content .detail-list { width: calc(100% - 2 * var(--inner-gutter)); margin-inline: auto; padding: 54px 0 0 30px; }
    .detail-list li::before { left: -30px; }
    .detail-mobile-estimate { width: calc(100% - 2 * var(--inner-gutter)); padding: 10px 32px; font-size: 22px; line-height: 26px; }
    .detail-others { margin-top: 67px; --other-width: min(336px, calc(100vw - 2 * var(--inner-gutter))); --other-gap: 15px; }
    .detail-others-heading { justify-content: center; }
    .detail-others h2 { max-width: 100%; }
    .detail-others-nav { display: none; }
    .detail-others-viewport { margin-top: 37px; }
    .detail-card { padding: 34px clamp(24px, 8vw, 32px) 24px; min-height: 300px; }
    .detail-card h3 { font-size: clamp(21px, 6vw, 24px); line-height: 24px; overflow-wrap: normal; hyphens: manual; }
    .catalog { padding-top: 72px; padding-bottom: 100px; }
    .catalog .inner-breadcrumbs { display: none; }
    .catalog h1 { text-align: center; font-size: 43px; line-height: 65px; margin: 0 0 50px; }
    .catalog-grid { grid-template-columns: 1fr; gap: 50px; }
    .catalog-photo, .catalog-card--expertise .catalog-photo { aspect-ratio: 335 / 450; }
    .catalog-caption, .catalog-card:nth-child(n+4) .catalog-caption { min-height: 190px; padding: 32px clamp(30px, 11.25vw, 45px); }
    .catalog-caption h2 { font-size: 26px; line-height: 36px; }
    .catalog-card--expertise { order: -1; }
    .catalog-card--expertise .catalog-caption { padding: 37px clamp(30px, 11.25vw, 45px); }
    .catalog-card--geodesy { --catalog-width: 393.433%; --catalog-height: 163.556%; --catalog-left: -120.597%; --catalog-top: -51.333%; }
    .catalog-card--geology { --catalog-width: 171.343%; --catalog-height: 127.556%; --catalog-left: -3.582%; --catalog-top: -18.222%; }
    .catalog-card--ecology { --catalog-width: 258.507%; --catalog-height: 107.333%; --catalog-left: -101.492%; --catalog-top: -.444%; }
    .catalog-card--dendrology { --catalog-width: 260%; --catalog-height: 108%; --catalog-left: -92.239%; --catalog-top: -3.111%; }
    .catalog-card--monitoring { --catalog-width: 260%; --catalog-height: 108%; --catalog-left: -30.149%; --catalog-top: -5.333%; }
    .catalog-card--laser { --catalog-width: 181.791%; --catalog-height: 101.111%; --catalog-left: -55.522%; --catalog-top: -1.111%; }
    .catalog-card--expertise { --catalog-width: 252.537%; --catalog-height: 104.889%; --catalog-left: -49.851%; --catalog-top: -.667%; }
    .catalog-caption {
        padding: 30px clamp(30px, 11.25vw, 45px) 42px !important;
        align-items: flex-start !important;
        min-height: auto !important;
    }
}
@media (max-width: 400px) {
    .catalog-caption {
        padding: 30px 25px 42px !important;
    }
}
@media (max-width: 350px) {
    .catalog-caption {
        hyphens: auto;
    }
}
/* Remaining internal pages: shared typography and fluid content geometry. */
.company-page, .documents-page, .legal-page { padding-block: 100px 200px; }
.company-heading-block .inner-breadcrumbs { line-height: 43px; }
.company-page h1, .documents-page h1, .legal-page h1 { font-size: 52px; line-height: 65px; font-weight: 500; color: #070a0f; margin-top: 20px; overflow-wrap: break-word; hyphens: auto;}
.company-page h1, .documents-page h1 { margin-bottom: 70px; }
.company-photo { position: relative; height: 500px; border-radius: 5px; overflow: hidden; isolation: isolate; background: #eee; }
.company-photo img { position: absolute; max-width: none; filter: grayscale(1); }
.company-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: #0c1522; mix-blend-mode: color; }
.company-photo--1 img { width: 119.805%; height: 146.2%; left: -.417%; top: -21.2%; object-fit: cover; }
.company-photo--2 img { width: 115.625%; height: 131.2%; left: -9.375%; top: -19.6%; object-fit: cover; }
.company-photo--3 img { width: 123.011%; height: 139.4%; left: -6.108%; top: -26.8%; object-fit: cover; }
.company-heading { color: #070a0f; font-size: 40px; line-height: 50px; font-weight: 500; overflow-wrap: break-word; }
.company-paragraph { color: #070a0f; font-size: 22px; line-height: 36px; font-weight: 300; overflow-wrap: normal; hyphens: none; }
.company-paragraph + .company-paragraph { margin-top: 25px; }
.company-paragraph + .company-paragraph:last-child {
    margin-bottom: 0;
}
.company-intro { display: grid; grid-template-columns: 39% 1fr; gap: 56px; margin-top: 60px; }
.company-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 120px; }
.company-stats > div { display: flex; flex-direction: column; min-height: 260px; border: 1px solid #e6e6e6; justify-content: center; padding: 35px clamp(24px, 2.3vw, 44px); }
.company-stats dd { order: -1; font-size: 65px; line-height: 65px; font-weight: 500; color: #00214e; }
.company-stats dt { margin-top: 11px; font-size: 30px; line-height: 40px; color: #646c78; font-weight: 300; overflow-wrap: break-word; }
.company-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; margin-top: 60px; }
.company-copy { padding: 30px 40px 0 0; }
.company-copy .company-heading { margin-bottom: 25px; }
.company-section--partner .company-copy { padding: 38px 0 0 67px; }
.contact-page { margin-bottom: 200px; }
.contact-layout { display: grid; grid-template-columns: clamp(360px, 25.521vw, 490px) minmax(0, 1fr); margin-left: max(var(--inner-gutter), calc((100% - 1440px) / 2)); }
.contact-details { padding: 100px 32px 40px 0; min-width: 0; }
.contact-details h1 { font-size: 52px; line-height: 65px; height: 52px; font-weight: 600; color: #070a0f; margin-top: 10px; margin-bottom: 60px; }
.contact-address { font-style: normal; font-weight: 500; font-size: 27px; line-height: 38px; max-width: 320px; color: #070a0f; }
.contact-address span:last-child { display: block; }
.contact-questions { font-size: 19px; line-height: 38px; height: 29px; color: #646c78; font-weight: 500; margin-top: 30px; }
.contact-numbers { display: flex; flex-direction: column; margin-top: 18px; }
.contact-numbers a { font-size: 27px; line-height: 38px; font-weight: 500; color: #070a0f; text-decoration: none; }
.contact-mail { display: inline-block; font-size: 25px; line-height: 38px; font-weight: 400; color: #00214e; text-decoration: none; overflow-wrap: anywhere; }
.contact-numbers a:is(:hover, :focus-visible), .contact-mail:is(:hover, :focus-visible) { color: #79a0d4; text-decoration: none; }
.contact-map { position: relative; aspect-ratio: 1190 / 846; overflow: hidden; min-width: 0; align-self: start; background: #eee; }
.contact-map > iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.contact-route { position: absolute; bottom: 0; left: 0; width: 310px; height: 80px; padding: 10px; display: flex; justify-content: center; align-items: center; font-size: 22px; line-height: 36px; border-radius: 2px; background: #081b35; color: white; text-decoration: none; }
.contact-route:is(:hover, :focus-visible) { background: #00214e; }
.not-found-page { padding-top: 100px; }
.not-found-page .inner-breadcrumbs { font-size: 17px; line-height: 36px; }
.not-found-layout { display: grid; grid-template-columns: 51% 1fr; margin-top: 35px; }
.not-found-art { width: min(542px, 100%); height: 828px; overflow: hidden; align-self: end; }
.not-found-art img { display: block; width: 542px; height: 855px; max-width: none; object-fit: contain; transition: filter 400ms ease; }
.not-found-art:hover img { filter: grayscale(0); }
.not-found-copy { padding-top: 129px; min-width: 0; }
.not-found-copy h1 { font-size: 200px; line-height: 55px; height: 98px; font-weight: 500; color: #00214e; }
.not-found-copy p { font-size: 32px; line-height: 40px; color: #070a0f; margin-top: 50px; }
.not-found-link { display: flex; align-items: center; justify-content: center; width: 214px; height: 80px; border: 1px solid #00214e; color: #00214e; background: transparent; border-radius: 2px; font-size: 22px; line-height: 36px; margin-top: 100px; padding: 10px; text-decoration: none; }
.not-found-link:is(:hover, :focus-visible) { background: #00214e; color: white; }
.legal-page h1 { margin-bottom: 18px; }
.legal-copy { max-width: 1281px; font-weight: 300; font-size: 22px; line-height: 40px; overflow-wrap: anywhere; }
.legal-copy p { margin-bottom: 20px; }
.legal-copy p:last-child { margin-bottom: 0; }
.legal-copy h2 { font-size: 32px; font-weight: 500; line-height: 40px; margin: 30px 0 33px; }
.documents-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 30px; }
.document-card { display: flex; flex-direction: column; text-decoration: none; color: #070a0f; border: 1px solid #e6e6e6; border-radius: 5px; overflow: hidden; min-width: 0; }
.document-preview { height: clamp(350px, 26.042vw, 500px); padding: 24px; background: #f8f8f8; overflow: hidden; }
.document-preview img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); transition: transform 300ms, filter 400ms; }
.document-card:is(:hover, :focus-visible) .document-preview img { filter: grayscale(0); }
.document-caption { border-top: 1px solid #e6e6e6; padding: 30px; flex: 1; display: flex; flex-direction: column; }
.document-caption h2 { font-size: 25px; line-height: 36px; font-weight: 500; overflow-wrap: anywhere; }
.document-caption > span { font-size: 18px; line-height: 27px; color: #646c78; margin-top: auto; padding-top: 24px; }
.document-card:is(:hover, :focus-visible) img { transform: scale(1.025); }
.document-card:is(:hover, :focus-visible) h2 { color: #00214e; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1279px) {
    .company-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .company-stats > div { padding-inline: 45px; }
    .company-intro { grid-template-columns: 1fr 1.3fr; gap: 40px; }
    .company-heading { font-size: 34px; line-height: 44px; }
    .company-copy { padding-right: 10px; }
    .company-section--partner .company-copy { padding-left: 25px; }
    .contact-details h1 { font-size: 46px; }
    .not-found-art { height: auto; aspect-ratio: 542 / 828; }
    .not-found-art img { width: 100%; height: auto; }
    .not-found-copy { padding-top: 100px; padding-bottom: 100px; }
    .not-found-copy h1 { font-size: 160px; }
    .not-found-copy p { font-size: 28px; line-height: 38px; }
    .documents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-project-bottom {
        padding-right: 0;
    }
}
@media (max-width: 999px) {
    .company-intro, .company-section { grid-template-columns: 1fr; gap: 33px; }
    .company-copy, .company-section--partner .company-copy { padding: 0; }
    .company-section .company-photo { order: -1; }
    .contact-layout { grid-template-columns: 1fr; margin-left: 0; }
    .contact-details { width: min(1440px, calc(100% - 2 * var(--inner-gutter))); margin-inline: auto; padding-right: 0; }
    .contact-map { margin-top: 40px; aspect-ratio: 1190 / 700; }
    .not-found-layout { grid-template-columns: 46% 1fr; gap: 30px; }
    .not-found-copy { padding-top: 70px; padding-bottom: 70px; }
    .not-found-copy h1 { font-size: 145px; }
    .not-found-copy p { font-size: 25px; line-height: 36px; }
    .not-found-link { margin-top: 65px; }
}
@media (max-width: 767px) {
    .company-page, .documents-page, .legal-page { padding-block: 68px 100px; }
    .company-heading-block .inner-breadcrumbs, .documents-page .inner-breadcrumbs, .legal-page .inner-breadcrumbs, .contact-details .inner-breadcrumbs, .not-found-page .inner-breadcrumbs { display: none; }
    .company-page h1, .documents-page h1, .legal-page h1 { font-size: clamp(34px, 10.75vw, 43px); line-height: clamp(34px, 10.75vw, 48px); text-align: center; margin-top: 0; }
    .company-page h1 { width: calc(100% + 50px); margin-left: -25px; margin-bottom: 35px; margin-top: 26px; }
    .company-lead-photo, .company-section { width: 100%; }
    .company-photo { height: 420px; }
    .company-photo--1 img { width: 302.5%; height: 122.143%; left: -20%; top: -19.048%; }
    .company-photo--2 img { width: 130.25%; height: 100%; left: -18.75%; top: 0; }
    .company-photo--3 img { width: 155.5%; height: 119.286%; left: -25.25%; top: -17.857%; }
    .company-intro { margin-top: 40px; }
    .company-heading { font-size: 32px; line-height: 40px; }
    .company-stats { grid-template-columns: 1fr; gap: 30px; margin-top: 60px; }
    .company-stats > div { padding-inline: 32px; }
    .company-stats dd { font-size: clamp(52px, 16.25vw, 65px); }
    .company-stats dt { font-size: clamp(24px, 7vw, 28px); }
    .company-section { margin-top: 43px; gap: 25px; }
    .company-copy, .company-section--partner .company-copy { width: calc(100% - 2 * var(--inner-gutter)); margin-inline: auto; }
    .company-copy .company-heading { margin-bottom: 25px; }
    .contact-page { margin-bottom: 0; }
    .contact-details { padding: 56px 0 0; }
    .contact-details h1 { font-weight: 500; font-size: 43px; text-align: center; line-height: 65px; height: auto; margin: 0 0 33px; }
    .contact-details-body { padding-inline: 18px; }
    .contact-address { font-size: clamp(27px, 8vw, 32px); line-height: 40px; max-width: 300px; }
    .contact-address span:last-child { display: inline; }
    .contact-questions { margin-top: 15px; height: 38px; }
    .contact-numbers { margin-top: 4px; }
    .contact-numbers a { font-size: clamp(23px, 6.75vw, 27px); }
    .contact-mail { font-size: clamp(18px, 5.5vw, 22px); margin-top: 1px; }
    .contact-map { margin-top: 65px; height: 700px; aspect-ratio: auto; }
    .contact-route { width: calc(100% - 2 * var(--inner-gutter)); left: var(--inner-gutter); bottom: 61px; font-size: 22px; border-radius: 5px; }
    .not-found-page { padding-top: 127px; }
    .not-found-layout { display: flex; flex-direction: column; gap: 0; width: 100%; margin-top: 0; }
    .not-found-copy { padding: 0; width: calc(100% - 2 * var(--inner-gutter)); margin-inline: auto; text-align: center; }
    .not-found-copy h1 { font-size: 130px; line-height: 55px; height: 55px; }
    .not-found-copy p { font-size: clamp(27px, 8vw, 32px); line-height: 40px; width: min(315px, 100%); margin: 49px auto 0; }
    .not-found-link { width: 100%; margin-top: 62px; }
    .not-found-art { order: 1; width: calc(100% - 43px); max-width: 357px; margin: 49px auto 0; aspect-ratio: 357 / 523; align-self: start; }
    .not-found-art img { width: 100%; height: auto; }
    .legal-page h1 { margin-bottom: 50px; }
    .legal-copy { line-height: 40px; }
    .documents-page h1 { margin-bottom: 50px; }
    .documents-grid { grid-template-columns: 1fr; gap: 40px; }
    .document-preview { height: 420px; padding: 20px; }
    .document-caption { padding: 25px; }
    .document-caption h2 { font-size: 22px; line-height: 32px; }
}

/* Designer revision 2: map, partner states and responsive refinements. */
@media (min-width: 768px) {
    .mobile-menu-services-list a { line-height: 45px; }
    .company-page h1 { margin-top: 10px; }
}


.contact-map { isolation: isolate; }
.contact-map > iframe { filter: grayscale(1); transition: filter 500ms ease; }
.contact-map::after { content: ""; position: absolute; inset: 0; background: #0c1522; mix-blend-mode: color; opacity: 1; pointer-events: none; transition: opacity 500ms ease; }
.contact-map:is(:hover, :focus-within) > iframe { filter: grayscale(0); }
.contact-map:is(:hover, :focus-within)::after { opacity: 0; }
.contact-route { z-index: 1; }
@media (min-width: 1280px) {
 .home-feature { padding-inline: 50px; }
 .home-feature h3 { font-size: 26px; }
 .company-stats { margin-bottom: 120px; }
 .company-stats + .company-section { margin-top: 0; }
 .company-stats > div { height: 260px; }
 .footer-bottom { align-items: end; }
 .footer-copyright, .footer-bottom-center, .footer-bottom-right { position: relative; top: 8px; }
 .header-tagline { position: relative; top: 4px; }
}
@media (max-width: 767px) {
 .footer-bg::before { display: none; }
 .footer .footer-made-link { font-size: 24px; }
 .home-service-caption { display: flex; align-items: flex-start; min-height: 190px; padding-block: 37px; }
 .home-service-caption h3 { line-height: 36px; }
 .home-page .header .btn-outline { margin-top: 24px; }
 .company-page { padding-top: 34px; }
 .company-paragraph { font-size: clamp(18px, 5.5vw, 22px); }
 .service-detail--geology { --mobile-hero-bottom: 8cqw; }
 .service-detail--laser { --mobile-hero-bottom: 0; }
 .contact-questions { height: auto; line-height: 30px; }
 .contact-numbers { margin-top: 2px; }
 .company-stats > div { height: 260px; padding-block: 30px; }
 .company-heading { overflow-wrap: normal; font-size: clamp(26px, 7.5vw, 30px); }
 .company-section--team .company-copy { order: -1; }
 .service-detail--geodesy { --mobile-hero-bottom: 14cqw; }
 .service-detail--dendrology { --mobile-hero-width: 84%; --mobile-hero-height: 104.4cqw; --mobile-hero-left: 8%; --mobile-hero-bottom: -2cqw; }
 .service-detail--expertise .detail-hero-content { padding-top: 3px; }
 .detail-card--short h3 { margin-top: 51px; }
}
.home-partner--1 { --partner-mask: url('../images/home/partner-1-color.svg'); }
.home-partner--2 { --partner-mask: url('../images/home/partner-2-color.svg'); }
.home-partner--3 { --partner-mask: url('../images/home/partner-3-color.svg'); }
.home-partner--4 { --partner-mask: url('../images/home/partner-4-color.svg'); }
.home-partner--5 { --partner-mask: url('../images/home/partner-5-color.svg'); }
.home-partner--6 { --partner-mask: url('../images/home/partner-6-color.svg'); }
.home-partner--7 { --partner-mask: url('../images/home/partner-7-color.svg'); }
.home-partner--8 { --partner-mask: url('../images/home/partner-8-color.svg'); }
.home-partner--9 { --partner-mask: url('../images/home/partner-9-color.svg'); }
.home-partner--10 { --partner-mask: url('../images/home/partner-10-color.svg'); }
.home-partner--11 { --partner-mask: url('../images/home/partner-11-color.svg'); }
.home-partner--12 { --partner-mask: url('../images/home/partner-12-color.png'); }

@media (min-width: 768px) and (hover: hover) {
 .mobile-menu-list > li > a, .menu-services-link { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='65' height='65' viewBox='0 0 65 65'%3E%3Ccircle cx='32.5' cy='32.5' r='32' fill='white'/%3E%3Cpath d='M23 32.5h19M32.5 23v19' stroke='%23191919' stroke-width='2'/%3E%3C/svg%3E") 32 32, pointer; }
}

@media (hover: none) {
    .home-partner:hover:not(.is-color):not(:focus-visible) img { filter: grayscale(1); opacity: 0; }
    .home-partner:hover:not(.is-color):not(:focus-visible)::after { opacity: 1; }
}

/* Revision 2: mobile project photographs keep the designer’s monochrome treatment. */
@media (max-width: 767px) {
    .home-project-photo.is-color img { filter: grayscale(1); }
    .home-project-photo.is-color::after { opacity: 1; }
}

/* Designer revision 3, 12 October: shared navigation, photos and fluid spacing. */
.footer-bottom-center .footer-link { font-weight: 300; }
.btn-modal { background: transparent; border-color: white; margin-top: 35px; }
.btn-modal:is(:hover, :focus-visible) { background: #00214e; border-color: #00214e; }
.modal-form-checkbox { gap: 14px; }
.company-photo img { transition: filter 500ms ease; }
.company-photo::after { transition: opacity 500ms ease; }
.company-photo:hover img { filter: grayscale(0); }
.company-photo:hover::after { opacity: 0; }
.detail-photo img { object-fit: cover; }
.detail-card:is(:hover, :focus-visible) { border-color: #e6e6e6; }
.detail-gallery-nav[hidden] { display: none; }
.service-detail--dendrology .detail-hero-art img { clip-path: inset(0 .5%); }
.legal-page h1 { margin-bottom: 36px; }
.legal-copy a[href^='mailto:'] { color: #00214e; }
.contact-numbers a:is(:hover, :focus-visible) { color: #070a0f; }
.contact-mail:is(:hover, :focus-visible) { color: #00214e; }

@media (min-width: 768px) {
    .menu-services-panel { top: 17px; }
    .mobile-menu-list > li > a, .menu-services-row { max-width: 46%; }
    .mobile-menu-services-list a { margin-bottom: 30px; }
    .home-project-photo:hover img { filter: grayscale(0); }
    .home-project-photo:hover::after { opacity: 0; }
    .home-project-bottom { padding-right: 60px; }
    .detail-gallery-nav .detail-arrow,
    .detail-gallery-nav .detail-arrow:is(:focus-visible, :active,):not(:disabled) {
        border-color: transparent; background: white; color: #00214e;
    }
    .documents-page h1 { margin-top: 10px; }
    .company-intro { align-items: start; }
}
@media (min-width: 1280px) {
    .home-feature { padding-left: 70px; padding-right: 50px; }
    .company-stats { margin-top: 120px; margin-bottom: 120px; }
}
@media (max-width: 767px) {
    .mobile-menu-list > li > a, .menu-services-link { max-width: 100%; }
    .mobile-menu-list > li > a { width: fit-content; line-height: 36px; }
    .footer-nav .footer-link { line-height: 27px; margin-bottom: 13px; }
    .footer-nav .footer-link:last-child { margin-bottom: 0; }
    .home-partner-row { padding-right: var(--page-gutter); }
    .detail-photo { height: auto; aspect-ratio: 400 / 500; }
    .detail-gallery-nav .detail-arrow { border-color: #e6e6e6; }
    .detail-gallery-nav .detail-arrow:is(:hover, :focus-visible, :active, .is-active):not(:disabled) { border-color: #e6e6e6; }
    .detail-card { min-height: 330px; padding: 38px clamp(30px, 12.5vw, 50px) 48px; padding-right: clamp(16px, 5vw, 20px); }
    .detail-card h3 { margin-top: 26px; font-size: clamp(21px, 6.5vw, 26px); line-height: 36px; }
    .detail-card--short h3 { margin-top: 26px; }
    .company-page { padding-bottom: 80px; }
    .modal-form { min-height: 0; padding-top: 63px; padding-bottom: 70px; }
    .company-stats > div { padding-left: clamp(32px, calc(40vw - 96px), 64px); padding-right: 32px; }
    .company-stats dt { line-height: 36px; }
    .company-section--team .company-copy { order: 0; }
    .company-section--team { gap: 40px; }
    .company-section--partner { gap: 40px; }
    .service-detail--laser .detail-hero { height: clamp(531px, calc(387px + 44.875vw), 566.5px); }
    .not-found-page { padding-top: 64px; }
    .not-found-art img, .not-found-art:hover img { }
    .contact-details h1 { margin-bottom: 30px; }
    .contact-details-body { padding-left: clamp(0px, calc(22.5vw - 72px), 18px); padding-right: 0; }
    .contact-questions { margin-top: 40px; }
    .contact-numbers { margin-top: 12px; }
    .contact-mail { font-size: clamp(23px, 6.75vw, 27px); line-height: 38px; }
    .contact-map { height: auto; padding-bottom: 112px; background: #eef0f3; }
    .contact-map > iframe { position: relative; height: 700px; }
    .contact-map::after { bottom: 112px; }
    .contact-route { bottom: 16px; }
    .legal-page h1 { margin-bottom: 50px; }
}
@media (max-width: 600px) {
    .modal-form-title { line-height: 36px; }
    .modal-form-checkbox { gap: 12px; }
    .btn-modal { margin-top: 28px; }
}
@media (max-width: 600px) and (max-height: 659px) {
    .request-dialog { max-height: calc(100dvh - 24px); }
    /* .modal-form { padding-block: clamp(24px, calc(10dvh - 28px), 48px); max-height: calc(100dvh - 24px); } */
    .modal-close { top: 8px; right: 8px; width: 32px; height: 32px; }
    .modal-form-title { font-size: 28px; line-height: 32px; max-width: calc(100% - 28px); margin-inline: auto; }
    #request-form-title { font-size: 26px; }
    .modal-form-subtitle { font-size: 16px; line-height: 22px; margin: 5px auto 16px; }
    .modal-form-content { gap: 10px; }
    .modal-form-label { font-size: 16px; line-height: 22px; margin-bottom: 6px; }
    .modal-form-input { height: 56px; padding-block: 10px; }
    .modal-form-checkbox-text { font-size: 15px; line-height: 22px; }
    .btn-modal { height: 60px; margin-top: 20px; }
}
@media (max-width: 600px) and (max-height: 560px) {
    .modal-form-title { font-size: 24px; line-height: 28px; }
    #request-form-title { font-size: 24px; }
    .modal-form-subtitle { font-size: 14px; line-height: 20px; margin-bottom: 12px; }
    .modal-form-content { gap: 8px; }
    .modal-form-label { font-size: 14px; line-height: 20px; margin-bottom: 4px; }
    .modal-form-input { height: 48px; }
    .modal-form-checkbox-text { font-size: 14px; line-height: 20px; }
    .btn-modal { height: 56px; margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .company-photo img, .company-photo::after { transition: none; }
}

@media (max-width: 1279px) {
    .home-project-bottom {
        padding-right: 0;
    }
}

/* PhotoSwipe 5.4.4 — MIT, https://photoswipe.com/; license in assets/js/vendor/photoswipe/LICENSE. */
/*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */

.pswp {
  --pswp-bg: #000;
  --pswp-placeholder-bg: #222;
  

  --pswp-root-z-index: 100000;
  
  --pswp-preloader-color: rgba(79, 79, 79, 0.4);
  --pswp-preloader-color-secondary: rgba(255, 255, 255, 0.9);
  
  /* defined via js:
  --pswp-transition-duration: 333ms; */
  
  --pswp-icon-color: #fff;
  --pswp-icon-color-secondary: #4f4f4f;
  --pswp-icon-stroke-color: #4f4f4f;
  --pswp-icon-stroke-width: 2px;

  --pswp-error-text-color: var(--pswp-icon-color);
}


/*
	Styles for basic PhotoSwipe (pswp) functionality (sliding area, open/close transitions)
*/

.pswp {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: var(--pswp-root-z-index);
	display: none;
	touch-action: none;
	outline: 0;
	opacity: 0.003;
	contain: layout style size;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Prevents focus outline on the root element,
  (it may be focused initially) */
.pswp:focus {
  outline: 0;
}

.pswp * {
  box-sizing: border-box;
}

.pswp img {
  max-width: none;
}

.pswp--open {
	display: block;
}

.pswp,
.pswp__bg {
	transform: translateZ(0);
	will-change: opacity;
}

.pswp__bg {
  opacity: 0.005;
	background: var(--pswp-bg);
}

.pswp,
.pswp__scroll-wrap {
	overflow: hidden;
}

.pswp__scroll-wrap,
.pswp__bg,
.pswp__container,
.pswp__item,
.pswp__content,
.pswp__img,
.pswp__zoom-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.pswp__img,
.pswp__zoom-wrap {
	width: auto;
	height: auto;
}

.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img {
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
	cursor: zoom-in;
}

.pswp--click-to-zoom.pswp--zoomed-in .pswp__img {
	cursor: move;
	cursor: -webkit-grab;
	cursor: -moz-grab;
	cursor: grab;
}

.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing;
}

/* :active to override grabbing cursor */
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,
.pswp__img {
	cursor: -webkit-zoom-out;
	cursor: -moz-zoom-out;
	cursor: zoom-out;
}


/* Prevent selection and tap highlights */
.pswp__container,
.pswp__img,
.pswp__button,
.pswp__counter {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.pswp__item {
	/* z-index for fade transition */
	z-index: 1;
	overflow: hidden;
}

.pswp__hidden {
	display: none !important;
}

/* Allow to click through pswp__content element, but not its children */
.pswp__content {
  pointer-events: none;
}
.pswp__content > * {
  pointer-events: auto;
}


/*

  PhotoSwipe UI

*/

/*
	Error message appears when image is not loaded
	(JS option errorMsg controls markup)
*/
.pswp__error-msg-container {
  display: grid;
}
.pswp__error-msg {
	margin: auto;
	font-size: 1em;
	line-height: 1;
	color: var(--pswp-error-text-color);
}

/*
class pswp__hide-on-close is applied to elements that
should hide (for example fade out) when PhotoSwipe is closed
and show (for example fade in) when PhotoSwipe is opened
 */
.pswp .pswp__hide-on-close {
	opacity: 0.005;
	will-change: opacity;
	transition: opacity var(--pswp-transition-duration) cubic-bezier(0.4, 0, 0.22, 1);
	z-index: 10; /* always overlap slide content */
	pointer-events: none; /* hidden elements should not be clickable */
}

/* class pswp--ui-visible is added when opening or closing transition starts */
.pswp--ui-visible .pswp__hide-on-close {
	opacity: 1;
	pointer-events: auto;
}

/* <button> styles, including css reset */
.pswp__button {
	position: relative;
	display: block;
	width: 50px;
	height: 60px;
	padding: 0;
	margin: 0;
	overflow: hidden;
	cursor: pointer;
	background: none;
	border: 0;
	box-shadow: none;
	opacity: 0.85;
	-webkit-appearance: none;
	-webkit-touch-callout: none;
}

.pswp__button:hover,
.pswp__button:active,
.pswp__button:focus {
  transition: none;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  opacity: 1;
}

.pswp__button:disabled {
  opacity: 0.3;
  cursor: auto;
}

.pswp__icn {
  fill: var(--pswp-icon-color);
  color: var(--pswp-icon-color-secondary);
}

.pswp__icn {
  position: absolute;
  top: 14px;
  left: 9px;
  width: 32px;
  height: 32px;
  overflow: hidden;
  pointer-events: none;
}

.pswp__icn-shadow {
  stroke: var(--pswp-icon-stroke-color);
  stroke-width: var(--pswp-icon-stroke-width);
  fill: none;
}

.pswp__icn:focus {
	outline: 0;
}

/*
	div element that matches size of large image,
	large image loads on top of it,
	used when msrc is not provided
*/
div.pswp__img--placeholder,
.pswp__img--with-bg {
	background: var(--pswp-placeholder-bg);
}

.pswp__top-bar {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 60px;
	display: flex;
  flex-direction: row;
  justify-content: flex-end;
	z-index: 10;

	/* allow events to pass through top bar itself */
	pointer-events: none !important;
}
.pswp__top-bar > * {
  pointer-events: auto;
  /* this makes transition significantly more smooth,
     even though inner elements are not animated */
  will-change: opacity;
}


/*

  Close button

*/
.pswp__button--close {
  margin-right: 6px;
}


/*

  Arrow buttons

*/
.pswp__button--arrow {
  position: absolute;
  top: 0;
  width: 75px;
  height: 100px;
  top: 50%;
  margin-top: -50px;
}

.pswp__button--arrow:disabled {
  display: none;
  cursor: default;
}

.pswp__button--arrow .pswp__icn {
  top: 50%;
  margin-top: -30px;
  width: 60px;
  height: 60px;
  background: none;
  border-radius: 0;
}

.pswp--one-slide .pswp__button--arrow {
  display: none;
}

/* hide arrows on touch screens */
.pswp--touch .pswp__button--arrow {
  visibility: hidden;
}

/* show arrows only after mouse was used */
.pswp--has_mouse .pswp__button--arrow {
  visibility: visible;
}

.pswp__button--arrow--prev {
  right: auto;
  left: 0px;
}

.pswp__button--arrow--next {
  right: 0px;
}
.pswp__button--arrow--next .pswp__icn {
  left: auto;
  right: 14px;
  /* flip horizontally */
  transform: scale(-1, 1);
}

/*

  Zoom button

*/
.pswp__button--zoom {
  display: none;
}

.pswp--zoom-allowed .pswp__button--zoom {
  display: block;
}

/* "+" => "-" */
.pswp--zoomed-in .pswp__zoom-icn-bar-v {
  display: none;
}


/*

  Loading indicator

*/
.pswp__preloader {
  position: relative;
  overflow: hidden;
  width: 50px;
  height: 60px;
  margin-right: auto;
}

.pswp__preloader .pswp__icn {
  opacity: 0;
  transition: opacity 0.2s linear;
  animation: pswp-clockwise 600ms linear infinite;
}

.pswp__preloader--active .pswp__icn {
  opacity: 0.85;
}

@keyframes pswp-clockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/*

  "1 of 10" counter

*/
.pswp__counter {
  height: 30px;
  margin-top: 15px;
  margin-inline-start: 20px;
  font-size: 14px;
  line-height: 30px;
  color: var(--pswp-icon-color);
  text-shadow: 1px 1px 3px var(--pswp-icon-color-secondary);
  opacity: 0.85;
}

.pswp--one-slide .pswp__counter {
  display: none;
}


/* Document collections: local PhotoSwipe theme. */
.document-collection { display: flex; min-width: 0; }
.document-collection > .document-card { width: 100%; }
.document-lightbox { --pswp-bg: #0a121f; }
.document-lightbox .pswp__counter { font-family: inherit; }
.document-lightbox .pswp__document-title { position: absolute; bottom: 14px; left: 64px; right: 64px; color: white; font-size: 17px; line-height: 24px; text-align: center; pointer-events: none; }
@media (max-width: 767px) {
    .document-lightbox .pswp__document-title { left: 16px; right: 16px; bottom: 12px; font-size: 14px; line-height: 20px; }
}
