/* index.css – Versión 1.4: Home completo con sección unificada stats+intro en blanco */
:root {
    --primary-red: #A91515;
    --dark-bg: #0f0f0f;
    --light-bg: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #e0e0e0;
    --gray: #888;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: var(--dark-bg);
    color: var(--text-light);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* HERO */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero-content h1 {
    font-size: 5.5rem;
    font-weight: 900;
    margin: 0 0 25px;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.subtitle {
    font-size: 1.8rem;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-light);
    line-height: 1.5;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background: #8b0000;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: white;
}

/* SECCIÓN UNIFICADA: STATS + INTRO */
.intro-stats {
    background: #ffffff;
    color: #1a1a1a;
    padding: 100px 0;
    text-align: center;
}

.stats-list {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 8px;
}

.stat-item .label {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.4;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #000;
}

.intro-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

/* SECCIÓN ICONOS */
.icons-section {
    background: var(--dark-bg);
    padding: 50px 0;
}

.icons-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.icon-item {
    text-align: center;
    max-width: 250px;
}

.icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.icon-item h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 10px;
}

.icon-item p {
    font-size: 1rem;
    color: var(--gray);
}

/* TESTIMONIOS REALES - carrusel con loop infinito y botón debajo */
.testimonios {
    padding: 120px 0 80px;
    background: rgba(15,15,15,0.95);
    position: relative;
}

.testimonios h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: #fff;
}

.testi-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.testi-carousel {
    display: flex;
    transition: transform 0.6s ease;
    gap: 30px;
}

.testi-card {
    flex: 0 0 340px;
    background: rgba(30,30,30,0.9);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(169,21,21,0.15);
    transition: all 0.3s;
}

.testi-card:hover {
    transform: translateY(-10px);
    border-color: #A91515;
    box-shadow: 0 10px 30px rgba(169,21,21,0.2);
}

.stars {
    color: #A91515;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.testi-card p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ddd;
    font-style: italic;
}

.testi-card span {
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
}

/* Flechas */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-prev:hover, .carousel-next:hover {
    background: #A91515;
}

/* Botón debajo, centrado y separado */
.testi-button-wrapper {
    text-align: center;
    margin-top: 50px;
}

.btn-primary.center {
    display: inline-block;
    padding: 16px 50px;
    background: #A91515;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.3rem;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary.center:hover {
    background: #8B0000;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .testi-card {
        flex: 0 0 45%;
    }
}

@media (max-width: 768px) {
    .testi-card {
        flex: 0 0 90%;
    }
    .carousel-prev, .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    .testimonios h2 {
        font-size: 2.5rem;
    }
}
/* CTA FINAL */
.cta-final {
    padding: 140px 0;
    text-align: center;
    background: var(--dark-bg);
}

.cta-final h2 {
    font-size: 4rem;
    margin-bottom: 25px;
    color: #fff;
}

.cta-final p {
    font-size: 1.5rem;
    margin-bottom: 50px;
    color: var(--text-light);
}

.btn-primary.grande {
    padding: 25px 70px;
    font-size: 1.6rem;
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.9s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 4.2rem; }
    .stats-list { gap: 40px; }
}

@media (max-width: 768px) {
    .hero { min-height: 80vh; padding: 0 20px; }
    .hero-content h1 { font-size: 3.2rem; }
    .hero-content .subtitle { font-size: 1.4rem; }
    .hero-ctas { flex-direction: column; gap: 20px; }
    .intro-stats { padding: 80px 0; }
    .testimonios, .cta-final { padding: 80px 0; }
    .icons-grid { flex-direction: column; gap: 40px; }
}