/* =========================================================
   CONTRALORÍA DISTRITAL DE MEDELLÍN
   CONSULTA Y SEGUIMIENTO PQRSD
   Diseñado para Power Pages
========================================================= */

.spq-page {
    --spq-green-950: #003f2f;
    --spq-green-900: #064c3a;
    --spq-green-800: #075c45;
    --spq-green-700: #0b7354;
    --spq-lime: #8bd936;
    --spq-lime-dark: #69b51f;
    --spq-success: #2f9e1f;
    --spq-soft: #f1f8ea;
    --spq-bg: #f6f9f7;
    --spq-white: #ffffff;
    --spq-text: #111827;
    --spq-muted: #68766f;
    --spq-border: #dde6e0;
    --spq-danger: #b42318;
    --spq-danger-soft: #fff2f0;
    --spq-shadow: 0 18px 48px rgba(0, 63, 47, 0.09);
    --spq-shadow-hover: 0 24px 58px rgba(0, 63, 47, 0.13);
    --spq-radius: 22px;
    --spq-max: 1280px;
    width: 100%;
    overflow-x: clip;
    color: var(--spq-text);
    background: var(--spq-bg);
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
}

.spq-page *,
.spq-page *::before,
.spq-page *::after {
    box-sizing: border-box;
}

.spq-page a {
    text-decoration: none !important;
}

.spq-shell {
    width: min(calc(100% - 56px), var(--spq-max));
    margin: 0 auto;
}

/* HERO CREADO COMPLETAMENTE CON CÓDIGO */

.spq-hero {
    position: relative;
    min-height: 726px;
    overflow: hidden;
    color: var(--spq-white);
    background:
        radial-gradient(circle at 82% 12%, rgba(139, 217, 54, 0.17), transparent 25%),
        linear-gradient(118deg, #002d22 0%, #003f2f 47%, #075c45 100%);
}

.spq-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.09;
    background-image:
        linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to right, transparent, #000 50%, #000);
}

.spq-hero__grid {
    position: relative;
    z-index: 3;
    min-height: 600px;
    display: grid;
    grid-template-columns: 44% 56%;
    align-items: center;
}

.spq-hero__copy {
    padding: 58px 50px 58px 0;
}

.spq-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #d8efbd;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.spq-kicker span {
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: var(--spq-lime);
}

.spq-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(3rem, 5vw, 5.15rem);
    font-weight: 350;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.spq-hero h1 strong {
    color: #dff7c5;
    font-weight: 800;
}

.spq-hero__copy > p {
    max-width: 570px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.83);
    font-size: 1.08rem;
    line-height: 1.65;
}

.spq-hero__trust {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255,255,255,.86);
    font-size: .9rem;
}

.spq-hero__trust-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: var(--spq-green-950);
    background: var(--spq-lime);
    border-radius: 50%;
    font-weight: 900;
}

.spq-hero__visual {
    position: relative;
    align-self: stretch;
    min-height: 430px;
}

