/* ComptaCanada Pro - Styles CSS */
/* Цветовая палитра:
 * Основной фон: #fff0e6 (молочный крем)
 * Акцент: #ff5f6d (коралловый)
 * Тексты: #2e2e2e (темный антрацит)
 * Вторичный фон: #ffe0ec (розово-персиковый)
 * Кнопки: #6a0572 (сливовый)
 */

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2e2e2e;
    background-color: #fff0e6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2e2e2e;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: #2e2e2e;
}

a {
    color: #ff5f6d;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #6a0572;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #6a0572, #ff5f6d);
    color: white;
    box-shadow: 0 4px 15px rgba(106, 5, 114, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 5, 114, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #6a0572;
    border: 2px solid #6a0572;
}

.btn-secondary:hover {
    background: #6a0572;
    color: white;
}

.btn-full {
    width: 100%;
    padding: 15px 24px;
}

/* Header */
.header {
    background: rgba(255, 240, 230, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6a0572;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #2e2e2e;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff5f6d;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background: #6a0572;
    transition: 0.3s;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    max-width: 400px;
    margin: 0 auto;
    display: none;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    padding: 20px;
}

.cookie-content h3 {
    color: #6a0572;
    margin-bottom: 10px;
}

.cookie-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: #6a0572;
    color: white;
}

.cookie-btn.decline {
    background: #ffe0ec;
    color: #6a0572;
}

/* Main Content */
.main {
    padding-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fff0e6, #ffe0ec);
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    color: #2e2e2e;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #ff5f6d;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-description {
    font-size: 1.1rem;
    color: #2e2e2e;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2e2e2e;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #ff5f6d;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    color: #6a0572;
    margin-bottom: 20px;
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    margin-bottom: 10px;
    font-weight: 500;
    color: #2e2e2e;
}

.about-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
    background: #ffe0ec;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.advantage-card h3 {
    color: #6a0572;
    margin-bottom: 15px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff0e6;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: #6a0572;
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    margin-bottom: 8px;
    color: #2e2e2e;
}

.service-price {
    font-weight: 600;
    color: #ff5f6d;
    font-size: 1.1rem;
    margin-top: 20px;
    padding: 10px 15px;
    background: white;
    border-radius: 20px;
    text-align: center;
}

/* Approach Section */
.approach {
    padding: 80px 0;
    background: #ffe0ec;
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.approach-text h3 {
    color: #6a0572;
    margin-bottom: 20px;
}

.approach-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ff5f6d;
}

.stat-label {
    font-size: 0.9rem;
    color: #2e2e2e;
}

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6a0572, #ff5f6d);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: #6a0572;
    margin-bottom: 5px;
}

.step-content p {
    margin: 0;
    color: #2e2e2e;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff0e6;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: #ff5f6d;
    opacity: 0.3;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #2e2e2e;
    margin: 0;
}

.testimonial-author strong {
    color: #6a0572;
    font-weight: 600;
}

.testimonial-author span {
    color: #ff5f6d;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #ffe0ec;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #2e2e2e;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ffe0ec;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff5f6d;
}

.checkbox-group {
    margin-bottom: 15px;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #6a0572;
}

.contact-info-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-card h3 {
    color: #6a0572;
    margin-bottom: 25px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item strong {
    color: #2e2e2e;
}

.contact-item a {
    color: #ff5f6d;
}

/* Footer */
.footer {
    background: #2e2e2e;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: #ff5f6d;
    margin-bottom: 20px;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff5f6d;
}

.contact-info a {
    color: #ff5f6d;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom-content p {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Thank You Page */
.thank-you {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff0e6, #ffe0ec);
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-animation {
    margin-bottom: 30px;
}

.success-icon {
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.circle-animation {
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    animation: drawCircle 1s ease-out 0.5s forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

.check-animation {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawCheck 0.5s ease-out 1.5s forwards;
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

.thank-you-text h1 {
    color: #6a0572;
    margin-bottom: 20px;
}

.thank-you-subtitle {
    font-size: 1.2rem;
    color: #2e2e2e;
    margin-bottom: 30px;
}

.thank-you-details {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.detail-item {
    margin-bottom: 15px;
    text-align: left;
}

.detail-item strong {
    color: #6a0572;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.next-steps {
    padding: 80px 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background: #fff0e6;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-intro {
    padding: 80px 0;
    background: #ffe0ec;
}

.team-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.team-text h3 {
    color: #6a0572;
    margin-bottom: 20px;
}

.team-features {
    margin-top: 30px;
}

.feature {
    margin-bottom: 15px;
}

.feature strong {
    color: #6a0572;
}

.team-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.emergency-contact {
    padding: 80px 0;
    background: white;
}

.emergency-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.emergency-content h2 {
    color: #6a0572;
    margin-bottom: 20px;
}

.emergency-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff0e6;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-details strong {
    color: #6a0572;
    display: block;
    margin-bottom: 5px;
}

.contact-details a,
.contact-details span {
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
}

/* Legal Pages */
.legal-page {
    padding: 100px 0;
    background: white;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    color: #6a0572;
    margin-bottom: 30px;
    text-align: center;
}

.legal-intro {
    text-align: center;
    color: #ff5f6d;
    font-weight: 500;
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: #6a0572;
    margin-bottom: 20px;
    border-bottom: 2px solid #ffe0ec;
    padding-bottom: 10px;
}

.legal-section h3 {
    color: #ff5f6d;
    margin-bottom: 15px;
}

.legal-section ul, .legal-section ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-section li {
    margin-bottom: 8px;
}

.contact-details {
    background: #fff0e6;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-details p {
    margin-bottom: 10px;
}

.cookie-table {
    margin-bottom: 30px;
}

.cookie-table h3 {
    color: #6a0572;
    margin-bottom: 15px;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cookie-table th,
.cookie-table td {
    padding: 10px;
    border: 1px solid #ffe0ec;
    text-align: left;
}

.cookie-table th {
    background: #ffe0ec;
    color: #6a0572;
    font-weight: 600;
}

.browser-settings {
    background: #fff0e6;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.browser-settings h4 {
    color: #6a0572;
    margin-bottom: 15px;
}

.warning-box {
    background: #ff5f6d;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
}

.force-majeure-list {
    background: #fff0e6;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

.advice-warning {
    background: #ffe0ec;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.advice-warning h3 {
    color: #6a0572;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: 0.3s;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .menu-toggle:checked ~ .nav-menu {
        left: 0;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .approach-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .approach-stats {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }

    .team-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .emergency-contacts {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .contact-form,
    .contact-info-card {
        padding: 25px;
    }

    .thank-you-details {
        padding: 20px;
    }

    .legal-content {
        padding: 0 10px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantage-card,
.service-card,
.testimonial-card,
.step-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.advantage-card:nth-child(1) { animation-delay: 0.1s; }
.advantage-card:nth-child(2) { animation-delay: 0.2s; }
.advantage-card:nth-child(3) { animation-delay: 0.3s; }
.advantage-card:nth-child(4) { animation-delay: 0.4s; }

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.align-center { align-items: center; }
.justify-center { justify-content: center; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: 10px; }
.rounded-lg { border-radius: 15px; }
.rounded-full { border-radius: 50%; }

.shadow-sm { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.shadow { box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }

.bg-primary { background-color: #6a0572; }
.bg-secondary { background-color: #ff5f6d; }
.bg-light { background-color: #fff0e6; }
.bg-accent { background-color: #ffe0ec; }

.text-primary { color: #6a0572; }
.text-secondary { color: #ff5f6d; }
.text-dark { color: #2e2e2e; }
.text-light { color: #fff; } 