/* =========================================================
   HOME - ELIMINARTATUAJE.ES
   Todos los estilos están aislados dentro de #qt-home
========================================================= */

#qt-home {
    --qt-home-ink: #111315;
    --qt-home-text: #3e454b;
    --qt-home-muted: #697178;
    --qt-home-line: rgba(17, 19, 21, .11);
    --qt-home-soft-line: rgba(17, 19, 21, .07);
    --qt-home-blue: #cfe3fb;
    --qt-home-blue-soft: #eef6ff;
    --qt-home-green: #76d84f;
    --qt-home-green-dark: #357423;
    --qt-home-white: #ffffff;
    --qt-home-surface: #f6f8fa;
    --qt-home-tech: #3978c8;
    --qt-home-comfort: #2f9d8f;
    --qt-home-attention: #8067b7;
    --qt-home-conditions: #d49335;
    --qt-home-radius-sm: 12px;
    --qt-home-radius-md: 18px;
    --qt-home-radius-lg: 26px;
    --qt-home-shadow: 0 18px 55px rgba(19, 30, 43, .10);
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: var(--qt-home-white);
    color: var(--qt-home-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

#qt-home *,
#qt-home *::before,
#qt-home *::after {
    box-sizing: border-box;
}

#qt-home a {
    color: inherit;
    text-decoration: none;
}

#qt-home h1,
#qt-home h2,
#qt-home h3,
#qt-home p,
#qt-home ul,
#qt-home ol {
    margin-top: 0;
}

#qt-home h1,
#qt-home h2,
#qt-home h3 {
    color: var(--qt-home-ink);
    font-family: inherit;
    font-weight: 800;
    letter-spacing: -.04em;
}

#qt-home h1 {
    margin-bottom: 35px;
    font-size: clamp(2.6rem, 5vw, 3.2rem);
    line-height: 1;
    text-align:left;
}

#qt-home h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 3.5vw, 3.35rem);
    line-height: 1.06;
    text-align:left;
}

#qt-home h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    line-height: 1.25;
}

#qt-home p {
    margin-bottom: 0;
}

#qt-home .qt-home-container {
    width: min(1320px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

#qt-home .qt-home-section {
    position: relative;
    padding: 100px 0;
}

#qt-home .qt-home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 19px;
    color: #31373c;
    font-size: .72rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

#qt-home .qt-home-eyebrow::before {
    width: 20px;
    height: 2px;
    content: '';
    border-radius: 99px;
    background: currentColor;
}

#qt-home .qt-home-eyebrow-light {
    color: rgba(255, 255, 255, .74);
}

#qt-home .qt-home-small-label {
    color: var(--qt-home-muted);
    font-size: .67rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .12em;
}

#qt-home .qt-home-section-heading {
    margin-bottom: 46px;
}

#qt-home .qt-home-section-heading p {
    max-width: 680px;
    color: var(--qt-home-muted);
    font-size: 1rem;
    line-height: 24px;
}

#qt-home .qt-home-section-heading-center {
    max-width: 810px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

#qt-home .qt-home-section-heading-center p {
    margin-right: auto;
    margin-left: auto;
}

#qt-home .qt-home-section-heading-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .75fr);
    align-items: end;
    gap: 60px;
}

#qt-home .qt-home-section-heading-split h2 {
    max-width: 720px;
    margin-bottom: 0;
}

#qt-home .qt-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 52px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: .91rem;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease,
        border-color .2s ease, color .2s ease;
}

#qt-home .qt-home-button span {
    font-size: 1.1em;
    transition: transform .2s ease;
}

#qt-home .qt-home-button:hover {
    transform: translateY(-2px);
}

#qt-home .qt-home-button:hover span {
    transform: translateX(3px);
}

#qt-home .qt-home-button:focus-visible,
#qt-home a:focus-visible,
#qt-home summary:focus-visible {
    outline: 3px solid var(--qt-home-green);
    outline-offset: 3px;
}

#qt-home .qt-home-button-primary {
    border-color: var(--qt-home-ink);
    background: var(--qt-home-ink);
    color: #fff;
    box-shadow: 0 9px 22px rgba(17, 19, 21, .18);
}

#qt-home .qt-home-button-primary:hover {
    border-color: #25292d;
    background: #25292d;
    color: #fff;
    box-shadow: 0 13px 27px rgba(17, 19, 21, .23);
}

#qt-home .qt-home-button-secondary {
    border-color: rgba(17, 19, 21, .25);
    background: rgba(255, 255, 255, .56);
    color: var(--qt-home-ink);
}

#qt-home .qt-home-button-secondary:hover {
    border-color: var(--qt-home-ink);
    background: #fff;
    color: var(--qt-home-ink);
}

#qt-home .qt-home-button-light {
    border-color: #fff;
    background: #fff;
    color: var(--qt-home-ink);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .20);
}

#qt-home .qt-home-button-light:hover {
    border-color: var(--qt-home-green);
    background: var(--qt-home-green);
    color: var(--qt-home-ink);
}

#qt-home .qt-home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--qt-home-ink);
    font-size: .92rem;
    font-weight: 800;
}

#qt-home .qt-home-text-link span {
    transition: transform .2s ease;
}

#qt-home .qt-home-text-link:hover span {
    transform: translateX(4px);
}


/* =========================================================
   HERO
========================================================= */

#qt-home .qt-home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 110px 0 110px;
    background:
        radial-gradient(circle at 82% 10%, rgba(255, 255, 255, .82) 0, rgba(255, 255, 255, 0) 30%),
        linear-gradient(135deg, #c5ddf8 0%, #d9eafd 56%, #edf6ff 100%);
}

#qt-home .qt-home-hero::before {
    position: absolute;
    top: -120px;
    right: -170px;
    z-index: -1;
    width: 560px;
    height: 560px;
    content: '';
    border-radius: 50%;
    box-shadow:
        0 0 0 80px rgba(255, 255, 255, .09),
        0 0 0 160px rgba(255, 255, 255, .06);
}

#qt-home .qt-home-hero::after {
    position: absolute;
    right: -3%;
    bottom: 7%;
    z-index: -1;
    width: 44%;
    height: 2px;
    content: '';
    transform: rotate(-12deg);
    transform-origin: right center;
    background: linear-gradient(90deg, transparent, rgba(17, 19, 21, .28));
    box-shadow: 0 0 18px rgba(57, 120, 200, .35);
}

#qt-home .qt-home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .78fr);
    align-items: center;
    gap: clamp(50px, 7vw, 100px);
}

#qt-home .qt-home-hero-copy {
    position: relative;
    z-index: 2;
}

#qt-home .qt-home-hero-lead {
    max-width: 680px;
    color: #3c464f;
    font-size: clamp(1.06rem, 1.55vw, 1.25rem);
    line-height: 1.5;
}

#qt-home .qt-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 34px;
}

#qt-home .qt-home-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 27px 0 0;
    padding: 0;
    list-style: none;
    color: #505a62;
    font-size: .82rem;
    font-weight: 650;
}

#qt-home .qt-home-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

#qt-home .qt-home-trust-list li span {
    display: inline-grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    background: rgba(53, 116, 35, .12);
    color: var(--qt-home-green-dark);
    font-size: .9rem;
    font-weight: 900;
}

