/* 
 * Audinova Consultoría Financiera - Main Stylesheet
 * Color Palette:
 * - Main background: #c0f0e8 (light turquoise)
 * - Accents: #4e2672 (dark purple)
 * - Headers: #24415c (gray-blue)
 * - Text: #2c2c2c (graphite-black)
 * - Buttons: gradient from #f79533 (orange) to #f37055 (crimson)
 */

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #c0f0e8;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: #4e2672;
    transition: color 0.3s ease;
}

a:hover {
    color: #24415c;
}

ul, ol {
    list-style-position: inside;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #24415c;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-outline, .btn-gradient {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #4e2672;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #3a1d55;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline {
    background-color: transparent;
    color: #4e2672;
    border: 2px solid #4e2672;
}

.btn-outline:hover {
    background-color: #4e2672;
    color: white;
    transform: translateY(-2px);
}

.btn-gradient {
    background: linear-gradient(to right, #f79533, #f37055);
    color: white;
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-gradient:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 112, 85, 0.3);
}

.btn-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #f37055, #f79533);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-gradient:hover::after {
    opacity: 1;
}

/* Header & Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-list li a {
    color: #24415c;
    font-weight: 500;
    padding: 0.5rem;
}

.nav-list li a:hover {
    color: #4e2672;
}

/* Sections Common Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header p {
    color: #4e2672;
    font-weight: 500;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(192, 240, 232, 0.8), rgba(78, 38, 114, 0.1));
    overflow: hidden;
    margin-top: 4rem;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #24415c;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-shape {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 70%;
    height: 120%;
    background: linear-gradient(45deg, rgba(78, 38, 114, 0.1), rgba(243, 112, 85, 0.2));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
}

/* About Section */
.about {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-features {
    list-style: none;
    margin-top: 1.5rem;
}

.about-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4e2672;
    font-weight: bold;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

/* Services Section */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background-color: white;
    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-content {
    padding: 2rem;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4e2672;
    font-weight: bold;
}

.service-price {
    margin: 1.5rem 0;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.service-price span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4e2672;
}

/* Testimonials Slider with CSS */
.testimonials {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-slider input {
    display: none;
}

.testimonials-wrapper {
    width: 400%;
    transition: transform 0.5s ease;
    display: flex;
}

.testimonial-slide {
    width: 25%;
    padding: 0 1rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-content {
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    font-family: Georgia, serif;
    color: rgba(78, 38, 114, 0.1);
    position: absolute;
    top: -2rem;
    left: -1rem;
}

.testimonial-author {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.875rem;
    color: #666;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.testimonials-controls label {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonials-controls label:hover {
    background-color: #bbb;
}

#testimonial-1:checked ~ .testimonials-wrapper {
    transform: translateX(0);
}

#testimonial-2:checked ~ .testimonials-wrapper {
    transform: translateX(-25%);
}

#testimonial-3:checked ~ .testimonials-wrapper {
    transform: translateX(-50%);
}

#testimonial-4:checked ~ .testimonials-wrapper {
    transform: translateX(-75%);
}

#testimonial-1:checked ~ .testimonials-controls label:nth-child(1),
#testimonial-2:checked ~ .testimonials-controls label:nth-child(2),
#testimonial-3:checked ~ .testimonials-controls label:nth-child(3),
#testimonial-4:checked ~ .testimonials-controls label:nth-child(4) {
    background-color: #4e2672;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-item input {
    display: none;
}

.faq-item label {
    display: block;
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.faq-item label:hover {
    background-color: rgba(78, 38, 114, 0.05);
}

.faq-item label::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #4e2672;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item input:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-item input:checked ~ label {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.faq-item input:checked ~ label::after {
    transform: translateY(-50%) rotate(45deg);
}

/* Contact Form Section */
.contact-form {
    background-color: white;
}

.form-container {
    max-width: 550px;
    margin: 0 auto;
}

.contact-form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.checkbox-group {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    color: #2c2c2c;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4e2672;
    box-shadow: 0 0 0 2px rgba(78, 38, 114, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.checkbox-item input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.form-submit {
    grid-column: span 2;
    text-align: center;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: #24415c;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.footer h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #c0f0e8;
}

.footer a {
    color: #c0f0e8;
}

.footer a:hover {
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-popup p {
    margin: 0;
    padding-right: 1rem;
}

.cookie-popup .cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.5s;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CSS for Animation Triggers */
:target {
    animation: highlight 1.5s ease;
}

@keyframes highlight {
    0% { background-color: rgba(78, 38, 114, 0.1); }
    100% { background-color: transparent; }
}

/* Responsive Design */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .header-content {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .nav-list {
        display: none;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .services-grid, .testimonials-slider, .faq-grid, .about-grid, .benefits-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-content {
        grid-template-columns: 1fr;
    }
    
    .form-group.checkbox-group {
        grid-column: span 1;
    }
    
    .form-submit {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        min-height: 60vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
} 