/* 
 * Auditeco Fiscal - Estilos principales
 * Paleta de colores: 
 * - Fondo principal: #2D3142 (Indigo)
 * - Acentos: #2DE2E6 (Aaquamarina), #FF6B6B (Coral)
 * - Texto: #F5F5F5 (Gris claro), #FFFFFF (Blanco)
 */

/* ========== Estilos generales ========== */
:root {
    --color-bg-primary: #2D3142;
    --color-accent-1: #2DE2E6;
    --color-accent-2: #FF6B6B;
    --color-text-light: #F5F5F5;
    --color-text-white: #FFFFFF;
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-primary);
    color: var(--color-text-light);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {

    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: block;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--color-accent-1), var(--color-accent-2));
    transition: width 0.3s ease;
}

h2:hover::after {
    width: 120px;
}

h3 {
    font-size: 1.5rem;
    color: var(--color-accent-1);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent-1);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-accent-2);
}

section {
    padding: 80px 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .cta-button, .submit-button, .service-link {
    cursor: pointer;
    border: none;
    outline: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: linear-gradient(to right, var(--color-accent-1), var(--color-accent-2));
    color: var(--color-bg-primary);
    box-shadow: 0 4px 15px rgba(45, 226, 230, 0.3);
    text-align: center;
    display: inline-block;
}

button:hover, .cta-button:hover, .submit-button:hover, .service-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 226, 230, 0.4);
    color: var(--color-bg-primary);
}

/* ========== Header y navegación ========== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(45, 49, 66, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo svg {
    transition: transform 0.3s ease;
}

.logo:hover svg {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--color-text-light);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(to right, var(--color-accent-1), var(--color-accent-2));
    transition: width 0.3s ease;
}

.nav-list a:hover::after, .nav-list a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 8px 16px;
    background: linear-gradient(to right, var(--color-accent-1), var(--color-accent-2));
    border-radius: 25px;
    color: var(--color-bg-primary) !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 226, 230, 0.3);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 25px;
    position: relative;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-text-light);
    display: block;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ========== Banner principal ========== */
.section-banner {
    min-height: 600px;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    background: linear-gradient(to bottom, rgba(45, 49, 66, 0.8) 0%, rgba(45, 49, 66, 0.9) 100%), url('../img/klEbZS.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-banner h1 {
    max-width: 600px;
    margin: 0 auto;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease-out;
}

.section-banner p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.section-banner .cta-button {
    font-size: 1.1rem;
    padding: 15px 35px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

/* ========== Sección Sobre Nosotros ========== */
.section-about .container {
    text-align: center;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-image {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

/* ========== Sección Ventajas ========== */
.section-benefits {
    background-color: rgba(255, 255, 255, 0.05);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background-color: rgba(45, 49, 66, 0.8);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    margin-bottom: 20px;
}

/* ========== Sección Servicios ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    padding: 20px 20px 0;
}

.service-card p {
    padding: 0 20px;
    margin-bottom: 25px;
}

.service-link {
    margin: 0 20px 20px;
    display: inline-block;
    font-size: 0.9rem;
    padding: 10px 20px;
}

/* ========== Sección Testimonios ========== */
.section-testimonials {
    background-color: rgba(255, 255, 255, 0.05);
}

.testimonial-slider {
    margin-top: 40px;
    padding: 30px 0;
}

.testimonial {
    background-color: rgba(45, 49, 66, 0.8);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 60px;
    line-height: 1;
    color: var(--color-accent-1);
    opacity: 0.8;
}

.testimonial-author {
    text-align: right;
}

/* ========== Sección Formulario ========== */
.section-form {
    position: relative;
    background: linear-gradient(to bottom, rgba(45, 49, 66, 0.8) 0%, rgba(45, 49, 66, 0.9) 100%), url('../img/kz2XFV.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color:rgb(45 49 66);
    color: var(--color-text-white);
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent-1);
    background-color: rgb(45 49 66);
    box-shadow: 0 0 0 2px rgba(45, 226, 230, 0.3);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    flex: 1;
    margin: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

.submit-button {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
    font-size: 1.1rem;
}

/* ========== Sección FAQ ========== */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.faq-question {
    cursor: pointer;
    padding: 20px;
    position: relative;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-accent-1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item:hover .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px;
}

.faq-item:hover .faq-question::after {
    content: '-';
}

/* ========== Footer ========== */
.site-footer {
    background-color: rgba(25, 28, 41, 0.8);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--color-accent-1), var(--color-accent-2));
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--color-text-light);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-section ul li a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--color-accent-1);
    transition: transform 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--color-accent-1);
}

.footer-section ul li a:hover::before {
    transform: translateX(3px);
}

.footer-logo {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 8px;
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

/* ========== Cookie Popup ========== */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(45, 49, 66, 0.95);
    padding: 20px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: bottom 0.5s ease;
    backdrop-filter: blur(10px);
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

#accept-cookies {
    padding: 8px 20px;
    margin-right: 15px;
}

/* ========== Animaciones ========== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Media Queries ========== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section-banner {
        min-height: 70vh;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        flex: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .services-grid{
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        }
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        background-color: var(--color-bg-primary);
        padding: 40px 0;
        text-align: center;
        transition: left 0.3s ease;
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .testimonial-content {
        padding-left: 30px;
    }
    
    .section-banner h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-banner {
        min-height: 60vh;
    }
    
    .cookie-content {
        justify-content: center;
        text-align: center;
    }
    
    .cookie-content p {
        flex: auto;
        margin-bottom: 15px;
    }
} 