
@font-face {
    font-family: 'SN Pro';
    src: url("fonts/SNPro-VariableFont_wght.ttf");
}

@font-face {
    font-family: 'Rajdhani';
    src: url("fonts/Rajdhani.woff2");
}

@font-face {
    font-family: 'Inter';
    src: url("fonts/Inter-VariableFont.ttf");
}

@font-face {
    font-family: 'Monserrat';
    src: url("fonts/Montserrat-VariableFont_wght.ttf");
}


:root {
    --blue-dark: #0a1f44;
    --blue-main: #1565c0;
    --blue-deep: #0d47a1;
    --blue-mid: #0b56a4;
    --blue-nav: #0a3d7a;
    --blue-light: #e8f0fe;
    --blue-border: #dbeafe;
    --text-muted: #64748b;
    --text-body: #475569;
    --text-strong: #1e3a5f;
    --white: #ffffff;
    --radius-card: 20px;
    --radius-pill: 50px;
    --shadow-card: 0 8px 40px rgba(0, 60, 160, 0.10);
    --transition: 0.2s ease;
}


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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'SN Pro', 'Inter', sans-serif;
    background: url("img/bg2.jpg") center 100px / cover no-repeat;
    background-attachment: fixed;
    margin-top: 30px;
    overflow-x: hidden;
    color: var(--blue-dark);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}


hr.gradient {
    width: 100%;
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #3498db, transparent);
    margin: 32px 0;
}

.card-block {
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.75) 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.section-title {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 700;
    color: var(--blue-dark);
    line-height: 1.2;

}

.section-info {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-body);
    font-family: 'Inter', sans-serif;
    margin-top: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #0071bc, #0071bc);
    color: white;
    box-shadow: 0 4px 16px rgba(13, 71, 161, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--blue-main);
    border: 2px solid var(--blue-main);
}

.btn-secondary:hover {
    background: #f0f5ff;
}


.header {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 16px;
    z-index: 1000;
    width: 100%;
    padding: 0 16px;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    background: #0071bc;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: var(--radius-pill);
    padding: 10px 16px;
    box-shadow: 0 8px 32px rgba(0, 60, 160, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.header-logo {
    border-radius: 40px;
    padding: 7px 14px;
    flex-shrink: 0;
    max-width: 230px;
}

.header-logo svg {
    width: 170px;
    height: 44px;
    display: block;
}

.header-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

.menu-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.header-order-call {
    margin-left: auto;
    flex-shrink: 0;
}

.header-order-call-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    padding: 9px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: background var(--transition);
    white-space: nowrap;
}

.header-order-call-wrap:hover {
    background: rgba(255, 255, 255, 0.25);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    transition: background var(--transition);
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


.about {
    display: flex;
    justify-content: center;
    padding: 24px 16px 12px;
}

#about {
    scroll-margin-top: 80px;
}

#us {
    scroll-margin-top: 100px;
}

#services {
    scroll-margin-top: 100px;
}

#contact {
    scroll-margin-top: 100px;
}
#choose{
    scroll-margin-top: 100px;
}
.about-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
    min-height: 560px;
}

.about-left {
    flex: 0 0 46%;
    padding: 48px 40px;
    min-width: 0;
}

.mini-title {
    display: inline-flex;
    align-items: center;
    background: #0071BC;
    color: white;
    border: 1px solid #93c5fd;
    border-radius: 9px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    margin-bottom: 20px;
    width: 81%;
}
.mini-title svg{
    margin-right: 8px;
    fill: white;
    stroke: white;
}
.mini-title svg g{
    fill: white;
}

.main-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

.main-title-1 {
    font-size: clamp(24px, 3.5vw, 38px);
    line-height: 1.1;
    color: var(--blue-dark);
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;

}
.main-title-1 span{
    color: #003876;
    margin-top: 5px;
}

.main-title-2 {
    font-size: clamp(20px, 3vw, 34px);
    line-height: 1.15;
    color: var(--blue-main);
    margin-top: 5px;
}

.info-title {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: var(--text-body);
    line-height: 1.65;
    max-width: 500px;
    margin-top: 20px;
}
.info-title-item{
    display: flex;
    align-items: center;


}
.info-title-item-text{
    margin-left: 5px;
}
.info-title-item svg{
    width: 25px;
    height: 25px;
}
.marker-container{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 30px;
}
.marker{
    content: '';
    width: 11px;
    height: 11px;
    background-color: #007bff;
    border: 2px solid #e5e5e5;
    border-radius: 50%;
    box-shadow: 0 0 5px #005afe80;
    animation: techPulse 1.5s ease-in 1s infinite alternate;
}

