:root {
    --grid-gap: 64px;
    --color-primary-rgb: 4, 35, 160;
    --color-text-main-rgb: 37, 37, 37;
    --color-text-muted-rgb: 143, 143, 143;
    --color-accent-rgb: 245, 247, 255;
    --color-footer-rgb: 17, 32, 92;
    --bs-accordion-btn-icon-alt: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzkiIGhlaWdodD0iMzkiIHZpZXdCb3g9IjAgMCAzOSAzOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxjaXJjbGUgY3g9IjE5LjQ3MDciIGN5PSIxOS40NzA3IiByPSIxOC40NzA3IiB0cmFuc2Zvcm09Im1hdHJpeCgtMSAwIDAgMSAzOC45NDE0IDApIiBzdHJva2U9IiMwNDIzQTAiIHN0cm9rZS13aWR0aD0iMiIvPg0KPGxpbmUgeDE9IjExLjcxMSIgeTE9IjE1LjY0ODQiIHgyPSIxOS40OTkzIiB5Mj0iMjMuNDM2NiIgc3Ryb2tlPSIjMDQyM0EwIiBzdHJva2Utd2lkdGg9IjIiLz4NCjxsaW5lIHgxPSIxOC4xMTI1IiB5MT0iMjMuNDA0NiIgeDI9IjI2LjY3OTYiIHkyPSIxNS42MTYzIiBzdHJva2U9IiMwNDIzQTAiIHN0cm9rZS13aWR0aD0iMiIvPg0KPC9zdmc+);
}
.google-sans-<uniquifier> {
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "GRAD" 0;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeue-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeue-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeue-Roman.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeue-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeue-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Google Sans", sans-serif;
    font-weight: 400;
    line-height: 1.6;
	font-size: 15px;
    color: rgb(var(--color-text-main-rgb));
}
h1,
.h1 {
    font-family: "Google Sans", sans-serif;
}
h2, h3, h4, h5, h6,
.h2, .h3, .h4, .h5, .h6 {
    font-family: "Google Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    letter-spacing: -1%;
}
h1 {
    display: flex;
    flex-direction: column;
    gap: calc(var(--grid-gap) / 8 * 3);
}
.heading-titre {
    font-weight: 400;
    font-size: 24px;
    letter-spacing: -3%;
}
.heading-h1 {
    font-weight: 300;
    font-size: 80px;
    line-height: 76.8px;
    letter-spacing: -2px;
    text-transform: uppercase;
}
.container {
    max-width: 1180px;
}
.map-wrapper {
    position: relative;
}
.map-wrapper-panel {
    background-color: rgb(225, 225, 235, 0.75);
    backdrop-filter: blur(2px);
    border-radius: 20px;
    padding: 32px;
    position: absolute;
    bottom: 64px;
    left: 32px;
}
.header-wrapper {
    background: rgba(255, 255, 255, 0.81);
    backdrop-filter: blur(2px);
}
.navbar {
    padding-top: 24px;
    padding-bottom: 24px;
}
.navbar-nav .nav-link {
    position: relative;    
    color: rgb(var(--color-text-main-rgb));
}
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 24px;
    padding-left: 24px;
}
.navbar-nav .nav-link::after {
    content: '';
    height: 1px;
    width: 0%;
    background-color: #252525;
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    transition: width .2s ease-out;
}
.navbar-nav .nav-link.active::after, 
.navbar-nav .nav-link.show::after {
    width: calc(100% - 48px);
}
.bg-accent {
    background-color: rgb(225, 225, 235, 0.75);
}
.arrow-btn {
    color: rgb(var(--color-primary-rgb));
    border: none;
    outline: none;
    border-bottom: 2px solid rgb(var(--color-primary-rgb));
    position: relative;
    background: transparent;
    padding-right: 50px;
    margin-bottom: 24px;
    padding-left: 0;
    text-align: left;
    text-decoration: none;
    display: inline-block;
}
.arrow-btn::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(calc(50% - 2px), calc(50% + 1px));
    width: 51px;
    height: 51px;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIHZpZXdCb3g9IjAgMCA1MCA1MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik0yNC45NTgxIDFDMTEuNzI4IDEgMS4wMDAxMiAxMS43NDM2IDEuMDAwMTIgMjVDMS4wMDAxMiAzOC4yNTY0IDExLjcyOCA0OSAyNC45NTgxIDQ5QzM4LjE4ODIgNDkgNDguOTE2MSAzOC4yNTY0IDQ4LjkxNjEgMjVDNDguOTE2MSAxMS43NDM2IDM4LjE4ODIgMS4wMDAwNCAyNC45NTgxIDFaIiBzdHJva2U9IiMwNDIzQTAiIHN0cm9rZS13aWR0aD0iMiIvPg0KPGxpbmUgeDE9IjIyLjU1NTEiIHkxPSIzMS42NTQ1IiB4Mj0iMjguOTI5MSIgeTI9IjI1LjI4MDQiIHN0cm9rZT0iIzA0MjNBMCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4NCjxsaW5lIHgxPSIyOC45MzE1IiB5MT0iMjUuMjIwMiIgeDI9IjIyLjQ4ODYiIHkyPSIxOC4xMzMiIHN0cm9rZT0iIzA0MjNBMCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4NCjwvc3ZnPg==");
}
.arrow-btn-modal {
    width: calc(100% - 25px);
}
section {
    margin: 50px 0;
}
footer {
    margin-top: 120px;
}
.hero-brand {
    font-family: "Google Sans", sans-serif;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.title-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: var(--grid-gap);
}
.title-nav {
    display: none;
    flex-direction: row;
    align-items: center;
    transform-origin: center;
    transform: rotate(90deg);
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.title-nav a {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
    text-decoration: none;
    color: rgb(var(--color-text-main-rgb));
    display: block;
}
.title-nav > *:hover a {
    color: rgb(var(--color-text-muted-rgb));
}
.title-nav > * {    
    position: relative;
}
.title-nav > *:nth-child(n + 2) {
    margin-left: 7px;
    padding-left: 8px;
}
.title-nav > *:nth-child(n + 2)::before {
    content: '';
    display: inline-flex;
    background-color: rgb(var(--color-text-main-rgb));
    width: 1px;
    height: 14px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.title-content h2 {
    font-weight: 400;
    font-size: 24px;
    letter-spacing: -3%;
}
.text-secondary,
.title-description {
    color: rgb(var(--color-text-muted-rgb));
}
.title-wrapper.right {
    flex-direction: row-reverse;
}
.title-wrapper.right .title-content {
    text-align: right;
}
.title-wrapper.right .title-nav a {
    transform: rotate(180deg);
}
.counter-block {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #EDEDED;
    justify-content: center;
    height: 100%;
    padding-top: 16px;
    padding-bottom: 16px;
    margin: 0 20px;
}
.counter-digits {
    color: rgb(var(--color-primary-rgb));
    font-family: "Google Sans", sans-serif;
    font-weight: 200;
    font-size: 96px;
    line-height: 91px;
    letter-spacing: -5.2px;
}
.accordion {
    counter-reset: accordion-counter;
    margin: 20px 0;
}
.accordion-item,
.accordion-button:not(.collapsed) {
    border: none;
    background: transparent;
}
.accordion-button {
    display: flex;
    flex-direction: row;
    gap: var(--grid-gap);
    align-items: flex-start;
    border: none;
    padding-top: 16px;
    padding-bottom: 42px;
    background: transparent;
}
.accordion-button::before {
    counter-increment: accordion-counter;
    content: counter(accordion-counter, decimal-leading-zero);
    font-weight: 400;
    font-size: 16px;
    line-height: 25.2px;
    letter-spacing: -0.5px;
    margin-right: calc(var(--grid-gap) / 2);
}
.accordion-button::after,
.accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-icon-alt);
    width: 38px;
    height: 38px;
    background-size: 38px 38px;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0);
}
.accordion > .accordion-item:not(:first-child) {
    border-top: 5px solid rgba(255, 255, 255);
}
.accordion-item {
    padding-top: 8px;
}
.accordion-item:not(:first-child) {
    padding-top: 24px;
}
.end {
	display: flex;
	justify-content: flex-end;
}

