@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap);

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #2C3E50;
            --secondary-color: #34495E;
            --accent-color: #3498DB;
            --light-accent: #E8F4FD;
            --text-light: #7F8C8D;
            --text-dark: #2C3E50;
            --white: #FFFFFF;
            --light-gray: #F8F9FA;
            --border-color: #E9ECEF;
            --success-color: #27AE60;
            --gradient: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--white);
            overflow-x: hidden;
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Header */
        .header-top {
            background: var(--primary-color);
            color: var(--white);
            padding: 10px 0;
            font-size: 14px;
        }

        .header-top .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .contact-info {
            display: flex;
            gap: 30px;
        }

        .contact-info span {
            opacity: 0.9;
            transition: opacity 0.3s ease;
        }

        .contact-info span:hover {
            opacity: 1;
        }

        header {
            background: var(--white);
            box-shadow: 0 2px 20px rgba(44, 62, 80, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .header-main {
            max-width: 1200px;
            margin: 0 auto;
            padding: 10px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo img {
            height: 50px;
            width: auto;
            transition: transform 0.3s ease;
        }

        .logo:hover img {
            transform: scale(1.05);
        }

        .logo-text {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary-color);
        }

        /* Navigation */
        nav {
            background: var(--gradient);
            position: sticky;
            top: 10px;
            z-index: 999;
            border-bottom: 4px solid var(--white);
            box-shadow: 0 4px 20px rgba(44, 62, 80, 0.15);
            transition: all 0.3s ease;
        }

        nav.scrolled {
            box-shadow: 0 6px 30px rgba(44, 62, 80, 0.3);
            border-bottom: 4px solid var(--accent-color);
            background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
        }

        nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        nav ul li {
            position: relative;
        }

        nav ul li a {
            color: var(--white);
            text-decoration: none;
            padding: 18px 25px;
            display: block;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        nav ul li a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.1);
            transition: left 0.3s ease;
        }

        nav ul li a:hover::before {
            left: 0;
        }

        nav ul li a:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }

        /* Hero Section */
        .hero {
            background: var(--gradient);
            color: var(--white);
            padding: 40px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        .hero-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1.2;
            animation: fadeInUp 1s ease-out;
        }

        .hero-subtitle {
            font-size: 1.3rem;
            opacity: 0.9;
            margin-bottom: 20px;
            animation: fadeInUp 1s ease-out 0.2s both;
        }

        .cta-button {
            all: unset;
            cursor: pointer;
            display: block;
            margin: 20px auto;
            width: fit-content;
            text-align: center;
            background: var(--accent-color);
            color: var(--white);
            padding: 15px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            animation: fadeInUp 1s ease-out 0.4s both;
            box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(52, 152, 219, 0.4);
        }

        .site-button {
            all: unset;
            cursor: pointer;
            display: block;
            margin: 20px auto;
            width: fit-content;
            text-align: center;
            background: var(--accent-color);
            color: var(--white);
            padding: 15px 60px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
        }

        .site-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(52, 152, 219, 0.4);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Sections */
        section {
            padding: 80px 0;
            position: relative;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            text-align: center;
            margin-bottom: 60px;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--accent-color);
            border-radius: 2px;
        }

        /* Cards */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .card {
            background: var(--white);
            border-radius: 15px;
            padding: 40px 30px;
            box-shadow: 0 10px 40px rgba(44, 62, 80, 0.1);
            transition: all 0.3s ease;
            border: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--accent-color);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(44, 62, 80, 0.15);
        }

        .card:hover::before {
            transform: scaleX(1);
        }

         .card-icon {
            width: 60px;
            height: 60px;
            background: var(--light-accent);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 0;
            font-size: 24px;
            color: var(--accent-color);
            flex-shrink: 0;
        }

        .card h3 {            
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 15px;
            text-transform: uppercase;
            margin: 0;
        }

        .card p {
            color: var(--text-light);
            line-height: 1.7;
        }

        /* Features List */
        .features-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 40px 0;
        }

        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            padding: 20px;
            background: var(--light-gray);
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .feature-item:hover {
            background: var(--light-accent);
            transform: translateX(5px);
        }

        .feature-icon {
            width: 24px;
            height: 24px;
            background: var(--success-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 12px;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .feature-icon::before {
            content: '✓';
        }

        /* Image Grid */
        .image-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin: 50px 0;
        }

        .image-item {
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1);
            transition: all 0.3s ease;
        }

        .image-item:hover {
            transform: scale(1.05);
            box-shadow: 0 20px 50px rgba(44, 62, 80, 0.2);
        }

        .image-item img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .image-item:hover img {
            transform: scale(1.1);
        }

        /* Partners */
        .partners-grid {
            display: grid;
            grid-template-columns: repeat(3, 320px);
            gap: 30px;
            margin: 50px 0;
            justify-content: center;
        }

        .partner-item {
            background: var(--white);
            padding: 20px 15px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(44, 62, 80, 0.1);
            transition: all 0.3s ease;
            border: 2px solid transparent;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 320px;
            height: 220px;
            box-sizing: border-box;
            flex-direction: column;
        }

        .logo-wrap {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-height: 70px;
            padding: 5px;
        }

        .partner-name {
            font-size: 13px;
            font-weight: 500;
            color: var(--text-light);
            margin-top: 8px;
            text-align: center;
            line-height: 1.2;
            width: 100%;
        }

        .partner-item:hover {
            border-color: var(--accent-color);
            transform: translateY(-5px);
        }

        .partner-item[data-partner] {
            cursor: pointer;
        }

        .partner-item h4 {
            color: var(--primary-color);
            font-weight: 600;
        }

        .logo-standard {
            width: 70%;
            max-height: 100%;
            object-fit: contain;
        }
     
        .logo-non-standard {
            max-width: 90%;
            max-height: 100%;
            object-fit: contain;
        }


        /* Alternating Sections */
        section:nth-child(even) {
            background: var(--light-gray);
        }

        /* Contact Section */
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            margin: 50px 0;
        }

        .contact-item {
            text-align: center;
            padding: 30px;
            background: var(--white);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1);
        }

        .contact-item h4 {
            color: var(--primary-color);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .contact-item p {
            color: var(--text-light);
            margin-bottom: 10px;
        }

        .contact-item a {
            color: var(--accent-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .contact-item a:hover {
            color: var(--primary-color);
        }

        /* Footer */
        footer {
            background: var(--primary-color);
            color: var(--white);
            text-align: center;
            padding: 40px 0;
        }

        footer p {
            opacity: 0.8;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .hero-subtitle {
                font-size: 1.1rem;
            }

            nav ul {
                flex-direction: column;
                padding: 0;
            }

            nav ul li a {
                padding: 15px 20px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .header-main {
                flex-direction: column;
                gap: 20px;
            }

            .contact-info {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }

            .section-title {
                font-size: 2rem;
            }

            section {
                padding: 60px 0;
            }
        }

        /* Scroll animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Loading animation */
        .loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }

        .loading.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-top: 3px solid var(--white);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0);
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.modal.show {
    display: flex;
    background: rgba(0,0,0,0.6);
}

.modal-content {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(44,62,80,0.2);
    position: relative;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    color: var(--primary-color);
    text-align: center;
}

.close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--accent-color);
}

