/* ===== VARIABLES & RESET ===== */
:root {
    --primary-purple: #3C0D3C;
    --accent-lime: #D4FF00;
    --dark-gray: #2B2B2B;
    --light-beige: #FFF4E6;
    --coral-accent: #FF5E5B;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-light: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Offset para navegación con sticky navbar */
#about,
#advantages,
#services,
#reviews,
#contact-form {
    scroll-margin-top: 100px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===== LAYOUT COMPONENTS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 16px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-lime), var(--coral-accent));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--coral-accent));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(60, 13, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(60, 13, 60, 0.4);
}

.btn-full {
    width: 100%;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-gray);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-accept {
    background: var(--accent-lime);
    color: var(--dark-gray);
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept:hover {
    background: var(--coral-accent);
    color: var(--white);
}

.btn-info {
    color: var(--accent-lime);
    padding: 10px 20px;
    border: 2px solid var(--accent-lime);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-info:hover {
    background: var(--accent-lime);
    color: var(--dark-gray);
}

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ===== ERROR MESSAGE ===== */
.error-message {
    background: var(--coral-accent);
    color: var(--white);
    padding: 15px 0;
    text-align: center;
    font-weight: 600;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-purple);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-lime);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-purple);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary-purple), var(--coral-accent));
    color: var(--white) !important;
    padding: 12px 24px !important;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(60, 13, 60, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(60, 13, 60, 0.4);
}

.nav-cta::after {
    display: none;
}

.logo {
    width: 50px;
    height: 50px;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-purple);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--light-beige) 0%, var(--white) 100%);
    padding: 100px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* ===== ADVANTAGES SECTION ===== */
.advantages {
    padding: 100px 0;
    background: var(--light-beige);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-lime);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 1.4rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-content ul {
    list-style: none;
}

.service-content li {
    padding: 8px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 20px;
}

.service-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-lime);
    font-weight: bold;
}

/* ===== REVIEWS SECTION ===== */
.reviews {
    padding: 100px 0;
    background: var(--dark-gray);
    color: var(--white);
}

.reviews .section-header h2 {
    color: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: var(--accent-lime);
    font-weight: bold;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.review-content p {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.review-author strong {
    color: var(--primary-purple);
    font-size: 1.1rem;
}

.review-author span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* ===== PROCESS SECTION ===== */
.process {
    padding: 100px 0;
    background: var(--light-beige);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-purple), var(--coral-accent));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

.step::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: var(--accent-lime);
    z-index: 1;
}

.step:last-child::before {
    display: none;
}

.step-content h3 {
    font-size: 1.4rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-weight: 600;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
    background: var(--primary-purple);
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact .contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.contact .contact-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.contact-item strong {
    color: var(--accent-lime);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-purple);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-lime);
    box-shadow: 0 0 0 3px rgba(212, 255, 0, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-label a {
    color: var(--primary-purple);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--coral-accent);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-lime);
    margin-bottom: 20px;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
    color: var(--white);
}

.footer .contact-info {
    margin-top: 0;
}

.footer .contact-info p {
    margin-bottom: 10px;
    color: var(--white);
    opacity: 0.9;
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-links a {
    color: var(--white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    color: var(--accent-lime);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.7;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero .container {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .advantages-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .step::before {
        display: none;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .legal-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .advantage-card,
    .service-card {
        margin: 0 10px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.8rem;
    }
} 