/* Base Styles and Variables */
:root {
    /* Color Palette */
    --primary: #2F3A8F;    /* indigo ночи */
    --accent: #E9B824;     /* золотисто-желтый */
    --secondary: #F85A3E;  /* ярко-коралловый */
    --bg-dark: #0E0B16;    /* черный бархат */
    --text-light: #F7F7FF; /* почти белый */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2F3A8F 0%, #1A2147 100%);
    --gradient-accent: linear-gradient(135deg, #E9B824 0%, #FFC33A 100%);
    --gradient-secondary: linear-gradient(135deg, #F85A3E 0%, #FF7259 100%);
    
    /* Shadows */
    --shadow-soft: 0 5px 15px rgba(14, 11, 22, 0.2);
    --shadow-medium: 0 8px 30px rgba(14, 11, 22, 0.3);
    --shadow-hard: 0 15px 40px rgba(14, 11, 22, 0.4);
    --shadow-inset: inset 0 2px 10px rgba(14, 11, 22, 0.2);
    
    /* Border Radius */
    --radius-small: 0.5rem;
    --radius-medium: 1rem;
    --radius-large: 2rem;
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-medium: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-light);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

ul {
    list-style-type: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.separator {
    height: 4px;
    width: 60px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

/* Button Styles */
.cta-button, .submit-button, .service-button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--gradient-accent);
    color: var(--bg-dark);
    font-weight: bold;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
    border: none;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover, .submit-button:hover, .service-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--bg-dark);
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(14, 11, 22, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(247, 247, 255, 0.1);
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    margin-left: auto;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-light);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition-fast);
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2) {
    top: 9px;
}

.menu-icon span:nth-child(3) {
    top: 18px;
}

.menu-toggle:checked + .menu-icon span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

.menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle:checked + .menu-icon span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-medium);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a.cta-button {
    padding: 0.5rem 1rem;
}

.nav-links a.cta-button::after {
    display: none;
}

/* Main Content Styles */
main {
    padding-top: 80px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: url('../img/KwIrjv.jpg') no-repeat center center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 11, 22, 0.8);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    border-radius: var(--radius-large);
    background: rgba(47, 58, 143, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(247, 247, 255, 0.1);
    text-align: center;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.accent {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--gradient-primary);
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.about-image img {
    transition: var(--transition-medium);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text ul {
    margin-top: 1rem;
}

.about-text li {
    margin-bottom: 0.5rem;
}

.highlight {
    color: var(--accent);
    font-weight: bold;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: rgba(47, 58, 143, 0.1);
    padding: 2rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
    transition: var(--transition-medium);
    border: 1px solid rgba(47, 58, 143, 0.3);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hard);
    border-color: var(--accent);
}

.service-icon {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(233, 184, 36, 0.1);
    border-radius: var(--radius-medium);
    width: fit-content;
}

.service-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-price {
    margin-top: auto;
    margin-bottom: 1.5rem;
}

.service-price span {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.7;
}

.service-price p {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
    margin: 0;
}

.service-button {
    width: 100%;
}

/* Why Choose Us Section */
.why-us {
    padding: 6rem 0;
    background: var(--gradient-primary);
}

.why-us-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.why-us-image {
    flex: 1;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.why-us-features {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    padding: 0.5rem;
    background: rgba(233, 184, 36, 0.1);
    border-radius: var(--radius-small);
    width: fit-content;
}

.feature-text h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 0 0 auto;
    width: 200px;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-connector {
    flex: 0 0 auto;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin-top: 65px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    color: var(--bg-dark);
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-medium);
}

.step-content h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--gradient-primary);
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: rgba(14, 11, 22, 0.6);
    padding: 2rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
    transition: var(--transition-medium);
    border: 1px solid rgba(247, 247, 255, 0.1);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hard);
    border-color: var(--accent);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--accent);
}

