/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2a2a2a;
    --accent-color: #3a3a3a;
    --light-gray: #f5f5f5;
    --medium-gray: #666;
    --dark-gray: #1a1a1a;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --overlay-color: rgba(26, 26, 26, 0.7);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero .container {
    margin-left: 0;
    padding-left: 40px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1002;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #999;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #999;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-phone a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.header-phone a:hover {
    color: #999;
}

/* Burger Menu Button */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1003;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background-color: transparent;
}

.hero-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    background: transparent;
    padding: 100px 60px 50px;
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 28px;
    color: #fff;
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--dark-gray);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--dark-gray);
    border: 2px solid var(--dark-gray);
}

.btn-outline:hover {
    background-color: var(--dark-gray);
    color: #fff;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-up:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in-up:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide up animation for emergency cards */
.slide-up {
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.8s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for emergency cards */
.emergency-card:nth-child(1) {
    transition-delay: 0.1s;
}

.emergency-card:nth-child(2) {
    transition-delay: 0.2s;
}

.emergency-card:nth-child(3) {
    transition-delay: 0.3s;
}

.emergency-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* Stagger animation for about feature items */
.feature-item:nth-child(1) {
    transition-delay: 0.1s;
}

.feature-item:nth-child(2) {
    transition-delay: 0.2s;
}

.feature-item:nth-child(3) {
    transition-delay: 0.3s;
}

/* Section Title */
.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 20px auto 0;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    z-index: 10;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25.5px;
}

.service-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1/1;
    width: 100%;
    max-height: 345px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.service-image {
    height: 85%;
    flex-shrink: 0;
    overflow: hidden;
    order: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    height: 15%;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

.service-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
    text-align: center;
}

/* Emergency Section */
.emergency {
    position: relative;
    z-index: 10;
}

.emergency-top {
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    padding: 50px 0;
    border-radius: 20px;
}

.emergency-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.emergency-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.emergency-title {
    font-size: 48px;
    font-weight: 300;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}

.emergency-description {
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

.emergency-note {
    font-size: 14px;
    color: #fff;
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
}

.emergency-btn {
    white-space: nowrap;
    background-color: #fff;
    color: #1a1a1a;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.emergency-btn:hover {
    background-color: #f0f0f0;
    color: #2a2a2a;
    transform: translateY(-2px);
}

.emergency-bottom {
    padding: 80px 0;
    background-color: #fff;
}

.emergency-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.emergency-card {
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    padding: 60px 25px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    margin-top: 40px;
}

.emergency-card:hover {
    border-color: #3a3a3a;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(58, 58, 58, 0.15);
}

.emergency-number {
    font-size: 70px;
    font-weight: 500;
    color: transparent;
    -webkit-text-stroke: 2px #3a3a3a;
    text-stroke: 2px #3a3a3a;
    line-height: 1;
    position: absolute;
    top: -35px;
    left: 20%;
    transform: translateX(0);
    background-color: #fff;
    padding: 0 10px;
}

.emergency-card-text {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    z-index: 10;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.3fr 0.7fr;
    gap: 40px;
    margin-bottom: 60px;
}

.about-left {
    display: flex;
    flex-direction: column;
}

.about-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 300px;
    object-fit: cover;
}

.about-bottom {
    margin-top: 40px;
}

.placeholder-image {
    width: 100%;
    height: auto;
    display: block;
}

.contact-form {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
}

.contact-form .btn {
    padding: 14px 30px;
    font-size: 16px;
}

.form-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 4px 0 0 0;
}

.form-success {
    background-color: var(--accent-color);
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 15px;
}

.about-right {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.about-row:last-child {
    margin-top: 15px;
}

.about-col {
    flex: 1;
}

.about-col:first-child {
    flex: 0 0 50%;
}

.about-col:last-child {
    flex: 0 0 50%;
}

.about-content-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-top: -5px;
    margin-bottom: 20px;
}

.about-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.feature-item img.feature-icon {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 5px;
}

/* Cooperation Section */
.cooperation {
    padding: 100px 0;
    background-image: linear-gradient(rgba(240, 240, 240, 0.85), rgba(240, 240, 240, 0.85)), url('5.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 10;
}

.cooperation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="25" fill="none" stroke="%23ccc" stroke-width="1" opacity="0.3"/><circle cx="30" cy="30" r="15" fill="none" stroke="%23ccc" stroke-width="1" opacity="0.3"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.cooperation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
}

.cooperation-left {
    background-color: #fff;
    padding: 50px;
    border: 4px solid var(--dark-gray);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.cooperation-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 25px;
}

.cooperation-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.cooperation-right {
    display: flex;
    align-items: center;
}

.cooperation-list {
    list-style: none;
    counter-reset: cooperation-counter;
}

.cooperation-item {
    counter-increment: cooperation-counter;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cooperation-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.cooperation-item-text {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 8px;
}

/* Slide in from right animation for cooperation items */
.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger animation for cooperation items */
.cooperation-item:nth-child(1) {
    transition-delay: 0.1s;
}

.cooperation-item:nth-child(2) {
    transition-delay: 0.2s;
}

.cooperation-item:nth-child(3) {
    transition-delay: 0.3s;
}

.cooperation-item:nth-child(4) {
    transition-delay: 0.4s;
}

.cooperation-item:nth-child(5) {
    transition-delay: 0.5s;
}

/* Equipment Section */
.equipment {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    z-index: 10;
}

.equipment-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.equipment-left {
    display: flex;
    align-items: center;
    position: sticky;
    top: 100px;
}

.equipment-right {
    min-height: 600px;
}

.equipment-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 25px;
}