#qt-home .qt-home-start-card {
    position: relative;
    overflow: hidden;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: var(--qt-home-radius-lg);
    background: rgba(255, 255, 255, .80);
    box-shadow: var(--qt-home-shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

#qt-home .qt-home-start-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    content: '';
    background: linear-gradient(90deg,
        var(--qt-home-tech) 0 40%,
        var(--qt-home-comfort) 40% 60%,
        var(--qt-home-attention) 60% 85%,
        var(--qt-home-conditions) 85% 100%);
}

#qt-home .qt-home-start-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

#qt-home .qt-home-start-card-head h2 {
    margin: 6px 0 0;
    font-size: 1.45rem;
    letter-spacing: -.025em;
}

#qt-home .qt-home-live-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid rgba(53, 116, 35, .15);
    border-radius: 999px;
    background: rgba(118, 216, 79, .13);
    color: #315b25;
    font-size: .68rem;
    font-weight: 800;
}

#qt-home .qt-home-live-status > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--qt-home-green);
    box-shadow: 0 0 0 4px rgba(118, 216, 79, .16);
}

#qt-home .qt-home-start-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#qt-home .qt-home-start-option {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 12px 13px;
    border: 1px solid var(--qt-home-soft-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
    transition: transform .2s ease, border-color .2s ease, background .2s ease,
        box-shadow .2s ease;
}

#qt-home .qt-home-start-option:hover {
    transform: translateX(4px);
    border-color: rgba(17, 19, 21, .18);
    background: #fff;
    box-shadow: 0 7px 18px rgba(19, 30, 43, .07);
}

#qt-home .qt-home-start-number {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: var(--qt-home-ink);
    color: #fff;
    font-size: .7rem;
    font-weight: 850;
}

#qt-home .qt-home-start-text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

#qt-home .qt-home-start-text strong {
    color: var(--qt-home-ink);
    font-size: .88rem;
    line-height: 1.35;
}

#qt-home .qt-home-start-text small {
    color: var(--qt-home-muted);
    font-size: .7rem;
    line-height: 1.4;
}

#qt-home .qt-home-start-arrow {
    color: #59636b;
    font-size: 1.1rem;
    font-weight: 800;
    text-align: center;
}

#qt-home .qt-home-mini-market {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--qt-home-soft-line);
    border-radius: 13px;
    background: var(--qt-home-soft-line);
}

#qt-home .qt-home-mini-market > div {
    display: flex;
    min-width: 0;
    min-height: 75px;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    background: #fff;
    text-align: center;
}

#qt-home .qt-home-mini-market strong {
    color: var(--qt-home-ink);
    font-size: 1.18rem;
    line-height: 1.2;
    font-weight: 850;
}

#qt-home .qt-home-mini-market span {
    margin-top: 3px;
    color: var(--qt-home-muted);
    font-size: .7rem;
    line-height: 1.3;
}


/* =========================================================
   HERRAMIENTAS
========================================================= */

#qt-home-tools h2{
text-align:center;
}

#qt-home .qt-home-tools-section {
    background: #fff;
}

#qt-home .qt-home-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

#qt-home .qt-home-tool-card {
    position: relative;
    display: flex;
    min-height: 360px;
    overflow: hidden;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--qt-home-line);
    border-radius: var(--qt-home-radius-md);
    background: #fff;
    box-shadow: 0 10px 35px rgba(19, 30, 43, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

#qt-home .qt-home-tool-card:hover {
    transform: translateY(-5px);
    border-color: rgba(17, 19, 21, .19);
    box-shadow: 0 18px 42px rgba(19, 30, 43, .10);
}

#qt-home .qt-home-tool-card-primary {
    border-color: #bcd9f7;
    background: linear-gradient(145deg, #eaf4ff, #fff 72%);
}

#qt-home .qt-home-tool-index {
    position: absolute;
    top: 24px;
    right: 26px;
    color: rgba(17, 19, 21, .22);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .12em;
    display:none;
}

#qt-home .qt-home-tool-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 34px;
    place-items: center;
    border-radius: 16px;
    background: var(--qt-home-ink);
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 850;
}

#qt-home .qt-home-tool-icon-score {
    background: linear-gradient(135deg, var(--qt-home-tech), var(--qt-home-attention));
    font-size: .75rem;
}

#qt-home .qt-home-tool-card h3 {
    max-width: 280px;
    font-size: 1.42rem;
}

#qt-home .qt-home-tool-card p {
    color: var(--qt-home-muted);
    font-size: .91rem;
}

#qt-home .qt-home-tool-card > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 28px;
    color: var(--qt-home-ink);
    font-size: .88rem;
    font-weight: 850;
}

#qt-home .qt-home-tool-card > a span {
    transition: transform .2s ease;
}

#qt-home .qt-home-tool-card > a:hover span {
    transform: translateX(4px);
}


/* =========================================================
   DIFICULTAD ESTIMADA
========================================================= */

#qt-home .qt-home-difficulty-section {
    padding-top: 0!important;
    background: #fff;
}

#qt-home .qt-home-difficulty-card {
    display: grid;
    grid-template-columns: minmax(340px, .78fr) minmax(0, 1.22fr);
    overflow: hidden;
    border: 1px solid #2d3743;
    border-radius: var(--qt-home-radius-lg);
    background:
        radial-gradient(circle at 92% 8%, rgba(57, 120, 200, .20), transparent 31%),
        #111823;
    color: rgba(255, 255, 255, .72);
    box-shadow: 0 24px 65px rgba(12, 20, 31, .18);
}

#qt-home .qt-home-difficulty-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(35px, 5vw, 58px);
    border-right: 1px solid rgba(255, 255, 255, .10);
}

#qt-home .qt-home-difficulty-copy h2 {
    color: #fff;
    font-size: clamp(1.95rem, 3.25vw, 3.15rem);
}

#qt-home .qt-home-difficulty-copy > p {
    color: rgba(255, 255, 255, .67);
    font-size: .95rem;
}

#qt-home .qt-home-difficulty-copy .qt-home-difficulty-benefit {
    margin-top: 16px;
    color: rgba(255, 255, 255, .86);
    font-size: .84rem;
    font-weight: 650;
}

#qt-home .qt-home-difficulty-button {
    align-self: flex-start;
    margin-top: 29px;
    border-color: var(--qt-home-green);
    background: var(--qt-home-green);
    color: #10200c;
    box-shadow: 0 12px 28px rgba(118, 216, 79, .18);
}

#qt-home .qt-home-difficulty-button:hover {
    border-color: #8be568;
    background: #8be568;
    color: #10200c;
    box-shadow: 0 16px 32px rgba(118, 216, 79, .24);
}

#qt-home .qt-home-difficulty-small {
    margin-top: 13px;
    color: rgba(255, 255, 255, .42);
    font-size: .67rem;
    line-height: 1.45;
}

#qt-home .qt-home-difficulty-preview {
    align-self: center;
    margin: clamp(24px, 3.4vw, 42px);
    padding: clamp(24px, 3.5vw, 38px);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 19px;
    background: rgba(255, 255, 255, .035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

#qt-home .qt-home-difficulty-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 26px;
}

#qt-home .qt-home-difficulty-preview-head > span {
    color: rgba(255, 255, 255, .48);
    font-size: .72rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .12em;
}