.spq-building {
    position: absolute;
    inset: 38px 0 0 0;
    overflow: hidden;
    border-radius: 110px 0 0 0;
    background: linear-gradient(180deg, #d8edf0 0%, #eef5ef 57%, #c5d5ca 58%, #7b9984 100%);
    box-shadow: -20px 0 60px rgba(0,0,0,.18);
}

.spq-building__sky {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 14%, rgba(255,255,255,.9) 0 6%, transparent 7%),
        radial-gradient(ellipse at 61% 22%, rgba(255,255,255,.55) 0 9%, transparent 10%),
        linear-gradient(180deg, #cbe5eb 0%, #edf5f2 60%);
}

.spq-building__tower {
    position: absolute;
    bottom: 0;
    background: linear-gradient(90deg, #d8ddd7, #f4f2ea 48%, #c9cec9);
    box-shadow: -12px 0 30px rgba(0,0,0,.12);
}

.spq-building__tower--back {
    right: 2%;
    width: 39%;
    height: 82%;
    transform: skewY(-2deg);
    display: flex;
    gap: 9px;
    padding: 20px 18px;
}

.spq-building__tower--back span {
    flex: 1;
    background: repeating-linear-gradient(to bottom, #31554e 0 7px, #8ba29b 7px 11px, #d8ddd7 11px 20px);
}

.spq-building__tower--front {
    left: 15%;
    width: 56%;
    height: 76%;
    clip-path: polygon(10% 0, 100% 7%, 100% 100%, 0 100%);
}

.spq-building__brand {
    position: absolute;
    top: 27%;
    left: 23%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #07563d;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.05;
    transform: rotate(-1deg);
}

.spq-building__brand small {
    color: #2f8e24;
    font-size: .62rem;
}

.spq-building__mark {
    color: #c79700;
    font-size: 2.5rem;
}

.spq-building__windows {
    position: absolute;
    left: 10%;
    right: 8%;
    bottom: 8%;
    height: 37%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 7px;
}

.spq-building__windows i {
    background: linear-gradient(180deg, #42665e, #aabbb5);
    border-left: 5px solid #e5e7e2;
}

.spq-building__trees {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 80px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
}

.spq-building__trees b {
    flex: 1;
    height: 55px;
    border-radius: 50% 50% 10% 10%;
    background: radial-gradient(circle at 50% 35%, #62a52d, #174d32 68%);
    filter: drop-shadow(0 8px 6px rgba(0,0,0,.2));
}

.spq-building__trees b:nth-child(2),
.spq-building__trees b:nth-child(4) {
    height: 76px;
}

.spq-hero__glass {
    position: absolute;
    z-index: 5;
    right: 24px;
    bottom: 26px;
    min-width: 245px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--spq-green-950);
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(0,0,0,.15);
    backdrop-filter: blur(12px);
}

.spq-hero__glass-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--spq-green-950);
    background: var(--spq-soft);
    border-radius: 12px;
    font-size: 1.55rem;
}

.spq-hero__glass strong,
.spq-hero__glass small {
    display: block;
}

.spq-hero__glass small {
    margin-top: 2px;
    color: #68766f;
}

.spq-hero__decor {
    position: absolute;
    border: 1px solid rgba(139,217,54,.23);
    border-radius: 50%;
}

.spq-hero__decor--one {
    width: 330px;
    height: 330px;
    left: -180px;
    top: -160px;
}

.spq-hero__decor--two {
    width: 220px;
    height: 220px;
    left: 36%;
    bottom: -160px;
}

.spq-hero__line {
    position: absolute;
    z-index: 7;
    right: 0;
    bottom: 0;
    width: 62%;
    height: 8px;
    background: linear-gradient(90deg, transparent, var(--spq-lime));
}

/* GENERAL */

.spq-main {
    padding: 42px 0 80px;
    background:
        radial-gradient(circle at 7% 20%, rgba(139,217,54,.07), transparent 20%),
        var(--spq-bg);
}

.spq-card {
    background: var(--spq-white);
    border: 1px solid var(--spq-border);
    border-radius: var(--spq-radius);
    box-shadow: var(--spq-shadow);
}

.spq-search-card {
    position: relative;
    z-index: 10;
    padding: 32px;
}

.spq-section-heading {
    display: flex;
    align-items: center;
    gap: 18px;
}

.spq-section-heading__icon {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: grid;
    place-items: center;
    color: var(--spq-green-800);
    background: var(--spq-soft);
    border-radius: 18px;
    font-size: 2rem;
}

.spq-eyebrow {
    color: var(--spq-green-700);
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .13em;
}

.spq-section-heading h2,
.spq-summary h2,
.spq-tracking h2 {
    margin: 3px 0 4px;
    color: var(--spq-green-950);
    font-size: 1.45rem;
    line-height: 1.2;
}

.spq-section-heading p,
.spq-summary__header p,
.spq-tracking__heading p {
    margin: 0;
    color: var(--spq-muted);
    font-size: .94rem;
}

.spq-form {
    margin-top: 28px;
    display: grid;
    grid-template-columns: minmax(220px, .95fr) minmax(260px, 1.15fr) 180px;
    gap: 18px;
    align-items: start;
}

.spq-field label {
    display: block;
    margin-bottom: 8px;
    color: #263c33;
    font-size: .86rem;
    font-weight: 750;
}

.spq-field label span {
    color: #c62828;
}

.spq-input-wrap {
    height: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #cad8d0;
    border-radius: 11px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.spq-input-wrap:focus-within {
    border-color: var(--spq-green-700);
    box-shadow: 0 0 0 4px rgba(11,115,84,.11);
}

.spq-input-wrap > span {
    color: #7a8c83;
    font-weight: 700;
}

.spq-input-wrap input,
.spq-input-wrap select {
    width: 100%;
    height: 46px;
    padding: 0;
    color: var(--spq-text);
    background: transparent;
    border: 0;
    outline: 0;
    font: inherit;
}

.spq-input-wrap select {
    cursor: pointer;
}

.spq-field.is-invalid .spq-input-wrap {
    border-color: var(--spq-danger);
    box-shadow: 0 0 0 3px rgba(180,35,24,.08);
}

.spq-error {
    min-height: 18px;
    display: block;
    margin-top: 5px;
    color: var(--spq-danger);
    font-size: .76rem;
}

.spq-form__action {
    padding-top: 28px;
}

.spq-btn {
    min-height: 50px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 11px;
    border: 1px solid transparent;
    font-weight: 750;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.spq-btn:hover {
    transform: translateY(-2px);
}

.spq-btn--primary {
    width: 100%;
    color: #fff;
    background: linear-gradient(135deg, var(--spq-green-950), var(--spq-green-800));
    box-shadow: 0 10px 22px rgba(0,63,47,.18);
}

.spq-btn--primary:hover {
    background: linear-gradient(135deg, var(--spq-green-900), var(--spq-green-700));
    box-shadow: 0 14px 28px rgba(0,63,47,.24);
}

.spq-btn--primary:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
}

.spq-spinner {
    width: 18px;
    height: 18px;
    display: none;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spqSpin .7s linear infinite;
}

.spq-btn.is-loading .spq-btn__search {
    display: none;
}

.spq-btn.is-loading .spq-spinner {
    display: block;
}

@keyframes spqSpin {
    to { transform: rotate(360deg); }
}

.spq-system-message {
    margin-top: 18px;
    padding: 13px 16px;
    border-radius: 11px;
    font-size: .9rem;
    font-weight: 650;
}

.spq-system-message.is-success {
    color: #185d12;
    background: #edf8e9;
    border: 1px solid #cce9c5;
}

.spq-system-message.is-error {
    color: #8f231a;
    background: var(--spq-danger-soft);
    border: 1px solid #f2cbc7;
}

.spq-demo-hint {
    margin-top: 20px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #51645b;
    background: #f8fbf9;
    border: 1px dashed #cddbd3;
    border-radius: 12px;
    font-size: .82rem;
}

.spq-demo-hint > span {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--spq-green-700);
    border-radius: 50%;
    font-weight: 800;
}

.spq-demo-hint p {
    flex: 1;
    margin: 0;
}

.spq-demo-hint button {
    padding: 7px 12px;
    color: var(--spq-green-800);
    background: #fff;
    border: 1px solid #bad0c3;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

/* RESULTADO */

.spq-result {
    margin-top: 26px;
}

.spq-result[hidden],
.spq-system-message[hidden] {
    display: none !important;
}

.spq-summary {
    padding: 30px;
}

.spq-summary__header {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5ece8;
}

.spq-status-symbol {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--spq-success), #66bf23);
    border-radius: 50%;
    box-shadow: 0 10px 22px rgba(47,158,31,.2);
    font-size: 1.65rem;
    font-weight: 900;
}

.spq-badge {
    padding: 7px 12px;
    color: #1e6b18;
    background: #e4f4dc;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

.spq-summary__grid {
    padding-top: 24px;
    display: grid;
    grid-template-columns: 1.05fr 1.1fr 1.15fr 1.1fr 1fr;
}

.spq-data {
    min-width: 0;
    padding: 2px 20px;
    border-right: 1px solid #e5ece8;
}

.spq-data:first-child {
    padding-left: 0;
}

.spq-data:last-child {
    border-right: 0;
}

.spq-data span,
.spq-data strong {
    display: block;
}

.spq-data span {
    margin-bottom: 7px;
    color: var(--spq-muted);
    font-size: .76rem;
}

.spq-data strong {
    color: #1b3027;
    font-size: .9rem;
    overflow-wrap: anywhere;
}

.spq-data--status strong {
    color: var(--spq-green-700);
}

.spq-tracking {
    margin-top: 22px;
    padding: 30px;
}

.spq-tracking__heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5ece8;
}

.spq-tracking__legend {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--spq-muted);
    font-size: .75rem;
    white-space: nowrap;
}

.spq-tracking__legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.spq-tracking__legend i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.spq-tracking__legend .is-complete {
    background: var(--spq-success);
}

.spq-tracking__legend .is-current {
    background: #fff;
    border: 3px solid var(--spq-success);
}

.spq-tracking__legend .is-pending {
    background: #cfd5d1;
}

.spq-timeline {
    margin: 0;
    padding: 28px 0 0;
    list-style: none;
}

.spq-timeline__item {
    position: relative;
    min-height: 84px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 190px;
    gap: 16px;
    align-items: start;
    padding: 10px 12px 18px 0;
    border-radius: 14px;
}

.spq-timeline__item::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 47px;
    bottom: -10px;
    width: 2px;
    background: #d4ddd8;
}

