@font-face {
    font-family: 'NissanBrand';
    src: url('fonts/NissanBrand-300.woff2') format('woff2'),
         url('fonts/NissanBrand-300.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NissanBrand';
    src: url('fonts/NissanBrand-400.woff2') format('woff2'),
         url('fonts/NissanBrand-400.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NissanBrand';
    src: url('fonts/NissanBrand-700.woff2') format('woff2'),
         url('fonts/NissanBrand-700.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-display: swap;
    font-family: 'Iconfont';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/Iconfont.woff2') format('woff2'),
         url('fonts/Iconfont.woff') format('woff');
}

/* Глобальные настройки и CSS-переменные */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --brand-color: #c3002f;
    --brand-hover: #9e0024;
    --text-primary: #121212;
    --text-secondary: #495057;
    --text-muted: #868e96;
    --border-color: #dee2e6;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.08);
    --font-main: 'NissanBrand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica Neue, Arial, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-header: 0 2px 10px rgba(0, 0, 0, 0.05);
}

html {
    scroll-padding-top: 100px; /* Смещение для фиксированной шапки */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Оригинальная типографика Nissan */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-main);
    font-weight: 300;
    color: var(--text-primary);
    margin-top: 0;
    margin-bottom: 20px;
}

h1, .h1 {
    font-size: 28px;
    line-height: 1.2;
}

h2, .h2 {
    font-size: 28px;
    line-height: 1.22;
}

h3, .h3 {
    font-size: 22px;
    line-height: 1.27;
}

h4, .h4 {
    font-size: 20px;
    line-height: 1.4;
}

@media (min-width: 768px) {
    h1, .h1 {
        font-size: 40px;
        line-height: 1.2;
    }
    h2, .h2 {
        font-size: 36px;
        line-height: 1.22;
    }
    h3, .h3 {
        font-size: 32px;
        line-height: 1.25;
    }
    h4, .h4 {
        font-size: 24px;
        line-height: 1.33;
    }
}

/* Общие контейнеры */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--brand-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--brand-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--text-primary);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-link {
    background: none;
    border: none;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-link::after {
    content: '→';
    transition: var(--transition-fast);
}

.btn-link:hover::after {
    transform: translateX(4px);
    color: var(--brand-color);
}

.btn-link:hover {
    color: var(--brand-color);
}

/* Шапка сайта */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.header-top {
    border-bottom: 1px solid var(--glass-border);
    padding: 8px 0;
    font-size: 12px;
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info-top {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-item svg {
    color: var(--brand-color);
    width: 14px;
    height: 14px;
}

.header-bottom {
    padding: 15px 0;
}

.header-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 32px;
    width: auto;
    display: block;
}

.header .logo img {
    filter: brightness(0); /* Черный логотип на светлой шапке */
}

.footer .logo img {
    filter: brightness(1); /* Белый/оригинальный логотип на темном подвале */
}

.logo-text {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.05em;
    border-left: 2px solid var(--brand-color);
    padding-left: 10px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-color);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--brand-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Мобильный бургер */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* Основной контент */
main {
    margin-top: 96px;
}

/* Компактный Слайдер промо-акций (Hero Section) */
.hero {
    position: relative;
    height: 45vh;
    min-height: 360px;
    width: 100%;
    overflow: hidden;
    background-color: #000000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
    pointer-events: none;
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    color: #ffffff;
}

.slide-content h1, .slide-content h2, .slide-content h3, .slide-content .slide-title {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.slide-tag {
    display: inline-block;
    color: #ffffff;
    background-color: var(--brand-color);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 8px;
    margin-bottom: 12px;
    border-radius: 1px;
}

.slide-title {
    font-size: 32px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .slide-title {
        font-size: 40px;
    }
}

.slide-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    max-width: 500px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.slide-content .btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}

.slide-content .btn-secondary:hover {
    background-color: #ffffff;
    color: var(--text-primary);
}

.slide-btns {
    display: flex;
    gap: 12px;
}

/* Навигация слайдера */
.slider-arrows {
    position: absolute;
    bottom: 25px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-arrow {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background: var(--brand-color);
    border-color: var(--brand-color);
}

.slider-arrow svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 20px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.slider-dot {
    width: 24px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background: var(--brand-color);
    width: 36px;
}

/* Шапка внутренних страниц */
.page-title-section {
    background-color: var(--bg-secondary);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.breadcrumbs a:hover {
    color: var(--brand-color);
}

.page-title {
    font-size: 28px;
    font-weight: 300;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 40px;
    }
}

/* Разделы страницы */
.section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-bg-light {
    background-color: var(--bg-secondary);
}

.section-header {
    margin-bottom: 35px;
}

.section-subtitle {
    color: var(--brand-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.section-title {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 36px;
    }
}

/* Сетка услуг «Мир Nissan» */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.service-card-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background-color: var(--bg-tertiary);
}

.service-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}



.service-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}



.service-card-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Контентные блоки для внутренних страниц */
.content-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
}