#qt-home .qt-home-difficulty-preview-head > strong {
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .62);
    font-size: .64rem;
    line-height: 1.2;
}

#qt-home .qt-home-difficulty-result-label {
    display: block;
    margin-bottom: 7px;
    color: #aebbd1;
    font-size: .68rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .1em;
}

#qt-home .qt-home-difficulty-result .dif {
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(1.45rem, 2.5vw, 1.5rem);
    letter-spacing: -.025em;
    font-weight:800;
}

#qt-home .qt-home-difficulty-result p {
    color: rgba(255, 255, 255, .59);
    font-size: .8rem;
}

#qt-home .qt-home-difficulty-chart {
    margin-top: 31px;
}

#qt-home .qt-home-difficulty-track {
    position: relative;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(90deg,
        #12d59b 0%,
        #8edc69 27%,
        #f0d34f 50%,
        #ff8a3d 72%,
        #fa3c58 100%);
    box-shadow: 0 0 18px rgba(255, 121, 58, .10);
}

#qt-home .qt-home-difficulty-marker {
    position: absolute;
    top: 50%;
    left: var(--qt-difficulty-position);
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%);
    border: 3px solid #fff;
    border-radius: 50%;
    background: #ff793c;
    box-shadow:
        0 0 0 2px #111823,
        0 5px 15px rgba(0, 0, 0, .28);
}

#qt-home .qt-home-difficulty-scale {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 14px;
    color: rgba(255, 255, 255, .55);
    font-size: .66rem;
    line-height: 1.25;
    font-weight: 700;
}

#qt-home .qt-home-difficulty-scale span:nth-child(2),
#qt-home .qt-home-difficulty-scale span:nth-child(3) {
    text-align: center;
}

#qt-home .qt-home-difficulty-scale span:last-child {
    text-align: right;
}

#qt-home .qt-home-difficulty-factors {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 25px;
}

#qt-home .qt-home-difficulty-factors span {
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 999px;
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .62);
    font-size: .62rem;
    line-height: 1.2;
    font-weight: 700;
}

#qt-home .qt-home-difficulty-explanation {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 11px;
    margin-top: 24px;
    padding-top: 21px;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

#qt-home .qt-home-difficulty-explanation strong {
    color: #fff;
    font-size: .7rem;
    white-space: nowrap;
}

#qt-home .qt-home-difficulty-explanation p {
    color: rgba(255, 255, 255, .51);
    font-size: .68rem;
    line-height: 1.55;
}


/* =========================================================
   CIUDADES
========================================================= */

#qt-home .qt-home-cities-section {
    background: var(--qt-home-surface);
}

#qt-home .qt-home-city-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    overflow: hidden;
    border: 1px solid var(--qt-home-line);
    border-radius: var(--qt-home-radius-lg);
    background: #fff;
    box-shadow: var(--qt-home-shadow);
}

#qt-home .qt-home-city-main {
    padding: clamp(34px, 5vw, 62px);
    background:
        linear-gradient(145deg, rgba(207, 227, 251, .75), rgba(255, 255, 255, .96) 68%);
}

#qt-home .qt-home-city-badge {
    display: inline-flex;
    margin-bottom: 25px;
    padding: 6px 10px;
    border: 1px solid rgba(53, 116, 35, .15);
    border-radius: 999px;
    background: rgba(118, 216, 79, .14);
    color: #315b25;
    font-size: .7rem;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: .1em;
}

#qt-home .qt-home-city-main h3 {
    margin-bottom: 16px;
    font-size: clamp(1.4rem, 2.6vw, 1.8rem);
}

#qt-home .qt-home-city-main p {
    max-width: 580px;
    color: var(--qt-home-muted);
}

#qt-home .qt-home-city-main .qt-home-button {
    margin-top: 30px;
}

#qt-home .qt-home-city-data {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: var(--qt-home-soft-line);
}

#qt-home .qt-home-city-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    background: #fff;
}

#qt-home .qt-home-city-stat > span {
    margin-bottom: 10px;
    color: var(--qt-home-muted);
    font-size: .71rem;
    line-height: 1.35;
    font-weight: 750;
    letter-spacing: .035em;
    text-transform: uppercase;
}

#qt-home .qt-home-city-stat > strong > span {
    line-height: 1!important;
}

#qt-home .qt-home-city-stat > strong {
    color: var(--qt-home-ink);
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    line-height: 1;
    font-weight: 850;
    letter-spacing: -.04em;
}

#qt-home .qt-home-city-stat > strong small {
    margin-left: 3px;
    color: #8b9297;
    font-size: .85rem;
    font-weight: 700;
}

#qt-home .qt-home-city-stat-note {
    margin-top: 8px;
    color: #90979c;
    font-size: .7rem;
    line-height: 1.35;
}

#qt-home .qt-home-city-stat-wide {
    grid-column: 1 / -1;
    min-height: 130px;
}

#qt-home .qt-home-city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

#qt-home .qt-home-city-tags span {
    padding: 6px 9px;
    border: 1px solid #e0e4e7;
    border-radius: 999px;
    background: #f7f8f9;
    color: #4d555b;
    font-size: .7rem;
    line-height: 1.2;
    font-weight: 750;
}

#qt-home .qt-home-expansion-note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px auto 0;
    color: var(--qt-home-muted);
    font-size: .82rem;
    justify-content: center;
}

#qt-home .qt-home-expansion-note > span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 1px dashed #c5cbd0;
    border-radius: 50%;
    background: #fff;
    color: #4e575e;
    font-weight: 800;
}


/* =========================================================
   LASERSCORE
========================================================= */

#qt-home .qt-home-score-section {
    background: #111315;
    color: rgba(255, 255, 255, .76);
}

#qt-home .qt-home-score-section h2,
#qt-home .qt-home-score-section h3 {
    color: #fff;
}

#qt-home .qt-home-score-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
    align-items: end;
    gap: 70px;
    margin-bottom: 50px;
}

#qt-home .qt-home-score-intro h2 {
    max-width: 730px;
    margin-bottom: 0;
}

#qt-home .qt-home-score-intro p {
    color: rgba(255, 255, 255, .69);
}

#qt-home .qt-home-score-intro .qt-home-score-disclaimer {
    margin-top: 12px;
    color: rgba(255, 255, 255, .48);
    font-size: .79rem;
}

#qt-home .qt-home-score-dashboard {
    display: grid;
    grid-template-columns: minmax(310px, .65fr) minmax(0, 1.35fr);
    gap: 18px;
}

#qt-home .qt-home-score-visual {
    display: flex;
    min-height: 430px;
    flex-direction: column;
    justify-content: center;
    padding: clamp(20px, 4vw, 26px);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: var(--qt-home-radius-md);
    background: rgba(255, 255, 255, .045);
}

#qt-home .qt-home-score-total {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

#qt-home .qt-home-score-total > span {
    color: rgba(255, 255, 255, .5);
    font-size: .7rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .13em;
}

#qt-home .qt-home-score-total strong {
    margin: 6px 0 2px;
    color: #fff;
    font-size: clamp(3.5rem, 7vw, 5.6rem);
    line-height: .95;
    font-weight: 850;
    letter-spacing: -.07em;
}

