:root {
    /* Цветовая палитра */
    --primary-red: #dc3545;
    --primary-red-dark: #c82333;
    --primary-red-light: #f8d7da;
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-dark: #212529;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --text-secondary: #adb5bd;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --overlay-dark: rgba(0, 0, 0, 0.6);
    --overlay-light: rgba(0, 0, 0, 0.4);
    /* Тени */
    --shadow-sm: 0 2px 4px var(--shadow-color);
    --shadow-md: 0 4px 8px var(--shadow-color);
    --shadow-lg: 0 8px 16px var(--shadow-color);
    --shadow-xl: 0 12px 24px var(--shadow-color);
    /* Скругления */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-round: 50%;
    /* Анимации */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}


/* Базовые стили */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}


/* Типография */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}


/* Навигация */

.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-normal);
}

.fixed-nav.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
    transition: var(--transition-normal);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-red) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 1.5px;
}

.navbar-toggler {
    border: none;
    padding: 0.65rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 140px;
    background: rgba(220, 53, 69, 0.08);
    transition: var(--transition-normal);
}

.navbar-toggler:hover {
    background: rgba(220, 53, 69, 0.14);
}

.navbar-toggler-icon {
    width: 24px;
    height: 16px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(220,53,69,0.95)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.navbar-toggler-text {
    display: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-red);
    white-space: nowrap;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.96);
        margin-top: 0.75rem;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        box-shadow: var(--shadow-lg);
        padding: 1rem 1.25rem 1.25rem;
    }
    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    .navbar-nav .nav-link {
        margin: 0;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-lg);
        background: rgba(220, 53, 69, 0.04);
    }
    .navbar-toggler-text {
        display: inline-block;
    }
}


/* Герой-секция

.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-dark);
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1760008865167-882ced47b705?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxmaXJlJTIwc2FmZXR5JTIwZXF1aXBtZW50fGVufDF8fHx8MTc2NjU5MjMxOHww&ixlib=rb-4.1.0&q=80&w=1080');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
} */

.company-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-shield {
    font-size: 4rem;
    color: var(--text-light);
}

.vertical-divider {
    width: 3px;
    height: 60px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1.5px;
}

.company-info {
    display: flex;
    flex-direction: column;
}

.company-type {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    text-align: center;
}

.btn-primary {
    background: var(--text-light);
    color: var(--primary-red);
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-red);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-bottom-bar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 0;
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
}

.contact-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.contact-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.licenses {
    font-size: 0.9rem;
    opacity: 0.9;
    text-align: right;
}


/* Секции */

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}


/* Услуги */

.services-section {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red-light);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-red-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--primary-red);
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--primary-red);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon i {
    color: var(--text-light);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
}


/* Объекты */

.objects-section {
    background: var(--card-bg);
}

.objects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.object-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}

.object-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.object-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.object-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.object-card:hover .object-image img {
    transform: scale(1.1);
}

.object-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.25rem;
}

.object-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.object-content {
    padding: 2rem;
}