.author-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-toggle {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1.5rem;
    background: rgba(47, 58, 143, 0.1);
    border-radius: var(--radius-medium);
    transition: var(--transition-medium);
    border: 1px solid rgba(47, 58, 143, 0.3);
    font-weight: bold;
}

.faq-question:hover {
    background: rgba(47, 58, 143, 0.2);
}

.arrow {
    width: 20px;
    height: 20px;
    position: relative;
    transition: var(--transition-medium);
}

.arrow::before, .arrow::after {
    content: '';
    position: absolute;
    background: var(--accent);
    width: 15px;
    height: 2px;
    top: 10px;
    transition: var(--transition-medium);
}

.arrow::before {
    left: 0;
    transform: rotate(45deg);
}

.arrow::after {
    right: 0;
    transform: rotate(-45deg);
}

.faq-toggle:checked + .faq-question {
    border-radius: var(--radius-medium) var(--radius-medium) 0 0;
    background: rgba(47, 58, 143, 0.2);
    border-bottom: none;
}

.faq-toggle:checked + .faq-question .arrow::before {
    transform: rotate(-45deg);
}

.faq-toggle:checked + .faq-question .arrow::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    background: rgba(47, 58, 143, 0.1);
    border: 1px solid rgba(47, 58, 143, 0.3);
    border-top: none;
    border-radius: 0 0 var(--radius-medium) var(--radius-medium);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--gradient-primary);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-address h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-address p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-map {
    margin-top: 2rem;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-form h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-errors {
    background: rgba(248, 90, 62, 0.2);
    border: 1px solid var(--secondary);
    padding: 1rem;
    border-radius: var(--radius-medium);
    margin-bottom: 1.5rem;
}

.form-errors ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(14, 11, 22, 0.6);
    border: 1px solid rgba(247, 247, 255, 0.1);
    border-radius: var(--radius-medium);
    color: var(--text-light);
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(233, 184, 36, 0.3);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 0.3rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.form-group.checkbox a {
    color: var(--accent);
    text-decoration: underline;
}

.form-submit {
    margin-top: 2rem;
}

.submit-button {
    width: 100%;
}

/* Footer Styles */
.main-footer {
    background-color: var(--bg-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(247, 247, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-info {
    flex: 2;
    min-width: 300px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.company-description {
    max-width: 400px;
}

.footer-contact, .footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-contact h3, .footer-links h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(247, 247, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(14, 11, 22, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(247, 247, 255, 0.1);
    box-shadow: var(--shadow-medium);
    padding: 1.5rem 0;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: var(--transition-medium);
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cookie-content p {
    flex: 3;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-link {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-accept {
    background: var(--gradient-accent);
    color: var(--bg-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-medium);
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition-fast);
}

.cookie-accept:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

/* Legal Pages */
.legal-page {
    padding: 8rem 0 6rem;
}

.legal-content {
    background: rgba(47, 58, 143, 0.1);
    padding: 3rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(47, 58, 143, 0.3);
}

.legal-content h1 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.legal-date {
    color: var(--text-light);
    opacity: 0.7;
    margin-bottom: 2.5rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-section h3 {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.legal-section p {
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    list-style-type: disc;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

/* Thanks Page */
.thanks-section {
    padding: 8rem 0 6rem;
    text-align: center;
}

.thanks-content {
    background: rgba(47, 58, 143, 0.1);
    padding: 4rem 3rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(47, 58, 143, 0.3);
}

.thanks-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.thanks-content h1 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.thanks-content p {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.thanks-actions {
    margin-top: 3rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .about-content, .why-us-content {
        flex-direction: column;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step-connector {
        width: 3px;
        height: 40px;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        background: rgba(14, 11, 22, 0.95);
        width: 100%;
        height: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0;
        overflow: hidden;
        transition: var(--transition-medium);
    }
    
    .menu-toggle:checked ~ .nav-links {
        height: calc(100vh - 80px);
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .service-card, .testimonial {
        min-width: 100%;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
} 