/* ─── WHY CHOOSE US ──────────────────────────────────────────────────────────*/
.ch-why {
    padding: var(--section-padding);
    overflow: visible;
}

.ch-why__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: stretch;
}


/* CONTENT */
.section-title {
    font-weight: 600;
}

.ch-why__subtitle {
    font-size: 16px;
    color: var(--color-text-mid);
    line-height: 1.7;
    max-width: 100%;
    margin-bottom: 40px;
    font-family: var(--font-body);
    word-break: break-word;
    overflow-wrap: break-word;
}

.ch-why__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ch-why__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-lg);
    border-left: 3px solid var(--color-primary);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ch-why__item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transform: translateX(4px);
}

.ch-why__item-icon {
    width: 40px;
    height: 40px;
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 16px;
    flex-shrink: 0;
}

.ch-why__item-text {
    flex: 1;
    min-width: 0;
}

.ch-why__item-title {
    font-family: var(--font-heading);
    font-size: 17px;
    color: var(--color-bg-dark);
    text-transform: uppercase;
    margin-bottom: 6px;
    line-height: 1.2;
}

.ch-why__item-desc {
    font-size: 13px;
    color: var(--color-text-mid);
    line-height: 1.6;
    font-family: var(--font-body);
    margin: 0;
}


/* IMAGE / VIDEO WRAP */
.ch-why__image-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
    min-height: 320px;
}

/* Círculo decorativo solo cuando hay imagen */
.ch-why__image-wrap::before {
    display: none;
}

.ch-why__image-wrap:has(img:not(.ch-why__video-thumb))::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80%;
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    border-radius: 50%;
    z-index: 1;
}

.ch-why__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.ch-why__image-placeholder {
    width: 100%;
    background: var(--color-bg-soft);
    border: 2px dashed var(--color-border-light);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-border-light);
    font-size: 60px;
    position: relative;
    min-height: 320px;
}


/* VIDEO */
.ch-why__video-wrap {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    width: 100%;
    min-height: 320px;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.ch-why__video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}


/* RESPONSIVE */
@media ( max-width: 1024px ) {
    .ch-why__inner {
        grid-template-columns: 1fr;
        align-items: center;
        gap: 48px;
    }

    .ch-why__image-wrap {
        order: -1;
        width: 100%;
        min-height: 0;
        aspect-ratio: 16/9;
    }

    .ch-why__video-wrap {
        min-height: 0;
        aspect-ratio: 16/9;
    }

    .ch-why__subtitle {
        max-width: 100%;
    }
}

@media ( max-width: 640px ) {
    .ch-why__item {
        padding: 16px;
    }

    .ch-why__item-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .ch-why__image-wrap {
        max-width: 100%;
    }
}