/* Базовое состояние для ПК (всплывает в правом нижнем углу экрана) */
#form-status {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 350px;
    box-sizing: border-box;
    padding: 16px 20px;
    border-radius: 12px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999999; /* Поверх всего */
    
    /* Эффект появления: плавное проявление и вылет слева направо */
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease, visibility 0.4s;
}

/* Класс показа */
#form-status.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Градиенты статусов */
#form-status.loading { background: linear-gradient(135deg, #0071bc, #0d47a1); box-shadow: 0 10px 25px rgba(13, 71, 161, 0.3); }
#form-status.success { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3); }
#form-status.error   { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3); }

/* Мобильная адаптация (Экран меньше 640px) */
@media screen and (max-width: 639px) {
    #form-status {
        left: 20px;
        right: 20px;
        bottom: 20px;
        width: calc(100% - 40px); /* Четко по ширине экрана смартфона с отступами */
        transform: translateY(50px); /* На мобилках вылетает снизу вверх */
    }
    
    #form-status.show {
        transform: translateY(0);
    }
}

/* Спиннер анимации */
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.status-spin { animation: spin 1s linear infinite; }
@keyframes techPulse {
    0% { transform: scale(1);
        }
    50% { transform: scale(1.2); }
    100% { transform: scale(1);
        background-color: #0066ff;}
}



.about-stats {
    display: flex;
    gap: 24px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--blue-main);
    font-family: 'Rajdhani', sans-serif;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
}

.about-actions {
    display: flex;
    gap: 14px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.about-right {
    flex: 0 0 54%;
    max-width: 54%;
    position: relative;
    align-self: stretch;
    overflow: hidden;
}

.about-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image:
            linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 100%),
            linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 4%, rgba(0, 0, 0, 1) 94%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image:
            linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 100%),
            linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 4%, rgba(0, 0, 0, 1) 94%, rgba(0, 0, 0, 0) 100%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
}


.about-badge {
    background: white;
    border-radius: 40px;
    padding: 10px 18px 10px 10px;
    box-shadow: 0 8px 30px rgba(0, 60, 160, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 100, 200, 0.1);
    white-space: nowrap;
    position: absolute;
    bottom: 36px;
    left: 51%;
    transform: translateX(-50%);
}

.about-badge-icon {
    width: 36px;
    height: 36px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-primary {
    font-weight: 700;
    font-size: 14px;
    color: var(--blue-dark);
    font-family: 'Inter', sans-serif;
}

.badge-secondary {
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
}


.us {
    display: flex;
    justify-content: center;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
}

.us-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.us-left {
    flex: 0 0 58%;
    padding: 48px 40px;
    min-width: 0;
}

.us-left .section-title {
    margin-bottom: 16px;
}

.us-right {
    flex: 0 0 42%;
    align-self: stretch;
    overflow: hidden;
}

.us-right img {
    width: 100%;
    height: 103%;
    object-fit: cover;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 6%, rgba(0, 0, 0, 1) 92%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 6%, rgba(0, 0, 0, 1) 92%, rgba(0, 0, 0, 0) 100%);
}

.us-info1 {
    color: #334155;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    text-align: justify;

}
.us-left hr{
    margin: 26px 0;
}

.us-info2 {
    color: var(--text-body);
    font-size: 18px;
    line-height: 1.5;
    text-align: justify;
    font-family: 'Monserrat' , sans-serif;
}

.us-advantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.us-advantage {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--blue-border);
    border-radius: 12px;
    background: #f0f7ff;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-strong);
    transition: border-color var(--transition), background var(--transition);
}

.us-advantage:hover {
    border-color: #93c5fd;
    background: var(--blue-light);
}

.advantage-mark {
    width: 28px;
    height: 28px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}


.services {
    display: flex;
    justify-content: center;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
}

