/* 
* Domain Financial Audit - Main Stylesheet
* Color palette:
* - Deep violet: #4B145B (accent)
* - Soft mint: #B0F2B6 (highlight)
* - Charcoal grey: #333333 (text)
* - Pale beige: #FAF4ED (background)
* - Coral pink: #FF5F57 (CTA buttons)
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #FAF4ED;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: #4B145B;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF5F57;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #4B145B;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

section {
    padding: 80px 0;
}

/* Centrar todos los encabezados de sección */
section h2 {
    text-align: center;
}

section .container > p {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

ul, ol {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #FF5F57;
    color: #fff;
}

.btn-primary:hover {
    background-color: #e54841;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: #4B145B;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #3a0f47;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: #4B145B;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-weight: 600;
    color: #333;
}

.main-nav a.active,
.main-nav a:hover {
    color: #FF5F57;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4B145B, #333333);
    color: #fff;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0;
    animation: fadeInUp 1s 0.3s ease forwards;
}

.hero .btn {
    opacity: 0;
    animation: fadeInUp 1s 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Introduction Section */
.intro {
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: #FAF4ED;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #B0F2B6;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Benefits Section */
.benefits {
    background-color: #f9f9f9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    gap: 15px;
}

.benefit-icon {
    font-size: 1.8rem;
    color: #FF5F57;
}

/* Testimonials Section */
.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    position: relative;
}

.testimonials-track {
    display: flex;
    width: 300%;
    animation: scroll 30s linear infinite;
}

.testimonial-slide {
    flex: 1;
    min-width: 33.33%;
    padding: 0 15px;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    line-height: 0;
    color: #B0F2B6;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    margin-bottom: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Contact Form Section */
.contact {
    background-color: #fff;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #4B145B;
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-top: 5px;
}

.error-message {
    color: #FF5F57;
    margin-top: 5px;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    background-color: #f9f9f9;
    display: block !important;
    visibility: visible !important;
    padding: 80px 0 !important;
    position: relative !important;
    z-index: 10 !important;
}

.accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: #fff;
    overflow: hidden;
}

.accordion-header {
    padding: 15px 20px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    font-weight: 600;
}

.accordion-header::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: none;
}

.accordion-item.active .accordion-header::after {
    content: "-";
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
    max-height: 1000px;
    display: block;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #4B145B, #333333);
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.cta h2 {
    color: #fff;
}

.cta .btn {
    margin-top: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Footer Styles */
.site-footer {
    background-color: #333333;
    color: #fff;
    padding: 60px 0 30px;
    display: block !important;
    visibility: visible !important;
    clear: both;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.footer-info p {
    color: #ccc;
}

.footer-contact h3, 
.footer-links h3 {
    color: #B0F2B6;
    font-size: 1.2rem;
}

.footer-contact ul, 
.footer-links ul {
    margin-top: 15px;
}

.footer-contact ul li, 
.footer-links ul li {
    margin-bottom: 10px;
}

.footer-contact a, 
.footer-links a {
    color: #ccc;
}

.footer-contact a:hover, 
.footer-links a:hover {
    color: #B0F2B6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #aaa;
    font-size: 0.9rem;
}

/* Cookie Popup */
#cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    max-width: 400px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

#accept-cookies {
    padding: 8px 16px;
    background-color: #4B145B;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#accept-cookies:hover {
    background-color: #3a0f47;
}

/* Policy Pages */
.policy-page {
    padding: 150px 0 80px;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid #4B145B;
}

.policy-container h2 {
    border-bottom: 2px solid #B0F2B6;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.policy-container h3 {
    color: #4B145B;
    margin-top: 30px;
}

.policy-container p, 
.policy-container ul {
    margin-bottom: 20px;
}

.policy-container ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Thank You Page */
.thankyou {
    padding: 150px 0 80px;
    text-align: center;
}

.thankyou-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.check-icon {
    width: 80px;
    height: 80px;
    background-color: #B0F2B6;
    color: #4B145B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

.thankyou h1 {
    color: #4B145B;
}

.return-link {
    margin-top: 30px;
}