form input {
    width: 100%;
    padding: 10px 12px;
    margin: 8px 0;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

form input:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 5px rgba(52,152,219,0.3);
}

input.error-field {
    border-color: red;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
}


.consent input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
}


.consent-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--border-color);
  box-sizing: border-box;
  flex: 0 0 20px;
  margin-top: 2px;
  display: inline-block;
  background: white;
  transition: background .18s ease, border-color .18s ease;
}


.consent-box::after {
  content: "";
  display: block;
  width: 6px;
  height: 10px;
  border: 2px solid white;
  border-top: 0;
  border-left: 0;
  transform: rotate(40deg) scale(0);
  opacity: 0;
  margin-left: 4px;
  margin-top: 0px;
  transition: transform .12s ease, opacity .12s ease;
}


.consent input:checked + .consent-box {
  background: var(--accent-color);
  border-color: var(--accent-color);
}
.consent input:checked + .consent-box::after {
  transform: rotate(40deg) scale(1);
  opacity: 1;
  border-color: white;
}


.consent input:focus + .consent-box {
  box-shadow: 0 0 0 4px rgba(52,152,219,0.12);
  outline: none;
}


.consent-text { flex: 1 1 auto; color: #333; }


.consent-text a {
  color: var(--accent-color);
  text-decoration: underline;
}


#consentError { color: red; font-size: 13px; margin-top: 6px; }

@media (max-width: 460px) {
  .consent { flex-direction: column; align-items: flex-start; gap: 8px; }
  .consent-box { margin-top: 0; }
}


form button {
    margin-top: 12px;
    padding: 12px 0;
    width: 100%;
    background: var(--accent-color);
    border: none;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(52,152,219,0.3);
}

form button:hover {
    background: #2980b9;
    box-shadow: 0 8px 25px rgba(52,152,219,0.4);
}

.error {
    color: red;
    font-size: 13px;
    margin: -4px 0 6px;
}

#successMessage {
    display: none;
    text-align: center;
    font-size: 18px;
    color: var(--success-color);
    padding: 20px 0;
}

nav.modal-open {
    filter: brightness(0.7);
    pointer-events: none;
    transition: filter 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 20px 15px;
    }
    .modal-content h2 {
        font-size: 20px;
    }
    form input, form button {
        font-size: 14px;
        padding: 10px;
    }
}