.spq-timeline__item:last-child::before {
    display: none;
}

.spq-timeline__item.is-complete::before {
    background: var(--spq-success);
}

.spq-timeline__item.is-current {
    padding: 16px 16px 20px 0;
    background: linear-gradient(90deg, #f1f8ea, #f8fbf7);
    border: 1px solid #e0ecda;
}

.spq-timeline__node {
    position: relative;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #cfd5d1;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #dce4df;
    font-size: .86rem;
    font-weight: 900;
}

.spq-timeline__item.is-complete .spq-timeline__node {
    background: var(--spq-success);
}

.spq-timeline__item.is-current .spq-timeline__node {
    color: var(--spq-success);
    background: #fff;
    box-shadow: 0 0 0 3px var(--spq-success);
}

.spq-timeline__content {
    padding-top: 2px;
}

.spq-timeline__content strong {
    display: block;
    color: #143b2d;
    font-size: .94rem;
}

.spq-timeline__content p {
    margin: 4px 0 0;
    color: #53655d;
    font-size: .83rem;
}

.spq-timeline__date {
    padding-top: 2px;
    color: #52635b;
    font-size: .78rem;
    text-align: right;
}

.spq-timeline__date strong {
    display: block;
    color: #25473a;
    font-size: .8rem;
}

.spq-timeline__date .spq-current-label {
    display: inline-block;
    margin-top: 7px;
    padding: 4px 9px;
    color: #226d1c;
    background: #ddf1d5;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 800;
}

.spq-notice {
    margin-top: 22px;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    background: linear-gradient(90deg, #f1f8ea, #f8fbf7);
    border: 1px solid #dce9d6;
    border-radius: 16px;
}

.spq-notice__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--spq-success);
    border-radius: 50%;
    font-weight: 900;
}

