/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2E2E2E;
    background: linear-gradient(135deg, #0A74DA 0%, #FF6F61 100%);
    min-height: 100vh;
}

.main-content {
    background: #FFFFFF;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out;
}

/* === HEADER & NAVIGATION === */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 2rem;
    font-weight: bold;
    color: #0A74DA;
    text-decoration: none;
    background: linear-gradient(45deg, #0A74DA, #FF6F61);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #2E2E2E;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: #7FE6E0;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Mobile Menu */
.nav-toggle {
    display: none;
}

.nav-burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-burger span {
    width: 25px;
    height: 3px;
    background: #0A74DA;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* === HERO SECTION === */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(10, 116, 218, 0.8), rgba(255, 111, 97, 0.8)), url('./img/RN48wy.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, #C7EA46, #FFD700);
    color: #2E2E2E;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(199, 234, 70, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(199, 234, 70, 0.4);
}

/* === SECTIONS === */
.section {
    padding: 5rem 0;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2E2E2E;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #C7EA46, #FFD700);
    margin: 1rem auto;
    border-radius: 2px;
}

/* === ABOUT SECTION === */
.about {
    background: #FFFFFF;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    animation: slideInLeft 0.8s ease-out;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #0A74DA;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    text-align: center;
    animation: scaleIn 0.8s ease-out;
}

.about-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* === SERVICES SECTION === */
.services {
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #FFFFFF;
    padding: 0;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-image {
    position: relative;
    overflow: hidden;
}

.service-content {
    padding: 2rem;
}

/* Убираем цветную полоску сверху карточек с изображениями */

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #7FE6E0, #0A74DA);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2E2E2E;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #FF6F61;
    margin-bottom: 1rem;
}

/* === ADVANTAGES SECTION === */
.advantages {
    background: #FFFFFF;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #FF6F61, #C7EA46);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.advantage-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2E2E2E;
}

/* === PROCESS SECTION === */
.process {
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.process-step::after {
    content: '→';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #C7EA46;
    font-weight: bold;
}

.process-step:last-child::after {
    display: none;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #0A74DA, #7FE6E0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
    color: white;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: #FFD700;
    color: #2E2E2E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* === FORM SECTION === */
.form-section {
    background: linear-gradient(135deg, #0A74DA 0%, #FF6F61 100%);
    color: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.order-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
}

.form-group input,
.form-group select {
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #2E2E2E;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(199, 234, 70, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: #C7EA46;
    text-decoration: underline;
}

.submit-button {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #C7EA46, #FFD700);
    color: #2E2E2E;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(199, 234, 70, 0.3);
}

/* === TESTIMONIALS SECTION === */
.testimonials {
    background: #FFFFFF;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: #7FE6E0;
    position: absolute;
    top: -10px;
    left: 20px;
    font-weight: bold;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.testimonial-author {
    font-weight: bold;
    color: #0A74DA;
    text-align: right;
}

/* === CONTACT SECTION === */
.contact {
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #0A74DA;
}

.contact-details {
    font-size: 1.1rem;
    line-height: 2;
}

.contact-details a {
    color: #FF6F61;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.map-container {
    text-align: center;
}

.map-container iframe,
.map-container img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* === FOOTER === */
.footer {
    background: linear-gradient(135deg, #2E2E2E 0%, #1A1A1A 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #C7EA46;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #7FE6E0;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-links a {
    color: #7FE6E0;
    text-decoration: none;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #C7EA46;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(45deg, #2E2E2E, #0A74DA);
    color: white;
    padding: 1rem;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.5s ease;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-content a {
    color: #C7EA46;
    text-decoration: underline;
}

.cookie-accept {
    background: #C7EA46;
    color: #2E2E2E;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-accept:hover {
    background: #FFD700;
    transform: scale(1.05);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }

    .nav-toggle:checked ~ .nav-menu {
        left: 0;
    }

    .nav-burger {
        display: flex;
    }

    .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle:checked ~ .nav-burger span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-step::after {
        content: '↓';
        right: 50%;
        top: auto;
        bottom: -1rem;
        transform: translateX(50%);
    }

    .process-step:last-child::after {
        display: none;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .form-container {
        padding: 2rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .service-card,
    .advantage-item {
        padding: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .legal-links {
        align-items: center;
    }
}

/* === UTILITY CLASSES === */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.scale-in {
    animation: scaleIn 0.8s ease-out;
}
