/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(45deg, #49b955, #2d7d32);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(73, 185, 85, 0.2);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.nav-logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #e2e8f0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e2e8f0;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Active navigation state */
.nav-menu a.active {
    color: #e2e8f0;
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
    background: #e2e8f0;
}

/* Telegram button in header */
.telegram-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0088cc, #00a8ff);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.telegram-btn:hover {
    background: linear-gradient(135deg, #0077b3, #0099e6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

.telegram-btn::after {
    display: none;
}

.telegram-btn i {
    font-size: 1.2rem;
}

/* Language switch */
.lang-switch {
    display: flex;
    gap: 6px;
    margin-left: 8px;
}

.lang-btn {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    padding: 4px 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover, .lang-btn.active {
    background: #ffd700;
    color: #1e293b;
    border-color: #ffd700;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #333;
    position: relative;
    overflow: hidden;
    /* Отступ, чтобы фиксированный хедер не перекрывал контент */
    padding-top: 100px;
}

/* Cloudflare Turnstile gate */
.cf-gate {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-gate-inner {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

/* Block page scroll when gate is open */
.no-scroll {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Hero decorative circles */
.hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.decor-circle {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(73,185,85,0.18), rgba(73,185,85,0.08), transparent 70%);
    filter: blur(2px);
}

.hero-decor .dc1 { top: 5%; left: 8%; }
.hero-decor .dc2 { top: 20%; right: 12%; width: 180px; height: 180px; }
.hero-decor .dc3 { bottom: 10%; left: 15%; width: 160px; height: 160px; }
.hero-decor .dc4 { bottom: 15%; right: 10%; width: 240px; height: 240px; }
.hero-decor .dc5 { top: 45%; left: 45%; width: 120px; height: 120px; }
.hero-decor .dc6 { top: 10%; right: 40%; width: 140px; height: 140px; }

.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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.highlight {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #64748b;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #49b955, #2d7d32);
    color: white;
    box-shadow: 0 10px 30px rgba(73, 185, 85, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(73, 185, 85, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #49b955;
    border: 2px solid #49b955;
}

.btn-secondary:hover {
    background: #49b955;
    color: #ffffff;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card, .floating-car, .floating-document, .floating-phone {
    position: absolute;
    background: rgba(73, 185, 85, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
    border: 2px solid rgba(73, 185, 85, 0.3);
}

.floating-card {
    top: -130px;
    left: 40px;
    animation-delay: 0s;
}

.floating-car {
    top: -140px;
    right: 30px;
    animation-delay: 3s;
}

.floating-document {
    top: 20px;
    left: 90px;
    animation-delay: 1.5s;
}

.floating-phone {
    top: 60px;
    right: 80px;
    animation-delay: 4.5s;
}

.floating-card i, .floating-car i, .floating-document i, .floating-phone i {
    font-size: 3rem;
    color: #49b955;
}

.floating-card span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #49b955;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #49b955;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #49b955, #2d7d32);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: white;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.services-top-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.services-bottom-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #49b955, #2d7d32);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #49b955, #2d7d32);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    text-align: center;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #49b955;
    margin-top: auto;
    padding: 0.5rem 1rem;
    background: rgba(73, 185, 85, 0.1);
    border-radius: 10px;
    text-align: center;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: #f8fafc;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.step:hover {
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #49b955, #2d7d32);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
}

/* Prices Section */
.prices {
    padding: 6rem 0;
    background: #f8fafc;
}

/* FAQ */
.faq {
    padding: 6rem 0;
    background: white;
}
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}
.faq-item {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.5rem;
}
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
}
.faq-question i { color: #64748b; transition: transform .2s ease; }
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer { padding-top: .5rem; }
.faq-answer p {
    margin: 0;
    color: #64748b;
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.price-card.featured {
    transform: scale(1.05);
    border: 3px solid #49b955;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #49b955;
    margin-bottom: 2rem;
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.price-features li {
    padding: 0.5rem 0;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-features i {
    color: #10b981;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: white;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
    width: 100%;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #49b955, #2d7d32);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Telegram Contact Section */
.telegram-contact {
    margin-bottom: 2rem;
}

.telegram-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #0088cc, #00a8ff);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3);
    justify-content: center;
    text-align: center;
}

.telegram-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 136, 204, 0.4);
    color: white;
}

.telegram-link i {
    font-size: 3rem;
    color: white;
}

.telegram-link h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.telegram-link p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.telegram-username {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(10px);
}

/* Removed special centering for schedule to match location style */

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #49b955, #2d7d32);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #1e293b;
}

.contact-item p {
    color: #64748b;
    margin: 0;
}

/* Ensure left alignment for contact text blocks */
.contact-item > div {
    text-align: left;
}

.contact-form {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 20px;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #49b955;
    box-shadow: 0 0 0 3px rgba(73, 185, 85, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #0f1a14; /* темно-серый с зеленым оттенком */
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #49b955;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #49b955;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #49b955;
}

.social-links {
    display: none;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Special styling for Telegram social link */
.telegram-social {
    background: linear-gradient(135deg, #0088cc, #00a8ff) !important;
}

.telegram-social:hover {
    background: linear-gradient(135deg, #0077b3, #0099e6) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1b2a22;
    color: #94a3b8;
}

.footer-emblem {
    width: 140px;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Show hero icons on mobile and move them above text */
    .hero-image {
        order: -1;
        display: flex;
        justify-content: center;
        gap: .75rem;
        flex-wrap: wrap;
        padding-top: 1rem;
        position: relative;
    }

    .floating-card, .floating-car, .floating-document, .floating-phone {
        display: flex;
        position: relative;
        top: auto; left: auto; right: auto; bottom: auto;
        animation: none;
        padding: 1rem;
        border-radius: 14px;
    }
    
    .services-grid { max-width: 680px; }
    .services-top-row, .services-bottom-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .service-card { margin: 0; }
    
    /* Mobile Telegram button adjustments */
    .telegram-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .telegram-btn span {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(45deg, #49b955, #2d7d32);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(73, 185, 85, 0.3);
        border-radius: 0 0 20px 20px;
    }
    
    .telegram-link {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .telegram-link i {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-card,
    .price-card {
        padding: 1.5rem;
    }
    
    .telegram-btn {
        padding: 0.3rem 0.6rem;
    }
    
    .telegram-btn i {
        font-size: 1rem;
    }
}

/* Smooth scrolling and animations */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #49b955;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d7d32;
}

/* Loading animation for buttons */
.btn:active {
    transform: scale(0.95);
}

/* Hover effects for interactive elements */
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.step:hover .step-number {
    transform: scale(1.1);
}

/* Focus states for accessibility */
.btn:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid #49b955;
    outline-offset: 2px;
}
