.brand-mark {
    width: 52px;
    font-size: .72rem;
    letter-spacing: .05em;
}

/* PRECIOS */
.pricing-section {
    background: #f4eee2;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.pricing-grid article {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.pricing-grid span {
    display: block;
    color: var(--muted);
    font-weight: 800;
}

.pricing-grid strong {
    display: block;
    margin: .5rem 0;
    color: var(--navy);
    font-family: Georgia, serif;
    font-size: 2rem;
}

/* BOTÓN FLOTANTE DEL ASISTENTE */
.assistant-launcher {
    position: fixed;
    right: 1rem;
    bottom: 5rem;
    z-index: 80;
    padding: .85rem 1.1rem;
    color: var(--navy);
    text-align: left;
    cursor: pointer;
    background: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition:
        transform .2s ease,
        filter .2s ease,
        box-shadow .2s ease;
}

.assistant-launcher:hover {
    filter: brightness(.94);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(6, 26, 36, .25);
}

.assistant-launcher:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 3px;
}

.assistant-launcher span,
.assistant-launcher small {
    display: block;
    color: var(--navy);
}

.assistant-launcher span {
    font-weight: 900;
}

.assistant-launcher small {
    font-weight: 700;
    opacity: .85;
}

/* VENTANA DEL ASISTENTE */
.assistant-dialog {
    width: min(620px, calc(100% - 1.5rem));
    max-height: 90vh;
    padding: 0;
    color: var(--navy);
    border: 0;
    border-radius: 18px;
    box-shadow: 0 25px 80px #061a2466;
}

.assistant-dialog::backdrop {
    background: #061a24b8;
}

/* ENCABEZADO DEL ASISTENTE */
.assistant-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.3rem;
    color: #fff;
    background: var(--navy);
}

.assistant-head small,
.assistant-head strong {
    display: block;
}

.assistant-head button {
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: transparent;
    border: 0;
}

/* BARRA DE PROGRESO */
.assistant-progress {
    height: 5px;
    background: #dbe4e6;
}

.assistant-progress span {
    display: block;
    height: 100%;
    background: var(--gold);
    transition: width .3s;
}

/* FORMULARIO */
.assistant-dialog form {
    padding: 1.4rem;
}

.assistant-step {
    display: none;
}

.assistant-step.is-active {
    display: block;
}

.assistant-step h2 {
    margin: .2rem 0 1rem;
    font-family: Georgia, serif;
    font-size: 2rem;
}

.assistant-step label {
    display: grid;
    gap: .4rem;
    margin: 1rem 0;
    font-weight: 800;
}

.assistant-step input,
.assistant-step select,
.assistant-step textarea {
    width: 100%;
    padding: .8rem;
    font: inherit;
    border: 1px solid #afc0c5;
    border-radius: 8px;
}

.assistant-step input:focus,
.assistant-step select:focus,
.assistant-step textarea:focus {
    border-color: var(--gold);
    outline: 3px solid rgba(202, 164, 91, .25);
}

/* OPCIONES DEL ASISTENTE */
.bot-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    margin: 1rem 0;
}

.bot-options button {
    padding: .8rem;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.bot-options button:hover {
    border-color: var(--gold);
    background: #fffaf0;
}

.bot-options button.selected {
    color: var(--navy);
    background: #fbf3df;
    border-color: var(--gold);
}

/* RESULTADO DE CLASIFICACIÓN */
.bot-result {
    padding: 1.2rem;
    background: var(--paper);
    border-left: 4px solid var(--gold);
}

.bot-disclaimer {
    color: var(--muted);
    font-size: .85rem;
}

.bot-back {
    padding: 1rem;
    cursor: pointer;
    background: transparent;
    border: 0;
    text-decoration: underline;
}

.table-scroll {
    overflow: auto;
}

/* CELULARES */
@media (max-width: 720px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .bot-options {
        grid-template-columns: 1fr;
    }

    .assistant-dialog form {
        padding: 1rem;
    }

    .assistant-step h2 {
        font-size: 1.6rem;
    }

    .assistant-launcher {
        right: .75rem;
        bottom: 4.8rem;
    }
}