@media (min-width: 769px) and (max-width: 1399px) {
    .accordion-button-title {
        min-width: 180px;
    }
    .accordion-body {
        padding-left: calc(var(--grid-gap) / 2 * 5 + 205px);
    }
	.hero {
		margin: 25px 0;
	}
	.heading-h1 {
    font-weight: 300;
    font-size: 60px;
    line-height: 76.8px;
    letter-spacing: -2px;
    text-transform: uppercase;
	}
	.heading-titre {
    font-weight: 400;
    font-size: 20px;
	}
}
@media (min-width: 1400px) {
    .accordion-button-title {
        min-width: 240px;
    }
    .accordion-body {
        padding-left: calc(var(--grid-gap) / 2 * 5 + 240px + var(--bs-accordion-btn-padding-x));
    }
}


.card-accent {
    background-color: rgb(225, 225, 235, 0.75);
    border: none;
    border-radius: calc(var(--grid-gap) / 4);
    padding: calc(var(--grid-gap) / 8 * 3);
}
.arrow-btn,
.accordion-button-title,
.card-accent .card-title,
.modal-title {
    font-family: "Google Sans", sans-serif;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.5px;
    color: rgb(var(--color-primary-rgb));
}
.card-accent .card-title {
    padding-top: 4px;
}
.card-title-wrapper {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-bottom: 20px;
    justify-content: space-between;
}
.card-text {
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: -3%;
}
footer {
    background-color: rgb(var(--color-footer-rgb));
}
footer>.container {
    background-image: url(../map-footer.svg);
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 64px;
    padding-bottom: 64px;
}
footer a {
    text-decoration: none;
    color: #fff;
}
.contacts-row {
    display: flex;
    flex-direction: row;
    gap: 42px;
}
.contacts-row * {
    font-family: "Google Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.5px;
}
.contacts-row-title {
    color: #FFFFFF7D;
}
.contacts-row + .contacts-row {
    margin-top: 28px;
}
.msg-grid {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 0;
    margin: 0;
}
.msg-grid img {
    display: block;
    width: 30px;
    height: 30px;
}
.modal-content {
    background-color: transparent;
}
.modal-header,
.modal-body {
    background-color: #f8f9fa; /* Обновлённый фон */
}
.modal-header {
    border-top-right-radius: 21px;
    border-top-left-radius: 21px;
    border-bottom: none;
    padding-bottom: 12px;
}
.modal-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 21px;
}
.modal-body {
    border-bottom-right-radius: 21px;
    border-bottom-left-radius: 21px;
    padding-top: 0;
}
.modal-content,
.modal-footer {
    border: none;
}
.modal-content p {
    font-weight: 400;
    font-size: 20px;
    line-height: 23px;
}
.modal-backdrop {
    background-color: rgba(255, 255, 255, 0.81);
    backdrop-filter: blur(2px);
    opacity: 1 !important;
}
.modal-content .form-text {
    font-weight: 300;
    font-size: 14px;
    letter-spacing: -0.5px;
}
#service .title-wrapper {
    margin-bottom: 5px !important;
}
#about .title-wrapper {
    margin-bottom: 32px !important;
}
#why .title-wrapper {
    margin-bottom: 32px !important;
}
/* Уменьшение пробела между текстом и списком в аккордеоне */
.accordion-body p {
    margin-bottom: 8px !important;
}