.equipment-intro {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.equipment-list {
    list-style: none;
    margin-bottom: 40px;
}

.equipment-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 18px;
    color: var(--text-color);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    position: relative;
}

.equipment-item > div:first-child {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.equipment-item:last-child {
    border-bottom: none;
}

.equipment-icon {
    width: 20px;
    height: 20px;
    color: var(--dark-gray);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.equipment-item:hover {
    background-color: rgba(26, 26, 26, 0.05);
}

.equipment-item.active .equipment-icon {
    transform: rotate(90deg);
}

.equipment-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, margin 0.4s ease;
    padding: 0;
    margin: 0;
    border-left: none;
    background-color: #fff;
    width: 100%;
}

.equipment-details.active {
    max-height: 300px;
    padding: 15px 0 15px 35px;
    margin-top: 10px;
    border-left: 2px solid var(--border-color);
    width: 100%;
}

.equipment-details p {
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.5;
}

.equipment-details p:last-child {
    margin-bottom: 0;
}

.equipment-cta {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

.equipment-question {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.equipment-cta-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Reviews Section */
.reviews {
    display: none;
}

.reviewsSwiper {
    padding: 40px 60px;
}

.review-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.review-avatar {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.review-author {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.review-quote {
    font-size: 60px;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 15px;
    font-family: Georgia, serif;
}

.review-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--dark-gray);
}

.swiper-pagination-bullet {
    background-color: var(--dark-gray);
}

/* Map Section */
.map {
    position: relative;
    z-index: 10;
    background-color: #fff;
    padding: 80px 0;
}

.map-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 30px;
    align-items: start;
}

.map-info {
    text-align: left;
}

.map-wrapper {
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-details {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-details strong {
    color: var(--dark-gray);
    font-weight: 600;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

#yandexMap {
    filter: grayscale(100%);
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-copyright,
.footer-info {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.footer-phone {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: #ccc;
}

.footer-email {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #ccc;
}

.footer-desc {
    font-size: 16px;
    color: #999;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-link {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--dark-gray);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1001;
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.scroll-to-top.visible {
    display: flex;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--dark-gray);
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 25px;
}

.modal form input,
.modal form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.modal form textarea {
    resize: vertical;
}

.modal-success {
    background-color: var(--accent-color);
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-row {
        flex-direction: column;
    }
    
    .about-col:first-child,
    .about-col:last-child {
        flex: 1;
    }
    
    .cooperation-grid,
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-left {
        position: static;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .placeholder-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        object-fit: cover;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 80px 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1001;
        order: unset;
        margin-top: 0;
        flex-wrap: nowrap;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .header-phone {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }
    
    .header-phone a {
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        text-align: center;
    }
    
    .header-email {
        font-size: 14px;
    }
    
    .hero .container {
        padding-left: 20px;
    }
    
    .hero-content {
        padding: 40px 30px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .services {
        padding: 40px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .service-card {
        max-height: 170px;
    }
    
    .service-content {
        padding: 8px 10px;
    }
    
    .service-title {
        font-size: 12px;
    }
    
    .emergency-header {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .emergency-title {
        font-size: 32px;
        white-space: normal;
    }
    
    .emergency-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .emergency-card {
        padding: 30px 20px;
    }
    
    .emergency-number {
        font-size: 80px;
    }
    
    .about-gallery,
    .about-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .feature-item {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        padding: 10px 0;
    }
    
    .feature-item img.feature-icon {
        width: 80px;
        height: 60px;
        aspect-ratio: 4/3;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    
    .feature-text {
        font-size: 14px;
        margin-top: 0;
        text-align: left;
    }
    
    .cooperation-left {
        padding: 30px;
    }
    
    .cooperation-title {
        font-size: 24px;
    }
    
    .map {
        padding: 60px 0;
    }
    
    .map-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map-wrapper {
        height: 350px;
    }
    
    .contact-details {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 30px 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    
    .services {
        padding: 30px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .service-card {
        max-height: 140px;
    }
    
    .service-content {
        padding: 5px 8px;
    }
    
    .service-title {
        font-size: 10px;
    }
    
    .emergency-top {
        padding: 30px 0;
        border-radius: 15px;
    }
    
    .emergency-title {
        font-size: 24px;
    }
    
    .emergency-description {
        font-size: 14px;
    }
    
    .emergency-bottom {
        padding: 60px 0;
    }
    
    .emergency-cards {
        grid-template-columns: 1fr;
    }
    
    .emergency-number {
        font-size: 60px;
    }
    
    .emergency-card-text {
        font-size: 14px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .map {
        padding: 40px 0;
    }
    
    .map-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .map-wrapper {
        height: 300px;
    }
    
    .contact-details {
        padding: 15px;
    }
    
    .about-features {
        gap: 8px;
    }
    
    .feature-item {
        gap: 10px;
        padding: 8px 0;
    }
    
    .feature-item img.feature-icon {
        width: 60px;
        height: 45px;
    }
    
    .feature-text {
        font-size: 12px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: #fff;
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.cookie-banner.hidden {
    transform: translateY(100%);
    opacity: 0;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-banner-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #4a9eff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-banner-text a:hover {
    color: #7bbaff;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background-color: #4a9eff;
    color: #fff;
}

.cookie-btn-accept:hover {
    background-color: #3a8eef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.cookie-btn-decline {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Cookie Banner Responsive */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-banner-text {
        font-size: 13px;
    }

    .cookie-banner-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}
