/* ====== ACCESO RAPIDO - BOTONERA PASO 1 ====== */

/* ====== TITULO ====== */
.step1-section-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a2332;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
}
.step1-section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #a5bf00;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* ====== CONTENEDOR (full-width) ====== */
.category-buttons-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding-bottom: 1rem;
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
}

/* ====== BOTON BASE ====== */
a.category-btn {
    text-decoration: none;
    color: inherit;
}
.category-buttons-inline .category-btn {
    flex: 1 1 0%;
    width: 0;
    min-width: 0;
    max-width: none;
    min-height: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    text-align: left;
    cursor: pointer;
    background: #ffffff;
    border: 1.5px solid #E5E7EB;
    border-radius: 1.25rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: none;
}
.category-btn:hover,
.category-btn:focus-visible {
    transform: none;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    border-color: #E5E7EB;
    background: #ffffff;
    outline: none;
}

/* ====== GRID INTERIOR ====== */
.category-card-layout {
    display: grid;
    grid-template-columns: 5.04rem minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    align-content: start;
    align-items: start;
    gap: 0.3rem 0.6rem;
    width: 100%;
    height: 100%;
    padding: 0.55rem 0.65rem 0.5rem;
}

/* ====== ICONO ====== */
.category-card-icon-shell {
    grid-row: 1;
    grid-column: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5.04rem;
    height: 5.04rem;
    border-radius: 1rem;
    color: #ffffff;
}
.category-card-icon-shell svg {
    width: 3.04rem;
    height: 3.04rem;
    color: #ffffff;
    display: block;
    flex-shrink: 0;
}

/* ====== TEXTO ====== */
.category-card-body {
    grid-row: 1;
    grid-column: 2;
    min-width: 0;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}
.category-card-heading {
    color: #1F2933;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.005em;
    display: block;
    overflow: visible;
    word-break: break-word;
}
.category-card-subtext {
    display: block;
    font-weight: 400;
    font-size: 0.58rem;
    line-height: 1.25;
    margin-top: 0.15rem;
    color: #6B7280;
}

/* ====== CTA (boton IR) ====== */
.category-card-cta {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: end;
    justify-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 1.6rem;
    margin-top: 0;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1.5px solid #E5E7EB;
    background: #ffffff;
    color: #4B5563;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    width: 100%;
}
.category-card-cta svg.cta-chevron {
    width: 0.58rem;
    height: 0.58rem;
    display: block;
    flex-shrink: 0;
}

/* ====== GRUPO VERDE ====== */
.category-btn--green .category-card-icon-shell { background: #8FAE45; }
.category-btn--green .category-card-cta {
    background: #8FAE45;
    border-color: #8FAE45;
    color: #ffffff;
}

/* ====== GRUPO TEAL ====== */
.category-btn--teal .category-card-icon-shell { background: #3C8E95; }
.category-btn--teal .category-card-cta {
    background: transparent;
    border: 1.5px solid #DDE1E6;
    color: #4B5563;
}

/* ====== GRUPO GRIS ====== */
.category-btn--gray .category-card-icon-shell { background: #7B8FA0; }
.category-btn--gray .category-card-cta {
    background: #7B8FA0;
    border-color: #7B8FA0;
    color: #ffffff;
}

/* ====== RESPONSIVE MOVIL ====== */
@media (max-width: 767px) {
    .category-buttons-inline {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 0.5rem;
    }
    .category-buttons-inline .category-btn {
        flex: unset;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: auto;
        border-radius: 1rem;
        border-width: 1.5px;
    }
    .category-card-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        padding: 1.1rem 0.75rem 0.8rem;
        min-height: 11rem;
    }
    .category-card-icon-shell {
        width: 4rem;
        height: 4rem;
        border-radius: 0.875rem;
        flex-shrink: 0;
    }
    .category-card-icon-shell svg {
        width: 2rem;
        height: 2rem;
    }
    .category-card-body {
        text-align: center;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.55rem 0.2rem 0;
    }
    .category-card-heading {
        font-size: 0.78rem;
        font-weight: 700;
        line-height: 1.3;
        text-align: center;
    }
    .category-card-subtext { display: none; }
    .category-card-cta {
        width: 100%;
        min-height: 2rem;
        padding: 0.35rem 0.5rem;
        margin-top: 0.65rem;
        font-size: 0.7rem;
        white-space: nowrap;
        border-radius: 999px;
    }
}

/* ====== DESKTOP GRANDE (gap mas amplio) ====== */
@media (min-width: 768px) {
    .category-buttons-inline {
        gap: 1.25rem;
    }
}