#qt-home .qt-home-score-total small {
    color: rgba(255, 255, 255, .54);
    font-size: .78rem;
}

#qt-home .qt-home-score-bar {
    display: flex;
    width: 100%;
    height: 92px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 13px;
    background: rgba(255, 255, 255, .06);
}

#qt-home .qt-home-score-segment {
    display: flex;
    width: var(--qt-segment-size);
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    transition: filter .2s ease, width .55s ease, transform .2s ease;
}

#qt-home .qt-home-score-segment + .qt-home-score-segment {
    border-left: 1px solid rgba(255, 255, 255, .30);
}

#qt-home .qt-home-score-segment:hover {
    filter: brightness(1.14);
}

#qt-home .qt-home-score-segment span {
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 850;
}

#qt-home .qt-home-score-segment small {
    margin-top: 5px;
    overflow: hidden;
    font-size: .59rem;
    line-height: 1.1;
    font-weight: 750;
    text-overflow: ellipsis;
}

#qt-home .qt-home-score-tech {
    background: var(--qt-home-tech);
}

#qt-home .qt-home-score-comfort {
    background: var(--qt-home-comfort);
}

#qt-home .qt-home-score-attention {
    background: var(--qt-home-attention);
}

#qt-home .qt-home-score-conditions {
    background: var(--qt-home-conditions);
}

#qt-home .qt-home-score-hint {
    margin-top: 17px;
    color: rgba(255, 255, 255, .43);
    font-size: .71rem;
}

#qt-home .qt-home-score-pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

#qt-home .qt-home-score-pillar {
    scroll-margin-top: 110px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: var(--qt-home-radius-md);
    background: rgba(255, 255, 255, .045);
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

#qt-home .qt-home-score-pillar:hover,
#qt-home .qt-home-score-pillar.qt-home-pillar-highlight {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .075);
}

#qt-home .qt-home-score-pillar-tech:hover,
#qt-home .qt-home-score-pillar-tech.qt-home-pillar-highlight {
    border-color: rgba(57, 120, 200, .72);
}

#qt-home .qt-home-score-pillar-comfort:hover,
#qt-home .qt-home-score-pillar-comfort.qt-home-pillar-highlight {
    border-color: rgba(47, 157, 143, .72);
}

#qt-home .qt-home-score-pillar-attention:hover,
#qt-home .qt-home-score-pillar-attention.qt-home-pillar-highlight {
    border-color: rgba(128, 103, 183, .78);
}

#qt-home .qt-home-score-pillar-conditions:hover,
#qt-home .qt-home-score-pillar-conditions.qt-home-pillar-highlight {
    border-color: rgba(212, 147, 53, .78);
}

#qt-home .qt-home-score-pillar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 26px;
}

#qt-home .qt-home-score-pillar-head > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    color: rgba(255, 255, 255, .52);
    font-size: .8rem;
    font-weight: 800;
}

#qt-home .qt-home-score-pillar-head strong {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .72);
    font-size: .8rem;
    line-height: 1.2;
}

#qt-home .qt-home-score-pillar h3 {
    font-size: 1.26rem;
}

#qt-home .qt-home-score-pillar p {
    color: rgba(255, 255, 255, .59);
    font-size: .83rem;
    line-height: 1.55;
}

#qt-home .qt-home-score-pillar-tech h3 {
    color: #8cbcf6;
}

#qt-home .qt-home-score-pillar-comfort h3 {
    color: #75d0c4;
}

#qt-home .qt-home-score-pillar-attention h3 {
    color: #b7a7db;
}

#qt-home .qt-home-score-pillar-conditions h3 {
    color: #e6b86f;
}

#qt-home .qt-home-score-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

#qt-home .qt-home-score-footer p {
    max-width: 700px;
    color: rgba(255, 255, 255, .50);
    font-size: .78rem;
}

#qt-home .qt-home-score-footer .qt-home-text-link {
    flex: 0 0 auto;
    color: #fff;
}


/* =========================================================
   CALCULADORA / ESTIMACIÓN
========================================================= */

#qt-home .qt-home-estimate-section {
    background:
        linear-gradient(120deg, #fff 0%, #fff 48%, #f1f7fd 48%, #eaf4ff 100%);
}

#qt-home .qt-home-estimate-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
    align-items: center;
    gap: clamp(60px, 9vw, 120px);
}

#qt-home .qt-home-estimate-copy h2 {
    max-width: 700px;
}

#qt-home .qt-home-estimate-copy > p {
    max-width: 680px;
    color: var(--qt-home-muted);
}

#qt-home .qt-home-factor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 28px 0 32px;
}

#qt-home .qt-home-factor-list span {
    padding: 7px 11px;
    border: 1px solid #dde3e7;
    border-radius: 999px;
    background: #fff;
    color: #4f585e;
    font-size: .75rem;
    line-height: 1.2;
    font-weight: 750;
}

#qt-home .qt-home-estimate-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid #cbdbea;
    border-radius: var(--qt-home-radius-lg);
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--qt-home-shadow);
}

#qt-home .qt-home-estimate-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    content: '';
    background: var(--qt-home-green);
}

#qt-home .qt-home-estimate-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

#qt-home .qt-home-estimate-card-head span {
    color: var(--qt-home-muted);
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .12em;
}

#qt-home .qt-home-estimate-card-head strong {
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf2f6;
    color: #4b545a;
    font-size: .68rem;
}

#qt-home .qt-home-estimate-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#qt-home .qt-home-estimate-steps::before {
    position: absolute;
    top: 25px;
    bottom: 25px;
    left: 20px;
    width: 1px;
    content: '';
    background: #dfe5e9;
}

#qt-home .qt-home-estimate-steps li {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    min-height: 61px;
    padding: 7px 9px 7px 0;
}

#qt-home .qt-home-estimate-steps li > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid #d9e0e5;
    border-radius: 50%;
    background: #fff;
    color: var(--qt-home-ink);
    font-size: .72rem;
    font-weight: 850;
}

#qt-home .qt-home-estimate-steps li:first-child > span,
#qt-home .qt-home-estimate-steps li:last-child > span {
    border-color: var(--qt-home-ink);
    background: var(--qt-home-ink);
    color: #fff;
}

#qt-home .qt-home-estimate-steps li div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

#qt-home .qt-home-estimate-steps strong {
    color: var(--qt-home-ink);
    font-size: .84rem;
    line-height: 1.3;
}

#qt-home .qt-home-estimate-steps small {
    margin-top: 2px;
    color: var(--qt-home-muted);
    font-size: .7rem;
    line-height: 1.4;
}

#qt-home .qt-home-estimate-note {
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid var(--qt-home-soft-line);
    color: var(--qt-home-muted);
    font-size: .7rem;
    text-align: center;
}


/* =========================================================
   PROCESO
========================================================= */

#qt-home .qt-home-process-section {
    background: #fff;
}

#qt-home .qt-home-process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

#qt-home .qt-home-process-grid::before {
    position: absolute;
    top: 31px;
    right: 16%;
    left: 16%;
    z-index: 0;
    height: 1px;
    content: '';
    background: linear-gradient(90deg, transparent, #bfc7cd 15%, #bfc7cd 85%, transparent);
}

#qt-home .qt-home-process-card {
    position: relative;
    z-index: 1;
    padding: 0 25px 28px;
    text-align: center;
}

