/* ===== LANDING PAGE - INICIO.CSS ===== */

/* Hero Section Moderno */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--space-24) 0 var(--space-16);
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #dbeafe 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.hero-shape.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.hero-shape.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary), var(--primary-light));
    bottom: -10%;
    left: -5%;
    animation-delay: 7s;
}

.hero-shape.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(52, 152, 219, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--dark-text);
}

.hero-highlight {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: var(--text-xl);
    line-height: 1.7;
    color: var(--medium-text);
    margin-bottom: var(--space-8);
}

.hero-stats {
    display: flex;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
    padding: var(--space-6) 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--medium-text);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.trust-avatars {
    display: flex;
    align-items: center;
}

.trust-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--white);
    margin-left: -12px;
    object-fit: cover;
}

.trust-avatars img:first-child {
    margin-left: 0;
}

.trust-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: var(--text-xs);
    font-weight: 700;
    margin-left: -12px;
    border: 3px solid var(--white);
}

.trust-text {
    font-size: var(--text-sm);
    color: var(--medium-text);
    margin: 0;
}

.trust-text strong {
    color: var(--dark-text);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
}

.hero-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    animation: floatCard 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.hero-card-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.hero-card-2 {
    top: 45%;
    right: 10%;
    animation-delay: 2s;
}

.hero-card-3 {
    bottom: 10%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-2xl);
    flex-shrink: 0;
}

.hero-card .card-content h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-1);
    color: var(--dark-text);
}

.hero-card .card-content p {
    font-size: var(--text-sm);
    color: var(--medium-text);
    margin: 0;
}

.hero-illustration {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

.illustration-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0.05) 100%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-illustration i {
    font-size: 150px;
    color: var(--primary);
    opacity: 0.15;
    z-index: 1;
}

/* Features Section */
.features {
    padding: var(--space-16) 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-2xl);
}

.feature-item h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--dark-text);
}

.feature-item p {
    color: var(--medium-text);
    margin: 0;
}

/* Section Headers */
.section-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(52, 152, 219, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.section-header h2 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Simulacros Section */
.simulacros {
    padding: var(--space-24) 0;
    background: var(--background-light);
}

.simulacros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.simulacro-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.simulacro-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.simulacro-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.02) 0%, rgba(52, 152, 219, 0.05) 100%);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-6);
}

.simulacro-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-3xl);
}

.simulacro-badge {
    padding: var(--space-2) var(--space-3);
    background: var(--gray-100);
    color: var(--medium-text);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}

.simulacro-badge.popular {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
}

.simulacro-badge.featured-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.simulacro-card h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--dark-text);
}

.simulacro-card > p {
    color: var(--medium-text);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

.simulacro-features {
    margin-bottom: var(--space-8);
    padding: var(--space-6);
    background: var(--background-light);
    border-radius: var(--radius-lg);
}

.feature-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
    color: var(--medium-text);
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row i {
    color: var(--success);
    font-size: var(--text-base);
}

/* Services Section */
.services {
    padding: var(--space-24) 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-6);
}

.service-card h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--dark-text);
}

.service-card > p {
    color: var(--medium-text);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-8);
}

.service-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    color: var(--medium-text);
    font-size: var(--text-sm);
}

.service-list li i {
    color: var(--success);
}

/* Testimonials Section */
.testimonials {
    padding: var(--space-24) 0;
    background: var(--background-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-6);
    color: var(--accent);
    font-size: var(--text-lg);
}

.testimonial-text {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--medium-text);
    margin-bottom: var(--space-8);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-6);
    border-top: 1px solid var(--gray-200);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.author-info h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-1);
    color: var(--dark-text);
}

.author-info p {
    font-size: var(--text-sm);
    color: var(--medium-text);
    margin-bottom: var(--space-2);
}

.author-location {
    font-size: var(--text-xs);
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

/* CTA Section */
.cta-section {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-6);
}

.cta-content p {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-10);
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

/* Contact Section */
.contact {
    padding: var(--space-24) 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-12);
    margin-top: var(--space-12);
}

.contact-info-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--space-10);
    border-radius: var(--radius-2xl);
    color: var(--white);
}

.contact-info-section h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--white);
}

.contact-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.contact-items {
    margin-bottom: var(--space-10);
}

.contact-item {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--white);
}

.contact-details p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: var(--text-sm);
}

.contact-social h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: var(--white);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-lg);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-section {
    background: var(--background-light);
    padding: var(--space-10);
    border-radius: var(--radius-2xl);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--dark-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: var(--space-16) 0 var(--space-12);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .hero-card {
        padding: var(--space-4);
    }
    
    .features-grid,
    .simulacros-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .section-header h2 {
        font-size: var(--text-3xl);
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-text {
        font-size: var(--text-lg);
    }
}