/*.counter-block {
    text-align: center;
}*/
}

/* Мобильная адаптация */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #ffffff !important;
        padding: 16px 0 !important;
        margin-top: 16px !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
        border: none !important;
    }
}
@media (max-width: 768px) {
    .heading-h1 {
        font-size: 30px !important;
        line-height: 1.2 !important;
        letter-spacing: -1px !important;
    }
    .heading-titre {
        font-size: 16px !important;
    }
    .map-wrapper {
        display: flex;
        flex-direction: column;
    }
    .map-wrapper-panel {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        margin-bottom: 20px;
        padding: 20px;
    }
    .map-wrapper img {
        order: 2;
    }
    .navbar-nav .nav-link {
        padding: 12px 16px !important;
        font-size: 18px;
    }
    .navbar-collapse {
        margin-top: 15px;
    }
    section {
        margin: 30px 0 !important;
    }
    footer {
        margin-top: 80px !important;
    }
    .title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .title-nav {
        transform: none !important;
        flex-direction: row;
        gap: 15px;
    }
    .title-wrapper.right .title-nav a {
        transform: none !important;
    }
    .title-wrapper.right .title-content {
        text-align: left !important;
    }
    .counter-block {
        margin: 10px 0 !important;
        text-align: center;
    }
    .counter-digits {
        font-size: 48px !important;
        line-height: 1 !important;
    }
    #why .row {
        flex-direction: column;
        gap: 20px;
    }
    #why .col {
        margin-bottom: 15px;
    }
    .accordion-button {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0 !important;
    }
    .accordion-button::before {
        margin-right: 0;
        margin-bottom: 10px;
    }
    footer .row.justify-content-between {
        flex-direction: column;
        gap: 30px;
    }
    footer > .container {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }
    footer .contacts-row,
    footer .contacts-row * {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
    .contacts-row {
        flex-direction: column;
        gap: 8px !important;
    }
    .justify-end-md .row {
        justify-content: space-between;
        align-items: flex-end;
    }
    .modal-dialog {
        margin: 20px;
    }
    .arrow-btn-modal {
        width: 100% !important;
        text-align: center;
    }
    .nav-link, 
    .arrow-btn, 
    .msg-grid a,
    .btn-close {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .msg-grid img {
        width: 40px;
        height: 40px;
    }
	/* Сжатие футера на мобильных */
footer > .container {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}
footer .contacts-row {
    gap: 12px !important; /* вместо 28px между строками */
}
footer .contacts-row + .contacts-row {
    margin-top: 12px !important;
}
footer .contacts-row * {
    font-size: 14px !important;
    line-height: 1.4 !important;
}/* Центрирование блоков с цифрами на мобильных */
#about .row > .col-auto {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
}
#about .counter-block {
    text-align: center;
    margin: 10px 0 !important;
    max-width: 200px; /* Ограничиваем ширину, чтобы текст не растягивался */
}
/* Уменьшение фона под цифрами на мобильных */
#about .counter-block {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin: 0 !important;
}
#service .title-wrapper {
    margin-bottom: 16px !important;
}
 #about .title-wrapper {
        margin-bottom: 16px !important;
    }
