/* 
   Main stylesheet for domain - Financial Audit Services
   Color palette:
   - Primary background: #F2F0EB
   - Primary accent: #FE6A36
   - Secondary accent: #1F1F2E
   - Text: #2A2A2A
   - Hover: #DB5433
*/

/* Global Styles */
:root {
    --background: #F2F0EB;
    --primary: #FE6A36;
    --secondary: #1F1F2E;
    --text: #2A2A2A;
    --hover: #DB5433;
    --white: #FFFFFF;
    --gray: #E5E5E5;
    --dark-gray: #999999;
    --header-height: 70px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--secondary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover);
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 4rem 0;
    position: relative;
}

section::before {
    content: '';
    display: block;
    height: var(--header-height);
    margin-top: calc(-1 * var(--header-height));
    visibility: hidden;
    pointer-events: none;
}

/* Section Titles */
.section-title {
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Header & Navigation */
.site-header {
    background-color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: var(--header-height);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    flex: 0 0 auto;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: lowercase;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    align-items: center;
}

/* Ensure navigation is always visible on desktop */
@media (min-width: 769px) {
    .main-nav, .nav-list {
        display: flex !important;
    }
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--secondary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    line-height: 1;
    display: block;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
    width: 100%;
}

.nav-item.cta {
    margin-left: 1rem;
}

.nav-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
    line-height: 1;
}

.mobile-menu-toggle {
    display: none;
}

/* Make sure navigation is visible on desktop */
.main-nav {
    display: block;
}

/* Mobile Navigation */
.mobile-nav-open {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav-open .nav-list {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.mobile-nav-open .nav-item {
    margin: 0.5rem 0;
    width: 100%;
}

.mobile-nav-open .nav-link {
    width: 100%;
    display: block;
}

.menu-toggle-btn {
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    background-color: var(--secondary);
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: var(--background);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero h1, .hero h2 {
    color: var(--white);
}

.hero .logo {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-out;
}

.hero .slogan {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-out 0.2s both;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeIn 1s ease-out 0.4s both;
}

/* About Section */
.about {
    background-color: var(--background);
}

.about-blocks {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-block {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-image, .about-content {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Services Section */
.services {
    background-color: var(--white);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.service-card h3, .service-card p {
    padding: 0 1.5rem;
}

.service-card h3 {
    margin-top: 1.5rem;
    color: var(--secondary);
}

.service-card .btn {
    margin: 1.5rem;
}

/* Advantages Section */
.advantages {
    background-color: var(--background);
    text-align: center;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    margin-bottom: 1rem;
}

.advantage-item h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* Process Section */
.process {
    background-color: var(--white);
    text-align: center;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    position: relative;
    padding: 0 1rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(254, 106, 54, 0.3);
    position: relative;
    z-index: 1;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -1rem;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    opacity: 0.3;
    z-index: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--secondary);
    color: var(--white);
    text-align: center;
}

.testimonials h2 {
    color: var(--white);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author h4 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    background-color: var(--background);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    flex: 1;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin-bottom: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item:hover .faq-question {
    background-color: rgba(254, 106, 54, 0.05);
}

/* Order Form Section */
.order-form {
    background-color: var(--white);
    text-align: center;
}

.form-intro {
    max-width: 600px;
    margin: 0 auto 2rem;
}

form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.input-icon {
    position: relative;
}

.input-icon svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px 12px 12px 45px;
    border: 1px solid var(--gray);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%231F1F2E' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.select-wrapper {
    position: relative;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(254, 106, 54, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-group label {
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 3rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-info {
    max-width: 400px;
}

.footer-description {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-contact {
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-links h3, .footer-legal h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
}

.footer-links li, .footer-legal li {
    margin-bottom: 0.8rem;
}

.footer-links a, .footer-legal a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover, .footer-legal a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--white);
    opacity: 0.6;
    font-size: 0.9rem;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Thank You Page */
.thank-you {
    padding: 5rem 0;
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 3rem 2rem;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.next-steps {
    background-color: var(--background);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px dashed var(--secondary);
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-text {
    flex: 1;
    text-align: left;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--secondary);
}

.legal-content h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.legal-content h2 {
    margin-top: 2rem;
    font-size: 1.5rem;
}

.legal-content p, .legal-content ul {
    margin-bottom: 1.5rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--secondary);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
}

.cookie-content .btn {
    flex-shrink: 0;
}

/* Form Error Page */
.form-error-container {
    max-width: 700px;
    margin: 4rem auto;
    text-align: center;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.error-message {
    color: #d32f2f;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.error-list {
    list-style: none;
    color: #d32f2f;
    background-color: rgba(211, 47, 47, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.error-list li {
    margin-bottom: 0.5rem;
}

.error-list li:last-child {
    margin-bottom: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .logo {
        font-size: 2.8rem;
    }
    
    .hero .slogan {
        font-size: 1.6rem;
    }
    
    .about-block {
        flex-direction: column;
    }
    
    .about-block:nth-child(even) {
        flex-direction: column;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .nav-list {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-nav-open {
        display: block !important;
    }
    
    .mobile-nav-open .nav-list {
        display: flex;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column-reverse;
    }
    
    .legal-links {
        justify-content: center;
        width: 100%;
    }
    
    .copyright {
        text-align: center;
        width: 100%;
    }
    
    .cookie-content {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .hero .logo {
        font-size: 2.3rem;
    }
    
    .hero .slogan {
        font-size: 1.4rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        min-width: 100%;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
} 