/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #222222;
    background-color: #F9F6F2;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Блокировка scroll убрана для совместимости */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ff5f57;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #FF5F57, #ff7a73);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 95, 87, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 95, 87, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #0C2D48, #1a4a6b);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 45, 72, 0.3);
}

/* Header */
.header {
    background: linear-gradient(135deg, #F9F6F2, #fff);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff5f57;
}

/* Mobile Menu Toggle */
.mobile-menu-checkbox {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 95, 87, 0.1);
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: #0C2D48;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-checkbox:checked + .mobile-menu-toggle .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.mobile-menu-checkbox:checked + .mobile-menu-toggle .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-checkbox:checked + .mobile-menu-toggle .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #222222;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
}

.nav-link:hover {
    color: #FF5F57;
    background: rgba(255, 95, 87, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 50%;
    background: #FF5F57;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-overlay {
    display: none;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0C2D48, #1a4a6b);
    color: white;
    padding: 1rem;
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.btn-accept {
    background: #FF5F57;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-accept:hover {
    background: #ff7a73;
}

.btn-more {
    color: white;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0C2D48, #FF5F57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #333;
    line-height: 1.7;
}

/* Sections */
.section {
    padding: 80px 0;
    width: 100%;
    overflow-x: hidden;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #fff, #F9F6F2);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: linear-gradient(135deg, #fff, #F9F6F2);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF5F57, #ff7a73);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    text-align: center;
    padding: 1.5rem;
}

.advantage-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0C2D48, #1a4a6b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: linear-gradient(135deg, #fff, #F9F6F2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: #FF5F57;
}

.pricing-card.featured {
    border-color: #FF5F57;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: "Más Popular";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF5F57, #ff7a73);
    color: white;
    padding: 5px 20px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF5F57;
    margin-bottom: 0.5rem;
}

.price-period {
    color: #666;
    font-size: 0.9rem;
}

.price-features {
    list-style: none;
    margin: 2rem 0;
}

.price-features li {
    padding: 0.5rem 0;
    color: #666;
}

.price-features li::before {
    content: "✓";
    color: #FF5F57;
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #fff, #F9F6F2);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #666;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FF5F57;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-weight: 600;
    color: #0C2D48;
    margin-bottom: 0.2rem;
}

.author-info span {
    font-size: 0.9rem;
    color: #666;
}

/* Form */
.form-section {
    background: linear-gradient(135deg, #0C2D48, #1a4a6b);
    color: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255,255,255,0.9);
    transition: background 0.3s ease;
}

.form-control:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 95, 87, 0.3);
}

.form-control select {
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
}

.checkbox-group label {
    margin-bottom: 0;
    line-height: 1.4;
}

.checkbox-group a {
    color: #FF5F57;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    padding: 0.5rem 2rem 2rem 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item:first-child {
    margin-top: 0;
}

.contact-item h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF5F57, #ff7a73);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.map-placeholder {
    background: linear-gradient(135deg, #0C2D48, #1a4a6b);
    height: 300px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0C2D48, #1a4a6b);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ff5f57;
    margin-bottom: 1rem;
}

.footer-description {
    color: #ff7a73;
    line-height: 1.6;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #ff7a73;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #ff7a73;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF5F57;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255,255,255,0.8);
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(12, 45, 72, 0.95);
        backdrop-filter: blur(10px);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    .mobile-menu-checkbox:checked ~ .nav {
        transform: translateX(0);
    }
    
    /* Автоматическое закрытие при клике на ссылки */
    .nav-link:active ~ .mobile-menu-checkbox {
        opacity: 0;
    }
    
    .nav-overlay {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: transparent;
        z-index: 1;
    }
    

    
    .nav-content {
        position: relative;
        z-index: 2;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 2rem;
        padding: 2rem;
    }
    
    .nav-link {
        display: block;
        width: 200px;
        text-align: center;
        text-decoration: none;
        color: white;
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(255, 95, 87, 0.3);
        color: white;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-cta {
        margin-top: 1rem;
    }
    
    .nav-cta .btn {
        display: block;
        text-decoration: none;
        background: linear-gradient(135deg, #FF5F57, #ff7a73);
        padding: 1rem 2rem;
        font-size: 1.1rem;
        color: white;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .nav-cta .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 95, 87, 0.4);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .services-grid,
    .advantages-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .testimonial-avatar {
        width: 40px;
        height: 40px;
    }
    
    /* Ensure no horizontal scroll */
    body, html {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    * {
        max-width: 100%;
    }
} 