/* Carousel Section */
.carousel-section {
    width: 100%;
    max-height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.carousel {
    width: 60%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 100%;
}

.carousel-item {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    background: #1a1a1a;
}

.carousel-item img,
.carousel-item video {
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    max-width: 100%;
}

/* Кнопки */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    line-height: 1;
    text-align: center;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Точки */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.carousel-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dots .dot.active {
    background: rgba(255,255,255,0.9);
}

a.no-underline {
  text-decoration: none;
   cursor: pointer;
}



@media (max-width: 1024px) {
    .carousel {
        width: 100%;
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* News Section */
.news-grid {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(44, 62, 80, 0.15);
}

.news-card.featured {
    max-width: 600px;
    width: 100%;
}

.news-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: 400px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-card.featured .news-content {
    padding: 30px;
}

.news-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card.featured .news-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.news-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card.featured .news-content p {
    -webkit-line-clamp: 4;
}

.news-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .news-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card.featured {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-card.featured .news-image {
        height: 220px;
    }
    
    .news-date {
        top: 10px;
        right: 10px;
        padding: 4px 8px;
        font-size: 11px;
    }
}

a.no-underline {
  text-decoration: none;
   cursor: pointer;
}



/* Lightbox Modal */

.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.image-modal.show {
  display: flex;
}

.image-modal-content {
  position: relative;
  display: inline-block;
  max-width: 50%;
  max-height: 80%;
  box-sizing: border-box;
}

.modal-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.image-modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--text-dark, #333);
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.image-modal-close:hover {
  background: var(--accent-color, #3498DB);
  color: #fff;
}


/* =========================
   Адаптивность сайта
   ========================= */

/* Планшеты и ниже */
@media (max-width: 1024px) {
    header .header-main {
        padding: 5px 10px;
        flex-direction: column;
        gap: 10px;
    }

    /* Партнеры на планшетах */
    .partners-grid {
        grid-template-columns: repeat(2, 280px);
        gap: 20px;
    }

    .partner-item {
        width: 280px;
        height: 180px;
        padding: 15px 12px;
    }

    .logo-wrap {
        min-height: 60px;
    }

    .partner-name {
        font-size: 13px;
    }

       
    .header-top .container {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .contact-info {
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: center;
        gap: 15px;
        margin-bottom: 5px;
    }

    .logo {
        width: 80%; 
        justify-content: center;
    }

    .logo img {
        max-width: 100%;
        height: auto;
    }
  /* Навигация */

  nav {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    padding: 0 15px; 
    height: 60px;
}
  nav ul {
    display: none;
    flex-direction: column;
    background: var(--primary-color);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 0;
  }
  nav ul.open {
    display: flex;
  }
.burger {
    display: flex;
    width: 50px;
    height: 50px;    
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 8px;
    background: var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}

.burger:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}
.burger span {
    display: block;
    width: 36px;
    height: 4px; 
    border-radius: 2px; 
    background: white;
    transition: all 0.3s;
}
 .burger.active {
    transform: translateY(2px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.burger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.burger span {
    transform-origin: center;
}
  /* Карусель */
  .carousel {
    width: 100%;
  }
}
.carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

/* Смартфоны */
@media (max-width: 480px) {
  /* Hero */

  .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
  .hero-subtitle {
    font-size: 1rem;
  }

  /* Партнеры на мобильных */
  .partners-grid {
    grid-template-columns: 320px;
    gap: 15px;
    justify-content: center;
  }

  .partner-item {
    width: 320px;
    min-height: 180px;
    padding: 15px 10px;
  }

  .logo-wrap {
    min-height: 50px;
  }

  .partner-name {
    font-size: 13px;
    margin-top: 5px;
  }

  .logo-standard {
    width: 80%;
  }

  .logo-non-standard {
    max-width: 95%;
  }

/* Карусель */
.carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

  /* Секции */
  section {
    padding: 40px 0;
  }

  /* Карточки */
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  /* Партнёры */
  .partner-item {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  /* Модальное окно изображений */
  .image-modal-content {
    max-width: 90%;
  }

  /* Форма */
  .modal-content {
    padding: 20px;
  }
  .modal-content h2 {
    font-size: 18px;
  }
  .modal-content input,
  .modal-content button {
    font-size: 14px;
    padding: 12px;
  }
  
  /* Кнопка сайт */
  .site-button {
    padding: 12px 40px;
    font-size: 14px;
  }
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(44, 62, 80, 0.3);
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-accept {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.cookie-accept:hover {
    background: #2980b9;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-content p {
        font-size: 13px;
    }
    
    .cookie-accept {
        width: 100%;
        padding: 12px;
    }
}