#qt-home .qt-home-process-number {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto 25px;
    place-items: center;
    border: 1px solid #ccd3d8;
    border-radius: 50%;
    background: #fff;
    color: var(--qt-home-ink);
    font-size: .9rem;
    font-weight: 850;
    box-shadow: 0 0 0 9px #fff;
}

#qt-home .qt-home-process-card h3 {
    font-size: 1.25rem;
}

#qt-home .qt-home-process-card p {
    color: var(--qt-home-muted);
    font-size: .86rem;
}

#qt-home .qt-home-process-note {
    margin: 28px auto 0;
    padding: 15px 18px;
    border: 1px solid #e2e6e9;
    border-radius: 12px;
    background: #f7f8f9;
    color: #616970;
    font-size: .76rem;
    text-align: center;
}

#qt-home .qt-home-process-note strong {
    color: var(--qt-home-ink);
}


/* =========================================================
   GUÍA DE ELECCIÓN
========================================================= */

#qt-home .qt-home-guide-section {
    background: var(--qt-home-blue-soft);
}

#qt-home .qt-home-guide-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

#qt-home .qt-home-guide-card {
    min-height: 260px;
    padding: 25px;
    border: 1px solid rgba(57, 120, 200, .15);
    border-radius: var(--qt-home-radius-md);
    background: rgba(255, 255, 255, .85);
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

#qt-home .qt-home-guide-card:hover {
    transform: translateY(-4px);
    background: #fff;
    box-shadow: 0 13px 30px rgba(36, 95, 159, .09);
}

#qt-home .qt-home-guide-check {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 31px;
    place-items: center;
    border: 1px solid rgba(53, 116, 35, .16);
    border-radius: 50%;
    background: rgba(118, 216, 79, .14);
    color: var(--qt-home-green-dark);
    font-size: .83rem;
    font-weight: 900;
}

#qt-home .qt-home-guide-card h3 {
    font-size: 1.13rem;
}

#qt-home .qt-home-guide-card p {
    color: var(--qt-home-muted);
    font-size: .8rem;
}

#qt-home .qt-home-guide-action {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}


/* =========================================================
   PREGUNTAS FRECUENTES
========================================================= */

#qt-home .qt-home-faq-section {
    background: #fff;
}

#qt-home .qt-home-faq-grid {
    display: grid;
    grid-template-columns: minmax(280px, .58fr) minmax(0, 1.05fr);
    align-items: start;
    gap: clamp(55px, 8vw, 105px);
}

#qt-home .qt-home-faq-intro {
    position: sticky;
    top: 115px;
}

#qt-home .qt-home-faq-intro p {
    color: var(--qt-home-muted);
}

#qt-home .qt-home-faq-intro .qt-home-text-link {
    margin-top: 25px;
}

#qt-home .qt-home-faq-list {
    border-top: 1px solid var(--qt-home-line);
}

#qt-home .qt-home-faq-item {
    border-bottom: 1px solid var(--qt-home-line);
}

#qt-home .qt-home-faq-item summary {
    position: relative;
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 21px 48px 21px 0;
    color: var(--qt-home-ink);
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 750;
    list-style: none;
    cursor: pointer;
}

#qt-home .qt-home-faq-item summary::-webkit-details-marker {
    display: none;
}

#qt-home .qt-home-faq-item summary::before,
#qt-home .qt-home-faq-item summary::after {
    position: absolute;
    top: 50%;
    right: 5px;
    width: 16px;
    height: 2px;
    content: '';
    transform: translateY(-50%);
    border-radius: 99px;
    background: var(--qt-home-ink);
    transition: transform .2s ease;
}

#qt-home .qt-home-faq-item summary::after {
    transform: translateY(-50%) rotate(90deg);
}

#qt-home .qt-home-faq-item[open] summary::after {
    transform: translateY(-50%) rotate(0);
}

#qt-home .qt-home-faq-item > div {
    padding: 0 50px 25px 0;
}

#qt-home .qt-home-faq-item p {
    color: var(--qt-home-muted);
    font-size: .88rem;
}


/* =========================================================
   METODOLOGÍA
========================================================= */

#qt-home .qt-home-method-section {
    background: #fff;
    padding-top:0;
    padding-bottom: 60px;
}

#qt-home .qt-home-method-card {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 70px;
    padding: clamp(35px, 5vw, 58px);
    border: 1px solid var(--qt-home-line);
    border-radius: var(--qt-home-radius-lg);
    background: #f7f8f9;
}

#qt-home .qt-home-method-copy h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

#qt-home .qt-home-method-copy p {
    color: var(--qt-home-muted);
    font-size: .88rem;
}

#qt-home .qt-home-method-points {
    display: flex;
    flex-direction: column;
}

#qt-home .qt-home-method-points > div {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    padding: 17px 0;
    border-bottom: 1px solid var(--qt-home-line);
}

#qt-home .qt-home-method-points > div:last-child {
    border-bottom: 0;
}

#qt-home .qt-home-method-points span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--qt-home-ink);
    color: #fff;
    font-size: .67rem;
    font-weight: 850;
}

#qt-home .qt-home-method-points p {
    color: #5c646a;
    font-size: .83rem;
}

#qt-home .qt-home-method-points strong {
    color: var(--qt-home-ink);
}

#qt-home #qt-home-estimate .qt-home-price-actions{display:flex;flex-direction:column;align-items:flex-start;gap:18px;margin-top:24px}
#qt-home #qt-home-estimate .qt-home-price-guide-link{display:inline-block;color:#111315;font-size:14px;font-weight:700;line-height:1.6;text-decoration:underline;text-underline-offset:4px}
#qt-home #qt-home-estimate .qt-home-price-guide-link:focus-visible{outline:3px solid #3978c8;outline-offset:5px}
@media(max-width:600px){#qt-home #qt-home-estimate .qt-home-price-actions .qt-home-button{width:100%}}


/* =========================================================
   CTA FINAL
========================================================= */

#qt-home .qt-home-final-section {
    padding: 0 0 22px;
    background: #fff;
}

#qt-home .qt-home-final-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 70px;
    overflow: hidden;
    padding: clamp(40px, 6vw, 72px);
    border-radius: var(--qt-home-radius-lg);
    background:
        radial-gradient(circle at 85% 15%, rgba(57, 120, 200, .45), transparent 35%),
        #111315;
    color: rgba(255, 255, 255, .70);
}

#qt-home .qt-home-final-card::after {
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 310px;
    height: 310px;
    content: '';
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(255, 255, 255, .035);
    pointer-events: none;
}

#qt-home .qt-home-final-card > div {
    position: relative;
    z-index: 1;
}

#qt-home .qt-home-final-card h2 {
    max-width: 720px;
    color: #fff;
}

#qt-home .qt-home-final-card p {
    max-width: 700px;
    color: rgba(255, 255, 255, .62);
}

#qt-home .qt-home-final-actions {
    display: flex;
    min-width: 225px;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
}

#qt-home .qt-home-final-link {
    color: rgba(255, 255, 255, .77);
    font-size: .78rem;
    font-weight: 750;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .34);
    text-underline-offset: 4px;
}

#qt-home .qt-home-final-link:hover {
    color: #fff;
}

