/* ==========================================
   LifeSmart - Proyecto Corporativo Page
   ========================================== */

/* ==========================================
   Hero Split Section
   ========================================== */
.hero-split {
    display: flex;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
}

.hero-image {
    position: relative;
    width: 50%;
    min-height: 600px;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

.hero-content {
    width: 50%;
    background-color: var(--color-primary);
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.hero-label {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--color-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    width: fit-content;
}

.hero-title {
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin: 0;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin: 0;
}

.hero-location svg {
    width: 18px;
    height: 18px;
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    max-width: 480px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 16px;
}

.hero-split .stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-split .stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-accent);
    font-family: var(--font-secondary);
}

.hero-split .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   Timeline Section
   ========================================== */
.timeline-section {
    padding: 80px;
    background-color: var(--color-bg-light);
}

.timeline-header {
    text-align: center;
    margin-bottom: 48px;
}

.timeline-header .section-title {
    margin-top: 16px;
}

.timeline-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px;
    background-color: #fff;
    border-radius: 16px;
    width: 280px;
    text-align: center;
    transition: all 0.3s ease;
}

.timeline-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.step-description {
    font-size: 14px;
    color: var(--color-secondary);
    line-height: 1.5;
    margin: 0;
}

.step-time {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
}

/* ==========================================
   Results Carousel Section
   ========================================== */
.results-section {
    padding: 80px;
    background-color: #fff;
}

.results-header {
    text-align: center;
    margin-bottom: 48px;
}

.results-header .section-title {
    margin-top: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-secondary);
    margin-top: 12px;
}

.results-carousel-wrapper {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.carousel-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background-color: var(--color-accent);
    color: #fff;
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
}

.results-carousel {
    display: flex;
    gap: 24px;
    overflow: hidden;
    flex: 1;
}

.result-slide {
    position: relative;
    min-width: calc(33.333% - 16px);
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.result-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.result-slide:hover img {
    transform: scale(1.05);
}

.result-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 12px 16px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-slide:hover .result-label {
    opacity: 1;
}

/* ==========================================
   Testimonial Section
   ========================================== */
.testimonial-section {
    padding: 80px;
    background-color: var(--color-primary);
}

.testimonial-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.quote-icon {
    font-size: 120px;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 1;
    flex-shrink: 0;
}

.testimonial-text {
    font-size: 24px;
    color: #fff;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 24px 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.author-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   Products Section
   ========================================== */
.products-section {
    padding: 80px;
    background-color: var(--color-bg-light);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.products-header-left .section-title {
    margin-top: 8px;
}

.products-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.total-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-accent);
    font-family: var(--font-secondary);
}

.total-label {
    font-size: 14px;
    color: var(--color-secondary);
}

.products-grid {
    display: flex;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.product-card-corp {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background-color: #fff;
    border-radius: 16px;
    width: 220px;
    transition: all 0.3s ease;
}

.product-card-corp:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.product-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E8F5F5;
    border-radius: 12px;
}

.product-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.product-card-corp .product-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.product-card-corp .product-qty {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section-corp {
    padding: 80px;
    background-color: var(--color-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.cta-section-corp .cta-content {
    max-width: 600px;
}

.cta-section-corp .cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
}

.cta-section-corp .cta-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

.cta-section-corp .cta-buttons {
    display: flex;
    gap: 16px;
}

.cta-section-corp .btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background-color: #fff;
    color: var(--color-accent);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section-corp .btn-cta-primary:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

.cta-section-corp .btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section-corp .btn-cta-secondary:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.cta-section-corp .btn-cta-primary svg,
.cta-section-corp .btn-cta-secondary svg {
    width: 20px;
    height: 20px;
}

/* ==========================================
   Responsive - Tablet (max 1024px)
   ========================================== */
@media (max-width: 1024px) {
    .hero-split {
        flex-direction: column;
    }

    .hero-image,
    .hero-content {
        width: 100%;
    }

    .hero-image {
        min-height: 400px;
    }

    .hero-content {
        padding: 60px 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
    }

    .timeline-section,
    .results-section,
    .testimonial-section,
    .products-section,
    .cta-section-corp {
        padding: 60px 40px;
    }

    .timeline-grid {
        flex-wrap: wrap;
    }

    .timeline-step {
        width: calc(50% - 12px);
    }

    .result-slide {
        min-width: calc(50% - 12px);
    }

    .testimonial-content {
        flex-direction: column;
        gap: 24px;
    }

    .quote-icon {
        font-size: 80px;
    }

    .cta-section-corp {
        flex-direction: column;
        text-align: center;
    }

    .products-header {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .products-total {
        align-items: center;
    }
}

/* ==========================================
   Responsive - Mobile (max 768px)
   ========================================== */
@media (max-width: 768px) {
    .hero-split {
        margin-top: 70px;
    }

    .hero-image {
        min-height: 300px;
    }

    .hero-content {
        padding: 48px 24px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-split .stat-value {
        font-size: 24px;
    }

    .timeline-section,
    .results-section,
    .testimonial-section,
    .products-section,
    .cta-section-corp {
        padding: 48px 24px;
    }

    .timeline-grid {
        flex-direction: column;
        align-items: center;
    }

    .timeline-step {
        width: 100%;
        max-width: 320px;
    }

    .carousel-arrow {
        display: none;
    }

    .results-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 16px;
    }

    .result-slide {
        min-width: 280px;
        scroll-snap-align: start;
    }

    .result-label {
        opacity: 1;
    }

    .testimonial-text {
        font-size: 18px;
    }

    .quote-icon {
        font-size: 60px;
    }

    .products-grid {
        gap: 16px;
    }

    .product-card-corp {
        width: calc(50% - 8px);
    }

    .cta-section-corp .cta-title {
        font-size: 24px;
    }

    .cta-section-corp .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-section-corp .btn-cta-primary,
    .cta-section-corp .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   Responsive - Small Mobile (max 480px)
   ========================================== */
@media (max-width: 480px) {
    .hero-image {
        min-height: 250px;
    }

    .hero-content {
        padding: 40px 16px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .timeline-section,
    .results-section,
    .testimonial-section,
    .products-section,
    .cta-section-corp {
        padding: 40px 16px;
    }

    .timeline-step {
        padding: 24px;
    }

    .result-slide {
        min-width: 260px;
        height: 200px;
    }

    .product-card-corp {
        width: 100%;
        flex-direction: row;
        align-items: center;
    }

    .product-card-corp .product-name {
        flex: 1;
    }

    .total-number {
        font-size: 32px;
    }

    .cta-section-corp .cta-title {
        font-size: 22px;
    }

    .cta-section-corp .btn-cta-primary,
    .cta-section-corp .btn-cta-secondary {
        padding: 14px 24px;
        font-size: 14px;
    }
}