#why .title-wrapper {
    margin-bottom: 16px !important;
}
/* Горизонтальное размещение блоков с цифрами в "О компании" — мобильные */
#about .row:nth-of-type(2) {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
#about .row:nth-of-type(2) > .col-auto {
    flex: 0 1 auto;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}
#about .counter-block {
    text-align: center;
    padding-top: 8px;
    padding-bottom: 8px;
}
.accordion-body p {
    margin-bottom: 4px !important;
}
.accordion-body ul {
    margin-top: 2px !important;
    padding-left: 16px !important;
}
.1 {
	margin-bottom: -15px !important;
}
.end {
	display: flex;
	justify-content: flex-start;
}
}
@media (max-width: 576px) {
    .heading-h1 {
        font-size: 36px !important;
    }
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .map-wrapper-panel {
        padding: 15px;
    }
    .card-accent {
        padding: 20px;
    }
    .navbar-brand {
        font-size: 18px;
    }
footer > .container {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}
footer .contacts-row {
    gap: 12px !important;
}
footer .contacts-row + .contacts-row {
    margin-top: 12px !important;
}
footer .contacts-row * {
    font-size: 14px !important;
    line-height: 1.4 !important;
}/* Центрирование блоков с цифрами на мобильных */
#about .row > .col-auto {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
}
#about .counter-block {
    text-align: center;
    margin: 10px 0 !important;
    max-width: 200px; /* Ограничиваем ширину, чтобы текст не растягивался */
}
/* Уменьшение фона под цифрами на мобильных */
#about .counter-block {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin: 0 !important;
}
#service .title-wrapper {
    margin-bottom: 16px !important;
}
 #about .title-wrapper {
        margin-bottom: 16px !important;
    }
#why .title-wrapper {
    margin-bottom: 16px !important;
}
/* Горизонтальное размещение блоков с цифрами в "О компании" — мобильные */
#about .row:nth-of-type(2) {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
#about .row:nth-of-type(2) > .col-auto {
    flex: 0 1 auto;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}
#about .counter-block {
    text-align: center;
    padding-top: 8px;
    padding-bottom: 8px;
}
.accordion-body p {
    margin-bottom: 4px !important;
}
.accordion-body ul {
    margin-top: 2px !important;
    padding-left: 16px !important;
}
.end {
	display: flex;
	justify-content: flex-start;
}
@media (max-width: 392px) {
    .map-wrapper-panel br {
        display: none;
    }
}
}