#qt-home .qt-home-legal-note {
    padding-top: 22px;
    color: #858c91;
    font-size: .68rem;
    text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    #qt-home .qt-home-section {
        padding: 85px 0;
    }

    #qt-home .qt-home-hero {
        padding: 72px 0 80px;
    }

    #qt-home .qt-home-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
        gap: 42px;
    }

    #qt-home .qt-home-start-card {
        padding: 20px;
    }

    #qt-home .qt-home-mini-market {
        grid-template-columns: 1fr;
    }

    #qt-home .qt-home-mini-market > div {
        min-height: 58px;
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
    }

    #qt-home .qt-home-tool-card {
        min-height: 375px;
        padding: 25px;
    }

    #qt-home .qt-home-city-card {
        grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
    }

    #qt-home .qt-home-score-intro {
        gap: 45px;
    }

    #qt-home .qt-home-score-dashboard {
        grid-template-columns: minmax(280px, .57fr) minmax(0, 1.3fr);
    }

    #qt-home .qt-home-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #qt-home .qt-home-guide-card {
        min-height: 230px;
    }

}


/* =========================================================
   MÓVIL / TABLET VERTICAL
========================================================= */

@media (max-width: 767px) {

    #qt-home {
        font-size: 16px;
    }

    #qt-home .qt-home-container {
        width: min(100% - 30px, 620px);
    }

    #qt-home .qt-home-section {
        padding: 68px 0;
    }

    #qt-home h1 {
        font-size: clamp(2.45rem, 13vw, 3.7rem);
        line-height: 1.01;
        margin-bottom:24px;
    }

    #qt-home h2 {
        font-size: clamp(1.9rem, 8vw, 2.7rem);
        line-height: 1.08;
    }

    #qt-home .qt-home-section-heading {
        margin-bottom: 32px;
    }

    #qt-home .qt-home-section-heading-split {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #qt-home .qt-home-section-heading-split p {
        font-size: .95rem;
    }

    #qt-home .qt-home-hero {
        padding: 58px 0 62px;
    }

    #qt-home .qt-home-hero::before {
        top: -100px;
        right: -260px;
        width: 480px;
        height: 480px;
    }

    #qt-home .qt-home-hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    #qt-home .qt-home-hero-lead {
        font-size: 1rem;
    }

    #qt-home .qt-home-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 28px;
    }

    #qt-home .qt-home-button {
        width: 100%;
    }

    #qt-home .qt-home-trust-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    #qt-home .qt-home-start-card {
        padding: 20px 15px 15px;
        border-radius: 20px;
    }

    #qt-home .qt-home-start-card-head {
        padding: 0 3px;
    }

    #qt-home .qt-home-start-card-head h2 {
        font-size: 1.25rem;
    }

    #qt-home .qt-home-start-option {
        grid-template-columns: 33px minmax(0, 1fr) 23px;
        gap: 10px;
        min-height: 73px;
        padding: 10px;
    }

    #qt-home .qt-home-start-text small {
        display: none;
    }

    #qt-home .qt-home-mini-market {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #qt-home .qt-home-mini-market > div {
        min-height: 75px;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    #qt-home .qt-home-tools-grid {
        grid-template-columns: 1fr;
    }

    #qt-home .qt-home-tool-card {
        min-height: 0;
        padding: 25px;
    }

    #qt-home .qt-home-tool-icon {
        margin-bottom: 26px;
    }

    #qt-home .qt-home-tool-card > a {
        margin-top: 10px;
    }

    #qt-home .qt-home-difficulty-card {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    #qt-home .qt-home-difficulty-copy {
        padding: 32px 24px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .10);
    }

    #qt-home .qt-home-difficulty-button {
        align-self: stretch;
    }

    #qt-home .qt-home-difficulty-preview {
        margin: 20px;
        padding: 24px 20px;
    }

    #qt-home .qt-home-difficulty-explanation {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    #qt-home .qt-home-city-card {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    #qt-home .qt-home-city-main {
        padding: 32px 24px;
        border-right: 0;
    }

    #qt-home .qt-home-city-data {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #qt-home .qt-home-city-stat {
        min-height: 125px;
        padding: 19px;
    }

    #qt-home .qt-home-city-stat-wide {
        min-height: 130px;
    }

    #qt-home .qt-home-expansion-note {
        align-items: flex-start;
        text-align: left;
    }

    #qt-home .qt-home-score-intro {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 34px;
    }

    #qt-home .qt-home-score-dashboard {
        grid-template-columns: 1fr;
    }

    #qt-home .qt-home-score-visual {
        min-height: 0;
        padding: 27px 22px;
    }

    #qt-home .qt-home-score-total {
        margin-bottom: 24px;
    }

    #qt-home .qt-home-score-pillars {
        grid-template-columns: 1fr;
    }

    #qt-home .qt-home-score-pillar {
        padding: 23px;
    }

    #qt-home .qt-home-score-pillar-head {
        margin-bottom: 19px;
    }

    #qt-home .qt-home-score-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    #qt-home .qt-home-estimate-section {
        background: linear-gradient(180deg, #fff 0%, #fff 47%, #eef6ff 47%, #eaf4ff 100%);
    }

    #qt-home .qt-home-estimate-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    #qt-home .qt-home-estimate-card {
        padding: 23px 20px;
        border-radius: 20px;
    }

    #qt-home .qt-home-process-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    #qt-home .qt-home-process-grid::before {
        top: 30px;
        bottom: 30px;
        left: 30px;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, transparent, #bfc7cd 12%, #bfc7cd 88%, transparent);
    }

    #qt-home .qt-home-process-card {
        display: grid;
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 18px;
        padding: 0 0 28px;
        text-align: left;
    }

    #qt-home .qt-home-process-number {
        grid-row: 1 / span 2;
        margin: 0;
    }

    #qt-home .qt-home-process-card h3 {
        align-self: end;
        margin: 3px 0 5px;
    }

    #qt-home .qt-home-process-card p {
        grid-column: 2;
    }

    #qt-home .qt-home-guide-grid {
        grid-template-columns: 1fr;
    }

    #qt-home .qt-home-guide-card {
        min-height: 0;
    }

    #qt-home .qt-home-guide-check {
        margin-bottom: 23px;
    }

    #qt-home .qt-home-faq-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    #qt-home .qt-home-faq-intro {
        position: static;
    }

    #qt-home .qt-home-faq-item summary {
        min-height: 76px;
        padding-right: 43px;
        font-size: .94rem;
    }

    #qt-home .qt-home-faq-item > div {
        padding-right: 35px;
    }

    #qt-home .qt-home-method-section {
        padding-top:0;
    }

    #qt-home .qt-home-method-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 23px;
        border-radius: 20px;
    }

    #qt-home .qt-home-final-section {
        padding-top: 0;
    }

    #qt-home .qt-home-final-card {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 36px 24px;
        border-radius: 20px;
    }

    #qt-home .qt-home-final-actions {
        min-width: 0;
    }

}


/* =========================================================
   MÓVILES PEQUEÑOS
========================================================= */

