.cctv-topic-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
}

.cctv-topic-options legend {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0 0 5px;
    color: #142540;
    font-size: 14px;
    font-weight: 850;
}

.cctv-topic-options legend b {
    color: #009fca;
}

.cctv-topic-option {
    position: relative;
    min-width: 0;
    margin: 0;
    cursor: pointer;
}

.cctv-topic-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.cctv-topic-card {
    position: relative;
    display: flex;
    min-height: 118px;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    padding: 17px 8px 13px;
    color: #142540;
    background: #fff;
    border: 1px solid #cbddeb;
    border-radius: 16px;
    text-align: center;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.cctv-topic-card:hover {
    transform: translateY(-3px);
    border-color: #55c8e9;
    box-shadow: 0 12px 24px rgba(0, 143, 184, .1);
}

.cctv-topic-icon {
    color: #008eb7;
    font-size: 27px;
}

.cctv-topic-card strong {
    font-size: 12px;
    font-weight: 850;
    line-height: 1.65;
}

.cctv-topic-check {
    position: absolute;
    top: 9px;
    left: 9px;
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    color: #fff;
    background: #009fca;
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(0, 159, 202, .28);
    font-size: 10px;
    opacity: 0;
    transform: scale(.65);
    transition: opacity .2s ease, transform .2s ease;
}

.cctv-topic-option input:checked + .cctv-topic-card {
    background: linear-gradient(180deg, #fff, #effbfe);
    border-color: #009fca;
    box-shadow: inset 0 0 0 1px #009fca, 0 13px 26px rgba(0, 143, 184, .12);
}

.cctv-topic-option input:checked + .cctv-topic-card .cctv-topic-check {
    opacity: 1;
    transform: scale(1);
}

.cctv-topic-option input:focus-visible + .cctv-topic-card {
    outline: 3px solid rgba(243, 184, 62, .45);
    outline-offset: 3px;
}

.cctv-request-form .request-phone-field {
    margin-top: 0;
}

@media (max-width: 480px) {
    .cctv-topic-options {
        gap: 7px;
    }

    .cctv-topic-card {
        min-height: 96px;
        gap: 8px;
        padding: 14px 4px 9px;
        border-radius: 13px;
    }

    .cctv-topic-icon {
        font-size: 22px;
    }

    .cctv-topic-card strong {
        font-size: 10px;
        line-height: 1.55;
    }

    .cctv-topic-check {
        top: 6px;
        left: 6px;
        width: 19px;
        height: 19px;
        font-size: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cctv-topic-card,
    .cctv-topic-check {
        transition: none;
    }
}