.services-container {
    width: 100%;
    max-width: 1200px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-container .section-title,
.services-container .section-info {
    text-align: center;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    margin-top: 8px;
}

.service {
    background: white;
    border: 1.5px solid #e8f0fe;
    border-radius: 16px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service:hover {
    transform: translateY(-4px);
    border-color: #93c5fd;
    box-shadow: 0 12px 30px rgba(21, 101, 192, 0.12);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0071bc, #0071bc);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(13, 71, 161, 0.35);
}

.service-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--blue-dark);
    margin-top: 18px;
    line-height: 1.3;
}

.service-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.65;
}


.choose {
    display: flex;
    justify-content: center;
    padding: 12px 16px;
}

.choose-container {
    width: 100%;
    max-width: 1200px;
    padding: 48px 40px;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.choose-container .section-title,
.choose-container .section-info {
    text-align: center;
}

.choose-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    margin-top: 8px;
}

.choose-item {
    background: white;
    border: 1.5px solid #e8f0fe;
    border-radius: 16px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    cursor: default;
}

.choose-item:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 24px rgba(21, 101, 192, 0.1);
    transform: translateY(-3px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 18%, rgba(11, 86, 164, 0.05) 100%);
    color: #0a1628;
}

.choose-item-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(13, 71, 161, 0.35);
}

.choose-item-icon svg {
    stroke: white;
}

.choose-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #0a3d8f;
    margin: 14px 0 8px 0;
    line-height: 1.3;

}

.choose-item-info {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.6;
}

/* Gallery */
.choose-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
}

.choose-gallery-item {
    padding: 3px;
    border-radius: 16px;
    border: 1px solid var(--blue-border);
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.choose-gallery-item img {
    border-radius: 13px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.gallery-img-text{
    font-size: 19px;
    position: absolute;
    inset: 3px;
    background: rgba(0, 113, 188, 0.3);
    border-radius: 13px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    outline: 1px solid white;
    outline-offset: -13px;
    padding: 10px;
    z-index: 100;
    color: white;
    font-weight: 200;
}
.gallery-img-text::before{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    border-bottom-right-radius: 20px;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #0071bc;
    width: 20%;
    height: 35%;
}

.contact {
    display: flex;
    justify-content: center;
    padding: 12px 16px 24px;
    font-family: 'Inter', sans-serif;
}

.contact-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    gap: 0;
    overflow: hidden;
}

.contacts-contacts {
    flex: 0 0 42%;
    padding: 48px 40px;
    min-width: 0;
}

.contacts-title {
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 700;
    color: var(--blue-dark);
    line-height: 1.2;
}

.contacts-info {
    font-size: 17px;
    color: var(--text-body);
    margin-top: 10px;
    line-height: 1.6;
}

.contacts-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacts-block-tel,
.contacts-block-email,
.contacts-block-address {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-icon {
    width: 46px;
    height: 46px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 3px;
}

.contact-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-strong);
    transition: color var(--transition);
    display: flex;
    flex-direction: column;

}

.contact-value-item {
    margin: 5px 0;
}

a.contact-value:hover {
    color: var(--blue-main);
}

.contact-sub {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 2px;
}

.contacts-form {
    flex: 1;
    border-left: 1px solid rgba(0, 80, 180, 0.1);
    padding: 48px 40px;
    background: rgba(240, 247, 255, 0.5);
    min-width: 0;
}

.form-container {
    max-width: 520px;
}

.form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--blue-dark);
}

.form-info {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.form-row {
    display: flex;
    gap: 14px;
}

.form-group {
    flex: 1;
    margin-bottom: 16px;
    min-width: 0;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.optional {
    font-weight: 400;
    color: #9ca3af;
}

input,
textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--blue-dark);
    transition: border-color var(--transition), box-shadow var(--transition);
}

input::placeholder,
textarea::placeholder {
    color: #b0bec5;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--blue-main);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
    background: white;
}

textarea {
    height: 110px;
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0071bc, #0071bc);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity var(--transition), transform 0.15s, box-shadow var(--transition);
    box-shadow: 0 4px 16px rgba(13, 71, 161, 0.35);
    margin-top: 4px;
}

.submit-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.45);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-disclaimer {
    margin-top: 14px;
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    line-height: 1.5;
}
.contacts-block a:hover{
    color: #0071bc;
}