@media (max-width: 420px) {

    #qt-home .qt-home-container {
        width: calc(100% - 24px);
    }

    #qt-home .qt-home-eyebrow {
        font-size: .7rem;
    }

    #qt-home h1 {
        font-size: 2.42rem;
    }

    #qt-home .qt-home-live-status {
        padding-right: 8px;
        padding-left: 8px;
    }

    #qt-home .qt-home-start-text strong {
        font-size: .8rem;
    }

    #qt-home .qt-home-mini-market strong {
        font-size: 1rem;
    }

    #qt-home .qt-home-mini-market span {
        font-size: .57rem;
    }

    #qt-home .qt-home-difficulty-preview {
        margin: 12px;
        padding: 22px 16px;
    }

    #qt-home .qt-home-difficulty-preview-head > strong {
        display: none;
    }

    #qt-home .qt-home-difficulty-scale {
        font-size: .59rem;
    }

    #qt-home .qt-home-difficulty-factors span {
        font-size: .59rem;
    }

    #qt-home .qt-home-city-data {
        grid-template-columns: 1fr;
    }

    #qt-home .qt-home-city-stat {
        min-height: 105px;
    }

    #qt-home .qt-home-city-stat-wide {
        grid-column: auto;
    }

    #qt-home .qt-home-score-bar {
        height: 80px;
    }

    #qt-home .qt-home-score-segment small {
        display: none;
    }

    #qt-home .qt-home-process-card {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 15px;
    }

    #qt-home .qt-home-process-grid::before {
        left: 26px;
    }

    #qt-home .qt-home-process-number {
        width: 52px;
        height: 52px;
    }

}


/* =========================================================
   MOVIMIENTO REDUCIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    #qt-home *,
    #qt-home *::before,
    #qt-home *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

}


/* =========================================================
   CIUDADES: FILAS COMPACTAS
========================================================= */
#qt-home .qt-home-cities-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
}
#qt-home .qt-home-cities-grid .qt-home-city-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 240px) 190px;
    align-items: center;
    gap: 24px;
    min-width: 0;
    padding: 16px 22px;
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
}
#qt-home .qt-home-cities-grid .qt-home-city-main {
    min-width: 0;
    padding: 0;
    border: 0;
    background: none;
}
#qt-home .qt-home-cities-grid .qt-home-city-badge {
    margin: 0 0 8px;
    padding: 3px 7px;
    font-size: .52rem;
    letter-spacing: .06em;
}
#qt-home .qt-home-cities-grid .qt-home-city-main h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
#qt-home .qt-home-cities-grid .qt-home-city-data {
    display: block;
    min-width: 0;
    padding: 0 0 0 22px;
    border-left: 1px solid var(--qt-home-line);
    background: none;
}
#qt-home .qt-home-cities-grid .qt-home-city-stat {
    min-width: 0;
    min-height: 0;
    padding: 0;
    background: none;
}
#qt-home .qt-home-cities-grid .qt-home-city-stat > span {
    margin-bottom: 3px;
    font-size: .62rem;
}
#qt-home .qt-home-cities-grid .qt-home-city-stat > strong {
    font-size: 1.18rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
#qt-home .qt-home-cities-grid .qt-home-city-stat-note {
    margin-top: 3px;
    font-size: .65rem;
}
#qt-home .qt-home-cities-grid .qt-home-city-action {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 11px 14px;
    font-size: .78rem;
    line-height: 1.3;
    text-align: center;
}
#qt-home .qt-home-cities-grid .qt-home-city-action:focus-visible {
    outline: 3px solid var(--qt-home-tech);
    outline-offset: 3px;
}
@media (max-width: 900px) {
    #qt-home .qt-home-cities-grid .qt-home-city-card {
        grid-template-columns: minmax(0, 1fr) 170px 155px;
        gap: 14px;
        padding: 14px 16px;
    }
    #qt-home .qt-home-cities-grid .qt-home-city-data {
        padding-left: 14px;
    }
}
@media (max-width: 640px) {
    #qt-home .qt-home-cities-grid .qt-home-city-card {
        grid-template-columns: minmax(0, 1fr) minmax(115px, .65fr);
        gap: 12px;
        padding: 14px;
    }
    #qt-home .qt-home-cities-grid .qt-home-city-main h3 {
        font-size: .95rem;
    }
    #qt-home .qt-home-cities-grid .qt-home-city-data {
        padding-left: 12px;
    }
    #qt-home .qt-home-cities-grid .qt-home-city-stat > strong {
        font-size: 1.05rem;
    }
    #qt-home .qt-home-cities-grid .qt-home-city-action {
        grid-column: 1 / -1;
        min-height: 44px;
        padding: 10px 14px;
    }
}



#qt-home .qt-home-cities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

#qt-home .qt-home-cities-grid .qt-home-city-card {
    grid-template-columns: minmax(0, 1fr) 150px 130px;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

#qt-home .qt-home-cities-grid .qt-home-city-data {
    padding-left: 12px;
}

#qt-home .qt-home-cities-grid .qt-home-city-action {
    grid-column: auto;
    width: 100%;
    margin: 0;
    padding: 10px;
    font-size: .75rem;
}

