/* ========================================
   AUDITIVA FINANZAS - ESTILOS PRINCIPALES
   Paleta: #A1FFCE, #12CBC4, #EA2027, #2F3640
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-bg: #A1FFCE;
    --accent-teal: #12CBC4;
    --accent-fuchsia: #EA2027;
    --text-dark: #2F3640;
    --text-light: #ffffff;
    --gradient: linear-gradient(135deg, #EA2027 0%, #12CBC4 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--main-bg);
    min-height: 100vh;
}

/* CONTENEDOR PRINCIPAL */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    background: var(--text-light);
    box-shadow: 0 2px 10px rgba(47, 54, 64, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.logo {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--accent-teal);
}

.contact-info {
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* SECCIONES PRINCIPALES */
.section {
    padding: 4rem 0;
}

.section:nth-child(even) {
    background: var(--text-light);
}

/* SECCIÓN SOBRE NOSOTROS CON IMAGEN */
.section-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 500px;
}

.section-content {
    padding: 2rem;
}

.section-image {
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    min-height: 400px;
    box-shadow: 0 10px 30px rgba(47, 54, 64, 0.2);
}

/* SECCIÓN VENTAJAS CON FONDO */
.advantages-section {
    background-image: url('./img/4PPPBr.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
}

.advantages-section .container {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 1rem auto;
    border-radius: 2px;
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding: 6rem 0;
    background: var(--gradient);
    background-image: url('./img/1vNkv9.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: var(--text-light);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(234, 32, 39, 0.8) 0%, rgba(18, 203, 196, 0.8) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--text-light);
    color: var(--text-dark);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* GRID LAYOUTS */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* CARDS */
.card {
    background: var(--text-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(47, 54, 64, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(47, 54, 64, 0.15);
}

.card h3 {
    color: var(--accent-teal);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card .price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-fuchsia);
    margin: 1rem 0;
}

/* FORMULARIO */
.form-container {
    background: var(--text-light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(47, 54, 64, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    background: var(--text-light);
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-teal);
}

.form-control::placeholder {
    color: #999;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
    transform: scale(1.2);
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: var(--accent-teal);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(234, 32, 39, 0.3);
}

/* TESTIMONIOS */
.testimonial {
    background: var(--main-bg);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--accent-teal);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-fuchsia);
}

/* PROCESO */
.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--text-light);
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* SECCIÓN PROCESO CON IMAGEN DE FONDO */
.process-section {
    background-image: url('./img/20JQFd.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(161, 255, 206, 0.92);
    z-index: 1;
}

.process-section .container {
    position: relative;
    z-index: 2;
}

/* FOOTER */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-teal);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    line-height: 2;
}

.footer-section a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    font-size: 0.9rem;
}

/* COOKIE POPUP */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: var(--text-light);
    padding: 1.5rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-accept {
    background: var(--accent-teal);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav {
        display: none;
    }
    .contact-info {
        display: none;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-image {
        min-height: 250px;
        order: -1;
    }
    
    .advantages-section {
        background-attachment: scroll;
    }
    
    .process-section {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem 1rem;
    }
}

/* UTILIDADES */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.highlight {
    color: var(--accent-fuchsia);
    font-weight: 600;
} 