/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Компенсация для fixed header при переходе по якорям */
section {
    scroll-margin-top: 100px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #1B1F3B;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* CSS-only анимации появления элементов */
.service-card, .advantage-item, .testimonial-card, .value-item {
    animation: fadeIn 0.8s ease-out;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.advantage-item:nth-child(1) { animation-delay: 0.1s; }
.advantage-item:nth-child(2) { animation-delay: 0.2s; }
.advantage-item:nth-child(3) { animation-delay: 0.3s; }
.advantage-item:nth-child(4) { animation-delay: 0.4s; }
.advantage-item:nth-child(5) { animation-delay: 0.5s; }
.advantage-item:nth-child(6) { animation-delay: 0.6s; }

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.value-item:nth-child(1) { animation-delay: 0.1s; }
.value-item:nth-child(2) { animation-delay: 0.2s; }
.value-item:nth-child(3) { animation-delay: 0.3s; }

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(27, 31, 59, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 107, 107, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FF6B6B;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FF6B6B;
}

/* Mobile menu - CSS only */
.mobile-menu-checkbox {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #FF6B6B;
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

/* Mobile menu animation */
.mobile-menu-checkbox:checked + .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-checkbox:checked + .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-checkbox:checked + .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile menu open state */
.mobile-menu-checkbox:checked ~ .nav {
    display: flex !important;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #1B1F3B;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    animation: slideDown 0.3s ease-out;
}

.mobile-menu-checkbox:checked ~ .nav .nav-link {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 107, 107, 0.2);
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu-checkbox:checked ~ .nav .nav-link:hover {
    color: #FF6B6B;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    cursor: pointer;
}

.mobile-menu-checkbox:checked ~ .mobile-menu-overlay {
    display: block;
}

/* Nav link wrappers for mobile */
.nav-link-wrapper {
    display: contents;
    cursor: default;
}

@media (max-width: 768px) {
    .nav-link-wrapper {
        display: block;
        cursor: pointer;
    }
    
    /* Убираем анимации на мобильных для лучшей производительности */
    .service-card, .advantage-item, .testimonial-card, .value-item {
        animation-duration: 0.4s;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B6B, #FFA69E);
    color: #FFFFFF;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #FF6B6B;
    border: 2px solid #FF6B6B;
}

.btn-secondary:hover {
    background: #FF6B6B;
    color: #FFFFFF;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1B1F3B 0%, #2C2F48 100%);
    animation: fadeIn 1s ease-out;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: #FF6B6B;
    position: relative;
}

.hero-description {
    font-size: 1.2rem;
    color: #E0E0E0;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease-out;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #FF6B6B;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #E0E0E0;
}

/* Company Description Section */
.company-description {
    padding: 5rem 0;
    background-color: #2C2F48;
}

.company-intro {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #E0E0E0;
}

.company-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FF6B6B;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: #3A3D5C;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #2C2F48;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #FF6B6B;
}

.service-card.featured {
    border-color: #FF6B6B;
    background: linear-gradient(135deg, #2C2F48, #3A3D5C);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #FF6B6B;
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FF6B6B;
}

.service-description {
    color: #E0E0E0;
    margin-bottom: 1.5rem;
}

.service-features ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.3rem 0;
    color: #E0E0E0;
}

.service-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FF6B6B;
    margin-bottom: 1.5rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: #2C2F48;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-description {
    font-size: 1.2rem;
    color: #E0E0E0;
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #FF6B6B;
}

.stat-label {
    color: #E0E0E0;
    font-size: 0.9rem;
}

.certifications h3 {
    color: #FF6B6B;
    margin-bottom: 1rem;
}

.certifications ul {
    list-style: none;
}

.certifications li {
    padding: 0.3rem 0;
    color: #E0E0E0;
}

/* Advantages Section */
.advantages {
    padding: 5rem 0;
    background-color: #3A3D5C;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    background: #2C2F48;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-item h3 {
    color: #FF6B6B;
    margin-bottom: 1rem;
}

.advantage-item p {
    color: #E0E0E0;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: #2C2F48;
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #3A3D5C;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #FF6B6B;
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #E0E0E0;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.author-name {
    font-weight: bold;
    color: #FF6B6B;
}

.author-company {
    color: #E0E0E0;
    font-size: 0.9rem;
}

/* Order Form Section */
.order-form {
    padding: 5rem 0;
    background-color: #3A3D5C;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #2C2F48;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #E0E0E0;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #3A3D5C;
    border-radius: 5px;
    background: #1B1F3B;
    color: #FFFFFF;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6B6B;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    color: #E0E0E0;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-label a {
    color: #FF6B6B;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: #2C2F48;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-description {
    color: #E0E0E0;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 2rem;
    color: #FF6B6B;
}

.contact-text h3 {
    color: #FF6B6B;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: #E0E0E0;
}

.contact-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background-color: #1B1F3B;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 107, 107, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    color: #FF6B6B;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF6B6B;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #E0E0E0;
}

.icon {
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #FF6B6B;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 107, 107, 0.1);
    color: #E0E0E0;
}

.footer-disclaimer {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #E0E0E0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2C2F48, #3A3D5C);
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-text h3 {
    color: #FF6B6B;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: #E0E0E0;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Responsive Design */
/* CSS-only Mobile Menu - удалено, теперь выше */

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .form-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 8rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
} 