/* Variables CSS */
:root {
    --color-primary: #5D3FD3;
    --color-accent: #FF6B6B;
    --color-background: #FFFAF0;
    --color-text: #2E2E2E;
    --color-light-gray: #f0f0f0;
    --color-mid-gray: #dddddd;
    --color-dark-gray: #888888;
    --font-main: 'Montserrat', Arial, sans-serif;
    --font-heading: 'Raleway', Arial, sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --transition-fast: 0.3s ease;
    --max-width: 1200px;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 0;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

h2:after {
    content: "";
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    width: 80px;
    height: 3px;
    background-color: var(--color-accent);
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}
section {
    padding: 5rem 0;
}
.legal-section h1{
    text-align: center;
}
/* Botones */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    height: 40px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    font-weight: 500;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-text);
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 5rem;
    background: linear-gradient(rgba(93, 63, 211, 0.85), rgba(123, 104, 238, 0.85)), url('./img/rHX3pW.jpg');
    color: white;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.logo-container {
    margin-bottom: 2rem;
}

.hero-section h1 {
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
.about-section {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Benefits Section */
.benefits-section {
    background-color: var(--color-background);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Services Section */
.services-section {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--color-background);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3, .service-card p {
    padding: 0 1.5rem;
}

.service-card h3 {
    margin-top: 1.5rem;
}

.service-card .btn-secondary {
    margin: 1.5rem;
    display: inline-block;
}

/* Why Us Section */
.why-us-section {
    background-color: var(--color-background);
}

.why-us-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.why-us-text {
    flex: 1.5;
}

.why-us-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkmark-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.checkmark-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.stat-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-primary);
    display: block;
    line-height: 1;
}

/* Testimonials Section */
.testimonials-section {
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--color-background);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-text::before {
    content: "\201C";
    font-size: 4rem;
    position: absolute;
    top: 0;
    left: 1rem;
    opacity: 0.1;
    color: var(--color-primary);
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-primary);
}

/* Contact Section */
.contact-section {
    background-color: var(--color-background);
}

.contact-content {
    display: flex;
    gap: 3rem;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-mid-gray);
    border-radius: 4px;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.75rem;
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Footer */
footer {
    background-color: var(--color-text);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.footer-column p {
    margin-bottom: 1rem;
    color: #ccc;
}

.footer-links a {
    display: block;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #999;
}

/* Cookies Popup */
.cookie-popup {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    flex: 1;
    min-width: 200px;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.cookie-accept {
    background-color: var(--color-primary);
    color: white;
}

.cookie-more {
    background-color: var(--color-light-gray);
    color: var(--color-text);
}

.hidden {
    display: none;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-card, .benefit-card, .testimonial-card, .stat-item {
    animation: fadeIn 0.5s ease forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Media Queries */
@media (max-width: 992px) {
    .about-content, .why-us-content, .contact-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
    
    .services-grid, .testimonials-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow-sm);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.75rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-section {
        padding: 7rem 0 4rem;
    }
    
    .footer-column {
        flex-basis: 100%;
    }
} 