.text-block p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 15px;
}

.text-block h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 25px 0 12px 0;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.price-table th, .price-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.price-table th {
    background-color: var(--bg-secondary);
    font-weight: 700;
}

.price-table tr:hover {
    background-color: var(--bg-secondary);
}

.sidebar {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 2px;
    height: fit-content;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand-color);
}

/* Акции списком */
.specials-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.special-item {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 25px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.special-item:hover {
    border-color: #adb5bd;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.special-img-wrap {
    position: relative;
    height: 100%;
    min-height: 200px;
    background-color: var(--bg-tertiary);
}

.special-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.special-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.special-date {
    font-size: 12px;
    color: var(--brand-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.special-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.special-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Форма «Запись на сервис» */
.form-wrapper {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group-full {
    grid-column: span 3;
}

.form-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.form-control {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 1px;
    outline: none;
    transition: var(--transition-fast);
    width: 100%;
}

.form-control:focus {
    border-color: var(--brand-color);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23495057' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label a {
    color: var(--brand-color);
    text-decoration: underline;
}

.checkbox-input {
    margin-top: 2px;
    accent-color: var(--brand-color);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

/* Раздел Контакты */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dealer-title-big {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .dealer-title-big {
        font-size: 32px;
    }
}

.contact-card-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-color);
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 18px;
    height: 18px;
}

.contact-card-text {
    display: flex;
    flex-direction: column;
}

.contact-card-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
}

.contact-card-value {
    font-size: 15px;
    font-weight: 600;
}

/* Карта */
.map-container {
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 380px;
}


/* Футер */
.footer {
    background-color: var(--bg-secondary);
    padding: 60px 0 30px 0;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-brand .logo img {
    height: 28px;
    width: auto;
    filter: brightness(0.1);
}

.footer-brand-text {
    font-size: 12px;
    color: var(--text-secondary);
    max-width: 250px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list a {
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-links-list a:hover {
    color: var(--brand-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.footer-disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-copyright-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 32px;
    height: 32px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
    color: #ffffff;
}

.social-link i {
    font-size: 16px;
    line-height: 1;
}

/* Иконки соцсетей с оригинального сайта */
.icon-social--vkontakte {
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 1;
    vertical-align: middle;
}

.icon-social--vkontakte:before {
    content: "\f17b";
    font-family: 'Iconfont' !important;
}

.icon-social--telegram {
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 1;
    vertical-align: middle;
}

.icon-social--telegram:before {
    content: "\f177";
    font-family: 'Iconfont' !important;
}

.footer-developer a {
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-developer a:hover {
    color: var(--brand-color);
}

/* Куки баннер */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 360px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    padding: 20px;
    z-index: 999;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-title {
    font-size: 14px;
    font-weight: 700;
}

.cookie-text {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-btns {
    display: flex;
    gap: 8px;
}

.cookie-btn {
    flex: 1;
    padding: 8px;
    font-size: 11px;
}

/* Модальное окно подтверждения формы */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    max-width: 440px;
    width: 90%;
    padding: 30px;
    border-radius: 2px;
    text-align: center;
    transform: scale(0.95);
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: var(--shadow-card);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-success-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(39, 174, 96, 0.08);
    border: 2px solid #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #27ae60;
    margin: 0 auto 20px auto;
}

.modal-success-icon svg {
    width: 26px;
    height: 26px;
}

.modal-title {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 10px;
}

.modal-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* Мобильное меню навигации (Overlay) */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 999;
    padding: 100px 30px 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(100%);
    transition: var(--transition-smooth);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
}

.mobile-nav-link:hover {
    color: var(--brand-color);
}

.mobile-menu-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .nav {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .header-top {
        display: none;
    }
    
    main {
        margin-top: 64px;
    }
    
    .hero {
        height: 40vh;
    }
    
    .slide-title {
        font-size: 26px;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-full {
        grid-column: span 1;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .special-item {
        grid-template-columns: 1fr;
    }
    
    .special-img-wrap {
        height: 200px;
    }
}