.object-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.object-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.object-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.object-details {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.detail-value {
    font-weight: 600;
    color: var(--text-dark);
}


/* О компании */

.about-section {
    background: var(--light-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.about-content p {
    margin-bottom: 1.5rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-red-light);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-red);
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.advantage-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* Контакты */

.contacts-section {
    background: var(--dark-bg);
    color: var(--text-light);
}

.contacts-section .section-title,
.contacts-section .section-subtitle {
    color: var(--text-light);
}

.contacts-section .section-subtitle {
    color: var(--text-secondary);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: start;
}

.contacts-subtitle {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-align: center;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-extra {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.company-card {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.company-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
}

.company-card strong {
    color: var(--text-light);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form .form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.form-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0;
}


/* Футер */

.footer {
    background: var(--darker-bg);
    color: var(--text-secondary);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand .brand-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
}

.footer-text {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.2;
}

.footer-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-license {
    font-size: 0.9rem;
    text-align: right;
}

.footer-developer {
    font-size: 0.9rem;
    text-align: right;
    color: var(--text-secondary);
}

.footer-developer a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-developer a:hover {
    color: var(--primary-red-light);
    text-decoration: underline;
}


/* Адаптивность */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
    .company-name {
        font-size: 1.25rem;
    }
    .section {
        padding: 4rem 0;
    }
    .contact-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .licenses {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-top: 100px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .company-brand {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .vertical-divider {
        width: 60px;
        height: 3px;
    }
    .section-title {
        font-size: 2rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid,
    .objects-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 2rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-license {
        text-align: center;
    }
    .footer-developer {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .company-name {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .contact-items {
        gap: 1.5rem;
    }
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Адаптация для больших экранов (1920px+) */
@media (min-width: 1920px) {
    .hero-section {
        min-height: 110vh;
    }
    
    .hero-content {
        padding: 5rem 0;
    }
    
    .hero-title {
        font-size: 4.5rem;
        margin-bottom: 1.5rem;
    }
    .hero-description {
        font-size: 1.5rem;
        max-width: 800px;
        margin-bottom: 2.5rem;
    }
    .section-title {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }
    .section {
        padding: 6rem 0;
    }
    .service-title {
        font-size: 1.5rem;
    }
    .service-description {
        font-size: 1.1rem;
    }
    .object-title {
        font-size: 1.5rem;
    }
    .advantage-title {
        font-size: 1.3rem;
    }
    .stat-number {
        font-size: 3rem;
    }
    .stat-label {
        font-size: 1.2rem;
    }
    .contact-label {
        font-size: 0.95rem;
    }
    .contact-value {
        font-size: 1.3rem;
    }
    .btn {
        padding: 0.75rem 2.5rem;
        font-size: 1.1rem;
    }
    .company-brand {
        margin-bottom: 3rem;
    }
    .hero-buttons {
        gap: 1.5rem;
    }
}

/* Адаптация для 2K разрешения (2560px+) */
@media (min-width: 2560px) {
    html {
        font-size: 20px;
    }
    
    .hero-section {
        min-height: 120vh;
        padding-top: 100px;
    }
    
    .hero-content {
        padding: 6rem 0;
    }
    
    .hero-title {
        font-size: 5.5rem;
        line-height: 1.2;
        margin-bottom: 2rem;
    }
    .hero-description {
        font-size: 1.8rem;
        max-width: 1000px;
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 4.2rem;
        margin-bottom: 1.5rem;
    }
    
    .section {
        padding: 8rem 0;
    }
    
    .service-card,
    .object-card,
    .advantage-card {
        padding: 3rem;
    }
    
    .service-icon {
        font-size: 3.5rem;
        width: 80px;
        height: 80px;
    }
    
    .service-title {
        font-size: 1.8rem;
    }
    
    .service-description {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 4rem;
    }
    
    .stat-label {
        font-size: 1.4rem;
    }
    
    .contact-value {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 1rem 3rem;
        font-size: 1.3rem;
        border-radius: 8px;
    }
    
    .hero-buttons {
        gap: 2rem;
    }
    
    .container {
        max-width: 1600px;
    }
    
    .company-brand {
        margin-bottom: 4rem;
    }
    
    .vertical-divider {
        height: 80px;
    }
    
    .company-name {
        font-size: 2rem;
    }
    
    .hero-bottom-bar {
        padding: 3rem 0;
    }
    
    .charity-content {
        gap: 4rem;
    }
    
    .charity-image img {
        max-width: 100%;
        height: auto;
    }
    
    .charity-description {
        font-size: 1.4rem;
        line-height: 1.8;
    }
    
    .contact-form-wrapper {
        padding: 3rem;
    }
    
    .form-label {
        font-size: 1.1rem;
    }
    
    .form-control,
    .form-select {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
    }
    
    .modal-body {
        font-size: 1.1rem;
    }
}


/* Анимации */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}


/* Кастомные утилиты */

.text-gradient {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-red {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
}

/* Стили для модального окна с реквизитами */
.modal-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
    border: none;
}

.modal-header .modal-title {
    font-weight: 700;
    color: white;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.details-content {
    line-height: 1.8;
    color: #f0f0f0;
}

.details-content p {
    margin-bottom: 0.75rem;
    color: #f0f0f0;
}

.details-content h5 {
    color: var(--primary-red);
    font-weight: 700;
    margin-top: 1.5rem;
}

.details-content strong {
    color: #ffffff;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    background-color: #1a1a1a;
}

.modal-body {
    background-color: #1a1a1a;
    color: #f0f0f0;
}

.modal-body .alert {
    background-color: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.5);
    color: #f0f0f0;
}

.details-content hr {
    border-color: rgba(255, 255, 255, 0.2);
}

.modal-footer .btn-secondary {
    background-color: #404040;
    border-color: #404040;
    color: #f0f0f0;
}

.modal-footer .btn-secondary:hover {
    background-color: #505050;
    border-color: #505050;
}

.modal-content {
    background-color: #1a1a1a;
    border: 1px solid rgba(220, 53, 69, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}


/* Обновленные стили для герой-секции с пожарной машиной */


/* Обновленные стили для герой-секции с пожарной машиной */


/* Обновленные стили для герой-секции с пожарной машиной */


/* Обновленные стили для герой-секции с пожарной машиной */


/* Обновленные стили для герой-секции с пожарной машиной */


/* Обновленные стили для герой-секции с пожарной машиной */


/* Обновленные стили для герой-секции с пожарной машиной */


/* Обновленные стили для герой-секции с пожарной машиной */


/* Обновленные стили для герой-секции с пожарной машиной */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.fire-truck-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/car.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    opacity: 0.8;
    /* Увеличена прозрачность для естественных цветов */
    filter: brightness(0.9) blur(1px);
    /* Уменьшен blur, увеличен brightness */
    z-index: 1;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Диагональный градиент слева направо */
    background: linear-gradient( to right, rgba(220, 53, 69, 0.85) 0%, /* Красный слева */
    rgba(220, 53, 69, 0.7) 15%, /* Плавный переход */
    rgba(220, 53, 69, 0.4) 30%, /* Средняя точка */
    rgba(220, 53, 69, 0.2) 45%, /* Почти прозрачный */
    rgba(220, 53, 69, 0.05) 60%, /* Едва заметный */
    transparent 75%/* Полностью прозрачно справа */
    );
    z-index: 2;
}


/* Дополнительный градиент для плавного перехода сверху вниз */

.hero-vertical-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( to bottom, rgba(220, 53, 69, 0.3) 0%, transparent 20%, transparent 80%, rgba(220, 53, 69, 0.2) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 4rem 0;
    max-width: 65%;
    /* Контент смещен влево */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    /* Уже чем раньше */
    margin-bottom: 3rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}


/* Адаптивность для изображения */

@media (max-width: 768px) {
    .fire-truck-bg {
        background-position: center 40%;
        opacity: 0.75;
        filter: brightness(0.85) blur(0.5px);
    }
    .hero-gradient-overlay {
        background: linear-gradient( to right, rgba(220, 53, 69, 0.9) 0%, rgba(220, 53, 69, 0.75) 20%, rgba(220, 53, 69, 0.5) 40%, rgba(220, 53, 69, 0.25) 60%, transparent 80%);
    }
    .hero-content {
        max-width: 90%;
        /* На мобильных контент шире */
        margin: 0 auto;
        /* Центрируем на мобильных */
    }
    .company-brand {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-description {
        font-size: 1.1rem;
        max-width: 100%;
    }
    .contact-info {
        justify-content: center;
        text-align: center;
    }
    .contact-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.75rem;
    }
    .contact-item i {
        margin-bottom: 0;
    }
    .licenses {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }
}


/* Для очень широких экранов */

@media (min-width: 2000px) {
    .fire-truck-bg {
        background-size: contain;
        background-position: center;
    }
}


/* Плавные переходы для всех элементов */

.hero-section * {
    transition: all 0.5s ease;
}

.fire-truck-bg {
    transition: opacity 0.8s ease, filter 0.8s ease;
}

.hero-gradient-overlay {
    transition: background 0.8s ease;
}


/* Стили для модального окна объектов */

#allObjectsModal .modal-content {
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-xl);
    background: var(--light-bg);
}

#allObjectsModal .modal-header {
    background: var(--primary-red);
    color: white;
    border-bottom: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 1.5rem 2rem;
}

#allObjectsModal .modal-header .btn-close {
    filter: invert(1) brightness(100);
    opacity: 0.8;
}

#allObjectsModal .modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
    background: var(--light-bg);
}

#allObjectsModal .modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
}


/* Статистика в модальном окне */

.stat-card {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-card .stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}


/* Фильтры в модальном окне */

.filter-btn {
    padding: 0.5rem 1rem;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-normal);
    cursor: pointer;
}

.filter-btn:hover {
    background: var(--primary-red-light);
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.filter-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}


/* Карточки объектов в модальном окне */

.modal-object-card {
    padding: 1rem;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    cursor: pointer;
}

.modal-object-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-red-light);
    background: white;
}

