/* Основные стили для сайта бухгалтерской компании */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #fff1eb 0%, #ace0f9 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(178, 25, 158, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-radius: 0 0 20px 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(45deg, #b5179e, #f72585);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-item {
    color: #7209b7;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: #f72585;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(181, 23, 158, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #7209b7, #f72585);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 35px;
    background: linear-gradient(45deg, #7209b7, #f72585);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(114, 9, 183, 0.3);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(114, 9, 183, 0.4);
    background: linear-gradient(45deg, #f72585, #b5179e);
}

.btn:active {
    transform: translateY(-1px);
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #7209b7;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Company Description */
.company-description {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(181, 23, 158, 0.1);
    margin: 40px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(114, 9, 183, 0.2);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.05);
}

.about-text {
    text-align: left;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.company-description p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(114, 9, 183, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(114, 9, 183, 0.2);
    border-color: rgba(181, 23, 158, 0.3);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(45deg, #b5179e, #f72585);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.advantage-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #7209b7;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(114, 9, 183, 0.15);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(114, 9, 183, 0.25);
    border-color: rgba(247, 37, 133, 0.3);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 35px 30px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #7209b7;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #b5179e, #f72585);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(114, 9, 183, 0.1);
    position: relative;
    border-left: 5px solid transparent;
    border-image: linear-gradient(45deg, #b5179e, #f72585) 1;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(181, 23, 158, 0.3);
    font-family: serif;
}

.testimonial-text {
    color: #555;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: #7209b7;
}

.testimonial-position {
    font-size: 0.9rem;
    color: #999;
}

/* FAQ - Pure CSS Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(114, 9, 183, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(114, 9, 183, 0.15);
    transform: translateY(-2px);
}

/* Cache les radios */
.faq-radio {
    display: none;
}

/* Style du label (question cliquable) */
.faq-question {
    padding: 25px 30px;
    font-weight: 600;
    color: #7209b7;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    user-select: none;
    position: relative;
}

.faq-question:hover {
    background: rgba(181, 23, 158, 0.05);
    color: #f72585;
}

.faq-text {
    flex: 1;
    margin-right: 20px;
}

/* Style du toggle (+/×) */
.faq-toggle {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f72585;
    transition: all 0.4s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(247, 37, 133, 0.1);
}

/* Réponse cachée par défaut */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(255, 255, 255, 0.5);
}

.faq-content {
    padding: 0 30px;
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* Quand la radio est cochée - ouvre la réponse */
.faq-radio:checked + .faq-question + .faq-answer {
    max-height: 200px;
    padding: 25px 0;
}

/* Quand la radio est cochée - change le style de la question */
.faq-radio:checked + .faq-question {
    background: rgba(181, 23, 158, 0.08);
    color: #f72585;
    border-bottom: 2px solid rgba(247, 37, 133, 0.2);
}

/* Quand la radio est cochée - transforme + en × */
.faq-radio:checked + .faq-question .faq-toggle {
    transform: rotate(45deg);
    background: rgba(247, 37, 133, 0.2);
    color: #7209b7;
}

/* Animation pour le focus (accessibilité) */
.faq-radio:focus + .faq-question {
    outline: 2px solid #f72585;
    outline-offset: 2px;
}

/* Style spécial pour mobile */
@media (max-width: 768px) {
    .faq-question {
        padding: 20px 25px;
        font-size: 1rem;
    }
    
    .faq-content {
        padding: 0 25px;
        font-size: 0.95rem;
    }
    
    .faq-toggle {
        font-size: 1.5rem;
        width: 25px;
        height: 25px;
    }
    
    .faq-radio:checked + .faq-question + .faq-answer {
        max-height: 250px; /* Plus d'espace sur mobile */
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 18px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .faq-text {
        margin-right: 0;
        width: 100%;
    }
    
    .faq-toggle {
        align-self: flex-end;
        margin-top: -35px;
    }
    
    .faq-content {
        padding: 0 20px;
    }
    
    .faq-radio:checked + .faq-question + .faq-answer {
        max-height: 300px;
    }
}

/* Order Form */
.order-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 15px 50px rgba(114, 9, 183, 0.2);
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid rgba(181, 23, 158, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #7209b7;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid rgba(181, 23, 158, 0.2);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #f72585;
    box-shadow: 0 0 20px rgba(247, 37, 133, 0.2);
    transform: translateY(-2px);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
}

.checkbox-group a {
    color: #f72585;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #7209b7 0%, #b5179e 100%);
    color: white;
    padding: 60px 0 20px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 10px 40px rgba(114, 9, 183, 0.3);
    z-index: 10000;
    display: none;
    border: 2px solid rgba(181, 23, 158, 0.2);
}

.cookie-popup.show {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    color: #555;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-small {
    padding: 12px 25px;
    font-size: 0.95rem;
    border-radius: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
        padding: 0 10px;
    }
    
         .hero {
         padding: 140px 0 70px;
         text-align: center;
     }
    
    .section-title {
        font-size: 2rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 12px 0;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-item {
        font-size: 0.95rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-img {
        height: 250px;
    }
    
    .advantages-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .order-form {
        padding: 30px 25px;
        margin: 0 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
         .hero {
         padding: 130px 0 60px;
     }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 5px;
    }
    
    .btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .company-description,
    .advantage-card,
    .service-content {
        padding: 30px 20px;
    }
    
    .about-img {
        height: 200px;
        border-radius: 15px;
    }
    
    .about-text p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .order-form {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-40 {
    margin-top: 40px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #f72585;
    outline-offset: 2px;
} 