/* ========================================
   HERO CARRUSEL
   ======================================== */
.hero {
    padding-top: 100px;
    background: var(--bg-cream);
    position: relative;
    overflow: hidden;
}
.carousel-container {
    position: relative;
    height: 600px;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-soft);
    margin-bottom: 80px;
}
.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 60px;
    background: var(--bg-white);
    position: relative;
}
.carousel-slide:nth-child(2) { background: var(--bg-grey-light); }
.carousel-slide:nth-child(3) { background: var(--bg-cream); }

.carousel-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 24px;
}
.carousel-text h1 span { color: var(--color-coral); }
.carousel-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 450px;
    line-height: 1.7;
}

.carousel-img {
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-hero);
}

/* Controles del carrusel */
.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}
.carousel-dots {
    display: flex;
    gap: 10px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(45, 42, 37, 0.2);
    cursor: pointer;
    transition: background 0.3s;
}
.dot.active { background: var(--color-coral); }
.carousel-arrows button {
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.carousel-arrows button:hover {
    background: var(--color-coral);
    color: white;
}

/* ========================================
   SECCIÓN: PARA QUIÉN SIRVE
   ======================================== */
.target-section {
    padding: 60px 0 100px 0;
    text-align: center;
}
.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.target-card {
    text-align: left;
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: var(--radius-soft);
}
.target-card i {
    font-size: 3rem;
    color: var(--color-coral);
    background: rgba(255, 123, 84, 0.1);
    padding: 16px;
    border-radius: var(--radius-soft);
    margin-bottom: 24px;
    display: inline-block;
}
.target-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.target-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ========================================
   SECCIÓN: VIDEO Y CÓMO FUNCIONA
   ======================================== */
.video-section {
    padding: 80px 0;
    background: var(--bg-white);
}
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-soft);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.video-text h2 { font-size: 2.5rem; margin-bottom: 24px; }
.video-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}
.video-feature i {
    font-size: 1.8rem;
    color: var(--color-coral);
    margin-top: 4px;
}

/* ========================================
   SECCIÓN: CARACTERÍSTICAS
   ======================================== */
.features-section {
    padding: 80px 0;
    background: var(--bg-cream);
}
.features-section .section-title { text-align: center; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-soft);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.02);
    text-align: left;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}
.feature-card i {
    font-size: 2.5rem;
    color: var(--color-coral);
    margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ========================================
   SECCIÓN: PRECIOS Y CTA DEMO (en el home)
   ======================================== */
.pricing-section {
    padding: 80px 0;
    background: var(--bg-white);
    text-align: center;
}
.demo-cta {
    background: var(--color-coral);
    padding: 48px;
    border-radius: var(--radius-soft);
    color: white;
    max-width: 800px;
    margin: 0 auto 60px auto;
    box-shadow: 0 8px 30px rgba(255, 123, 84, 0.3);
}
.demo-cta h2 { color: white; margin-bottom: 16px; }
.demo-cta p { margin-bottom: 24px; opacity: 0.9; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.pricing-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pricing-card.popular {
    border: 2px solid var(--color-coral);
    position: relative;
}
.pricing-card.popular::before {
    content: 'MÁS POPULAR';
    position: absolute;
    top: -14px;
    right: 20px;
    background: var(--color-coral);
    color: white;
    padding: 4px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
}
.pricing-header h3 { font-size: 1.8rem; font-weight: 700; }
.pricing-header .price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 12px 0 4px 0;
}
.pricing-header .price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-features {
    margin: 24px 0;
    border-top: 1px solid #eee;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.pricing-features li i { color: var(--color-green-dark); }
.pricing-btn { width: 100%; text-align: center; justify-content: center; }

/* ========================================
   SECCIÓN: APP Y BOLETÍN
   ======================================== */
.app-newsletter {
    padding: 80px 0;
    background: var(--bg-grey-light);
    position: relative;
}
.app-newsletter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.app-promo {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.app-promo i { font-size: 3rem; color: var(--color-coral); margin-bottom: 16px; }
.app-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.app-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--text-dark);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: 0.3s;
}
.app-btn:hover { background: var(--color-coral); transform: translateY(-2px); }

.newsletter-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-card);
}
.newsletter-box h3 { margin-bottom: 16px; }
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}
.newsletter-form input {
    padding: 16px 20px;
    border: 1px solid #ddd;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    background: var(--bg-cream);
}
.newsletter-form input:focus { border-color: var(--color-coral); background: white; }
.newsletter-form button { width: 100%; justify-content: center; }

/* Media queries del home */
@media (max-width: 1024px) {
    .carousel-slide { grid-template-columns: 1fr; padding: 40px 20px; }
    .carousel-slide .carousel-img { height: 300px; margin-top: 20px; }
    .carousel-container { height: auto; padding-bottom: 80px; }
    .video-grid { grid-template-columns: 1fr; }
    .video-text { order: 2; }
    .video-wrapper { order: 1; }
}
@media (max-width: 768px) {
    .app-newsletter-grid { grid-template-columns: 1fr; }
    .app-promo { text-align: center; }
    .app-buttons { justify-content: center; }
}