.spq-notice strong {
    color: var(--spq-green-950);
}

.spq-notice p {
    margin: 3px 0 0;
    color: #53655d;
    font-size: .82rem;
}

.spq-btn--outline {
    min-height: 44px;
    color: var(--spq-green-950) !important;
    background: #fff;
    border-color: #94b4a5;
}

.spq-btn--outline:hover {
    color: #fff !important;
    background: var(--spq-green-950);
    border-color: var(--spq-green-950);
}

.spq-download {
    margin-top: 22px;
    padding: 22px 26px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.spq-download__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--spq-green-800);
    background: var(--spq-soft);
    border-radius: 14px;
    font-size: 1.5rem;
    font-weight: 900;
}

.spq-download strong {
    color: #1b3027;
}

.spq-download p {
    margin: 3px 0 0;
    color: var(--spq-muted);
    font-size: .8rem;
}

.spq-help-strip {
    margin-top: 30px;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--spq-green-950), var(--spq-green-800));
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(0,63,47,.15);
}

.spq-help-strip > div {
    display: flex;
    align-items: center;
    gap: 13px;
}

.spq-help-strip__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    color: var(--spq-green-950);
    background: var(--spq-lime);
    border-radius: 50%;
    font-size: 1.15rem;
    font-weight: 900;
}

