/*
Theme Name: Kadence Child QueTaller
Theme URI: https://quetaller.cl
Description: Child theme para QueTaller basado en Kadence.
Author: QueTaller
Template: kadence
Version: 1.0.0
Text Domain: kadence-child-quetaller
*/

/* QueTaller archive layout overrides.
   Higher specificity is intentional because product-card.php also prints archive CSS inline. */

body.post-type-archive-qt_servicio #inner-wrap,
body.post-type-archive-qt_servicio .content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.post-type-archive-qt_servicio .qt-archive-wrapper {
    width: min(100% - 48px, 1240px) !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 16px 0 40px !important;
}

/* Hide archive title/subtitle to give priority to filters and offer cards. */
body.post-type-archive-qt_servicio .qt-archive-header {
    display: none !important;
}

body.post-type-archive-qt_servicio .qt-archive-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 6px !important;
}

/* Desktop sidebar. */
body.post-type-archive-qt_servicio .qt-filter-sidebar {
    position: sticky;
    top: 92px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

body.post-type-archive-qt_servicio .qt-filter-toggle,
body.post-type-archive-qt_servicio .qt-filter-mobile-trigger,
body.post-type-archive-qt_servicio .qt-filter-overlay,
body.post-type-archive-qt_servicio .qt-filter-close {
    display: none;
}

body.post-type-archive-qt_servicio .qt-filter-content {
    display: block;
}

body.post-type-archive-qt_servicio .qt-filter-panel-heading h2 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
}

body.post-type-archive-qt_servicio .qt-filter-section {
    padding: 16px 0;
    border-top: 1px solid #edf2f7;
}

body.post-type-archive-qt_servicio .qt-filter-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

body.post-type-archive-qt_servicio .qt-filter-section h3 {
    display: none !important;
}

body.post-type-archive-qt_servicio .qt-results-toolbar {
    display: block;
    margin-bottom: 8px !important;
}

body.post-type-archive-qt_servicio .qt-location-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 10px 14px;
    margin: 0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

body.post-type-archive-qt_servicio .qt-location-box--compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    align-items: center;
}

body.post-type-archive-qt_servicio .qt-location-box-content strong {
    display: block;
    margin-bottom: 1px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
}

body.post-type-archive-qt_servicio .qt-location-text {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
}

body.post-type-archive-qt_servicio .qt-location-actions {
    display: flex;
    gap: 8px;
    margin-top: 0;
}

body.post-type-archive-qt_servicio .qt-location-button,
body.post-type-archive-qt_servicio .qt-location-clear {
    border-radius: 999px;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

body.post-type-archive-qt_servicio .qt-location-button {
    border: none;
    background: #3a86ff;
    color: #ffffff;
}

body.post-type-archive-qt_servicio .qt-location-clear {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #334155;
}

body.post-type-archive-qt_servicio .qt-location-footer {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

body.post-type-archive-qt_servicio .qt-location-status,
body.post-type-archive-qt_servicio .qt-filter-status {
    margin-top: 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.35;
}

body.post-type-archive-qt_servicio .qt-filter-status {
    font-weight: 800;
}

body.post-type-archive-qt_servicio .qt-location-status[data-type="success"] {
    color: #14532d;
}

body.post-type-archive-qt_servicio .qt-location-status[data-type="error"] {
    color: #b91c1c;
}

body.post-type-archive-qt_servicio .qt-location-status[data-type="loading"] {
    color: #075985;
}

body.post-type-archive-qt_servicio .qt-filter-control span {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    color: #334155;
}

body.post-type-archive-qt_servicio .qt-filter-control select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    padding: 12px 42px 12px 12px;
    background-color: #ffffff;
    background-image:
        linear-gradient(45deg, transparent 50%, #334155 50%),
        linear-gradient(135deg, #334155 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 13px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

body.post-type-archive-qt_servicio .qt-filter-control select:focus {
    outline: none;
    border-color: #3a86ff;
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.12);
}

body.post-type-archive-qt_servicio .qt-service-card {
    margin-top: 7px !important;
    margin-bottom: 7px !important;
}

body.post-type-archive-qt_servicio .qt-service-card.qt-out-of-coverage {
    display: none;
}

body.post-type-archive-qt_servicio .qt-service-card.qt-service-card--featured {
    border: 2px solid #3a86ff;
    box-shadow: 0 10px 28px rgba(58, 134, 255, 0.18);
    position: relative;
}

body.post-type-archive-qt_servicio .qt-featured-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    background: #3a86ff;
    color: #ffffff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

@media (max-width: 1180px) {
    body.post-type-archive-qt_servicio .qt-archive-wrapper {
        width: min(100% - 32px, 1080px) !important;
    }

    body.post-type-archive-qt_servicio .qt-archive-layout {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 18px;
    }
}

/* Mobile/tablet: collapsed filter button + compact location. */
@media (max-width: 1024px) {
    body.post-type-archive-qt_servicio .qt-archive-wrapper {
        width: calc(100% - 24px) !important;
        padding-top: 6px !important;
        padding-bottom: 32px !important;
    }

    body.post-type-archive-qt_servicio .qt-archive-layout {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 0 !important;
    }

    body.post-type-archive-qt_servicio .qt-filter-sidebar {
        position: static;
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
        order: 1;
    }

    body.post-type-archive-qt_servicio .qt-archive-results {
        order: 2;
    }

    body.post-type-archive-qt_servicio .qt-filter-mobile-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: fit-content;
        min-height: 38px;
        padding: 8px 14px;
        margin: 0 0 8px auto;
        border: 1px solid #e5e7eb;
        border-radius: 999px;
        background: #ffffff;
        color: #0f172a;
        font-size: 14px;
        font-weight: 900;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
        cursor: pointer;
    }

    body.post-type-archive-qt_servicio .qt-filter-mobile-icon {
        width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #334155;
    }

    body.post-type-archive-qt_servicio .qt-filter-content {
        display: none;
    }

    body.post-type-archive-qt_servicio .qt-filter-toggle:checked ~ .qt-filter-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 9998;
        background: rgba(15, 23, 42, 0.45);
    }

    body.post-type-archive-qt_servicio .qt-filter-toggle:checked ~ .qt-filter-content {
        display: block;
        position: fixed;
        left: 12px;
        right: 12px;
        top: 88px;
        z-index: 9999;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        padding: 18px;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 18px;
        box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
    }

    body.post-type-archive-qt_servicio .qt-filter-toggle:checked ~ .qt-filter-content .qt-filter-panel-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    body.post-type-archive-qt_servicio .qt-filter-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 999px;
        background: #f8fafc;
        color: #0f172a;
        font-size: 24px;
        line-height: 1;
        font-weight: 800;
        cursor: pointer;
    }

    body.post-type-archive-qt_servicio .qt-filter-section {
        padding: 12px 0;
    }

    body.post-type-archive-qt_servicio .qt-results-toolbar {
        margin-bottom: 6px !important;
    }

    body.post-type-archive-qt_servicio .qt-location-box {
        padding: 10px 12px !important;
        border-radius: 14px;
    }

    body.post-type-archive-qt_servicio .qt-location-box--compact {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    body.post-type-archive-qt_servicio .qt-location-text {
        display: none;
    }

    body.post-type-archive-qt_servicio .qt-location-actions {
        display: grid;
        grid-template-columns: 1.8fr 1fr;
        gap: 8px;
        width: 100%;
    }

    body.post-type-archive-qt_servicio .qt-location-button,
    body.post-type-archive-qt_servicio .qt-location-clear {
        width: 100%;
        padding: 9px 10px;
        font-size: 13px;
    }

    body.post-type-archive-qt_servicio .qt-location-footer {
        gap: 4px 10px;
    }

    body.post-type-archive-qt_servicio .qt-service-card {
        margin-top: 7px !important;
        margin-bottom: 7px !important;
    }
}

@media (max-width: 600px) {
    body.post-type-archive-qt_servicio .qt-archive-wrapper {
        width: calc(100% - 20px) !important;
        padding-top: 4px !important;
    }

    body.post-type-archive-qt_servicio .qt-filter-mobile-trigger {
        min-height: 34px;
        padding: 7px 12px;
        margin-bottom: 6px;
        font-size: 13px;
    }

    body.post-type-archive-qt_servicio .qt-location-box {
        padding: 9px 10px !important;
    }

    body.post-type-archive-qt_servicio .qt-location-box-content strong {
        font-size: 12px;
    }

    body.post-type-archive-qt_servicio .qt-location-status,
    body.post-type-archive-qt_servicio .qt-filter-status {
        font-size: 11px;
    }
}


/* Final mobile refinement: filter button integrated in location box. */
@media (max-width: 1024px) {
    body.post-type-archive-qt_servicio .qt-filter-sidebar {
        margin: 0 !important;
        height: 0;
        min-height: 0;
        overflow: visible;
        order: 0;
    }

    body.post-type-archive-qt_servicio .qt-filter-mobile-trigger {
        display: none !important;
    }

    body.post-type-archive-qt_servicio .qt-filter-mobile-trigger--inline {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        min-height: 38px;
        padding: 8px 10px;
        margin: 0;
        border: 1px solid #dbe3ee;
        border-radius: 999px;
        background: #ffffff;
        color: #0f172a;
        font-size: 13px;
        font-weight: 900;
        box-shadow: none;
        cursor: pointer;
    }

    body.post-type-archive-qt_servicio .qt-filter-mobile-trigger--inline .qt-filter-mobile-icon {
        width: 18px;
        height: 18px;
        background: transparent;
    }

    body.post-type-archive-qt_servicio .qt-location-actions {
        display: grid !important;
        grid-template-columns: 0.85fr 1.55fr 0.95fr;
        gap: 7px;
        width: 100%;
    }

    body.post-type-archive-qt_servicio .qt-location-button,
    body.post-type-archive-qt_servicio .qt-location-clear {
        min-height: 38px;
        padding: 8px 9px;
        font-size: 12.5px;
    }

    body.post-type-archive-qt_servicio .qt-location-box {
        padding: 9px 10px !important;
    }

    body.post-type-archive-qt_servicio .qt-location-box-content {
        display: none;
    }

    body.post-type-archive-qt_servicio .qt-location-footer {
        margin-top: 1px;
    }

    body.post-type-archive-qt_servicio .qt-archive-layout {
        gap: 6px !important;
    }
}

@media (max-width: 380px) {
    body.post-type-archive-qt_servicio .qt-location-actions {
        grid-template-columns: 1fr 1.45fr 0.85fr;
        gap: 5px;
    }

    body.post-type-archive-qt_servicio .qt-filter-mobile-trigger--inline,
    body.post-type-archive-qt_servicio .qt-location-button,
    body.post-type-archive-qt_servicio .qt-location-clear {
        font-size: 11.5px;
        padding-left: 7px;
        padding-right: 7px;
    }
}


/* Single service/product page */
body.single-qt_servicio #inner-wrap,
body.single-qt_servicio .content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.qt-single-service-page {
    width: min(100% - 48px, 1180px);
    margin: 24px auto 60px;
}

.qt-single-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.qt-single-breadcrumb a {
    color: #3a86ff;
    text-decoration: none;
}

.qt-single-breadcrumb a:hover {
    text-decoration: underline;
}

.qt-single-product {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr) 235px;
    gap: 24px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.qt-single-gallery {
    position: relative;
}

.qt-single-main-image,
.qt-single-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 18px;
    background: #f0f4f8;
    color: #64748b;
    font-weight: 900;
}