.footer {
    background: #0a1628;
    font-family: 'Inter', sans-serif;
    padding: 48px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-blocks {
    display: flex;
    gap: 40px;
    padding-bottom: 32px;
}

.footer-block1 {
    flex: 0 0 40%;
}

.footer-logo {
    border-radius: 20px;
    width: 280px;
}

.footer-logo img {
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-block2 {
    flex: 1;
    display: flex;
    gap: 40px;
}

.footer-nav,
.footer-contacts-col {
    flex: 1;
}

.footer-title {
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.footer-nav-links,
.footer-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-link,
.footer-contacts-item {
    font-size: 14px;
    color: #94a3b8;
    transition: color var(--transition);
    display: block;
}

.footer-nav-link:hover,
.footer-contacts-item:hover {
    color: #e2e8f0;
}

.footer-hr {
    border: none;
    border-top: 1px solid #1e3a5f;
    margin: 0;
}

.under-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.under-footer-2:hover {
    color: #94a3b8;
}
.contacts-block > div:last-child .contact-value {
    display: block;
}
.dialog-politics{
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    color: #063560;
    flex-direction: column;
    backdrop-filter: blur(10px);
    font-size: 17px;
    overflow-y: auto;
    padding: 40px 20px;

}
.dialog-politics-container {
    display: block;
    width: 85%;
    height: 100%;



}
body.modal-open {
    overflow: hidden;
}
.dialog-politics h2{
    margin: 10px 0;
}
.dialog-politics-close{
    display: flex;
    align-items: center;
    border: 1px solid red;
    color: white;
    padding: 10px;
    margin: 20px auto;
    border-radius: 10px;
    justify-content: center;
    background: darkred;
    width: 300px;
}
.politics_button{
    text-decoration: underline;
    cursor: pointer;
}
.politics_button:hover {
    color: #0a1f44;
}
.politics-open{
    display: flex;
}
.dialog-politics-container h1{
    margin: 15px auto;
}
.politics-text{
    margin-bottom: 15px;
}

#myCarousel {
    height: 100%;
    --f-transition-duration: 1.5s;

    --f-arrow-pos: 30px;
    --f-arrow-width: 50px;
    --f-arrow-height: 50px;
    --f-arrow-color: rgba(255, 255, 255, 0.5);
    --f-arrow-bg: rgba(255, 255, 255, 0.2);
    --f-arrow-border-radius: 50%;
    --f-arrow-svg-stroke-width: 3;

    --f-carousel-dots-top: auto;
    --f-carousel-dots-bottom: 0;
    --f-carousel-dot-width: 12px;
    --f-carousel-dot-height: 12px;
    --f-carousel-dot-transition: all 0.3s ease;

    margin: 0 auto;
    max-width: 900px;

    color: #eee;
    overflow: hidden;
}

#myCarousel .f-carousel__slide {
    position: relative;
    overflow: hidden;
}

#myCarousel .f-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transform: scale(1.1);
    transition:
            transform 7s ease,
            opacity 2s ease;
    will-change: transform, opacity;

    filter:  contrast(1.1) brightness(0.9);
}

#myCarousel .f-carousel__slide.is-selected img {
    transform: scale(1);
    opacity: 1;
}

#myCarousel .f-carousel__slide .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.1)
    );
    z-index: 1;
}

#myCarousel .f-carousel__slide .caption {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: #eee;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 1s ease 0.5s;
    z-index: 2;
}

#myCarousel .f-carousel__slide.is-selected .caption {
    opacity: 1;
    transform: translateY(0);
}
.f-carousel__dots{
    margin-bottom: 10px;
}
.is-horizontal.is-ltr .f-button.is-arrow.is-prev{
    left: 10px;
}

@media (max-width: 1100px) {
    .choose-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-left {
        padding: 36px 28px;
    }

    .us-left {
        padding: 36px 28px;
    }
}

@media (max-width: 990px) {
    .header-order-call {
        display: none;
    }
}