.spq-help-strip strong {
    display: block;
}

.spq-help-strip p {
    margin: 2px 0 0;
    color: rgba(255,255,255,.74);
    font-size: .8rem;
}

.spq-help-strip a {
    color: #e9f9d9 !important;
    font-size: .86rem;
    font-weight: 750;
    white-space: nowrap;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .spq-hero__grid {
        grid-template-columns: 48% 52%;
    }

    .spq-form {
        grid-template-columns: 1fr 1fr;
    }

    .spq-form__action {
        grid-column: 1 / -1;
        padding-top: 0;
    }

    .spq-btn--primary {
        max-width: 230px;
    }

    .spq-summary__grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 22px;
    }

    .spq-data:nth-child(3) {
        border-right: 0;
    }

    .spq-data:nth-child(4) {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .spq-shell {
        width: min(calc(100% - 28px), var(--spq-max));
    }

    .spq-hero,
    .spq-hero__grid {
        min-height: auto;
    }

    .spq-hero__grid {
        grid-template-columns: 1fr;
    }

    .spq-hero__copy {
        padding: 48px 0 34px;
    }

    .spq-hero h1 {
        font-size: clamp(2.8rem, 14vw, 4rem);
    }

    .spq-hero__visual {
        min-height: 270px;
    }

    .spq-building {
        inset: 0;
        border-radius: 48px 48px 0 0;
    }

    .spq-hero__glass {
        right: 12px;
        bottom: 14px;
        left: 12px;
        min-width: 0;
    }

    .spq-main {
        padding: 24px 0 55px;
    }

    .spq-search-card,
    .spq-summary,
    .spq-tracking {
        padding: 22px 18px;
    }

    .spq-section-heading {
        align-items: flex-start;
    }

    .spq-section-heading__icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .spq-form {
        grid-template-columns: 1fr;
    }

    .spq-form__action {
        grid-column: auto;
    }

    .spq-btn--primary {
        max-width: none;
    }

    .spq-demo-hint {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .spq-summary__header {
        grid-template-columns: 52px 1fr;
    }

    .spq-summary__header .spq-badge {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .spq-summary__grid {
        grid-template-columns: 1fr 1fr;
    }

    .spq-data,
    .spq-data:first-child,
    .spq-data:nth-child(4) {
        padding: 0 12px 0 0;
        border-right: 0;
    }

    .spq-tracking__heading {
        flex-direction: column;
    }

    .spq-tracking__legend {
        flex-wrap: wrap;
        white-space: normal;
    }

    .spq-timeline__item {
        grid-template-columns: 44px minmax(0, 1fr);
        min-height: 112px;
    }

    .spq-timeline__date {
        grid-column: 2;
        text-align: left;
        padding-top: 0;
    }

    .spq-timeline__item::before {
        left: 19px;
        bottom: -14px;
    }

    .spq-notice,
    .spq-download {
        grid-template-columns: 44px 1fr;
    }

    .spq-notice .spq-btn,
    .spq-download .spq-btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .spq-help-strip {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .spq-summary__grid {
        grid-template-columns: 1fr;
    }

    .spq-data {
        padding-bottom: 14px !important;
        border-bottom: 1px solid #edf1ee;
    }

    .spq-data:last-child {
        border-bottom: 0;
    }
}

.spq-page :focus-visible {
    outline: 3px solid var(--spq-lime);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .spq-page *,
    .spq-page *::before,
    .spq-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   CORRECCIÓN FUNCIONAL DEL EJEMPLO
========================================================= */

.spq-demo-hint button {
    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.spq-demo-hint button:hover,
.spq-demo-hint button:focus-visible {
    color: #ffffff;
    background: var(--spq-green-800);
    border-color: var(--spq-green-800);
    transform: translateY(-1px);
}

.spq-result.spq-result--visible {
    animation: spqResultIn .42s ease both;
}

@keyframes spqResultIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