/* Una ciudad por fila en tablet */
@media (max-width: 1100px) {
    #qt-home .qt-home-cities-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Mantener las tres columnas en móvil */
@media (max-width: 640px) {
    #qt-home .qt-home-cities-grid .qt-home-city-card {
        grid-template-columns: minmax(0, 1fr) 120px 100px;
        gap: 8px;
        padding: 12px 10px;
    }

    #qt-home .qt-home-cities-grid .qt-home-city-data {
        padding-left: 8px;
    }

    #qt-home .qt-home-cities-grid .qt-home-city-main h3 {
        font-size: .85rem;
    }

    #qt-home .qt-home-cities-grid .qt-home-city-action {
        grid-column: auto;
        padding: 9px 6px;
        font-size: .7rem;
    }
}
/* 0.5.96: five-pillar LaserScore, same palette and circular breakdown as the dashboard. */
#qt-home{--qt-home-tech:#4877dd;--qt-home-comfort:#20a68b;--qt-home-attention:#a272d1;--qt-home-conditions:#e8ae45;--qt-home-transparency:#32afc0}
#qt-home.qt-home .qt-home-start-card:before{background:linear-gradient(90deg,var(--qt-home-tech) 0 30%,var(--qt-home-comfort) 30% 45%,var(--qt-home-attention) 45% 65%,var(--qt-home-conditions) 65% 80%,var(--qt-home-transparency) 80% 100%)}
#qt-home .qt-home-works{padding-top:44px;padding-bottom:0}
#qt-home .qt-home-works .etv2-work-gallery{margin-top:0}
#qt-home #qt-home-laserscore.qt-home-score-section{background:#f3f7f6;color:#172d37}
#qt-home #qt-home-laserscore.qt-home-score-section h2,#qt-home #qt-home-laserscore.qt-home-score-section h3{color:#172d37}
#qt-home .qt-home-score-intro p,#qt-home .qt-home-score-intro .qt-home-score-disclaimer{color:#637680}
#qt-home .qt-home-score-intro .qt-home-eyebrow{color:#20734d}
#qt-home .qt-home-score-explainer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px;align-items:start}
#qt-home .qt-home-score-card{background:white;border:1px solid #e0e9e8;border-radius:18px;padding:28px;position:sticky;top:24px;box-shadow:0 4px 18px #172d3705}
#qt-home .qt-home-score-card>h3{font-size:21px;margin:0 0 24px}
#qt-home .qt-home-score-ring-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:center}
#qt-home .etv2-hub-ring{position:relative;width:180px;aspect-ratio:1;flex-shrink:0}
#qt-home .etv2-hub-ring svg{width:100%;height:100%;transform:rotate(-90deg);fill:none;stroke-width:11}
#qt-home .etv2-hub-ring-track{stroke:#edf1f3}
#qt-home .etv2-hub-ring>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
#qt-home .etv2-hub-ring strong{font-size:46px;font-weight:800;line-height:1.1;letter-spacing:-2px;color:#172d37}
#qt-home .etv2-hub-ring span{font-size:12px;color:#637680;margin-top:5px}
#qt-home .qt-home-score-breakdown{margin:0;min-width:0}
#qt-home .qt-home-score-breakdown>div{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:11px 0;border-bottom:1px solid #edf1f0;font-size:13px}
#qt-home .qt-home-score-breakdown dt{min-width:0;font-weight:650}
#qt-home .qt-home-score-breakdown dt a{display:flex;align-items:center;gap:8px;color:#172d37;text-decoration:none}
#qt-home .qt-home-score-breakdown dt a:hover{text-decoration:underline;text-underline-offset:3px}
#qt-home .qt-home-score-breakdown dt a>span{width:8px;height:8px;flex:0 0 8px;background:var(--score-color);border-radius:50%}
#qt-home .qt-home-score-breakdown dd{margin:0;white-space:nowrap;color:#172d37;font-size:14px}
#qt-home .qt-home-score-breakdown dd span{font-size:12px;color:#637680;margin-left:3px}
#qt-home .qt-home-score-caption{margin:24px 0 20px;color:#637680;font-size:12px;line-height:1.7}
#qt-home .qt-home-score-criteria{display:grid;gap:14px;min-width:0}
#qt-home .qt-home-score-criterion{padding:22px 24px;background:#fff;border:1px solid #e0e9e8;border-left:4px solid var(--score-color);border-radius:14px;scroll-margin-top:100px;min-width:0;transition:box-shadow .2s}
#qt-home .qt-home-score-criterion>div{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
#qt-home .qt-home-score-criterion h3{display:flex;align-items:center;gap:8px;margin:0;font-size:17px;line-height:1.4}
#qt-home .qt-home-score-criterion>div>strong{white-space:nowrap;font-size:12px;color:#637680;line-height:2}
#qt-home .qt-home-score-criterion p{color:#637680;font-size:13px;line-height:1.7;margin:10px 0 0}
#qt-home .qt-home-score-criterion ul{padding-left:18px;margin:12px 0 0;color:#637680;font-size:12px;line-height:1.7}
#qt-home .qt-home-score-criterion.qt-home-pillar-highlight{box-shadow:0 0 0 3px var(--score-color)}
@media(max-width:1200px){#qt-home .qt-home-score-ring-layout{grid-template-columns:1fr;justify-items:center}#qt-home .qt-home-score-breakdown{width:100%}}
@media(max-width:850px){#qt-home .qt-home-score-explainer{grid-template-columns:1fr}#qt-home .qt-home-score-card{position:static}#qt-home .qt-home-score-ring-layout{grid-template-columns:180px minmax(0,1fr);gap:24px}}
@media(max-width:560px){#qt-home .qt-home-score-ring-layout{grid-template-columns:1fr}#qt-home .qt-home-score-card{padding:20px}#qt-home .qt-home-score-criterion{padding:18px 16px}#qt-home .qt-home-score-criterion>div{flex-wrap:wrap;gap:6px}#qt-home .qt-home-score-card .qt-home-button{width:100%}}
#qt-home .qt-home-score-criterion:hover,#qt-home .qt-home-score-criterion.qt-home-pillar-highlight{background:#fff;transform:none}

/* 0.5.97: map fills the available desktop content width, including Directorist wrappers. */
#qt-home #qt-home-map{width:100%;max-width:none;min-width:0;scroll-margin-top:100px}
@media(min-width:1025px){
#qt-home #qt-home-map{display:block;grid-column:1/-1;flex:0 0 100%}
#qt-home #qt-home-map :is(.directorist-archive-contents,.directorist-container,.directorist-row,.directorist-col-12,.directorist-col-md-12,.directorist-col-lg-12,.listing-with-sidebar,.listing-with-sidebar__wrapper,.listing-with-sidebar__contents,.listing-with-sidebar__listing,.directorist-archive-map-view,.directorist-openstreet-map){display:block!important;box-sizing:border-box;width:100%!important;max-width:none!important;min-width:0!important;flex:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;grid-template-columns:none!important}
}

/* Portada: mapa primero y tarjetas completas como enlaces. */
#qt-home .qt-home-cities-section { padding-top: 0; }
#qt-home #qt-home-map { width: 100%; margin-bottom: 56px; }
#qt-home .qt-home-cities-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
#qt-home .qt-home-cities-grid .qt-home-city-card {
    position: relative; grid-template-columns: minmax(0, 1fr); gap: 14px;
    align-content: start; padding: 20px; cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
#qt-home .qt-home-cities-grid .qt-home-city-card:hover,
#qt-home .qt-home-cities-grid .qt-home-city-card:focus-within {
    border-color: var(--qt-home-tech); box-shadow: 0 8px 24px rgba(31, 57, 82, .13); transform: translateY(-3px);
}
#qt-home .qt-home-cities-grid .qt-home-city-link { color: inherit; text-decoration: none; }
#qt-home .qt-home-cities-grid .qt-home-city-link::after { content: ''; position: absolute; inset: 0; }
#qt-home .qt-home-cities-grid .qt-home-city-link:focus-visible { outline: 3px solid var(--qt-home-tech); outline-offset: 4px; }
#qt-home .qt-home-cities-grid .qt-home-city-data { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--qt-home-line); }
#qt-home .qt-home-cities-grid .qt-home-city-heading { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
#qt-home .qt-home-cities-grid .qt-home-city-flag { display: block; flex: 0 0 38px; width: 38px; height: 24px; object-fit: cover; border-radius: 3px; margin: 8px 0 0; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
#qt-home .qt-home-cities-grid .qt-home-city-heading h3 { flex: 1 1 auto; min-width: 0; font-size: .95rem; line-height: 1.3; }
#qt-home .qt-home-cities-grid .qt-home-city-count { display: inline-flex; flex: 0 0 auto; margin: 0 0 8px 6px; padding: 3px 7px; border: 1px solid rgba(53,116,35,.15); border-radius: 999px; background: rgba(118,216,79,.14); color: #315b25; font-size: .6rem; line-height: 1.2; font-weight: 700; letter-spacing: .05em; white-space: nowrap; }
@media (min-width: 1201px) and (max-width: 1450px) { #qt-home .qt-home-cities-grid .qt-home-city-heading { flex-wrap: wrap; } #qt-home .qt-home-cities-grid .qt-home-city-count { margin-left: auto; } }
@media (max-width: 1200px) { #qt-home .qt-home-cities-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) { #qt-home .qt-home-cities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { #qt-home .qt-home-cities-grid { grid-template-columns: minmax(0, 1fr); } #qt-home #qt-home-map { margin-bottom: 36px; } }