.qt-single-taller-logo {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 5px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
}

.qt-single-main h1 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 900;
    line-height: 1.08;
}

.qt-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
}

.qt-single-meta span {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    background: #f0f4f8;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.qt-single-meta span:nth-child(2) {
    background: #dcfce7;
    color: #14532d;
}

.qt-single-includes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
    color: #334155;
    font-size: 14px;
    line-height: 1.4;
}

.qt-single-includes div::before {
    content: "✓";
    color: #00c853;
    font-weight: 900;
    margin-right: 7px;
}

.qt-single-buybox {
    border-left: 1px solid #e5e7eb;
    padding-left: 24px;
    text-align: center;
}

.qt-single-price-label {
    color: #64748b;
    font-size: 13px;
}

.qt-single-old-price {
    color: #64748b;
    text-decoration: line-through;
    font-size: 14px;
}

.qt-single-price {
    color: #0f172a;
    font-size: 32px;
    font-weight: 900;
    margin: 4px 0 16px;
    line-height: 1.1;
}

.qt-single-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 54px;
    border-radius: 999px;
    background: #3a86ff;
    color: #ffffff !important;
    font-weight: 900;
    text-decoration: none;
    padding: 12px 18px;
    line-height: 1.15;
}

.qt-single-cta:hover {
    filter: brightness(0.94);
}

.qt-single-whatsapp-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.qt-single-cta-note {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.qt-single-section {
    margin-top: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.qt-single-section h2 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
}

.qt-single-description {
    color: #334155;
    font-size: 15px;
    line-height: 1.65;
}

.qt-single-description p:last-child {
    margin-bottom: 0;
}

.qt-single-exclusions {
    background: #f8fafc;
    border-radius: 14px;
    padding: 14px 16px;
    color: #475569;
    font-size: 14px;
}

.qt-single-exclusions strong {
    color: #0f172a;
}

.qt-single-exclusions ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.qt-single-provider-card {
    display: flex;
    gap: 16px;
    align-items: center;
}

.qt-single-provider-card img {
    width: 74px;
    height: 74px;
    border-radius: 16px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 4px;
}

.qt-single-provider-card h3 {
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
}

.qt-single-provider-card p {
    margin: 4px 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.45;
}

.qt-single-map {
    margin-top: 18px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.qt-single-map iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}

@media (max-width: 980px) {
    .qt-single-service-page {
        width: calc(100% - 24px);
        margin-top: 14px;
    }

    .qt-single-product {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
    }

    .qt-single-main-image,
    .qt-single-image-placeholder {
        height: 280px;
    }

    .qt-single-buybox {
        border-left: none;
        border-top: 1px solid #e5e7eb;
        padding-left: 0;
        padding-top: 18px;
    }

    .qt-single-includes {
        grid-template-columns: 1fr;
    }

    .qt-single-section {
        padding: 18px;
    }
}

@media (max-width: 600px) {
    .qt-single-service-page {
        width: calc(100% - 20px);
        margin-top: 10px;
    }

    .qt-single-breadcrumb {
        display: none;
    }

    .qt-single-product {
        padding: 14px;
        border-radius: 18px;
    }

    .qt-single-main-image,
    .qt-single-image-placeholder {
        height: 230px;
    }

    .qt-single-main h1 {
        font-size: 27px;
    }

    .qt-single-provider-card {
        align-items: flex-start;
    }

    .qt-single-map iframe {
        height: 260px;
    }
}


/* -------------------------------------------------------
 * QueTaller Brand System: Header, Footer, Home
 * ----------------------------------------------------- */

:root {
    --qt-cyan: #06BEE1;
    --qt-blue: #12355B;
    --qt-ink: #0f172a;
    --qt-muted: #64748b;
    --qt-soft: #f4f8fb;
    --qt-border: #e5e7eb;
}

/* Header / navigation */
#masthead,
#masthead .site-header-row-container-inner,
#masthead .site-main-header-wrap {
    background: #ffffff !important;
}

