/* --- Estructura del paso --- */
.cg-step[data-step="1-5"] {
    display: none;
    text-align: center;
}

.cg-step[data-step="1-5"].active {
    display: block;
}

/* --- Grid de las Tarjetas --- */
.cg-grid-options-step1-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px auto;
    max-width: 850px;
    padding: 0 20px;
}

/* --- Estilo Base de las Tarjetas --- */
.cg-grid-options-step1-5 .cg-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Hover sutil */
.cg-grid-options-step1-5 .cg-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* ◄--- ESTADO SELECCIONADO (Borde e iluminación azul/dorada) --- */
.cg-grid-options-step1-5 .cg-card.selected {
    border-color: #0054a6; /* Azul corporativo */
    background: #f8fafc;
    box-shadow: 0 10px 20px -5px rgba(0, 84, 166, 0.15);
    transform: translateY(-4px);
}

/* --- Contenedor e Imágenes --- */
.cg-grid-options-step1-5 .cg-card-image-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f1f5f9;
}

.cg-grid-options-step1-5 .cg-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cg-grid-options-step1-5 .cg-card:hover .cg-card-image-wrapper img {
    transform: scale(1.03);
}

/* --- Textos de la Tarjeta --- */
.cg-grid-options-step1-5 .cg-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    display: block;
}

.cg-grid-options-step1-5 .cg-card-subtitle-text {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.4;
    display: block;
    min-height: 40px; /* Alinea los textos aunque cambie el largo */
}

/* --- Lista de Características --- */
.cg-step1-5-features {
    list-style: none;
    padding: 15px 0 0 0;
    margin: 15px 0 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
    font-size: 13px;
    width: 100%;
    border-top: 1px solid #f1f5f9;
}

.cg-step1-5-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
}

.cg-check-gold {
    color: #b8860b;
    font-weight: bold;
    font-size: 14px;
}

/* --- Badge / Check flotante superior derecho --- */
.cg-grid-options-step1-5 .cg-check-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #0054a6;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
    z-index: 2;
}

.cg-grid-options-step1-5 .cg-card.selected .cg-check-badge {
    opacity: 1;
    transform: scale(1);
}

/* --- Botones de Navegación --- */
.cg-navigation-step1-5 {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.cg-navigation-step1-5 button {
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cg-navigation-step1-5 .cg-btn-back {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.cg-navigation-step1-5 .cg-btn-back:hover {
    background-color: #e2e8f0;
}

.cg-navigation-step1-5 .cg-btn-next {
    background-color: #0054a6;
    color: #ffffff;
    border: none;
}

.cg-navigation-step1-5 .cg-btn-next:hover {
    background-color: #004080;
}