@media (max-width: 820px) {
    .hamburger {
        display: flex;
    }


    .about-container {
        flex-direction: column-reverse;
        min-height: auto;
    }

    .about-left {
        flex: none;
        width: 100%;
        padding: 28px 28px 36px;
    }

    .about-right {
        flex: none;
        max-width: 100%;
        width: 100%;
        height: 280px;
    }

    .about-right img {
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
    }


    .about-badge {
        position: relative;
        transform: none;
        bottom: auto;
        left: auto;
        display: inline-flex;
        margin-top: 20px;
        align-self: flex-start;
    }


    .us-container {
        flex-direction: column;
    }

    .us-left {
        flex: none;
        width: 100%;
        padding: 36px 28px 24px;
    }

    .us-right {
        flex: none;
        width: 100%;
        height: 320px;
    }

    .us-right img {
        height: 100%;
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 8%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 8%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
    }


    .contact-container {
        flex-direction: column;
    }

    .contacts-contacts {
        flex: none;
        width: 100%;
        padding: 36px 28px 24px;
    }

    .contacts-form {
        border-left: none;
        border-top: 1px solid rgba(0, 80, 180, 0.1);
        padding: 28px;
        width: 100%;
    }

    .form-container {
        max-width: 100%;
    }


    .choose-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .header-menu {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        flex-direction: column;
        background: linear-gradient(135deg, #0071bc, #0071bc);
        border-radius: 16px;
        padding: 16px;
        gap: 4px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
        margin-left: 0;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .header-menu.open {
        display: flex;
    }

    .menu-item {
        font-size: 16px;
        text-align: center;
        padding: 12px 10px;
        border-radius: 10px;
    }
}


@media (max-width: 640px) {
    body {
        margin-top: 12px;
    }

    /* Header */
    .header {
        top: 8px;
        padding: 0 12px;
    }

    .header-container {
        padding: 8px 12px;
        border-radius: 16px;
        gap: 8px;
    }

    .header-logo {
        padding: 5px 10px;
        max-width: 160px;
    }

    .header-logo svg {
        width: 120px;
        height: 32px;
    }



    .about {
        padding: 14px 12px 8px;
    }

    .about-right {
        height: 200px;
    }

    .about-left {
        padding: 20px 18px 24px;
    }

    .info-title {
        font-size: 15px;
    }

    .mini-title {
        font-size: 12px;
        width: auto;
    }

    .about-stats {
        gap: 16px;
    }

    .stat-num {
        font-size: 22px;
    }

    .about-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        padding: 13px 20px;
        font-size: 15px;
    }

    .about-badge {
        margin-top: 14px;
    }


    .us,
    .services,
    .choose,
    .contact {
        padding: 8px 12px;
    }

    .us-left,
    .contacts-contacts,
    .contacts-form {
        padding: 22px 16px;
    }

    .services-container,
    .choose-container {
        padding: 22px 16px;
    }


    .us-right {
        height: 300px;
    }

    .us-info1 {
        font-size: 16px;
    }

    .us-info2 {
        font-size: 14px;
    }

    .us-advantages {
        grid-template-columns: 1fr;
    }

    .us-advantage {
        font-size: 14px;
        padding: 12px 14px;
    }


    .services-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        padding: 16px 14px;
        gap: 14px;
    }

    .service-icon {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .service>div:not(.service-icon) {
        flex: 1;
    }

    .service-title {
        margin-top: 0;
        font-size: 15px;
    }

    .service-description {
        font-size: 13px;
        margin-top: 4px;
    }


    .choose-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .choose-item {
        padding: 14px 12px;
    }

    .choose-item-icon {
        width: 38px;
        height: 38px;
    }

    .choose-item-title {
        font-size: 13px;
        margin-top: 10px;
    }

    .choose-item-info {
        font-size: 12px;
    }


    .choose-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }


    .contacts-info {
        font-size: 15px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }


    .footer-container {
        padding: 0 16px;
    }

    .footer-blocks {
        flex-direction: column;
        gap: 24px;
    }

    .footer-block1 {
        flex: none;
    }

    .footer-block2 {
        gap: 24px;
    }

    .footer-logo,
    .footer-logo img {
        width: 200px;
    }

    .footer-logo img{
        height: 44px;
    }

    .footer-description {
        max-width: 100%;
    }

    .under-footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 16px 0;
    }

    .dialog-politics-container h1{
        font-size: 25px;
    }

    .dialog-politics-close{
        width: 250px;
    }
}


@media (max-width: 420px) {
    .main-title-1 {
        font-size: 21px;
    }

    .main-title-2 {
        font-size: 17px;
    }

    .section-title,
    .contacts-title {
        font-size: 21px;
    }


    .choose-items {
        grid-template-columns: 1fr;
    }

    .footer-block2 {
        flex-direction: column;
    }

    .about-right {
        height: 170px;
    }

    .us-right {
        height: 225px;
    }
}

@media (max-width: 413px) {
    .info-title-item:last-child .marker{

    }

    .info-title-item:last-child .marker-container{
        height: 37px;
        align-items: flex-start;
    }

}
