/* ===== About Carousel Component ===== */
.about-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

/* Desktop grande - mejoras adicionales */
@media (min-width: 1200px) {
    .about-content-grid {
        gap: 6rem;
    }
    
    .about-text {
        padding: 4rem 3.5rem;
        gap: 3.5rem;
    }
    
    .about-text p {
        font-size: 1.6rem;
        line-height: 2;
    }
    
    .features-list li {
        font-size: 1.3rem;
        padding: 1.25rem 0 1.25rem 4rem;
    }
    
    .features-list li:hover {
        padding-left: 4.5rem;
    }
    
    .features-list li::before {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Texto */
.about-text {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 3.5rem 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 251, 247, 0.98) 100%);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 115, 85, 0.1);
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 0 3px 3px 0;
    box-shadow: 2px 0 8px rgba(139, 115, 85, 0.2);
}

.about-text::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.about-text p {
    font-size: 1.5rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.02em;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-family: var(--font-body);
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.features-list li {
    font-size: 1.25rem;
    color: var(--text-dark);
    padding: 1rem 0 1rem 3.5rem;
    position: relative;
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: 0.015em;
    text-align: left;
    font-family: var(--font-body);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    width: 100%;
    background: transparent;
}

.features-list li:hover {
    background: linear-gradient(90deg, rgba(139, 115, 85, 0.08) 0%, rgba(139, 115, 85, 0.03) 100%);
    transform: translateX(8px);
    padding-left: 4rem;
    box-shadow: -4px 0 12px rgba(139, 115, 85, 0.1);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.35), 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.features-list li:hover::before {
    transform: translateY(-50%) scale(1.2) rotate(5deg);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.5), 0 3px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-color) 100%);
}

/* Carrusel */
.about-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Controles del carrusel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-indicators .indicator.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 968px) {
    .about-section {
        padding: 4rem 0;
    }

    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text {
        order: 2;
        padding: 2rem;
        text-align: center;
    }
    
    .features-list {
        align-items: center;
    }
    
    .features-list li {
        text-align: center;
        padding-left: 2.5rem;
        padding-right: 0;
    }

    .about-carousel-wrapper {
        order: 1;
    }

    .about-carousel-wrapper {
        margin: 0;
        width: 100%;
    }

    .about-carousel {
        aspect-ratio: 16 / 9;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .about-section {
        padding: 3rem 1rem;
    }

    .about-content-grid {
        gap: 2.5rem;
        padding: 0 0.5rem;
    }

    .about-text {
        padding: 1.75rem;
        text-align: center;
        gap: 2rem;
    }

    .about-text p {
        font-size: 1.15rem;
        line-height: 1.75;
    }

    .features-list {
        align-items: center;
        gap: 1rem;
    }

    .features-list li {
        font-size: 1.05rem;
        line-height: 1.7;
        padding-left: 2.25rem;
        padding-right: 0;
        text-align: center;
    }
    
    .features-list li::before {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }

    .about-carousel-wrapper {
        border-radius: 8px;
        margin: 0;
        width: 100%;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 15px;
    }

    .carousel-indicators .indicator {
        width: 10px;
        height: 10px;
    }

    .carousel-indicators .indicator.active {
        width: 24px;
    }
}

/* Mobile pequeño */
@media (max-width: 480px) {
    .about-section {
        padding: 2.5rem 1rem;
    }

    .about-content-grid {
        gap: 2rem;
        padding: 0;
    }

    .about-text {
        padding: 1.5rem;
        gap: 1.75rem;
    }

    .about-text p {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .features-list {
        gap: 0.875rem;
    }

    .features-list li {
        font-size: 0.95rem;
        padding-left: 2rem;
        padding-right: 0;
        line-height: 1.65;
    }
    
    .features-list li::before {
        width: 22px;
        height: 22px;
        font-size: 0.85rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    .carousel-prev {
        left: 5px;
    }

    .carousel-next {
        right: 5px;
    }
}