.modal-object-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-red-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-red);
    font-size: 1.25rem;
}

.modal-object-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}


/* Адаптивность модального окна */

@media (max-width: 768px) {
    #allObjectsModal .modal-body {
        padding: 1.5rem;
        max-height: 60vh;
    }
    #allObjectsModal .modal-header {
        padding: 1.25rem 1.5rem;
    }
    #allObjectsModal .modal-footer {
        padding: 1.25rem 1.5rem;
    }
    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    .stat-card {
        padding: 1rem 0.5rem;
    }
    .stat-card .stat-number {
        font-size: 1.5rem;
    }
}

/* Стили для секции Благотворительности */

.charity-section {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05) 0%, rgba(220, 53, 69, 0.1) 100%);
    padding: 6rem 0;
}

.charity-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.charity-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    background: var(--card-bg);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.charity-image img {
    width: 100%;
    height: auto;
    max-width: 400px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.charity-text h2 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.charity-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.charity-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 2rem 0 1rem 0;
}

.charity-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.charity-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.charity-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: 700;
    font-size: 1.3rem;
}

.charity-footer {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    border-left: 4px solid var(--primary-red);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .charity-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .charity-image {
        min-height: 300px;
    }
    
    .charity-text h2 {
        font-size: 2rem;
    }
    
    .charity-description {
        font-size: 1rem;
    }
}