#masthead {
    border-bottom: 1px solid rgba(18, 53, 91, 0.08);
}

.site-branding .site-title,
.mobile-site-branding .site-title,
.site-title {
    color: var(--qt-blue) !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a,
.mobile-navigation ul li > a,
.mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap {
    color: var(--qt-blue) !important;
    font-weight: 700;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a,
.mobile-navigation ul li.current-menu-item > a {
    color: var(--qt-cyan) !important;
}

.mobile-toggle-open-container .menu-toggle-open,
.mobile-toggle-open-container .menu-toggle-open:focus {
    color: var(--qt-blue) !important;
}

/* Hide Kadence default footer. Custom footer is printed via functions.php. */
#colophon {
    display: none !important;
}

.qt-brand-footer {
    background: var(--qt-blue);
    color: #ffffff;
    margin-top: 0;
}

.qt-brand-footer-inner {
    width: min(100% - 48px, 1180px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
    gap: 34px;
    padding: 42px 0 28px;
}

.qt-footer-logo {
    display: inline-flex;
    color: #ffffff;
    text-decoration: none;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.qt-footer-brand p {
    max-width: 360px;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.qt-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qt-footer-nav h2 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    margin: 0 0 6px;
}

.qt-footer-nav a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.qt-footer-nav a:hover {
    color: var(--qt-cyan);
}

.qt-brand-footer-bottom {
    width: min(100% - 48px, 1180px);
    margin: 0 auto;
    padding: 16px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/* Home */
body.home #inner-wrap,
body.home .content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.qt-home {
    background: #ffffff;
    color: var(--qt-ink);
}

.qt-home a {
    text-decoration: none;
}

.qt-home-hero,
.qt-home-section,
.qt-home-final-cta {
    width: min(100% - 48px, 1180px);
    margin-left: auto;
    margin-right: auto;
}

.qt-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 430px;
    gap: 44px;
    align-items: center;
    padding: 72px 0 58px;
}

.qt-home-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--qt-blue);
    background: rgba(6, 190, 225, 0.12);
    border: 1px solid rgba(6, 190, 225, 0.24);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 16px;
}

.qt-home-hero h1 {
    color: var(--qt-ink);
    font-size: clamp(40px, 6vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 950;
    margin: 0 0 18px;
}

.qt-home-hero p {
    max-width: 610px;
    color: #334155;
    font-size: 19px;
    line-height: 1.55;
    margin: 0;
}

.qt-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.qt-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 999px;
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 900;
    transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}

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

.qt-home-button-primary {
    background: var(--qt-blue);
    color: #ffffff !important;
}

.qt-home-button-primary:hover {
    filter: brightness(1.04);
}

.qt-home-button-secondary {
    background: #ffffff;
    color: var(--qt-blue) !important;
    border: 1px solid #dbe3ee;
}

.qt-home-button-secondary:hover {
    border-color: var(--qt-cyan);
}

.qt-home-hero-card {
    background: #ffffff;
    border: 1px solid var(--qt-border);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 24px 70px rgba(18, 53, 91, 0.16);
}

.qt-home-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.qt-home-card-badge {
    display: inline-flex;
    color: #ffffff;
    background: var(--qt-cyan);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.qt-home-card-brand {
    color: var(--qt-blue);
    font-size: 13px;
    font-weight: 900;
}

.qt-home-card-body {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 18px;
    align-items: center;
}

.qt-home-card-image {
    height: 128px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 35% 25%, rgba(6, 190, 225, 0.32), transparent 30%),
        linear-gradient(135deg, #f8fafc, #eef6fb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--qt-blue);
    font-size: 28px;
    font-weight: 950;
}

.qt-home-card-info h2 {
    color: var(--qt-ink);
    font-size: 22px;
    line-height: 1.1;
    margin: 0 0 7px;
    font-weight: 950;
}

.qt-home-card-info p {
    color: var(--qt-muted);
    font-size: 13px;
    margin: 0;
}

.qt-home-card-info strong {
    display: block;
    color: var(--qt-ink);
    font-size: 29px;
    line-height: 1.1;
    margin: 3px 0 10px;
    font-weight: 950;
}

.qt-home-card-pill {
    display: inline-flex;
    background: #f0f4f8;
    color: #334155;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 800;
}

.qt-home-card-footer {
    margin-top: 18px;
    background: var(--qt-blue);
    color: #ffffff;
    text-align: center;
    border-radius: 999px;
    padding: 13px;
    font-weight: 950;
}

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

.qt-home-section-heading {
    max-width: 760px;
    margin-bottom: 26px;
}

.qt-home-section-heading h2 {
    color: var(--qt-ink);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 950;
    margin: 0 0 10px;
}

.qt-home-section-heading p {
    color: var(--qt-muted);
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
}

.qt-home-section-heading-row {
    max-width: none;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
}

.qt-home-section-heading-row > a {
    color: var(--qt-blue);
    font-weight: 900;
}

.qt-home-section-heading-row > a:hover {
    color: var(--qt-cyan);
}

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

.qt-home-category-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 88px;
    background: #ffffff;
    border: 1px solid var(--qt-border);
    border-radius: 18px;
    padding: 18px;
    color: var(--qt-ink);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.qt-home-category-card:hover {
    transform: translateY(-2px);
    border-color: var(--qt-cyan);
    box-shadow: 0 12px 28px rgba(18, 53, 91, 0.11);
}

.qt-home-category-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: rgba(6, 190, 225, 0.12);
    border-radius: 14px;
    font-size: 21px;
}

.qt-home-category-card strong {
    font-size: 15px;
    font-weight: 900;
}

.qt-home-category-card-all {
    background: var(--qt-blue);
    color: #ffffff;
}

.qt-home-category-card-all .qt-home-category-icon {
    background: rgba(255, 255, 255, 0.12);
}

.qt-home-steps,
.qt-home-benefits {
    background: linear-gradient(180deg, #ffffff, #f8fbfd);
}

.qt-home-step-grid,
.qt-home-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.qt-home-step,
.qt-home-benefit-grid article {
    background: #ffffff;
    border: 1px solid var(--qt-border);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.qt-home-step span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: var(--qt-blue);
    color: #ffffff;
    border-radius: 999px;
    font-weight: 950;
    margin-bottom: 14px;
}

.qt-home-step h3,
.qt-home-benefit-grid h3 {
    color: var(--qt-ink);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 950;
    margin: 0 0 8px;
}

.qt-home-step p,
.qt-home-benefit-grid p {
    color: var(--qt-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.qt-home-benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.qt-home-featured-list .qt-service-card {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.qt-home-faq-list {
    display: grid;
    gap: 10px;
}

.qt-home-faq-item {
    background: #ffffff;
    border: 1px solid var(--qt-border);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.qt-home-faq-item summary {
    cursor: pointer;
    color: var(--qt-ink);
    font-size: 16px;
    font-weight: 900;
    padding: 18px 20px;
}

.qt-home-faq-item p {
    color: var(--qt-muted);
    margin: 0;
    padding: 0 20px 18px;
    font-size: 15px;
    line-height: 1.6;
}

.qt-home-final-cta {
    margin-top: 28px;
    margin-bottom: 72px;
    padding: 42px;
    border-radius: 26px;
    background: var(--qt-blue);
    color: #ffffff;
    text-align: center;
}

.qt-home-final-cta h2 {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 950;
    margin: 0 0 10px;
}

.qt-home-final-cta p {
    max-width: 660px;
    margin: 0 auto 22px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.55;
}

.qt-home-final-cta .qt-home-button-primary {
    background: #ffffff;
    color: var(--qt-blue) !important;
}

@media (max-width: 1024px) {
    .qt-home-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 48px 0 42px;
    }

    .qt-home-hero-card {
        max-width: 540px;
    }

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

    .qt-home-step-grid,
    .qt-home-benefit-grid {
        grid-template-columns: 1fr 1fr;
    }

    .qt-brand-footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .qt-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .qt-home-hero,
    .qt-home-section,
    .qt-home-final-cta,
    .qt-brand-footer-inner,
    .qt-brand-footer-bottom {
        width: calc(100% - 24px);
    }

    .qt-home-hero {
        padding: 34px 0 32px;
    }

    .qt-home-hero h1 {
        font-size: 42px;
    }

    .qt-home-hero p {
        font-size: 16px;
    }

    .qt-home-actions {
        flex-direction: column;
    }

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

    .qt-home-card-body {
        grid-template-columns: 1fr;
    }

    .qt-home-card-image {
        height: 150px;
    }

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

    .qt-home-section-heading-row {
        display: block;
    }

    .qt-home-section-heading-row > a {
        display: inline-flex;
        margin-top: 10px;
    }

    .qt-home-category-grid,
    .qt-home-step-grid,
    .qt-home-benefit-grid,
    .qt-brand-footer-inner {
        grid-template-columns: 1fr;
    }

    .qt-home-final-cta {
        padding: 30px 20px;
        margin-bottom: 48px;
    }
}


/* -------------------------------------------------------
 * QueTaller Talleres templates
 * ----------------------------------------------------- */
.qt-taller-archive,
.qt-taller-single {
    width: min(100% - 48px, 1180px);
    margin: 24px auto 60px;
}

body.post-type-archive-qt_taller #inner-wrap,
body.single-qt_taller #inner-wrap,
body.post-type-archive-qt_taller .content-area,
body.single-qt_taller .content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.qt-taller-hero {
    background: #ffffff;
    border: 1px solid var(--qt-border, #E5E7EB);
    border-radius: 22px;
    padding: 34px;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.qt-taller-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    background: var(--qt-primary-soft, #E6FAFD);
    color: var(--qt-secondary, #12355B);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 10px;
}

.qt-taller-hero h1,
.qt-taller-profile-main h1 {
    margin: 0;
    color: var(--qt-text, #0F172A);
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 900;
    line-height: 1.06;
}

.qt-taller-hero p,
.qt-taller-profile-main > p,
.qt-taller-content {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--qt-muted, #64748B);
    font-size: 16px;
    line-height: 1.65;
}

.qt-taller-grid {
    display: grid;
    gap: 12px;
}

.qt-taller-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 150px;
    gap: 18px;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--qt-border, #E5E7EB);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.qt-taller-card-logo,
.qt-taller-profile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--qt-border, #E5E7EB);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.qt-taller-card-logo {
    width: 92px;
    height: 92px;
    border-radius: 18px;
}

.qt-taller-card-logo img,
.qt-taller-profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.qt-taller-card-logo span,
.qt-taller-profile-logo span {
    color: var(--qt-secondary, #12355B);
    font-family: var(--qt-heading-font, Manrope, sans-serif);
    font-size: 34px;
    font-weight: 900;
}

.qt-taller-card h2 {
    margin: 0 0 8px;
    color: var(--qt-text, #0F172A);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
}

.qt-taller-card h2 a {
    color: inherit;
    text-decoration: none;
}

.qt-taller-card h2 a:hover {
    color: var(--qt-primary, #06BEE1);
}

.qt-taller-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 10px;
}

.qt-taller-card-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--qt-soft, #F8FAFC);
    border: 1px solid var(--qt-border, #E5E7EB);
    color: var(--qt-secondary, #12355B);
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
}

.qt-taller-card p,
.qt-taller-card-meta,
.qt-taller-profile-meta {
    color: var(--qt-muted, #64748B);
    font-size: 14px;
    line-height: 1.5;
}

.qt-taller-card p {
    margin: 0 0 8px;
}

.qt-taller-card-meta div,
.qt-taller-profile-meta div {
    margin-top: 4px;
}

.qt-taller-card-meta strong,
.qt-taller-profile-meta strong {
    color: var(--qt-text, #0F172A);
}

.qt-taller-card-side {
    border-left: 1px solid var(--qt-border, #E5E7EB);
    padding-left: 18px;
}

.qt-taller-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border-radius: 999px;
    background: var(--qt-primary, #06BEE1);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
}

.qt-taller-button:hover {
    filter: brightness(.95);
}

.qt-taller-pagination {
    margin-top: 24px;
    text-align: center;
}

.qt-taller-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
    color: var(--qt-muted, #64748B);
    font-size: 13px;
    font-weight: 700;
}

.qt-taller-breadcrumb a {
    color: var(--qt-primary, #06BEE1);
    text-decoration: none;
}

.qt-taller-profile,
.qt-taller-map-section,
.qt-taller-services-section,
.qt-taller-empty {
    background: #ffffff;
    border: 1px solid var(--qt-border, #E5E7EB);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.qt-taller-profile {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.qt-taller-profile-logo {
    width: 130px;
    height: 130px;
    border-radius: 24px;
}

.qt-taller-profile-meta {
    display: grid;
    gap: 2px;
    margin-top: 14px;
}

.qt-taller-map-section,
.qt-taller-services-section {
    margin-top: 18px;
}

.qt-taller-map-section h2,
.qt-taller-section-heading h2 {
    margin: 0 0 12px;
    color: var(--qt-text, #0F172A);
    font-size: 24px;
    font-weight: 900;
}

.qt-taller-section-heading p {
    margin: -4px 0 18px;
    color: var(--qt-muted, #64748B);
}

.qt-taller-map {
    overflow: hidden;
    border: 1px solid var(--qt-border, #E5E7EB);
    border-radius: 16px;
}

.qt-taller-map iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}

.qt-taller-services-list {
    display: grid;
    gap: 10px;
}

.qt-taller-empty {
    text-align: center;
    color: var(--qt-muted, #64748B);
}

@media (max-width: 860px) {
    .qt-taller-archive,
    .qt-taller-single {
        width: calc(100% - 24px);
        margin-top: 14px;
    }

    .qt-taller-hero {
        padding: 22px;
    }

    .qt-taller-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 14px;
        align-items: start;
    }

    .qt-taller-card-logo {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .qt-taller-card-side {
        grid-column: 1 / -1;
        border-left: none;
        border-top: 1px solid var(--qt-border, #E5E7EB);
        padding-left: 0;
        padding-top: 14px;
    }

    .qt-taller-profile {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }

    .qt-taller-profile-logo {
        width: 100px;
        height: 100px;
        border-radius: 20px;
    }
}

@media (max-width: 520px) {
    .qt-taller-archive,
    .qt-taller-single {
        width: calc(100% - 20px);
    }

    .qt-taller-breadcrumb {
        display: none;
    }

    .qt-taller-card {
        padding: 14px;
    }

    .qt-taller-card h2 {
        font-size: 19px;
    }

    .qt-taller-hero h1,
    .qt-taller-profile-main h1 {
        font-size: 32px;
    }

    .qt-taller-map iframe {
        height: 260px;
    }
}


/* QueTaller typography baseline */
body, input, select, textarea, button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
h1, h2, h3, h4, h5, h6, .site-title, .main-navigation a {
    font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}


/* -------------------------------------------------------
 * QueTaller MVP polish v2: stronger brand color + first-fold categories
 * ----------------------------------------------------- */

:root {
    --qt-primary: #3A86FF;
    --qt-primary-dark: #2563EB;
    --qt-primary-soft: #EAF2FF;
    --qt-aqua: #06BEE1;
    --qt-blue: #0B2A4A;
    --qt-secondary: #0B2A4A;
    --qt-cyan: #3A86FF;
    --qt-ink: #0F172A;
    --qt-muted: #64748B;
    --qt-border: #E5E7EB;
    --qt-soft: #F8FAFC;
}

/* Global brand consistency */
body,
input,
select,
optgroup,
textarea {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--qt-ink);
}

h1, h2, h3, h4, h5, h6,
.site-title,
.qt-home-hero h1,
.qt-home-section-heading h2,
.qt-single-main h1,
.qt-taller-hero h1,
.qt-taller-profile-main h1 {
    font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Stronger buttons and accents */
.qt-home-button-primary,
.qt-service-button,
.qt-single-cta,
.qt-taller-button,
.qt-location-button,
body.post-type-archive-qt_servicio .qt-location-button {
    background: var(--qt-primary) !important;
    color: #ffffff !important;
}

.qt-home-button-primary:hover,
.qt-service-button:hover,
.qt-single-cta:hover,
.qt-taller-button:hover,
.qt-location-button:hover,
body.post-type-archive-qt_servicio .qt-location-button:hover {
    filter: brightness(0.96);
}

.qt-home-button-secondary,
.qt-location-clear,
body.post-type-archive-qt_servicio .qt-location-clear {
    color: var(--qt-blue) !important;
    border-color: #dbe3ee !important;
}

.qt-home-button-secondary:hover,
.qt-location-clear:hover,
body.post-type-archive-qt_servicio .qt-location-clear:hover {
    border-color: var(--qt-primary) !important;
    color: var(--qt-primary) !important;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a,
.mobile-navigation ul li.current-menu-item > a,
.qt-footer-nav a:hover,
.qt-home-section-heading-row > a:hover {
    color: var(--qt-primary) !important;
}

.qt-featured-label,
.qt-home-card-badge {
    background: var(--qt-primary) !important;
}

.qt-service-card.qt-service-card--featured,
body.post-type-archive-qt_servicio .qt-service-card.qt-service-card--featured {
    border-color: var(--qt-primary) !important;
    box-shadow: 0 10px 28px rgba(58, 134, 255, 0.18) !important;
}

.qt-brand-footer,
.qt-home-final-cta {
    background: var(--qt-blue) !important;
}

/* Home v2 first fold */
.qt-home-v2 .qt-home-hero-v2 {
    width: min(100% - 48px, 1180px);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 34px;
    align-items: center;
    padding: 38px 0 34px;
    min-height: calc(100vh - 94px);
}

.qt-home-v2 .qt-home-eyebrow {
    color: var(--qt-blue);
    background: rgba(58, 134, 255, 0.10);
    border-color: rgba(58, 134, 255, 0.22);
}

.qt-home-v2 .qt-home-hero h1,
.qt-home-v2 .qt-home-hero-v2 h1 {
    font-size: clamp(38px, 5.2vw, 62px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin-bottom: 16px;
}

.qt-home-v2 .qt-home-hero p,
.qt-home-v2 .qt-home-hero-v2 p {
    max-width: 580px;
    font-size: 18px;
    color: #334155;
}

.qt-home-v2 .qt-home-actions {
    margin-top: 24px;
}

.qt-home-category-panel {
    background:
        radial-gradient(circle at 90% 0%, rgba(58, 134, 255, 0.14), transparent 34%),
        #ffffff;
    border: 1px solid var(--qt-border);
    border-radius: 26px;
    padding: 22px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

.qt-home-category-panel-header {
    margin-bottom: 16px;
}

.qt-home-category-panel-header span {
    display: inline-flex;
    width: fit-content;
    background: var(--qt-primary-soft);
    color: var(--qt-primary-dark);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 10px;
}

.qt-home-category-panel-header h2 {
    margin: 0 0 5px;
    color: var(--qt-ink);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 950;
}

.qt-home-category-panel-header p {
    margin: 0;
    color: var(--qt-muted);
    font-size: 14px;
}

.qt-home-v2 .qt-home-category-grid-firstfold {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.qt-home-v2 .qt-home-category-card {
    min-height: 74px;
    padding: 14px;
    border-radius: 16px;
    box-shadow: none;
}

.qt-home-v2 .qt-home-category-card:hover {
    border-color: var(--qt-primary);
    box-shadow: 0 10px 28px rgba(58, 134, 255, 0.12);
}

.qt-home-v2 .qt-home-category-icon {
    background: var(--qt-primary-soft);
    color: var(--qt-blue);
}

.qt-home-v2 .qt-home-category-card-all {
    background: var(--qt-blue);
    color: #ffffff;
}

.qt-home-v2 .qt-home-category-card-all .qt-home-category-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

/* Push featured services lower */
.qt-home-v2 .qt-home-steps {
    padding-top: 46px;
}

.qt-home-v2 .qt-home-benefits {
    padding-top: 50px;
    padding-bottom: 50px;
}

.qt-home-v2 .qt-home-featured {
    padding-top: 58px;
}

@media (max-width: 1024px) {
    .qt-home-v2 .qt-home-hero-v2 {
        grid-template-columns: 1fr;
        gap: 24px;
        min-height: auto;
        padding: 34px 0 30px;
    }

    .qt-home-category-panel {
        padding: 18px;
    }

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

@media (max-width: 700px) {
    .qt-home-v2 .qt-home-hero-v2 {
        width: calc(100% - 24px);
        padding: 24px 0 26px;
        gap: 18px;
    }

    .qt-home-v2 .qt-home-hero-v2 h1 {
        font-size: 38px;
    }

    .qt-home-v2 .qt-home-hero-v2 p {
        font-size: 15.5px;
    }

    .qt-home-v2 .qt-home-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 18px;
    }

    .qt-home-category-panel {
        border-radius: 20px;
        padding: 14px;
    }

    .qt-home-category-panel-header {
        margin-bottom: 12px;
    }

    .qt-home-category-panel-header h2 {
        font-size: 24px;
    }

    .qt-home-v2 .qt-home-category-grid-firstfold {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .qt-home-v2 .qt-home-category-card {
        min-height: 62px;
        padding: 10px;
        gap: 8px;
        border-radius: 14px;
    }

    .qt-home-v2 .qt-home-category-card strong {
        font-size: 13px;
    }

    .qt-home-v2 .qt-home-category-icon {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        font-size: 17px;
    }

    .qt-home-v2 .qt-home-steps,
    .qt-home-v2 .qt-home-benefits,
    .qt-home-v2 .qt-home-featured {
        padding-top: 34px;
    }
}


/* -------------------------------------------------------
 * QueTaller Home v3: campaign hero + category buttons below
 * ----------------------------------------------------- */

body.home #inner-wrap,
body.home .content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.qt-home-campaign {
    background: #ffffff;
}

.qt-home-campaign-hero {
    position: relative;
    margin-bottom: 34px;
}

.qt-home-campaign-banner {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    background: #3A86FF;
    display: flex;
    align-items: center;
}

.qt-home-campaign-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(11, 42, 74, 0.92) 0%, rgba(11, 42, 74, 0.62) 30%, rgba(11, 42, 74, 0.08) 64%, rgba(11, 42, 74, 0) 100%);
    pointer-events: none;
}

.qt-home-campaign-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.qt-home-campaign-copy {
    position: relative;
    z-index: 2;
    width: min(100% - 48px, 1180px);
    margin: 0 auto;
    max-width: 1180px;
    color: #ffffff;
    padding: 42px 0 74px;
}

.qt-home-campaign-copy span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.qt-home-campaign-copy h1 {
    max-width: 520px;
    margin: 0 0 10px;
    color: #ffffff;
    font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 950;
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.qt-home-campaign-copy p {
    max-width: 480px;
    margin: 0;
    color: rgba(255,255,255,0.9);
    font-size: 19px;
    line-height: 1.45;
    font-weight: 600;
}

.qt-home-campaign-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.qt-home-campaign-actions .qt-home-button-primary {
    background: #ffffff !important;
    color: #0B2A4A !important;
}

.qt-home-campaign-actions .qt-home-button-secondary {
    background: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.32) !important;
}

.qt-home-campaign-categories {
    position: relative;
    z-index: 3;
    width: min(100% - 48px, 980px);
    margin: -46px auto 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.qt-home-campaign-category {
    min-height: 128px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #0F172A;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 14px 10px;
    box-shadow: 0 10px 24px rgba(15,23,42,0.14);
    text-align: center;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.qt-home-campaign-category:hover {
    transform: translateY(-2px);
    border-color: #3A86FF;
    box-shadow: 0 16px 32px rgba(58,134,255,0.18);
}

.qt-home-campaign-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #EAF2FF;
    color: #3A86FF;
    font-size: 26px;
}

.qt-home-campaign-category strong {
    max-width: 116px;
    color: inherit;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.2;
}

.qt-home-campaign-category-all {
    background: #0B2A4A;
    color: #ffffff;
    border-color: #0B2A4A;
}

.qt-home-campaign-category-all .qt-home-campaign-category-icon {
    background: rgba(255,255,255,0.14);
    color: #ffffff;
}

.qt-home-campaign + .qt-home-steps,
.qt-home-campaign .qt-home-steps {
    padding-top: 44px;
}

/* Hide Revisión Técnica category from any old hardcoded home/fallback list if cached markup appears. */
.qt-home a[href*="revision-tecnica"],
.qt-home a[href*="revision-tecnica-vehicular"] {
    display: none !important;
}

@media (max-width: 1100px) {
    .qt-home-campaign-categories {
        width: min(100% - 32px, 920px);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: -38px;
    }

    .qt-home-campaign-category {
        min-height: 108px;
    }
}

@media (max-width: 720px) {
    .qt-home-campaign-banner {
        min-height: 380px;
        align-items: flex-start;
    }

    .qt-home-campaign-banner::after {
        background:
            linear-gradient(180deg, rgba(11,42,74,0.86) 0%, rgba(11,42,74,0.58) 42%, rgba(11,42,74,0.12) 100%);
    }

    .qt-home-campaign-banner img {
        object-position: 60% center;
    }

    .qt-home-campaign-copy {
        width: calc(100% - 28px);
        padding: 26px 0 96px;
        text-align: center;
    }

    .qt-home-campaign-copy span {
        margin-left: auto;
        margin-right: auto;
        font-size: 10px;
    }

    .qt-home-campaign-copy h1 {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        font-size: 32px;
        text-shadow: 0 2px 12px rgba(0,0,0,0.18);
    }

    .qt-home-campaign-copy p {
        max-width: 330px;
        margin-left: auto;
        margin-right: auto;
        font-size: 15px;
    }

    .qt-home-campaign-actions {
        justify-content: center;
        margin-top: 15px;
    }

    .qt-home-campaign-actions .qt-home-button {
        width: auto;
        min-height: 42px;
        padding: 10px 15px;
        font-size: 13px;
    }

    .qt-home-campaign-categories {
        width: calc(100% - 18px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin-top: -62px;
    }

    .qt-home-campaign-category {
        min-height: 82px;
        border-radius: 10px;
        padding: 9px;
        gap: 6px;
    }

    .qt-home-campaign-category-icon {
        width: 38px;
        height: 38px;
        border-radius: 13px;
        font-size: 19px;
    }

    .qt-home-campaign-category strong {
        font-size: 13px;
    }

    .qt-home-campaign-hero {
        margin-bottom: 24px;
    }
}

@media (max-width: 420px) {
    .qt-home-campaign-banner {
        min-height: 390px;
    }

    .qt-home-campaign-copy h1 {
        font-size: 30px;
    }

    .qt-home-campaign-categories {
        margin-top: -66px;
    }
}

/* Hide Revisión Técnica from /servicios/ dropdown even if taxonomy term remains active in backend. */
body.post-type-archive-qt_servicio select.qt-category-select option[value*="revision-tecnica"],
body.post-type-archive-qt_servicio select.qt-category-select option[value*="revision-tecnica-vehicular"] {
    display: none !important;
}


/* -------------------------------------------------------
 * QueTaller Home v4: compact first fold, no hero CTAs
 * ----------------------------------------------------- */

.qt-home-campaign-actions {
    display: none !important;
}

.qt-home-campaign-banner {
    min-height: 300px;
}

.qt-home-campaign-copy {
    padding-top: 34px;
    padding-bottom: 58px;
}

.qt-home-campaign-copy h1 {
    max-width: 560px;
    font-size: clamp(36px, 4.2vw, 54px);
}

.qt-home-campaign-copy p {
    max-width: 540px;
    font-size: 18px;
}

.qt-home-campaign-categories {
    margin-top: -58px;
}

.qt-home-campaign-category {
    min-height: 118px;
}

@media (max-width: 1100px) {
    .qt-home-campaign-banner {
        min-height: 310px;
    }

    .qt-home-campaign-categories {
        margin-top: -48px;
    }
}

@media (max-width: 720px) {
    .qt-home-campaign-banner {
        min-height: 330px;
    }

    .qt-home-campaign-copy {
        padding-top: 22px;
        padding-bottom: 78px;
    }

    .qt-home-campaign-copy h1 {
        font-size: 30px;
    }

    .qt-home-campaign-copy p {
        font-size: 14.5px;
    }

    .qt-home-campaign-categories {
        margin-top: -58px;
    }
}

@media (max-width: 420px) {
    .qt-home-campaign-banner {
        min-height: 340px;
    }

    .qt-home-campaign-categories {
        margin-top: -60px;
    }
}


/* -------------------------------------------------------
 * QueTaller Home v5: responsive hero images desktop/mobile
 * ----------------------------------------------------- */

.qt-home-campaign-picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.qt-home-campaign-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Override previous direct img rules now that the image is inside <picture>. */
.qt-home-campaign-banner > img {
    display: none;
}

@media (max-width: 720px) {
    .qt-home-campaign-banner {
        min-height: 520px;
        align-items: flex-start;
    }

    .qt-home-campaign-banner::after {
        background:
            linear-gradient(180deg, rgba(11,42,74,0.70) 0%, rgba(11,42,74,0.42) 22%, rgba(11,42,74,0.05) 58%, rgba(11,42,74,0.0) 100%);
    }

    .qt-home-campaign-picture img {
        object-position: center top;
    }

    .qt-home-campaign-copy {
        padding-top: 24px;
        padding-bottom: 150px;
    }

    .qt-home-campaign-copy h1 {
        max-width: 340px;
        text-align: center;
    }

    .qt-home-campaign-copy p {
        max-width: 320px;
        text-align: center;
    }

    .qt-home-campaign-categories {
        margin-top: -78px;
    }
}

@media (max-width: 420px) {
    .qt-home-campaign-banner {
        min-height: 500px;
    }

    .qt-home-campaign-copy {
        padding-bottom: 132px;
    }

    .qt-home-campaign-categories {
        margin-top: -72px;
    }
}


/* -------------------------------------------------------
 * QueTaller Home v6: hero spacing + mobile first-scroll fit
 * ----------------------------------------------------- */

/* Desktop: hero with more breathing room before category cards */
.qt-home-campaign-banner {
    min-height: 420px;
}

.qt-home-campaign-copy {
    padding-top: 56px;
    padding-bottom: 104px;
}

.qt-home-campaign-copy h1 {
    max-width: 590px;
    font-size: clamp(40px, 4.4vw, 60px);
    line-height: 0.98;
}

.qt-home-campaign-copy p {
    max-width: 610px;
    font-size: 19px;
    line-height: 1.42;
}

.qt-home-campaign-categories {
    margin-top: -72px;
    width: min(100% - 48px, 1120px);
    gap: 12px;
}

.qt-home-campaign-category {
    min-height: 118px;
}

/* Tablet */
@media (max-width: 1100px) {
    .qt-home-campaign-banner {
        min-height: 400px;
    }

    .qt-home-campaign-copy {
        padding-top: 44px;
        padding-bottom: 96px;
    }

    .qt-home-campaign-categories {
        width: min(100% - 32px, 920px);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: -66px;
    }

    .qt-home-campaign-category {
        min-height: 104px;
    }
}

/* Mobile: 3 columns like old QueTaller reference, fitting categories into the first scroll */
@media (max-width: 720px) {
    .qt-home-campaign-banner {
        min-height: 470px;
        align-items: flex-start;
    }

    .qt-home-campaign-copy {
        width: calc(100% - 24px);
        padding-top: 22px;
        padding-bottom: 124px;
    }

    .qt-home-campaign-copy span {
        font-size: 9px;
        padding: 5px 9px;
        margin-bottom: 8px;
    }

    .qt-home-campaign-copy h1 {
        max-width: 310px;
        font-size: 28px;
        line-height: 1.0;
        margin-bottom: 8px;
    }

    .qt-home-campaign-copy p {
        max-width: 320px;
        font-size: 13.5px;
        line-height: 1.28;
    }

    .qt-home-campaign-categories {
        width: calc(100% - 14px);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin-top: -112px;
    }

    .qt-home-campaign-category {
        min-height: 82px;
        padding: 7px 4px;
        gap: 5px;
        border-radius: 8px;
        box-shadow: 0 8px 18px rgba(15,23,42,0.13);
    }

    .qt-home-campaign-category-icon {
        width: 32px;
        height: 32px;
        border-radius: 11px;
        font-size: 16px;
    }

    .qt-home-campaign-category strong {
        max-width: 96px;
        font-size: 11px;
        line-height: 1.12;
    }
}

@media (max-width: 420px) {
    .qt-home-campaign-banner {
        min-height: 455px;
    }

    .qt-home-campaign-copy {
        padding-top: 20px;
        padding-bottom: 116px;
    }

    .qt-home-campaign-copy h1 {
        font-size: 27px;
        max-width: 300px;
    }

    .qt-home-campaign-copy p {
        font-size: 13px;
        max-width: 300px;
    }

    .qt-home-campaign-categories {
        margin-top: -108px;
    }

    .qt-home-campaign-category {
        min-height: 80px;
    }
}

@media (max-width: 360px) {
    .qt-home-campaign-banner {
        min-height: 445px;
    }

    .qt-home-campaign-categories {
        gap: 5px;
        margin-top: -102px;
    }

    .qt-home-campaign-category {
        min-height: 76px;
    }

    .qt-home-campaign-category-icon {
        width: 29px;
        height: 29px;
        font-size: 15px;
    }

    .qt-home-campaign-category strong {
        font-size: 10.5px;
    }
}

/* -------------------------------------------------------
 * QueTaller Home v6: servicios + repuestos
 * ----------------------------------------------------- */
.qt-home-v6 .qt-home-campaign-banner {
    min-height: 390px;
}

.qt-home-v6 .qt-home-campaign-copy {
    padding-top: 46px;
    padding-bottom: 92px;
}

.qt-home-v6 .qt-home-campaign-copy h1 {
    max-width: 650px;
    font-size: clamp(38px, 4.7vw, 62px);
}

.qt-home-v6 .qt-home-campaign-copy p {
    max-width: 610px;
    font-size: 18px;
}

/* v4 hid the hero actions; v6 intentionally restores them. */
.qt-home-v6 .qt-home-campaign-actions {
    display: flex !important;
    margin-top: 24px;
}

.qt-home-v6 .qt-home-campaign-actions .qt-home-button-primary {
    background: #ffffff !important;
    color: var(--qt-blue) !important;
}

.qt-home-v6 .qt-home-campaign-actions .qt-home-button-secondary {
    background: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.38) !important;
}

.qt-home-route-grid {
    position: relative;
    z-index: 4;
    width: min(100% - 48px, 980px);
    margin: -54px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.qt-home-route-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 30px;
    gap: 16px;
    align-items: center;
    min-height: 132px;
    padding: 20px 22px;
    border: 1px solid var(--qt-border);
    border-radius: 20px;
    background: #ffffff;
    color: var(--qt-ink);
    box-shadow: 0 16px 36px rgba(15,23,42,0.13);
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.qt-home-route-card:hover {
    transform: translateY(-2px);
    border-color: var(--qt-primary);
    box-shadow: 0 20px 42px rgba(58,134,255,0.16);
}

.qt-home-route-card--parts {
    border-color: rgba(58,134,255,0.32);
    background: linear-gradient(135deg, #ffffff, #f5f9ff);
}

.qt-home-route-icon {
    display: inline-flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--qt-primary-soft);
    color: var(--qt-primary-dark);
    font-size: 28px;
    font-weight: 900;
}

.qt-home-route-copy {
    display: grid;
    gap: 3px;
}

.qt-home-route-copy small,
.qt-home-journey-head small {
    color: var(--qt-primary-dark);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.qt-home-route-copy strong {
    color: var(--qt-ink);
    font-family: Manrope, Inter, sans-serif;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 900;
}

.qt-home-route-copy em {
    color: var(--qt-muted);
    font-size: 13px;
    font-style: normal;
    line-height: 1.35;
}

.qt-home-route-arrow {
    color: var(--qt-primary);
    font-size: 25px;
    font-weight: 800;
}

.qt-home-mini-label {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--qt-primary-soft);
    color: var(--qt-primary-dark);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.qt-home-vehicle-entry {
    padding-top: 30px;
    padding-bottom: 48px;
}

.qt-home-vehicle-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 28px;
    align-items: center;
    padding: 30px;
    border: 1px solid #dbe7f6;
    border-radius: 26px;
    background:
        radial-gradient(circle at 100% 0%, rgba(58,134,255,.12), transparent 30%),
        #f8fbff;
}

.qt-home-vehicle-copy h2 {
    margin: 0 0 10px;
    color: var(--qt-ink);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(28px, 3.8vw, 40px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.qt-home-vehicle-copy p {
    margin: 0;
    max-width: 670px;
    color: var(--qt-muted);
    line-height: 1.58;
}

.qt-home-vehicle-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.qt-home-vehicle-pills span {
    padding: 7px 10px;
    border: 1px solid #dbe7f6;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

.qt-home-vehicle-action {
    padding: 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--qt-border);
    box-shadow: 0 10px 28px rgba(15,23,42,.07);
}

.qt-home-selector-preview {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.qt-home-selector-preview > div {
    display: grid;
    grid-template-columns: 62px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 11px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f8fafc;
}

.qt-home-selector-preview small {
    color: var(--qt-muted);
    font-size: 11px;
    font-weight: 700;
}

.qt-home-selector-preview strong {
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

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

.qt-home-vehicle-action > small {
    display: block;
    margin-top: 8px;
    color: var(--qt-muted);
    font-size: 11px;
    text-align: center;
}

.qt-home-parts {
    padding-top: 52px;
    padding-bottom: 56px;
}

.qt-home-part-family-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.qt-home-part-family {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 76px;
    padding: 14px 16px;
    border: 1px solid var(--qt-border);
    border-radius: 16px;
    background: #ffffff;
    color: var(--qt-ink);
    box-shadow: 0 5px 16px rgba(15,23,42,.04);
}

.qt-home-part-family:hover {
    border-color: var(--qt-primary);
}

.qt-home-part-family span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--qt-primary-soft);
    color: var(--qt-primary-dark);
    font-size: 19px;
    font-weight: 900;
}

.qt-home-part-family strong {
    font-size: 14px;
    line-height: 1.25;
    font-weight: 900;
}

.qt-home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.qt-home-product-card {
    overflow: hidden;
    border: 1px solid var(--qt-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 7px 20px rgba(15,23,42,.05);
}

.qt-home-product-image {
    display: flex;
    height: 180px;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.qt-home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
}

.qt-home-product-image > span {
    color: #94a3b8;
    font-size: 34px;
}

.qt-home-product-body {
    padding: 16px;
}

.qt-home-product-body > small {
    display: block;
    margin-bottom: 5px;
    color: var(--qt-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .03em;
}

.qt-home-product-body h3 {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 850;
}

.qt-home-product-body h3 a {
    color: var(--qt-ink);
}

.qt-home-product-price {
    margin: 0 0 10px;
    color: var(--qt-ink);
    font-size: 18px;
    font-weight: 900;
}

.qt-home-product-price > span {
    color: var(--qt-muted);
    font-size: 11px;
    font-weight: 700;
}

.qt-home-product-price del {
    display: none;
}

.qt-home-product-link {
    color: var(--qt-primary);
    font-size: 13px;
    font-weight: 900;
}

.qt-home-trust {
    background: linear-gradient(180deg, #ffffff, #f8fbfd);
}

.qt-home-benefit-icon {
    display: inline-flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 0 8px;
    border-radius: 12px;
    background: var(--qt-primary-soft);
    color: var(--qt-primary-dark);
    font-size: 13px;
    font-weight: 950;
}

.qt-home-service-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.qt-home-service-category {
    min-height: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 8px;
    border: 1px solid var(--qt-border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--qt-ink);
    text-align: center;
}

.qt-home-service-category:hover {
    border-color: var(--qt-primary);
}

.qt-home-service-category span {
    font-size: 23px;
}

.qt-home-service-category strong {
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
}

.qt-home-service-category--all {
    background: var(--qt-blue);
    color: #ffffff;
    border-color: var(--qt-blue);
}

.qt-home-journeys {
    background: linear-gradient(180deg, #ffffff, #f8fbfd);
}

.qt-home-journey-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.qt-home-journey {
    padding: 24px;
    border: 1px solid var(--qt-border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 7px 20px rgba(15,23,42,.05);
}

.qt-home-journey-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.qt-home-journey-head > span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--qt-primary-soft);
    font-size: 22px;
}

.qt-home-journey-head h3 {
    margin: 2px 0 0;
    color: var(--qt-ink);
    font-size: 24px;
    font-weight: 900;
}

.qt-home-journey ol {
    list-style: none;
    counter-reset: qt-step;
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
}

.qt-home-journey li {
    counter-increment: qt-step;
    position: relative;
    display: grid;
    gap: 2px;
    padding-left: 38px;
    min-height: 30px;
}

.qt-home-journey li::before {
    content: counter(qt-step);
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--qt-blue);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.qt-home-journey li strong {
    color: var(--qt-ink);
    font-size: 14px;
}

.qt-home-journey li span {
    color: var(--qt-muted);
    font-size: 12px;
}

.qt-home-journey > a {
    color: var(--qt-primary);
    font-size: 13px;
    font-weight: 900;
}

.qt-home-final-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.qt-home-v6 .qt-home-final-cta .qt-home-button-secondary {
    border-color: rgba(255,255,255,.34) !important;
    background: rgba(255,255,255,.08) !important;
    color: #ffffff !important;
}

@media (max-width: 1024px) {
    .qt-home-route-grid,
    .qt-home-vehicle-panel,
    .qt-home-journey-grid {
        grid-template-columns: 1fr;
    }

    .qt-home-vehicle-panel {
        gap: 20px;
    }

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

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

@media (max-width: 720px) {
    .qt-home-v6 .qt-home-campaign-banner {
        min-height: 520px;
    }

    .qt-home-v6 .qt-home-campaign-copy {
        padding-top: 24px;
        padding-bottom: 165px;
    }

    .qt-home-v6 .qt-home-campaign-copy h1 {
        max-width: 360px;
        font-size: 32px;
    }

    .qt-home-v6 .qt-home-campaign-copy p {
        max-width: 340px;
        font-size: 14.5px;
    }

    .qt-home-v6 .qt-home-campaign-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: min(100%, 340px);
        margin: 18px auto 0;
    }

    .qt-home-v6 .qt-home-campaign-actions .qt-home-button {
        width: 100%;
        min-height: 42px;
        padding: 10px 12px;
        font-size: 12.5px;
    }

    .qt-home-route-grid {
        width: calc(100% - 18px);
        margin-top: -96px;
        gap: 8px;
    }

    .qt-home-route-card {
        grid-template-columns: 48px minmax(0,1fr) 22px;
        min-height: 98px;
        gap: 10px;
        padding: 13px;
        border-radius: 16px;
    }

    .qt-home-route-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 21px;
    }

    .qt-home-route-copy small {
        font-size: 9px;
    }

    .qt-home-route-copy strong {
        font-size: 16px;
    }

    .qt-home-route-copy em {
        display: none;
    }

    .qt-home-vehicle-entry {
        padding-top: 24px;
    }

    .qt-home-vehicle-panel {
        padding: 20px;
        border-radius: 20px;
    }

    .qt-home-vehicle-copy h2 {
        font-size: 28px;
    }

    .qt-home-part-family-grid,
    .qt-home-product-grid,
    .qt-home-service-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qt-home-product-image {
        height: 145px;
    }

    .qt-home-product-body {
        padding: 12px;
    }

    .qt-home-product-body h3 {
        font-size: 13px;
    }

    .qt-home-product-price {
        font-size: 16px;
    }

    .qt-home-journey {
        padding: 18px;
    }

    .qt-home-final-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: min(100%, 320px);
        margin: 0 auto;
    }
}

@media (max-width: 420px) {
    .qt-home-v6 .qt-home-campaign-banner {
        min-height: 500px;
    }

    .qt-home-v6 .qt-home-campaign-copy h1 {
        font-size: 29px;
    }

    .qt-home-v6 .qt-home-campaign-actions {
        width: 100%;
    }

    .qt-home-route-grid {
        margin-top: -92px;
    }

    .qt-home-part-family-grid,
    .qt-home-product-grid {
        grid-template-columns: 1fr;
    }
}
