/* ========================================================================== 
   Vendecarsubastas — Inicio V2
   Diseño encapsulado, responsive y sin dependencias externas.
   ========================================================================== */

:root {
    --vc-blue: #0861e8;
    --vc-blue-strong: #0354d6;
    --vc-blue-deep: #063aa3;
    --vc-blue-soft: #eaf2ff;
    --vc-navy: #071d49;
    --vc-navy-2: #0b285f;
    --vc-text: #101828;
    --vc-muted: #667085;
    --vc-muted-2: #8490a3;
    --vc-line: #dce3ee;
    --vc-line-soft: #e9eef5;
    --vc-surface: #ffffff;
    --vc-surface-soft: #f7f9fc;
    --vc-surface-blue: #f1f6ff;
    --vc-success: #18864b;
    --vc-warning: #ad6800;
    --vc-danger: #c4323b;
    --vc-radius-xs: 0;
    --vc-radius-sm: 0;
    --vc-radius-md: 0;
    --vc-radius-lg: 0;
    --vc-radius-xl: 0;
    --vc-shadow-sm: 0 4px 14px rgba(12, 37, 73, 0.06);
    --vc-shadow-md: 0 12px 30px rgba(12, 37, 73, 0.09);
    --vc-shadow-lg: 0 24px 60px rgba(12, 37, 73, 0.14);
    --vc-container: 1240px;
    --vc-header-height: 84px;
}

/* Astra abre contenedores en header.php. Esta plantilla ocupa todo el ancho. */
body.vc-home-v2-page {
    margin: 0;
    overflow-x: hidden;
    background: #fff;
    color: var(--vc-text);
}

body.vc-home-v2-page .site-header,
body.vc-home-v2-page .site-footer,
body.vc-home-v2-page .ast-mobile-header-wrap,
body.vc-home-v2-page .ast-above-header-wrap,
body.vc-home-v2-page .ast-below-header-wrap {
    display: none !important;
}

body.vc-home-v2-page #page,
body.vc-home-v2-page .site-content,
body.vc-home-v2-page .ast-container,
body.vc-home-v2-page #primary,
body.vc-home-v2-page .content-area {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    float: none;
    display: block;
}

body.vc-home-v2-page .site-content > .ast-container {
    max-width: none;
}

.vc-home-v2,
.vc-home-v2 *,
.vc-home-v2 *::before,
.vc-home-v2 *::after {
    box-sizing: border-box;
}

.vc-home-v2 {
    position: relative;
    /*
     * Margen lateral de las bandas a ancho completo (hero y carrusel de
     * coches). Al vivir aquí, los dos arrancan siempre en la misma línea.
     */
    --vc-edge-inset: clamp(12px, 1.8vw, 30px);
    min-height: 100vh;
    background: #fff;
    color: var(--vc-text);
    font-family: "Barlow", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.vc-home-v2 img,
.vc-home-v2 svg {
    display: block;
}

.vc-home-v2 img {
    max-width: 100%;
    height: auto;
}

.vc-home-v2 a {
    color: inherit;
    text-decoration: none;
}

.vc-home-v2 button,
.vc-home-v2 input,
.vc-home-v2 select,
.vc-home-v2 summary {
    font: inherit;
}

.vc-home-v2 button,
.vc-home-v2 summary,
.vc-home-v2 select {
    -webkit-tap-highlight-color: transparent;
}

.vc-home-v2 button {
    border: 0;
}

.vc-home-v2 h1,
.vc-home-v2 h2,
.vc-home-v2 h3,
.vc-home-v2 p,
.vc-home-v2 ul,
.vc-home-v2 ol,
.vc-home-v2 dl,
.vc-home-v2 dd {
    margin-top: 0;
}

.vc-home-v2 h1,
.vc-home-v2 h2,
.vc-home-v2 h3 {
    color: var(--vc-navy);
    font-weight: 760;
    letter-spacing: -0.035em;
}

.vc-home-v2 p {
    color: var(--vc-muted);
}

.vc-home-v2 :focus-visible {
    outline: 3px solid rgba(8, 97, 232, 0.28);
    outline-offset: 3px;
}

.vc-icon {
    width: 1.35em;
    height: 1.35em;
    flex: 0 0 auto;
}

.vc-container {
    width: min(calc(100% - 32px), var(--vc-container));
    margin-inline: auto;
}

.vc-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    transform: translateY(-160%);
    padding: 11px 15px;
    border-radius: 0;
    background: var(--vc-navy);
    color: #fff !important;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.vc-skip-link:focus {
    transform: translateY(0);
}

.vc-live-region {
    position: fixed;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Header ------------------------------------------------------------------- */
.vc-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--vc-header-height);
    border-bottom: 1px solid rgba(220, 227, 238, 0.72);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 22px rgba(15, 38, 78, 0.035);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.vc-site-header__inner {
    height: 100%;
    display: grid;
    grid-template-columns: auto minmax(240px, 1fr) auto;
    align-items: center;
    gap: 29px;
}

.vc-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
}

.vc-brand__image {
    width: auto;
    height: 54px;
    max-width: 255px;
    object-fit: contain;
}

.vc-brand__text {
    display: grid;
    line-height: 1;
    color: var(--vc-blue);
}

.vc-brand__text strong {
    font-size: 22px;
}

.vc-brand__text small {
    margin-top: 5px;
    color: var(--vc-navy);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.48em;
    text-transform: uppercase;
}

.vc-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(19px, 3vw, 31px);
}

.vc-desktop-nav a {
    position: relative;
    padding-block: 11px;
    color: var(--vc-navy);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.vc-desktop-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 5px;
    height: 2px;
    border-radius: 0;
    background: var(--vc-blue);
    transition: left 0.2s ease, right 0.2s ease;
}

.vc-desktop-nav a:hover::after,
.vc-desktop-nav a:focus-visible::after {
    left: 0;
    right: 0;
}

.vc-account-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 14px;
    border: 1.5px solid var(--vc-blue);
    border-radius: 0;
    color: var(--vc-blue);
    font-size: 13px;
    font-weight: 750;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.vc-account-link:hover {
    transform: translateY(-1px);
    background: var(--vc-blue);
    color: #fff;
}

.vc-mobile-menu {
    display: none;
}

/* Hero --------------------------------------------------------------------- */
.vc-hero {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    background:
        radial-gradient(circle at 92% 24%, rgba(222, 234, 255, 0.38), transparent 30%),
        linear-gradient(180deg, #fff 0%, #fff 82%, #fbfcff 100%);
}

.vc-hero__lines,
.vc-hero__lines::before,
.vc-hero__lines::after {
    position: absolute;
    border: 1px solid rgba(8, 97, 232, 0.15);
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    pointer-events: none;
}

.vc-hero__lines {
    width: 760px;
    height: 420px;
    right: -265px;
    top: -35px;
    transform: rotate(17deg);
}

.vc-hero__lines::before,
.vc-hero__lines::after {
    content: "";
    inset: 54px;
}

.vc-hero__lines::after {
    inset: 108px;
}

.vc-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(420px, 0.92fr) minmax(520px, 1.2fr);
    align-items: center;
    min-height: 330px;
    gap: 30px;
    padding-top: 23px;
}

.vc-hero__copy {
    position: relative;
    z-index: 3;
    padding-bottom: 27px;
}

.vc-eyebrow,
.vc-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 11px;
    color: var(--vc-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.095em;
    text-transform: uppercase;
}

.vc-eyebrow::before,
.vc-section-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 0;
    background: currentColor;
}

.vc-hero h1 {
    max-width: 610px;
    margin-bottom: 17px;
    font-size: clamp(34px, 4.05vw, 40px);
    line-height: 1.04;
}

.vc-hero h1 span {
    display: block;
    color: var(--vc-blue);
}

.vc-hero__copy > p {
    max-width: 500px;
    margin-bottom: 17px;
    color: #5d687a;
    font-size: 15px;
    line-height: 1.6;
}

.vc-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 17px;
    color: #46546b;
    font-size: 12px;
    font-weight: 650;
}

.vc-hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.vc-hero__trust .vc-icon {
    width: 17px;
    height: 17px;
    color: var(--vc-blue);
}

.vc-hero__media {
    position: relative;
    align-self: end;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-width: 0;
    height: 100%;
}

.vc-hero__image {
    width: min(100%, 690px);
    max-height: 315px;
    object-fit: contain;
    object-position: right bottom;
    filter: drop-shadow(0 20px 16px rgba(13, 32, 58, 0.12));
}

/* Search ------------------------------------------------------------------- */
.vc-search-section {
    position: relative;
    z-index: 10;
    margin-top: -12px;
}

.vc-search-card {
    padding: 19px 19px 14px;
    border: 1px solid rgba(212, 220, 233, 0.82);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--vc-shadow-md);
}

.vc-search-card__main {
    display: grid;
    grid-template-columns: minmax(155px, 1.06fr) minmax(150px, 1fr) minmax(160px, 1fr) minmax(290px, 1.55fr) minmax(180px, 1fr);
    align-items: end;
    gap: 14px;
}

.vc-year-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.vc-filter-field {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    min-height: 63px;
    padding: 8px 12px;
    border: 1px solid var(--vc-line);
    border-radius: 0;
    background: var(--vc-surface);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.vc-filter-field:hover,
.vc-filter-field:focus-within {
    border-color: rgba(8, 97, 232, 0.7);
    box-shadow: 0 0 0 3px rgba(8, 97, 232, 0.08);
}

.vc-filter-field__icon {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    color: #617089;
}

.vc-filter-field__icon .vc-icon {
    width: 18px;
    height: 18px;
}

.vc-filter-field__content {
    display: grid;
    min-width: 0;
}

.vc-filter-field__label {
    margin-bottom: 1px;
    color: #344054;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.2;
}

.vc-filter-field select {
    width: 100%;
    min-width: 0;
    height: 30px;
    margin: 0;
    padding: 0 3px 0 0;
    border: 0;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    color: var(--vc-text);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
    text-overflow: ellipsis;
}

.vc-filter-field__chevron {
    color: var(--vc-navy);
    pointer-events: none;
}

.vc-filter-field__chevron .vc-icon {
    width: 17px;
    height: 17px;
}

.vc-search-button {
    display: inline-flex;
    min-height: 63px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 15px;
    border-radius: 0;
    background: linear-gradient(135deg, var(--vc-blue) 0%, #0759dc 100%);
    box-shadow: 0 8px 18px rgba(8, 97, 232, 0.22);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.vc-search-button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #0c6af8 0%, var(--vc-blue-strong) 100%);
    box-shadow: 0 11px 24px rgba(8, 97, 232, 0.28);
}

.vc-search-button .vc-icon {
    width: 18px;
    height: 18px;
}

.vc-more-filters {
    margin-top: 11px;
}

.vc-more-filters > summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    color: var(--vc-blue);
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}

.vc-more-filters > summary::-webkit-details-marker {
    display: none;
}

.vc-more-filters > summary .vc-icon {
    width: 18px;
    height: 18px;
}

.vc-filter-count {
    color: var(--vc-blue);
    font-size: 9px;
}

.vc-more-filters__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 13px;
    margin-top: 13px;
    padding-top: 14px;
    border-top: 1px solid var(--vc-line-soft);
}

.vc-advanced-field {
    display: grid;
    gap: 6px;
}

.vc-advanced-field > span {
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}

.vc-advanced-field select {
    width: 100%;
    min-height: 46px;
    padding: 0 30px 0 11px;
    border: 1px solid var(--vc-line);
    border-radius: 0;
    appearance: none;
    background:
        linear-gradient(45deg, transparent 50%, #506079 50%) calc(100% - 17px) 20px / 5px 5px no-repeat,
        linear-gradient(135deg, #506079 50%, transparent 50%) calc(100% - 12px) 20px / 5px 5px no-repeat,
        #fff;
    color: var(--vc-text);
    font-size: 12px;
    cursor: pointer;
}

.vc-search-card__active {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 11px;
    margin-top: 10px;
    color: var(--vc-muted);
    font-size: 12px;
}

.vc-search-card__active a {
    color: var(--vc-blue);
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Shared headings and buttons ---------------------------------------------- */
.vc-section-heading {
    margin-bottom: 20px;
}

.vc-section-heading h2 {
    margin-bottom: 8px;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.12;
}

.vc-section-heading p {
    max-width: 680px;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.65;
}

.vc-section-heading--inline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 19px;
}

.vc-section-heading--inline h2 {
    margin-bottom: 0;
    font-size: clamp(18px, 2vw, 30px);
}

.vc-section-heading--inline p {
    margin-top: 7px;
    font-size: 13px;
}

.vc-section-heading--center {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.vc-section-heading--center .vc-section-kicker {
    justify-content: center;
}

/*
 * El párrafo tenía su propio tope de 680 px y sin márgenes automáticos, así
 * que quedaba más estrecho que el titular y descolgado hacia la izquierda.
 * Aquí titular y párrafo comparten ancho y los dos van centrados.
 */
.vc-section-heading--center h2,
.vc-section-heading--center p {
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.vc-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--vc-blue);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.vc-text-link .vc-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.vc-text-link:hover .vc-icon {
    transform: translateX(4px);
}

.vc-text-link--large {
    margin-top: 19px;
    font-size: 14px;
}

.vc-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 19px;
    border: 1.5px solid transparent;
    border-radius: 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    padding-block: 8px;
  }

.vc-button:hover {
    transform: translateY(-2px);
}

.vc-button--primary {
    background: var(--vc-blue);
    box-shadow: 0 9px 20px rgba(8, 97, 232, 0.2);
    color: #fff !important;
}

.vc-button--primary:hover {
    background: var(--vc-blue-strong);
    box-shadow: 0 12px 26px rgba(8, 97, 232, 0.28);
}

.vc-button--secondary {
    border-color: rgba(8, 97, 232, 0.25);
    background: var(--vc-blue-soft);
    color: var(--vc-blue) !important;
}

.vc-button--secondary:hover {
    border-color: var(--vc-blue);
    background: #dfeaff;
}

.vc-button--ghost {
    border-color: var(--vc-line);
    background: #fff;
    color: var(--vc-navy) !important;
}

.vc-button--light {
    background: #fff;
    color: var(--vc-blue-deep) !important;
}

.vc-button--outline-light {
    border-color: rgba(255, 255, 255, 0.75);
    background: transparent;
    color: #fff !important;
}

/* Canales ------------------------------------------------------------------ */
/*
 * Tres recuadros de tamaño medio con el inventario vivo de cada modalidad.
 * Comparten borde, radio y sombra con las tarjetas de coche para que la
 * portada siga leyendose como un único sistema.
 */
.vc-channels-section {
    padding: 18px 0 20px;
    scroll-margin-top: calc(var(--vc-header-height) + 12px);
}

.vc-channel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.vc-channel-card {
    display: flex;
    cursor: pointer;
    color: inherit;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 132px;
    padding: 22px 24px;
    border: 1px solid var(--vc-line);
    border-radius: 0;
    background: var(--vc-surface);
    box-shadow: var(--vc-shadow-sm);
}

/*
 * Al pasar el ratón el recuadro entero se vuelve azul y todo su texto
 * blanco, incluidos el número, el reloj y su icono, que en reposo llevan
 * colores propios.
 */
.vc-channel-card:hover,
.vc-channel-card:focus-visible {
    border-color: var(--vc-blue);
    background: var(--vc-blue);
    box-shadow: var(--vc-shadow-md);
}

.vc-channel-card:hover .vc-channel-card__title,
.vc-channel-card:hover .vc-channel-card__count,
.vc-channel-card:hover .vc-channel-card__count strong,
.vc-channel-card:hover .vc-channel-card__countdown,
.vc-channel-card:focus-visible .vc-channel-card__title,
.vc-channel-card:focus-visible .vc-channel-card__count,
.vc-channel-card:focus-visible .vc-channel-card__count strong,
.vc-channel-card:focus-visible .vc-channel-card__countdown,
.vc-channel-card:hover .vc-channel-card__close,
.vc-channel-card:focus-visible .vc-channel-card__close {
    color: #fff;
}

.vc-channel-card:hover .vc-channel-card__meta,
.vc-channel-card:focus-visible .vc-channel-card__meta {
    border-top-color: rgba(255, 255, 255, .35);
}

.vc-channel-card__title {
    margin: 0;
    color: var(--vc-navy);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.vc-channel-card__count {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0;
    color: var(--vc-muted);
    font-size: 13px;
    line-height: 1.3;
}

.vc-channel-card__count strong {
    color: var(--vc-blue);
    font-size: 30px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.03em;
}

/*
 * Pie del recuadro con el mismo lenguaje que el de las tarjetas de coche:
 * línea separadora, reloj y texto en gris. En Express y Pro lo rellena el
 * mismo temporizador que ya mueve las cuentas atrás de la portada.
 */
.vc-channel-card__meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 4px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--vc-line-soft);
}

.vc-channel-card__close {
    color: var(--vc-muted);
    font-size: 11px;
    line-height: 1.3;
}

.vc-channel-card__countdown {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
    color: #5b687a;
    font-size: 12px;
    font-weight: 650;
}

.vc-channel-card__countdown > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vc-channel-card__countdown .vc-icon {
    width: 16px;
    height: 16px;
}

/*
 * Recuadro con foto de fondo: la imagen cubre todo el recuadro y una capa
 * azul oscura por encima mantiene legible el texto, que pasa a blanco.
 */
.vc-channel-card--image {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: transparent;
    background: #071d49 var(--vc-channel-bg) center / cover no-repeat;
}

.vc-channel-card--image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(3, 18, 51, .90) 0%, rgba(3, 18, 51, .72) 55%, rgba(3, 18, 51, .38) 100%);
    transition: background .2s ease;
}

.vc-channel-card--image:hover,
.vc-channel-card--image:focus-visible {
    border-color: transparent;
    background: #071d49 var(--vc-channel-bg) center / cover no-repeat;
}

.vc-channel-card--image:hover::before,
.vc-channel-card--image:focus-visible::before {
    background: linear-gradient(90deg, rgba(8, 97, 232, .92) 0%, rgba(8, 97, 232, .78) 55%, rgba(8, 97, 232, .45) 100%);
}

.vc-channel-card--image .vc-channel-card__title,
.vc-channel-card--image .vc-channel-card__count,
.vc-channel-card--image .vc-channel-card__count strong,
.vc-channel-card--image .vc-channel-card__countdown,
.vc-channel-card--image .vc-channel-card__close {
    color: #fff;
}

.vc-channel-card--image .vc-channel-card__meta {
    border-top-color: rgba(255, 255, 255, .30);
}

@media (max-width: 900px) {
    .vc-channel-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .vc-channel-card {
        min-height: 0;
        padding: 18px 18px;
    }
}

/* Auctions ----------------------------------------------------------------- */
.vc-auctions-section {
    padding: 28px 0 20px;
    scroll-margin-top: calc(var(--vc-header-height) + 12px);
}

/*
 * La sección de coches ocupa todo el ancho de la pantalla, con el mismo
 * margen lateral que el hero, para que el titular y la primera tarjeta
 * arranquen en la misma línea que el titular de la cabecera.
 */
.vc-auctions-section > .vc-container {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: var(--vc-edge-inset);
}

.vc-carousel {
    position: relative;
}

.vc-auction-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 2px 2px 10px;
}

.vc-auction-track::-webkit-scrollbar {
    display: none;
}

/*
 * El carril estira todas las tarjetas a la misma altura, así que con el pie
 * pegado al fondo su línea separadora queda alineada entre unas y otras,
 * tengan o no línea de pujas (los coches de Compra Directa no la llevan).
 */
.vc-auction-card {
    position: relative;
    display: flex;
    flex: 0 0 clamp(175px, 13.5vw, 210px);
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid var(--vc-line);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 36, 67, 0.025);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.vc-auction-card:hover {
    transform: translateY(-4px);
    border-color: rgba(8, 97, 232, 0.32);
    box-shadow: var(--vc-shadow-md);
}

.vc-auction-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--vc-surface-soft);
}

.vc-auction-card__media > a {
    display: block;
    width: 100%;
    height: 100%;
}

.vc-auction-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.vc-auction-card:hover .vc-auction-card__image {
    transform: scale(1.025);
}

.vc-auction-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
    overflow: hidden;
    padding: 4px 8px;
    border: 1px solid var(--vc-blue);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--vc-blue);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.vc-auction-badge--buy_now {
    border-color: var(--vc-success);
    color: var(--vc-success);
}

.vc-auction-badge--upcoming {
    border-color: var(--vc-warning);
    color: var(--vc-warning);
}

.vc-auction-badge--ended,
.vc-auction-badge--sold,
.vc-auction-badge--cancelled {
    border-color: #7c8799;
    color: #596579;
}

.vc-auction-condition {
    position: absolute;
    right: 9px;
    bottom: 8px;
    max-width: 72%;
    overflow: hidden;
    padding: 4px 8px;
    border-radius: 0;
    background: rgba(7, 29, 73, 0.78);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(7px);
}

.vc-auction-card__body {
    min-height: 140px;
    flex: 1 1 auto;
    padding: 12px 12px 8px;
}

.vc-auction-card__reference {
    display: block;
    margin-bottom: 4px;
    color: var(--vc-muted-2);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.vc-auction-card h3 {
    min-height: 34px;
    margin-bottom: 7px;
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.vc-auction-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.vc-auction-card h3 a:hover {
    color: var(--vc-blue);
}

.vc-auction-card__specs,
.vc-auction-card__location,
.vc-auction-card__bids {
    margin-bottom: 5px;
    color: var(--vc-muted);
    font-size: 11px;
    line-height: 1.35;
}

.vc-auction-card__location {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vc-auction-card__location .vc-icon {
    width: 13px;
    height: 13px;
}

.vc-auction-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    margin: 9px 0 2px;
    color: var(--vc-blue);
    font-size: 12px;
    line-height: 1.25;
}

.vc-auction-card__price span {
    color: var(--vc-blue);
    font-weight: 700;
}

.vc-auction-card__price strong {
    color: var(--vc-blue);
    font-size: 12px;
    font-weight: 850;
}

.vc-auction-card__bids {
    margin-top: 5px;
    color: #66758a;
    font-size: 10px;
    font-weight: 650;
}

.vc-auction-card__footer {
    display: flex;
    min-height: 44px;
    margin-top: auto;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 11px 9px 12px;
    border-top: 1px solid var(--vc-line-soft);
}

.vc-auction-card__countdown {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
    color: #5b687a;
    font-size: 10px;
    font-weight: 650;
}

.vc-auction-card__countdown > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vc-auction-card__countdown .vc-icon {
    width: 16px;
    height: 16px;
}

.vc-auction-card--active .vc-auction-card__countdown {
    color: var(--vc-blue-deep);
}

.vc-auction-card--ended {
    opacity: 0.76;
}

.vc-favorite-button {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: transparent;
    color: #748094;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.vc-favorite-button:hover {
    transform: scale(1.08);
    background: var(--vc-blue-soft);
    color: var(--vc-blue);
}

.vc-favorite-button.is-active {
    color: var(--vc-blue);
}

.vc-favorite-button.is-active .vc-icon {
    fill: currentColor;
}

.vc-favorite-button .vc-icon {
    width: 18px;
    height: 18px;
}

.vc-carousel-next {
    position: absolute;
    z-index: 5;
    top: 50%;
    right: 8px;
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid rgba(218, 225, 235, 0.8);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 9px 24px rgba(13, 34, 67, 0.12);
    color: var(--vc-blue);
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.vc-carousel-next:hover {
    transform: translateY(-50%) scale(1.06);
}

.vc-carousel-next[hidden] {
    display: none;
}

.vc-empty-state {
    display: grid;
    justify-items: center;
    padding: 38px 19px;
    border: 1px dashed #cdd8e8;
    border-radius: 0;
    background: var(--vc-surface-soft);
    text-align: center;
}

.vc-empty-state__icon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 0;
    background: var(--vc-blue-soft);
    color: var(--vc-blue);
}

.vc-empty-state h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.vc-empty-state p {
    max-width: 620px;
    margin-bottom: 19px;
}

.vc-empty-state__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Benefits ----------------------------------------------------------------- */
.vc-benefits-section {
    padding: 14px 0 34px;
}

.vc-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border-radius: 0;
    background: linear-gradient(105deg, #f2f7ff 0%, #f8fbff 55%, #eff5ff 100%);
}

.vc-benefit {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 104px;
    padding: 17px;
    transition: background 0.2s ease;
}

.vc-benefit:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 0;
    bottom: 20px;
    width: 1px;
    background: rgba(180, 198, 226, 0.42);
}

.vc-benefit:hover {
    background: rgba(225, 236, 255, 0.66);
}

.vc-benefit__icon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 0;
    background: #dfeaff;
    color: var(--vc-blue);
}

.vc-benefit__icon .vc-icon {
    width: 18px;
    height: 18px;
}

.vc-benefit__copy {
    display: grid;
    min-width: 0;
}

.vc-benefit__copy strong {
    margin-bottom: 3px;
    color: var(--vc-text);
    font-size: 13px;
    letter-spacing: -0.01em;
}

.vc-benefit__copy small {
    color: var(--vc-muted);
    font-size: 11px;
    line-height: 1.35;
}

.vc-benefit__arrow {
    display: none;
}

/* How it works ------------------------------------------------------------- */
.vc-how-section {
    padding: 52px 0;
    scroll-margin-top: calc(var(--vc-header-height) + 10px);
    background: #fff;
}

.vc-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin: 42px 0 0;
    padding: 0;
    list-style: none;
}

.vc-steps::before {
    content: "";
    position: absolute;
    top: 46px;
    right: 12.5%;
    left: 12.5%;
    height: 1px;
    background: repeating-linear-gradient(90deg, #bed2f5 0 8px, transparent 8px 14px);
}

/* Mismo criterio que las tarjetas de servicio: icono a un lado, texto al otro. */
.vc-steps li {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-content: start;
    column-gap: 11px;
    row-gap: 0;
    min-height: 0;
    padding: 18px 17px 17px;
    border: 1px solid var(--vc-line-soft);
    border-radius: 0;
    background: #fff;
    box-shadow: var(--vc-shadow-sm);
}

/*
 * Estas tarjetas ya no llevan icono: el número ocupa su sitio, en la columna
 * de la izquierda y con el mismo distintivo de 30 px que el resto del sitio.
 */
.vc-step__number {
    position: static;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 0;
    background: var(--vc-blue-soft);
    color: var(--vc-blue-deep);
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
}

.vc-steps h3 {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 1.3;
}

.vc-steps p {
    grid-column: 2;
    grid-row: 2;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.45;
}

.vc-how-section__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px;
    margin-top: 25px;
}

/* Services ----------------------------------------------------------------- */
.vc-services-section {
    padding: 53px 0;
    scroll-margin-top: calc(var(--vc-header-height) + 10px);
    background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
}

.vc-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px;
    margin-top: 28px;
}

/*
 * El icono deja de ir apilado encima del texto: ocupa su propia columna y el
 * distintivo y el titular quedan a su derecha, en la misma línea de arranque.
 * La lista y el botón siguen ocupando el ancho completo de la tarjeta.
 */
.vc-service-card {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-content: start;
    column-gap: 12px;
    row-gap: 0;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(205, 217, 235, 0.85);
    border-radius: 0;
    background: #fff;
    box-shadow: var(--vc-shadow-sm);
}

.vc-service-card::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -125px;
    top: -125px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 97, 232, 0.15), transparent 68%);
}

.vc-service-card--seller::after {
    background: radial-gradient(circle, rgba(24, 134, 75, 0.13), transparent 68%);
}

.vc-service-card__icon {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    margin-bottom: 0;
    border-radius: 0;
    background: var(--vc-blue-soft);
    color: var(--vc-blue);
}

.vc-service-card--seller .vc-service-card__icon {
    background: #e8f7ef;
    color: var(--vc-success);
}

.vc-service-card__icon .vc-icon {
    width: 18px;
    height: 18px;
}

.vc-service-card__label {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 1;
    display: block;
    margin-bottom: 3px;
    color: var(--vc-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.075em;
    line-height: 1.3;
    text-transform: uppercase;
}

.vc-service-card--seller .vc-service-card__label {
    color: var(--vc-success);
}

.vc-service-card h3 {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 2;
    max-width: 520px;
    margin-bottom: 14px;
    font-size: clamp(20px, 2.7vw, 30px);
    line-height: 1.14;
}

.vc-service-card ul {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 3;
    display: grid;
    gap: 7px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.vc-service-card li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #4f5e72;
    font-size: 13px;
    line-height: 1.45;
}

.vc-service-card li .vc-icon {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--vc-blue);
}

.vc-service-card--seller li .vc-icon {
    color: var(--vc-success);
}

.vc-service-card .vc-button {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 4;
    justify-self: start;
}

/* Transparency ------------------------------------------------------------- */
.vc-transparency-section {
    padding: 40px 0;
    background: #fff;
    scroll-margin-top: calc(var(--vc-header-height) + 10px);
}

.vc-transparency-section__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.82fr);
    align-items: center;
    gap: clamp(34px, 8vw, 58px);
}

.vc-transparency-section h2 {
    max-width: 650px;
    margin-bottom: 11px;
    font-size: clamp(30px, 3.5vw, 34px);
    line-height: 1.06;
}

.vc-transparency-section__copy > p {
    max-width: 660px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.5;
}

.vc-transparency-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 17px;
}

.vc-transparency-points span {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #415066;
    font-size: 13px;
    font-weight: 650;
}

.vc-transparency-points .vc-icon {
    width: 18px;
    height: 18px;
    color: var(--vc-blue);
}

.vc-cost-card {
    overflow: hidden;
    border: 1px solid #d8e3f2;
    border-radius: 0;
    background: #fff;
    box-shadow: var(--vc-shadow-lg);
}

.vc-cost-card__header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #edf4ff 0%, #f8fbff 100%);
}

.vc-cost-card__icon {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 0;
    background: #fff;
    color: var(--vc-blue);
    box-shadow: var(--vc-shadow-sm);
}

.vc-cost-card__header div {
    display: grid;
}

.vc-cost-card__header strong {
    color: var(--vc-navy);
    font-size: 14px;
}

.vc-cost-card__header small {
    margin-top: 3px;
    color: var(--vc-muted);
    font-size: 12px;
    line-height: 1.3;
}

.vc-cost-card dl {
    margin: 0;
    padding: 4px 16px;
}

.vc-cost-card dl > div {
    display: flex;
    justify-content: space-between;
    gap: 17px;
    padding: 9px 0;
    border-bottom: 1px solid var(--vc-line-soft);
}

.vc-cost-card dt {
    color: #4e5d72;
    font-size: 12px;
}

.vc-cost-card dd {
    color: var(--vc-navy);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.vc-cost-card__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 16px;
    background: var(--vc-navy);
    color: #fff;
}

.vc-cost-card__total span {
    color: #bed1f5;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.vc-cost-card__total strong {
    font-size: 15px;
}

/* FAQ ---------------------------------------------------------------------- */
.vc-faq-section {
    padding: 40px 0;
    scroll-margin-top: calc(var(--vc-header-height) + 10px);
    background: var(--vc-surface-soft);
}

.vc-faq-section__grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(28px, 7vw, 54px);
}

.vc-faq-section__intro h2 {
    margin-bottom: 11px;
    font-size: clamp(30px, 3.4vw, 34px);
    line-height: 1.08;
}

.vc-faq-section__intro p {
    max-width: 470px;
    margin-bottom: 14px;
    line-height: 1.5;
}

.vc-faq-list {
    display: grid;
    gap: 8px;
}

.vc-faq-list details {
    overflow: hidden;
    border: 1px solid var(--vc-line);
    border-radius: 0;
    background: #fff;
}

.vc-faq-list summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 17px;
    padding: 10px 14px;
    color: var(--vc-navy);
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}

.vc-faq-list summary::-webkit-details-marker {
    display: none;
}

.vc-faq-list summary .vc-icon {
    width: 18px;
    height: 18px;
    color: var(--vc-blue);
    transition: transform 0.2s ease;
}

.vc-faq-list details[open] summary .vc-icon {
    transform: rotate(180deg);
}

.vc-faq-list details p {
    margin: 0;
    padding: 0 14px 13px;
    color: var(--vc-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* Final CTA & footer -------------------------------------------------------- */
.vc-final-cta {
    padding: 43px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(106, 158, 255, 0.32), transparent 30%),
        linear-gradient(135deg, var(--vc-blue-deep) 0%, var(--vc-blue) 100%);
}

.vc-final-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.vc-final-cta .vc-section-kicker {
    color: #cfe0ff;
}

.vc-final-cta h2 {
    max-width: 720px;
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(30px, 3.3vw, 34px);
    line-height: 1.1;
}

.vc-final-cta p {
    margin-bottom: 0;
    color: #dce8ff;
    font-size: 15px;
}

.vc-final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
}

.vc-site-footer {
    padding: 22px 0 25px;
    border-top: 1px solid var(--vc-line-soft);
    background: #fff;
}

.vc-site-footer__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 31px;
}

.vc-brand--footer {
    min-width: 190px;
    justify-content: flex-start;
}

.vc-brand--footer .vc-brand__image {
    height: 42px;
    max-width: 200px;
}

.vc-site-footer nav {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.vc-site-footer nav a {
    color: var(--vc-navy);
    font-size: 12px;
    font-weight: 700;
}

.vc-site-footer nav a:hover {
    color: var(--vc-blue);
}

.vc-site-footer p {
    margin: 0;
    color: #7b8799;
    font-size: 11px;
    white-space: nowrap;
}

.vc-bottom-nav {
    display: none;
}

/* Tablet ------------------------------------------------------------------- */
@media (max-width: 1180px) {
    .vc-site-header__inner {
        gap: 20px;
    }

    .vc-desktop-nav {
        gap: 19px;
    }

    .vc-search-card__main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vc-year-fields {
        grid-column: span 2;
    }

    .vc-search-button {
        grid-column: span 1;
    }

    .vc-auction-card {
        flex-basis: clamp(165px, 15.5vw, 195px);
    }

    .vc-benefit {
        grid-template-columns: 30px minmax(0, 1fr);
        padding: 15px 13px;
    }

    .vc-benefit__icon {
        width: 30px;
        height: 30px;
    }

    .vc-benefit__copy strong {
        font-size: 12px;
    }

    .vc-benefit__copy small {
        font-size: 10px;
    }
}

@media (max-width: 980px) {
    :root {
        --vc-header-height: 76px;
    }

    .vc-site-header__inner {
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        gap: 11px;
    }

    .vc-desktop-nav {
        display: none;
    }

    .vc-mobile-menu {
        position: relative;
        display: block;
        justify-self: start;
    }

    .vc-mobile-menu > summary {
        display: grid;
        width: 46px;
        height: 46px;
        place-items: center;
        border-radius: 0;
        color: var(--vc-navy);
        cursor: pointer;
        list-style: none;
    }

    .vc-mobile-menu > summary::-webkit-details-marker {
        display: none;
    }

    .vc-mobile-menu > summary .vc-icon {
        width: 18px;
        height: 18px;
    }

    .vc-mobile-menu[open] > summary {
        background: var(--vc-blue-soft);
        color: var(--vc-blue);
    }

    .vc-mobile-menu__panel {
        position: fixed;
        top: var(--vc-header-height);
        right: 0;
        left: 0;
        z-index: 1001;
        padding: 15px 17px 19px;
        border-top: 1px solid var(--vc-line-soft);
        border-bottom: 1px solid var(--vc-line);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 34px rgba(10, 31, 67, 0.12);
        backdrop-filter: blur(18px);
    }

    .vc-mobile-menu__panel nav {
        display: grid;
    }

    .vc-mobile-menu__panel nav a {
        padding: 12px 3px;
        border-bottom: 1px solid var(--vc-line-soft);
        color: var(--vc-navy);
        font-size: 14px;
        font-weight: 750;
    }

    .vc-mobile-menu__cta {
        display: flex;
        min-height: 48px;
        align-items: center;
        justify-content: space-between;
        margin-top: 13px;
        padding: 11px 14px;
        border-radius: 0;
        background: var(--vc-blue);
        color: #fff !important;
        font-size: 13px;
        font-weight: 800;
    }

    .vc-brand {
        min-width: 0;
        justify-self: center;
    }

    .vc-brand__image {
        height: 50px;
        max-width: 230px;
    }

    .vc-account-link {
        width: 46px;
        min-height: 46px;
        justify-self: end;
        padding: 0;
        border-radius: 50%;
    }

    .vc-account-link span {
        display: none;
    }

    .vc-account-link .vc-icon {
        width: 18px;
        height: 18px;
    }

    .vc-hero__inner {
        grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
    }

    .vc-hero h1 {
        font-size: clamp(30px, 5vw, 35px);
    }

    .vc-auction-card {
        flex-basis: clamp(158px, 19vw, 182px);
    }

    .vc-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .vc-benefit:nth-child(2)::after {
        display: none;
    }

    .vc-benefit:nth-child(-n + 2)::before {
        content: "";
        position: absolute;
        right: 16px;
        bottom: 0;
        left: 16px;
        height: 1px;
        background: rgba(180, 198, 226, 0.42);
    }

    .vc-steps {
        grid-template-columns: 1fr 1fr;
    }

    .vc-steps::before {
        display: none;
    }

    .vc-transparency-section__grid {
        grid-template-columns: 1fr;
    }

    .vc-cost-card {
        max-width: 650px;
    }

    .vc-site-footer__inner {
        grid-template-columns: auto 1fr;
    }

    .vc-site-footer p {
        grid-column: 1 / -1;
        text-align: center;
    }
}

/* Mobile ------------------------------------------------------------------- */
@media (max-width: 767px) {
    :root {
        --vc-header-height: 72px;
    }

    html {
        scroll-behavior: smooth;
    }

    body.vc-home-v2-page {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    .vc-container {
        width: min(calc(100% - 28px), var(--vc-container));
    }

    .vc-site-header {
        height: var(--vc-header-height);
    }

    .vc-site-header__inner {
        width: calc(100% - 24px);
        grid-template-columns: 46px minmax(0, 1fr) 46px;
    }

    .vc-brand__image {
        width: auto;
        height: 46px;
        max-width: min(57vw, 220px);
    }

    .vc-account-link,
    .vc-mobile-menu > summary {
        width: 44px;
        height: 44px;
        min-height: 44px;
    }

    .vc-hero {
        min-height: 355px;
    }

    .vc-hero__lines {
        width: 610px;
        height: 380px;
        right: -410px;
        top: 28px;
        transform: rotate(14deg);
    }

    .vc-hero__inner {
        position: relative;
        display: block;
        min-height: 355px;
        padding-top: 23px;
    }

    .vc-hero__copy {
        padding-bottom: 0;
    }

    .vc-eyebrow {
        display: none;
    }

    .vc-hero h1 {
        position: relative;
        z-index: 4;
        max-width: 100%;
        margin-bottom: 14px;
        font-size: clamp(30px, 8.8vw, 34px);
        line-height: 1.08;
    }

    .vc-hero__copy > p {
        position: relative;
        z-index: 4;
        max-width: 48%;
        margin-bottom: 0;
        color: #556175;
        font-size: clamp(13px, 3.8vw, 14px);
        line-height: 1.55;
    }

    .vc-hero__trust {
        display: none;
    }

    .vc-hero__media {
        position: absolute;
        right: -14%;
        bottom: 0;
        width: 78%;
        height: auto;
        align-items: flex-end;
    }

    .vc-hero__image {
        width: 100%;
        max-height: 230px;
        filter: drop-shadow(0 15px 12px rgba(13, 32, 58, 0.1));
    }

    .vc-search-section {
        margin-top: -4px;
    }

    .vc-search-card {
        padding: 14px 14px 11px;
        border-radius: 0;
        box-shadow: 0 12px 32px rgba(12, 37, 73, 0.1);
    }

    .vc-search-card__main {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .vc-year-fields {
        grid-column: auto;
        gap: 10px;
    }

    .vc-filter-field {
        min-height: 58px;
        padding: 7px 11px;
        grid-template-columns: 28px minmax(0, 1fr) 18px;
    }

    .vc-filter-field__label {
        font-size: 10px;
    }

    .vc-filter-field select {
        height: 28px;
        font-size: 13px;
    }

    .vc-search-button {
        grid-column: auto;
        min-height: 52px;
        margin-top: 2px;
        font-size: 14px;
    }

    .vc-more-filters {
        margin-top: 8px;
        text-align: center;
    }

    .vc-more-filters > summary {
        justify-content: center;
        width: 100%;
        font-size: 13px;
    }

    .vc-more-filters__grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .vc-search-card__active {
        justify-content: center;
        flex-wrap: wrap;
    }

    .vc-auctions-section {
        padding: 23px 0 17px;
    }

    .vc-section-heading--inline {
        align-items: flex-end;
        gap: 11px;
        margin-bottom: 14px;
    }

    .vc-section-heading--inline .vc-section-kicker {
        display: none;
    }

    .vc-section-heading--inline h2 {
        font-size: 16px;
    }

    .vc-section-heading--inline p {
        font-size: 12px;
    }

    .vc-text-link {
        gap: 5px;
        font-size: 12px;
    }

    .vc-text-link--large {
        display: flex;
        width: 100%;
    }

    .vc-text-link .vc-icon {
        width: 17px;
        height: 17px;
    }

    .vc-carousel {
        margin-right: -14px;
    }

    .vc-auction-track {
        gap: 11px;
        padding-right: 13px;
        padding-bottom: 8px;
    }

    .vc-auction-card {
        flex-basis: min(72vw, 278px);
        border-radius: 0;
    }

    .vc-auction-card__body {
        min-height: 150px;
    }

    .vc-auction-card h3 {
        font-size: 13px;
    }

    .vc-carousel-next {
        display: none;
    }

    .vc-empty-state {
        padding: 29px 15px;
    }

    .vc-empty-state h3 {
        font-size: 16px;
    }

    .vc-empty-state__actions {
        width: 100%;
        flex-direction: column;
    }

    .vc-benefits-section {
        padding: 11px 0 32px;
    }

    .vc-benefits-grid {
        display: block;
        border-radius: 0;
    }

    .vc-benefit {
        grid-template-columns: 30px minmax(0, 1fr) 22px;
        min-height: 88px;
        gap: 11px;
        padding: 13px 14px;
    }

    .vc-benefit:not(:last-child)::after,
    .vc-benefit:nth-child(-n + 2)::before {
        content: "";
        position: absolute;
        top: auto;
        right: 18px;
        bottom: 0;
        left: 78px;
        width: auto;
        height: 1px;
        background: rgba(180, 198, 226, 0.42);
    }

    .vc-benefit:last-child::after {
        display: none;
    }

    .vc-benefit__icon {
        width: 30px;
        height: 30px;
    }

    .vc-benefit__copy strong {
        font-size: 13px;
    }

    .vc-benefit__copy small {
        font-size: 12px;
    }

    .vc-benefit__arrow {
        display: block;
        color: var(--vc-blue-deep);
    }

    .vc-benefit__arrow .vc-icon {
        width: 18px;
        height: 18px;
    }

    .vc-how-section,
    .vc-services-section,
    .vc-transparency-section,
    .vc-faq-section {
        padding: 10px 0;
    }

    .vc-section-heading {
        margin-bottom: 19px;
    }

    .vc-section-heading h2 {
        font-size: 30px;
    }

    .vc-section-heading p {
        font-size: 13px;
    }

    .vc-section-kicker {
        font-size: 10px;
    }

    .vc-steps {
        grid-template-columns: 1fr;
        gap: 11px;
        margin-top: 22px;
    }

    /*
     * En móvil el icono se colocaba en absoluto y la tarjeta reservaba hueco
     * con padding-left. Ya no hace falta: la rejilla de la regla base sitúa el
     * icono en su columna en todos los tamaños.
     */
    .vc-steps li {
        min-height: 0;
        padding: 16px 15px 15px;
    }

    .vc-steps h3 {
        margin-bottom: 4px;
        font-size: 15px;
    }

    .vc-steps p {
        font-size: 12px;
    }

    .vc-how-section__cta {
        display: grid;
    }

    .vc-service-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .vc-service-card {
        padding: 20px 19px;
        border-radius: 0;
    }

    .vc-service-card h3 {
        font-size: 21px;
    }

    .vc-service-card .vc-button {
        width: 100%;
    }

    .vc-transparency-section__grid,
    .vc-faq-section__grid {
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .vc-transparency-section h2,
    .vc-faq-section__intro h2 {
        font-size: 30px;
    }

    .vc-transparency-points {
        grid-template-columns: 1fr;
    }

    .vc-cost-card {
        border-radius: 0;
    }

    .vc-cost-card__header,
    .vc-cost-card dl,
    .vc-cost-card__total {
        padding-right: 15px;
        padding-left: 15px;
    }

    .vc-cost-card dl > div {
        gap: 10px;
    }

    .vc-cost-card dt,
    .vc-cost-card dd {
        font-size: 12px;
    }

    .vc-faq-list summary {
        font-size: 13px;
    }

    .vc-final-cta {
        padding: 41px 0;
    }

    .vc-final-cta__inner {
        display: block;
        text-align: center;
    }

    .vc-final-cta h2 {
        font-size: 30px;
    }

    .vc-final-cta p {
        font-size: 13px;
    }

    .vc-final-cta__actions {
        display: grid;
        /* «Ver subastas» y «Crear cuenta» en la misma línea, a partes iguales. */
        grid-template-columns: 1fr 1fr;
        margin-top: 19px;
    }

    .vc-site-footer {
        display: none;
    }

    .vc-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1100;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        min-height: 72px;
        padding: 7px 5px calc(7px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--vc-line);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -8px 26px rgba(13, 34, 67, 0.08);
        backdrop-filter: blur(16px);
    }

    .vc-bottom-nav a {
        display: grid;
        min-width: 0;
        justify-items: center;
        align-content: center;
        gap: 4px;
        padding: 4px 2px;
        border-radius: 0;
        color: #667085;
        font-size: 10px;
        font-weight: 650;
        text-align: center;
    }

    .vc-bottom-nav a.is-active,
    .vc-bottom-nav a:hover {
        color: var(--vc-blue);
    }

    .vc-bottom-nav .vc-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 420px) {
    .vc-container {
        width: calc(100% - 22px);
    }

    .vc-site-header__inner {
        width: calc(100% - 18px);
    }

    .vc-brand__image {
        max-width: 190px;
        height: 43px;
    }

    .vc-hero {
        min-height: 338px;
    }

    .vc-hero__inner {
        min-height: 338px;
        padding-top: 20px;
    }

    .vc-hero h1 {
        font-size: clamp(22px, 9vw, 30px);
    }

    .vc-hero__copy > p {
        max-width: 51%;
        font-size: 13px;
    }

    .vc-hero__media {
        right: -19%;
        width: 83%;
    }

    .vc-year-fields {
        gap: 8px;
    }

    .vc-year-fields .vc-filter-field {
        grid-template-columns: 24px minmax(0, 1fr) 14px;
        gap: 7px;
        padding-inline: 8px;
    }

    .vc-year-fields .vc-filter-field__icon .vc-icon {
        width: 18px;
        height: 18px;
    }

    .vc-auction-card {
        flex-basis: min(76vw, 268px);
    }

    .vc-section-heading--inline {
        align-items: flex-start;
    }

    .vc-text-link {
        max-width: 115px;
        white-space: normal;
        text-align: right;
    }

    /* «Consultar tarifas y condiciones»: a todo el ancho, en una sola línea. */
    .vc-text-link--large {
        display: flex;
        width: 100%;
        max-width: none;
        white-space: nowrap;
        text-align: left;
    }

    .vc-steps li {
        padding-inline: 14px;
    }

    .vc-bottom-nav a {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vc-home-v2 *,
    .vc-home-v2 *::before,
    .vc-home-v2 *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .vc-site-header,
    .vc-search-section,
    .vc-bottom-nav,
    .vc-carousel-next,
    .vc-final-cta,
    .vc-site-footer {
        display: none !important;
    }

    .vc-home-v2 {
        color: #000;
    }

    .vc-auction-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow: visible;
    }

    .vc-auction-card {
        break-inside: avoid;
    }
}

/* Recursos de respaldo integrados: esta plantilla no necesita imágenes externas. */
.vc-hero__placeholder,
.vc-auction-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    color: #0b5ee8;
    background:
        radial-gradient(circle at 75% 20%, rgba(11, 94, 232, .14), transparent 34%),
        linear-gradient(145deg, #f7faff 0%, #eaf2ff 100%);
}

.vc-hero__placeholder {
    min-height: 300px;
    border-radius: 0;
}

.vc-hero__placeholder .vc-icon {
    width: clamp(110px, 17vw, 220px);
    height: clamp(110px, 17vw, 220px);
    stroke-width: 1.1;
}

.vc-auction-card__placeholder {
    height: 100%;
    min-height: 170px;
}

.vc-auction-card__placeholder .vc-icon {
    width: 74px;
    height: 74px;
    stroke-width: 1.2;
}

/* Ajustes finales solicitados: logo exacto, hero fijo y sin buscador. */
:root {
    /*
     * El contenido se sujeta al mismo ancho que "Cómo funciona" y el resto del
     * sitio (1240 px con 32 px de aire a los lados). Antes Inicio abría hasta
     * 1680 px y las secciones no cuadraban con las de las demás páginas.
     */
    --vc-container: 1240px;
    --vc-header-height: 88px;
}

.vc-container {
    width: min(calc(100% - 32px), var(--vc-container));
}

.vc-site-header__inner {
    grid-template-columns: minmax(250px, auto) minmax(420px, 1fr) auto;
    gap: clamp(20px, 3vw, 39px);
}

.vc-brand {
    width: clamp(238px, 16vw, 292px);
    min-width: 0;
}

.vc-brand__image {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    overflow: hidden;
}

.vc-brand--footer {
    width: clamp(220px, 15vw, 275px);
    min-width: 0;
}

.vc-brand--footer .vc-brand__image {
    width: 100%;
    height: auto;
    max-width: none;
}

.vc-hero {
    min-height: clamp(375px, 27vw, 470px);
    background:
        radial-gradient(circle at 86% 28%, rgba(220, 233, 255, 0.62), transparent 35%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.vc-hero__inner {
    grid-template-columns: minmax(430px, 0.84fr) minmax(600px, 1.16fr);
    min-height: clamp(375px, 27vw, 470px);
    gap: clamp(27px, 4vw, 52px);
    padding-top: clamp(29px, 5vw, 47px);
    padding-bottom: clamp(29px, 5vw, 43px);
}

.vc-hero__copy {
    align-self: center;
    padding-bottom: 0;
}

.vc-hero h1 {
    max-width: 660px;
    font-size: clamp(34px, 4.25vw, 48px);
    line-height: 1.02;
}

.vc-hero__copy > p {
    max-width: 610px;
    font-size: clamp(14px, 1.25vw, 16px);
}

.vc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 22px;
}

.vc-hero__actions .vc-button {
    min-height: 40px;
    padding-inline: 19px;
    padding-block: 8px;
  }

/*
 * Accesos rápidos de la cabecera de Inicio, apilados uno encima del otro,
 * a la misma altura que el bloque de texto (eyebrow + titular +
 * entradilla) -- no de toda la cabecera, que es más alta por la foto.
 * El alto se ancla a ".vc-hero__copy" (solo se le añade
 * "position:relative", sin tocar ninguna de sus demás reglas), por lo
 * que queda centrado en su misma altura. ".vc-hero__copy" es una caja a
 * sangre completa (ocupa todo el ancho de la cabecera con su propio
 * padding interno, la foto del coche va superpuesta encima en absolute),
 * así que para el ancho no se puede usar "left:100%" -- se ancla al
 * borde derecho, pero calculado igual que ".vc-container" (min(100% -
 * 32px, 1240px) centrado) para que quede dentro del contenido centrado
 * de 1240px, no pegado al borde real de la ventana.
 * ".vc-hero__quicklinks" es una clase nueva, sin ninguna otra regla en
 * el archivo, así que no hay riesgo de chocar con las decenas de ajustes
 * por tamaño de pantalla que ya tiene esta zona.
 */
.vc-hero__copy {
    position: relative;
}

.vc-hero__quicklinks {
    position: absolute;
    top: 0;
    bottom: 0;
    right: max(16px, calc((100% - 1240px) / 2));
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}

.vc-hero__quicklinks .vc-button {
    pointer-events: auto;
    min-height: 36px;
    padding-inline: 15px;
    padding-block: 6px;
    font-size: 12px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    /*
     * En móvil los botones pasan a flujo normal, así que su orden en el
     * HTML (antes del texto) los pondría por encima del titular. Se
     * fuerza ".vc-hero__top-wrap" a flex en columna solo aquí para
     * poder usar "order" y mandarlos debajo del bloque de texto/foto,
     * sin mover el marcado ni afectar al layout de escritorio (que ya
     * usa position:absolute y no depende del "display" del padre).
     */
    .vc-hero__top-wrap {
        display: flex;
        flex-direction: column;
    }

    .vc-hero__inner {
        order: 1;
    }

    .vc-hero__quicklinks {
        position: static;
        top: auto;
        bottom: auto;
        right: auto;
        order: 2;
        margin: 16px 0 0;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .vc-hero__quicklinks .vc-button {
        white-space: normal;
    }
}

.vc-hero__media {
    align-self: center;
    justify-content: center;
    min-height: 390px;
}

.vc-hero__image {
    width: min(100%, 820px);
    height: auto;
    max-height: 520px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 24px 24px rgba(13, 32, 58, 0.12));
}

.vc-auctions-section {
    padding-top: clamp(34px, 5vw, 50px);
}

@media (max-width: 1180px) {
    .vc-site-header__inner {
        grid-template-columns: 220px minmax(320px, 1fr) auto;
        gap: 19px;
    }

    .vc-brand {
        width: 220px;
    }

    .vc-desktop-nav {
        gap: 17px;
    }

    .vc-hero__inner {
        grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.1fr);
        gap: 23px;
    }

    .vc-hero h1 {
        font-size: clamp(34px, 5vw, 41px);
    }
}

@media (max-width: 900px) {
    .vc-site-header__inner {
        width: calc(100% - 24px);
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        gap: 10px;
    }

    .vc-brand {
        width: min(56vw, 224px);
        justify-self: center;
    }

    .vc-hero {
        min-height: auto;
    }

    .vc-hero__inner {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 13px;
        padding-top: 30px;
        padding-bottom: 31px;
    }

    .vc-hero__copy {
        max-width: 720px;
    }

    .vc-hero h1 {
        max-width: 720px;
        font-size: clamp(30px, 7.2vw, 39px);
    }

    .vc-hero__media {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        min-height: 0;
        align-items: center;
        justify-content: center;
        margin-top: 11px;
    }

    .vc-hero__image {
        width: min(100%, 720px);
        height: auto;
        max-height: 390px;
        object-fit: contain;
        object-position: center;
    }
}

@media (max-width: 600px) {
    :root {
        --vc-header-height: 72px;
    }

    .vc-container {
        width: calc(100% - 24px);
    }

    .vc-site-header__inner {
        width: calc(100% - 18px);
    }

    .vc-brand {
        width: min(57vw, 205px);
    }

    .vc-hero__lines {
        opacity: 0.55;
        right: -440px;
    }

    .vc-hero__inner {
        padding-top: 23px;
        padding-bottom: 28px;
    }

    .vc-eyebrow {
        font-size: 10px;
    }

    .vc-hero h1 {
        margin-bottom: 14px;
        font-size: clamp(30px, 10.2vw, 34px);
    }

    .vc-hero__copy > p {
        margin-bottom: 14px;
        font-size: 15px;
        line-height: 1.55;
    }

    .vc-hero__trust {
        display: grid;
        gap: 8px;
    }

    .vc-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 19px;
    }

    .vc-hero__actions .vc-button {
        width: 100%;
    }

    .vc-hero__media {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 10px;
    }

    .vc-hero__image {
        width: 100%;
        height: auto;
        max-height: 300px;
    }

    .vc-auctions-section {
        padding-top: 29px;
    }
}

@media (max-width: 360px) {
    .vc-container {
        width: calc(100% - 18px);
    }

    .vc-brand {
        width: min(55vw, 184px);
    }

    .vc-hero h1 {
        font-size: clamp(30px, 10vw, 30px);
    }

    .vc-hero__image {
        max-height: 260px;
    }
}

/* Ajuste de navegación solicitado: menú legal, doble CTA y portada sin bloque de ventajas. */
.vc-site-header__inner {
    grid-template-columns: minmax(220px, auto) minmax(0, 1fr) auto;
}

.vc-desktop-nav {
    gap: clamp(13px, 1.55vw, 22px);
}

.vc-desktop-nav a {
    font-size: clamp(12px, 0.82vw, 13px);
}

.vc-desktop-nav a[aria-current="page"] {
    color: var(--vc-blue);
}

.vc-desktop-nav a[aria-current="page"]::after {
    left: 0;
    right: 0;
}

.vc-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap;
}

.vc-register-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1.5px solid var(--vc-blue);
    border-radius: 0;
    background: var(--vc-blue);
    box-shadow: 0 8px 18px rgba(8, 97, 232, 0.16);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.vc-register-link:hover,
.vc-register-link:focus-visible {
    transform: translateY(-1px);
    background: var(--vc-blue-strong);
    box-shadow: 0 11px 24px rgba(8, 97, 232, 0.24);
}

.vc-footer-legal {
    flex-wrap: wrap;
    gap: 11px 20px !important;
    align-content: center;
}

.vc-footer-legal a {
    line-height: 1.35;
}

@media (max-width: 1240px) {
    .vc-site-header__inner {
        grid-template-columns: 205px minmax(0, 1fr) auto;
        gap: 17px;
    }

    .vc-brand {
        width: 205px;
    }

    .vc-desktop-nav {
        gap: 12px;
    }

    .vc-header-actions {
        gap: 7px;
    }

    .vc-account-link,
    .vc-register-link {
        padding-inline: 11px;
        font-size: 12px;
    }
}

@media (max-width: 1080px) {
    .vc-site-header__inner {
        width: calc(100% - 24px);
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        gap: 11px;
    }

    .vc-desktop-nav {
        display: none !important;
    }

    .vc-mobile-menu {
        position: relative;
        display: block !important;
        justify-self: start;
    }

    .vc-mobile-menu > summary {
        display: grid;
        width: 46px;
        height: 46px;
        place-items: center;
        border-radius: 0;
        color: var(--vc-navy);
        cursor: pointer;
        list-style: none;
    }

    .vc-mobile-menu > summary::-webkit-details-marker {
        display: none;
    }

    .vc-mobile-menu > summary .vc-icon {
        width: 18px;
        height: 18px;
    }

    .vc-mobile-menu[open] > summary {
        background: var(--vc-blue-soft);
        color: var(--vc-blue);
    }

    .vc-mobile-menu__panel {
        position: fixed;
        top: var(--vc-header-height);
        right: 0;
        left: 0;
        z-index: 1001;
        max-height: calc(100vh - var(--vc-header-height));
        overflow-y: auto;
        padding: 15px 17px 19px;
        border-top: 1px solid var(--vc-line-soft);
        border-bottom: 1px solid var(--vc-line);
        background: rgba(255, 255, 255, 0.985);
        box-shadow: 0 18px 34px rgba(10, 31, 67, 0.12);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .vc-mobile-menu__panel nav {
        display: grid;
    }

    .vc-mobile-menu__panel nav a {
        display: flex;
        min-height: 48px;
        align-items: center;
        padding: 11px 3px;
        border-bottom: 1px solid var(--vc-line-soft);
        color: var(--vc-navy);
        font-size: 14px;
        font-weight: 750;
    }

    .vc-mobile-menu__cta {
        display: flex;
        min-height: 50px;
        align-items: center;
        justify-content: space-between;
        margin-top: 13px;
        padding: 11px 14px;
        border-radius: 0;
        background: var(--vc-blue);
        color: #fff !important;
        font-size: 13px;
        font-weight: 800;
    }

    .vc-brand {
        width: min(56vw, 224px);
        justify-self: center;
    }

    .vc-header-actions {
        width: 48px;
        justify-self: end;
    }

    .vc-register-link {
        display: none !important;
    }

    .vc-account-link {
        width: 46px;
        min-height: 46px;
        padding: 0;
        border-radius: 50%;
    }

    .vc-account-link span {
        display: none;
    }

    .vc-account-link .vc-icon {
        width: 18px;
        height: 18px;
    }

    .vc-site-footer__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 19px;
        text-align: center;
    }

    .vc-brand--footer {
        justify-content: center;
    }

    .vc-footer-legal {
        justify-content: center !important;
    }

    .vc-site-footer p {
        grid-column: auto;
        white-space: normal;
    }
}

@media (max-width: 767px) {
    .vc-site-footer {
        display: block !important;
        padding: 34px 0 calc(96px + env(safe-area-inset-bottom));
        background: var(--vc-surface-soft);
    }

    .vc-site-footer__inner {
        width: min(calc(100% - 28px), var(--vc-container));
    }

    .vc-footer-legal {
        display: grid !important;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 8px !important;
    }

    .vc-footer-legal a {
        display: flex;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        padding: 9px 11px;
        border: 1px solid var(--vc-line-soft);
        border-radius: 0;
        background: #fff;
    }

    .vc-bottom-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* WhatsApp corporativo ------------------------------------------------------ */
.vc-whatsapp-header,
.vc-whatsapp-header:visited {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1.5px solid #128c4a;
    border-radius: 0;
    background: #128c4a;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(18, 140, 74, 0.18);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.vc-whatsapp-header:hover,
.vc-whatsapp-header:focus-visible {
    transform: translateY(-1px);
    background: #0e773f;
    color: #fff !important;
    box-shadow: 0 11px 24px rgba(18, 140, 74, 0.26);
}

.vc-whatsapp-header .vc-icon,
.vc-mobile-menu__whatsapp .vc-icon,
.vc-button--whatsapp .vc-icon,
.vc-footer-whatsapp .vc-icon,
.vc-whatsapp-float .vc-icon {
    width: 18px;
    height: 18px;
}

.vc-mobile-menu__whatsapp,
.vc-mobile-menu__whatsapp:visited {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 10px;
    padding: 11px 14px;
    border-radius: 0;
    background: #128c4a;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
}

.vc-button--whatsapp,
.vc-button--whatsapp:visited {
    border-color: #128c4a;
    background: #128c4a;
    color: #fff !important;
    box-shadow: 0 9px 20px rgba(18, 140, 74, 0.2);
}

.vc-button--whatsapp:hover,
.vc-button--whatsapp:focus-visible {
    border-color: #0e773f;
    background: #0e773f;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(18, 140, 74, 0.28);
}

.vc-footer-whatsapp,
.vc-footer-whatsapp:visited {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #128c4a !important;
    font-weight: 800 !important;
}

.vc-whatsapp-float,
.vc-whatsapp-float:visited {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 1200;
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 15px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 0;
    background: #128c4a;
    color: #fff !important;
    font-size: 13px;
    font-weight: 850;
    box-shadow: 0 16px 34px rgba(18, 140, 74, 0.3);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.vc-whatsapp-float:hover,
.vc-whatsapp-float:focus-visible {
    transform: translateY(-2px);
    background: #0e773f;
    color: #fff !important;
    box-shadow: 0 20px 42px rgba(18, 140, 74, 0.36);
}

@media (max-width: 1440px) and (min-width: 1081px) {
    .vc-whatsapp-header {
        width: 44px;
        padding: 0;
    }

    .vc-whatsapp-header span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

@media (max-width: 1080px) {
    .vc-whatsapp-header {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .vc-whatsapp-float {
        right: max(13px, env(safe-area-inset-right));
        bottom: calc(84px + env(safe-area-inset-bottom));
        width: 54px;
        min-height: 54px;
        padding: 0;
    }

    .vc-whatsapp-float span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

/* ========================================================================== 
   Inicio Vendecarsubastas V3 · cabecera abierta + hero superpuesto + redes sociales
   Únicamente afecta a la página de Inicio.
   ========================================================================== */
body.vc-home-v2-page,
body.vc-home-v2-page button,
body.vc-home-v2-page input,
body.vc-home-v2-page select,
body.vc-home-v2-page textarea,
body.vc-home-v2-page .vc-home-v2 {
    font-family: "Barlow", "Avenir Next", "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Cabecera propia de respaldo de Inicio. */
body.vc-home-v2-page .vc-site-header__inner {
    width: min(calc(100% - 32px), 1240px);
    max-width: 1240px;
    grid-template-columns: minmax(238px, 292px) minmax(0, 1fr) auto;
    gap: clamp(13px, 1.75vw, 25px);
}

body.vc-home-v2-page .vc-site-header__inner > .vc-brand {
    width: min(100%, 292px);
    justify-self: start;
    justify-content: flex-start;
    margin-left: 0;
}

body.vc-home-v2-page .vc-site-header__inner > .vc-header-actions {
    justify-self: end;
    margin-right: 0;
    margin-left: auto;
}

body.vc-home-v2-page .vc-site-header__inner .vc-desktop-nav {
    gap: clamp(11px, 1.2vw, 19px);
}

body.vc-home-v2-page .vc-site-header__inner .vc-desktop-nav a {
    font-size: clamp(11px, .76vw, 12px);
    font-weight: 700;
}

/*
 * La cabecera global (#vcg-site-header) ya no se ajusta desde aquí: su
 * composición y su ancho viven en vcg_print_global_shell_styles(), dentro de
 * functions.php, para que la barra superior sea idéntica en todas las
 * secciones. Inicio ya no la sobrescribe.
 */

/* Hero: imagen grande, compacta y con el texto superpuesto. */
body.vc-home-v2-page .vc-hero {
    min-height: 0;
    /* Aire exterior del recuadro, reducido para que la cabecera ocupe menos. */
    padding: clamp(8px, 1vw, 12px) 0 clamp(14px, 2vw, 20px);
    overflow: visible;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

body.vc-home-v2-page .vc-hero__lines {
    display: none;
}

/*
 * El hero ocupa todo el ancho de la pantalla: sin tarjeta, sin bordes
 * redondeados y sin márgenes laterales. El texto de dentro sí se mantiene
 * alineado con la rejilla de 1240 px del resto de la página.
 */
body.vc-home-v2-page .vc-hero__inner {
    position: relative;
    isolation: isolate;
    /* Mismo margen a los dos lados: texto a la izquierda, redes a la derecha. */
    --vc-hero-inset: var(--vc-edge-inset);
    /*
     * Fila: el texto a un lado y la columna de redes al otro, los dos
     * centrados. La altura ya no se fija: la marca el más alto de los dos,
     * así la cabecera queda ajustada a su contenido.
     */
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 32px);
    width: 100%;
    max-width: none;
    min-height: 0;
    margin-inline: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #081c46;
    box-shadow: none;
}

body.vc-home-v2-page .vc-hero__inner::before,
body.vc-home-v2-page .vc-hero__inner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

body.vc-home-v2-page .vc-hero__inner::before {
    background:
        linear-gradient(90deg, rgba(3, 18, 51, .94) 0%, rgba(3, 18, 51, .84) 31%, rgba(3, 18, 51, .50) 58%, rgba(3, 18, 51, .08) 100%),
        linear-gradient(180deg, rgba(3, 18, 51, .06) 48%, rgba(3, 18, 51, .62) 100%);
}

body.vc-home-v2-page .vc-hero__inner::after {
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(2, 16, 45, .58));
}

body.vc-home-v2-page .vc-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    min-height: 0;
    height: 100%;
    margin: 0;
}

body.vc-home-v2-page .vc-hero__image {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    object-fit: cover;
    /* La imagen recortada es mas baja: el encuadre se centra en el frontal. */
    object-position: center 24%;
    filter: none;
    transform: scale(1.015);
}

body.vc-home-v2-page .vc-hero__copy {
    position: relative;
    z-index: 3;
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /*
     * El margen izquierdo sigue la rejilla de 1240 px: en pantallas anchas el
     * titular arranca donde arrancan las secciones de abajo; en pantallas
     * estrechas se queda en un margen mínimo de 24 px. A la derecha se reserva
     * sitio para la columna de redes sociales.
     */
    padding: clamp(22px, 2.6vw, 32px) clamp(16px, 2vw, 28px) clamp(22px, 2.6vw, 32px) var(--vc-hero-inset);
    color: #ffffff;
}

/* El texto no se estira con la pantalla: se queda en una columna legible. */
body.vc-home-v2-page .vc-hero__copy > * {
    max-width: min(620px, 100%);
}

body.vc-home-v2-page .vc-hero .vc-eyebrow,
body.vc-home-v2-page .vc-hero h1,
body.vc-home-v2-page .vc-hero h1 span,
body.vc-home-v2-page .vc-hero__copy > p,
body.vc-home-v2-page .vc-hero__trust {
    color: #ffffff;
}

body.vc-home-v2-page .vc-hero .vc-eyebrow {
    margin-bottom: 9px;
    color: #d9e8ff;
    font-size: 12px;
    letter-spacing: .12em;
}

body.vc-home-v2-page .vc-hero .vc-eyebrow::before {
    width: 34px;
    height: 3px;
    background: #68a3ff;
}

body.vc-home-v2-page .vc-hero h1 {
    max-width: 750px;
    margin-bottom: 12px;
    font-size: clamp(34px, 4.5vw, 48px);
    font-weight: 800;
    line-height: .99;
    letter-spacing: -.052em;
    text-wrap: balance;
    text-shadow: 0 10px 32px rgba(0, 0, 0, .22);
}

body.vc-home-v2-page .vc-hero h1 span {
    color: #b8d3ff;
}

body.vc-home-v2-page .vc-hero__copy > p {
    max-width: 650px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(15px, 1.15vw, 16px);
    font-weight: 600;
    line-height: 1.45;
}

body.vc-home-v2-page .vc-hero__trust {
    gap: 7px 14px;
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
    font-weight: 700;
}

body.vc-home-v2-page .vc-hero__trust .vc-icon {
    color: #8db9ff;
}

body.vc-home-v2-page .vc-hero__actions {
    margin-top: 15px;
}

body.vc-home-v2-page .vc-hero__actions .vc-button--primary {
    border-color: #ffffff;
    background: #ffffff;
    color: #071d49 !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .20);
}

body.vc-home-v2-page .vc-hero__actions .vc-button--primary:hover,
body.vc-home-v2-page .vc-hero__actions .vc-button--primary:focus-visible {
    background: #edf4ff;
    color: #0354d6 !important;
}

body.vc-home-v2-page .vc-hero__actions .vc-button--secondary {
    border-color: rgba(255, 255, 255, .62);
    background: rgba(255, 255, 255, .10);
    color: #ffffff !important;
    box-shadow: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.vc-home-v2-page .vc-hero__actions .vc-button--secondary:hover,
body.vc-home-v2-page .vc-hero__actions .vc-button--secondary:focus-visible {
    border-color: #ffffff;
    background: rgba(255, 255, 255, .20);
    color: #ffffff !important;
}

/* Redes sociales integradas en el hero. */
/*
 * Redes sociales: columna vertical pegada al borde derecho del hero y
 * centrada en vertical, por encima de la fotografía.
 */
body.vc-home-v2-page .vc-hero__socials {
    position: relative;
    top: auto;
    right: auto;
    z-index: 4;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0 var(--vc-hero-inset) 0 0;
    transform: none;
}

/* El grupo ya se anuncia con aria-label; el rótulo visible sobra. */
body.vc-home-v2-page .vc-hero__socials-label {
    display: none;
}

body.vc-home-v2-page .vc-social-links {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
}

/* Botones circulares, solo icono: el nombre de la red queda para lectores. */
body.vc-home-v2-page .vc-social-link,
body.vc-home-v2-page .vc-social-link:visited {
    display: inline-flex;
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(5, 24, 61, .36);
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

/* Cada botón con el color de su red y el icono en blanco. */
body.vc-home-v2-page .vc-social-link--instagram {
    background: radial-gradient(circle at 28% 105%, #fdf497 0%, #fd5949 45%, #d6249f 62%, #285aeb 100%);
}

body.vc-home-v2-page .vc-social-link--facebook {
    background: #1877f2;
}

body.vc-home-v2-page .vc-social-link--tiktok {
    background: #010101;
}

body.vc-home-v2-page .vc-social-link--linkedin {
    background: #0a66c2;
}

body.vc-home-v2-page .vc-social-link--youtube {
    background: #ff0000;
}

body.vc-home-v2-page .vc-social-link--x,
body.vc-home-v2-page .vc-social-link--twitter {
    background: #000000;
}

body.vc-home-v2-page .vc-social-link--whatsapp {
    background: #25d366;
}

/* Al pasar por encima se mantiene el color de la red, solo se realza. */
body.vc-home-v2-page .vc-social-link:hover,
body.vc-home-v2-page .vc-social-link:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.12);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
    color: #ffffff !important;
}

body.vc-home-v2-page .vc-social-link .vc-icon {
    width: 19px;
    height: 19px;
}

body.vc-home-v2-page .vc-social-link__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 1320px) and (min-width: 1081px) {
    body.vc-home-v2-page .vc-site-header__inner {
        width: calc(100% - 24px);
    }

    body.vc-home-v2-page .vc-site-header__inner {
        grid-template-columns: minmax(210px, 238px) minmax(0, 1fr) auto;
        gap: 11px;
    }

    body.vc-home-v2-page .vc-site-header__inner .vc-desktop-nav {
        gap: 11px;
    }

    body.vc-home-v2-page .vc-site-header__inner .vc-desktop-nav a {
        font-size: 11px;
    }
}

@media (max-width: 1080px) {
    body.vc-home-v2-page .vc-site-header__inner {
        width: calc(100% - 24px);
    }

    body.vc-home-v2-page .vc-hero__inner {
        width: 100%;
        min-height: 0;
    }

    body.vc-home-v2-page .vc-hero__copy {
        min-height: 0;
        width: min(720px, 74%);
        padding: clamp(24px, 4vw, 34px) clamp(16px, 2vw, 24px) clamp(24px, 4vw, 34px) var(--vc-hero-inset);
    }

    body.vc-home-v2-page .vc-hero h1 {
        font-size: clamp(34px, 6vw, 45px);
    }
}

@media (max-width: 767px) {
    body.vc-home-v2-page .vc-site-header__inner {
        width: calc(100% - 16px);
    }

    body.vc-home-v2-page .vc-site-header__inner {
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        gap: 8px;
    }

    body.vc-home-v2-page .vc-site-header__inner > .vc-brand {
        width: min(56vw, 220px);
        justify-self: center;
    }

    body.vc-home-v2-page .vc-hero {
        padding-top: 10px;
        padding-bottom: 27px;
    }

    body.vc-home-v2-page .vc-hero__inner {
        width: 100%;
        min-height: 0;
        border-radius: 0;
    }

    body.vc-home-v2-page .vc-hero__inner::before {
        background:
            linear-gradient(180deg, rgba(3, 18, 51, .42) 0%, rgba(3, 18, 51, .62) 30%, rgba(3, 18, 51, .92) 70%, rgba(3, 18, 51, .97) 100%);
    }

    body.vc-home-v2-page .vc-hero__inner::after {
        height: 48%;
        background: linear-gradient(180deg, transparent, rgba(2, 16, 45, .82));
    }

    body.vc-home-v2-page .vc-hero__image {
        object-position: 58% center;
        transform: scale(1.02);
    }

    body.vc-home-v2-page .vc-hero__copy {
        min-height: 0;
        width: 100%;
        max-width: none;
        justify-content: flex-end;
        align-items: stretch;
        padding: 24px 14px 22px var(--vc-hero-inset);
        text-align: left;
    }

    body.vc-home-v2-page .vc-hero .vc-eyebrow {
        align-self: flex-start;
        font-size: 10px;
    }

    body.vc-home-v2-page .vc-hero h1 {
        max-width: 100%;
        margin-bottom: 14px;
        font-size: clamp(30px, 10.4vw, 35px);
        line-height: 1.02;
    }

    body.vc-home-v2-page .vc-hero__copy > p {
        max-width: 100%;
        margin-bottom: 14px;
        font-size: 14px;
        line-height: 1.52;
    }

    body.vc-home-v2-page .vc-hero__trust {
        display: grid;
        gap: 7px;
        font-size: 12px;
    }

    body.vc-home-v2-page .vc-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 17px;
    }

    body.vc-home-v2-page .vc-hero__actions .vc-button {
        width: 100%;
        min-height: 40px;
        padding-inline: 14px;
        padding-block: 8px;
      }

    /* La columna de redes se mantiene vertical a la derecha, algo más chica. */
    body.vc-home-v2-page .vc-social-links {
        gap: 8px;
    }

    body.vc-home-v2-page .vc-social-link {
        width: 35px;
        height: 35px;
        min-width: 35px;
        min-height: 35px;
        padding: 0;
    }
}

@media (max-width: 390px) {
    body.vc-home-v2-page .vc-hero__inner,
    body.vc-home-v2-page .vc-hero__copy {
        min-height: 0;
    }

    body.vc-home-v2-page .vc-hero__copy {
        padding-left: 15px;
        padding-right: 14px;
        padding-bottom: 19px;
    }

    body.vc-home-v2-page .vc-hero h1 {
        font-size: clamp(30px, 10.5vw, 34px);
    }
}

@media (max-width: 340px) {
    body.vc-home-v2-page .vc-hero__inner,
    body.vc-home-v2-page .vc-hero__copy {
        min-height: 0;
    }

    body.vc-home-v2-page .vc-hero__copy {
        padding-left: var(--vc-hero-inset);
        padding-right: 14px;
    }

    body.vc-home-v2-page .vc-social-links {
        gap: 6px;
    }
}

@media (hover: none) {
    body.vc-home-v2-page .vc-social-link:hover,
    body.vc-home-v2-page .vc-hero__actions .vc-button:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.vc-home-v2-page .vc-social-link,
    body.vc-home-v2-page .vc-hero__actions .vc-button,
    body.vc-home-v2-page .vc-hero__image {
        transition: none !important;
        transform: none !important;
    }
}

/* ========================================================================== 
   Inicio Vendecarsubastas V4 · footer alineado con el header + hero algo más compacto
   Solo afecta a la portada. No modifica filtros, tarjetas ni funcionamiento.
   ========================================================================== */

/* Hero: conserva la composición superpuesta y reduce suavemente su altura. */
body.vc-home-v2-page .vc-hero__inner,
body.vc-home-v2-page .vc-hero__copy {
    min-height: 0;
}

body.vc-home-v2-page .vc-hero__copy {
    /* Mismo criterio que arriba: izquierda en la rejilla, derecha libre para las redes. */
    padding: clamp(22px, 2.6vw, 32px) clamp(16px, 2vw, 28px) clamp(22px, 2.6vw, 32px) var(--vc-hero-inset);
}

/* Footer propio de respaldo de page-inicio.php. */
body.vc-home-v2-page .vc-site-footer {
    padding: clamp(19px, 2vw, 27px) 0 clamp(22px, 2.4vw, 28px);
    border-top: 1px solid rgba(7, 29, 73, .10);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -10px 34px rgba(7, 29, 73, .05);
}

body.vc-home-v2-page .vc-site-footer__inner {
    width: min(calc(100% - 32px), 1240px);
    max-width: 1240px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(0, 2.7fr) minmax(220px, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: clamp(19px, 3vw, 41px);
    row-gap: 8px;
}

body.vc-home-v2-page .vc-site-footer .vc-brand--footer {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: min(100%, 280px);
    min-width: 0;
    margin: 0;
    justify-self: start;
    align-self: center;
    justify-content: flex-start;
}

body.vc-home-v2-page .vc-site-footer .vc-brand--footer .vc-brand__image {
    width: 100%;
    max-width: 280px;
    height: auto;
}

body.vc-home-v2-page .vc-site-footer .vc-footer-legal {
    grid-column: 2;
    grid-row: 1;
    display: flex !important;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center !important;
    gap: 7px clamp(14px, 1.8vw, 23px) !important;
}

body.vc-home-v2-page .vc-site-footer .vc-footer-legal a,
body.vc-home-v2-page .vc-site-footer .vc-footer-legal a:visited {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
    color: var(--vc-navy) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none !important;
}

body.vc-home-v2-page .vc-site-footer .vc-footer-legal a:hover,
body.vc-home-v2-page .vc-site-footer .vc-footer-legal a:focus-visible {
    color: var(--vc-blue) !important;
}

body.vc-home-v2-page .vc-site-footer p {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    margin: 0;
    color: #7b8799;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
    white-space: normal;
}

@media (max-width: 1180px) {
    body.vc-home-v2-page .vc-hero__inner,
    body.vc-home-v2-page .vc-hero__copy {
        min-height: 0;
    }

    body.vc-home-v2-page .vc-site-footer__inner {
        grid-template-columns: minmax(190px, .85fr) minmax(0, 2.5fr) minmax(120px, .85fr) !important;
        column-gap: 19px !important;
    }

    body.vc-home-v2-page .vc-site-footer .vc-brand--footer {
        width: min(100%, 225px);
    }

    body.vc-home-v2-page .vc-site-footer .vc-brand--footer .vc-brand__image {
        max-width: 225px !important;
    }
}

@media (max-width: 900px) {
    body.vc-home-v2-page .vc-site-footer__inner {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto;
        justify-items: center !important;
        gap: 14px !important;
        text-align: center;
    }

    body.vc-home-v2-page .vc-site-footer .vc-brand--footer {
        grid-column: 1;
        grid-row: 1;
        width: min(68vw, 245px);
        justify-self: center !important;
        justify-content: center;
    }

    body.vc-home-v2-page .vc-site-footer .vc-footer-legal {
        grid-column: 1;
        grid-row: 2;
    }

    body.vc-home-v2-page .vc-site-footer p {
        grid-column: 1;
        grid-row: 3;
        justify-self: center;
    }
}

@media (max-width: 767px) {
    body.vc-home-v2-page .vc-hero__inner,
    body.vc-home-v2-page .vc-hero__copy {
        min-height: 0;
    }

    body.vc-home-v2-page .vc-hero__copy {
        padding: 24px 14px 20px var(--vc-hero-inset);
    }

    body.vc-home-v2-page .vc-site-footer {
        padding: 28px 0 calc(98px + env(safe-area-inset-bottom));
    }

    body.vc-home-v2-page .vc-site-footer__inner {
        width: calc(100% - 24px);
    }

    body.vc-home-v2-page .vc-site-footer .vc-footer-legal {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px !important;
    }

    body.vc-home-v2-page .vc-site-footer .vc-footer-legal a {
        min-height: 46px;
        padding: 8px 10px;
        border: 1px solid var(--vc-line-soft);
        border-radius: 0;
        background: #f7f9fc;
        white-space: normal;
    }
}

@media (max-width: 390px) {
    body.vc-home-v2-page .vc-hero__inner,
    body.vc-home-v2-page .vc-hero__copy {
        min-height: 0;
    }
}

@media (max-width: 360px) {
    body.vc-home-v2-page .vc-hero__inner,
    body.vc-home-v2-page .vc-hero__copy {
        min-height: 0;
    }

    body.vc-home-v2-page .vc-site-footer .vc-footer-legal {
        grid-template-columns: 1fr;
    }
}

/*
 * Hero de 370 px de alto con el contenido centrado en vertical.
 * Sin aire exterior: la imagen de fondo cubre el 100% de la capa.
 */
body.vc-home-v2-page .vc-hero {
    --vc-hero-height: 370px;
    padding: 0;
}

body.vc-home-v2-page .vc-hero__inner,
body.vc-home-v2-page .vc-hero__copy {
    min-height: var(--vc-hero-height);
}

body.vc-home-v2-page .vc-hero__inner {
    align-items: center;
    /*
     * El fondo sigue a todo el ancho, pero el texto y las redes se alinean con
     * la columna centrada de 1240 px del menú superior y de las secciones.
     * El porcentaje se calcula sobre el ancho de esta capa.
     */
    --vc-hero-inset: max(16px, calc((100% - 1240px) / 2));
}

/* Texto centrado en vertical y alineado a la izquierda. */
body.vc-home-v2-page .vc-hero__copy {
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

body.vc-home-v2-page .vc-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

body.vc-home-v2-page .vc-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    body.vc-home-v2-page .vc-hero {
        padding: 0;
    }
}

/*
 * Interlineado del texto del hero más abierto, en línea con la cabecera de
 * Tasación (titular 1.06 e introducción 1.7).
 */
body.vc-home-v2-page .vc-hero .vc-eyebrow {
    margin-bottom: 14px;
}

body.vc-home-v2-page .vc-hero h1 {
    margin-bottom: 16px;
    line-height: 1.06;
}

body.vc-home-v2-page .vc-hero__copy > p {
    margin-bottom: 18px;
    line-height: 1.7;
}

@media (max-width: 767px) {
    body.vc-home-v2-page .vc-hero h1 {
        margin-bottom: 14px;
        line-height: 1.1;
    }

    body.vc-home-v2-page .vc-hero__copy > p {
        margin-bottom: 16px;
        line-height: 1.65;
    }
}

/*
 * Cabecera más baja en escritorio (370 -> 170 px) con menos aire vertical,
 * y accesos rápidos de la derecha con el mismo ancho, texto centrado y
 * estilo translúcido sobre la foto (a juego con el resto del hero).
 */
@media (min-width: 901px) {
    body.vc-home-v2-page .vc-hero {
        --vc-hero-height: 170px;
    }
}

/*
 * Segunda línea del titular: es una frase larga, así que va más pequeña
 * que "Subastas de coches" para que no ocupe media pantalla. Sin la
 * entradilla, el titular es lo último del bloque y no necesita margen.
 */
body.vc-home-v2-page .vc-hero h1 {
    margin-bottom: 0;
}

/* Móvil: «Subastas de coches» a 24px. */
@media (max-width: 767px) {
    body.vc-home-v2-page .vc-hero h1#vc-hero-title {
        font-size: 24px !important;
    }
}

body.vc-home-v2-page .vc-hero h1 .vc-hero__subtitle {
    display: block;
    max-width: 750px;
    margin-top: 5px;
    font-size: clamp(18px, 1.7vw, 23px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
}

/* Mismo estilo translúcido de los accesos rápidos en PC y en móvil. */
body.vc-home-v2-page .vc-hero__quicklinks .vc-button {
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(7, 29, 73, .35);
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(3, 12, 33, .25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

/* Un color distinto para cada acceso, igual en PC y en móvil. */
/* Tasación: icono de WhatsApp y verde algo más oscuro que el de la marca. */
body.vc-home-v2-page .vc-hero__quicklinks .vc-button:nth-child(1) {
    gap: 8px;
    border-color: #128c4a;
    background: #128c4a;
}

body.vc-home-v2-page .vc-hero__quicklink--whatsapp .vc-icon {
    width: 18px;
    height: 18px;
}

body.vc-home-v2-page .vc-hero__quicklinks .vc-button:nth-child(2) {
    border-color: #0b5ce0;
    background: #0b5ce0;
}

body.vc-home-v2-page .vc-hero__quicklinks .vc-button:nth-child(n):hover,
body.vc-home-v2-page .vc-hero__quicklinks .vc-button:nth-child(n):focus-visible {
    border-color: #ffffff;
    background: var(--vc-blue);
    color: #ffffff !important;
    transform: translateY(-1px);
}

body.vc-home-v2-page .vc-hero__quicklinks .vc-hero__quicklink--whatsapp:nth-child(n):hover,
body.vc-home-v2-page .vc-hero__quicklinks .vc-hero__quicklink--whatsapp:nth-child(n):focus-visible {
    background: #0e773f;
}

@media (min-width: 901px) {

    body.vc-home-v2-page .vc-hero__copy {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    body.vc-home-v2-page .vc-hero .vc-eyebrow {
        margin-bottom: 12px;
    }

    body.vc-home-v2-page .vc-hero__copy > p {
        margin-bottom: 0;
    }

    body.vc-home-v2-page .vc-hero__quicklinks {
        align-items: stretch;
        width: 250px;
    }

    body.vc-home-v2-page .vc-hero h1 {
        font-size: 38px;
    }

    body.vc-home-v2-page .vc-hero h1 .vc-hero__subtitle {
        font-size: 20px;
        line-height: 1.3;
    }
}

body.vc-home-v2-page .vc-hero__quicklinks .vc-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 42px;
    padding: 8px 18px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

/*
 * Móvil/tablet: la cabecera se ajusta a su contenido (sin los 370 px fijos)
 * con menos aire, y los accesos rápidos van en una franja oscura pegada
 * justo debajo, del mismo color que el pie del degradado de la foto, para
 * que se vean como parte de la cabecera y admitan el estilo translúcido.
 */
@media (max-width: 900px) {
    body.vc-home-v2-page .vc-hero {
        --vc-hero-height: 0px;
        padding-bottom: 0;
    }

    /* Recuadros de subastas más pegados a los botones de la cabecera. */
    body.vc-home-v2-page .vc-channels-section {
        padding-top: 16px;
    }

    body.vc-home-v2-page .vc-hero__copy {
        padding-top: 20px;
        padding-bottom: 14px;
        /* Mismo margen a ambos lados para que el texto centrado quede centrado. */
        padding-right: var(--vc-hero-inset);
    }

    body.vc-home-v2-page .vc-hero .vc-eyebrow {
        margin-bottom: 10px;
    }

    body.vc-home-v2-page .vc-hero__copy > p {
        margin-bottom: 0;
        line-height: 1.55;
    }

    /* Cabecera sin foto ni degradado oscuro: texto oscuro sobre el fondo claro. */
    body.vc-home-v2-page .vc-hero__inner {
        background: transparent;
    }

    body.vc-home-v2-page .vc-hero__inner::before,
    body.vc-home-v2-page .vc-hero__inner::after,
    body.vc-home-v2-page .vc-hero__media {
        display: none;
    }

    body.vc-home-v2-page .vc-hero .vc-eyebrow {
        color: var(--vc-navy);
    }

    body.vc-home-v2-page .vc-hero h1 {
        width: 100%;
        max-width: 100%;
        color: var(--vc-navy);
        font-size: 35px;
        text-align: center;
    }

    body.vc-home-v2-page .vc-hero h1 .vc-hero__subtitle {
        color: #475467;
        margin-top: 5px;
        margin-bottom: 6px;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
    }

    body.vc-home-v2-page .vc-hero__quicklinks {
        align-items: stretch;
        width: 100%;
        margin: 0;
        padding: 4px var(--vc-edge-inset, 16px) 0;
        gap: 8px;
    }

    /*
     * Sin foto detrás, el fondo translúcido de PC se vería gris claro con
     * texto blanco: aquí el botón es azul oscuro sólido (misma forma).
     */
    body.vc-home-v2-page .vc-hero__quicklinks .vc-button {
        min-height: 40px;
        border-color: var(--vc-navy);
        background: var(--vc-navy);
        box-shadow: 0 6px 16px rgba(7, 29, 73, .18);
    }

    /*
     * Diseño móvil de la portada: el titular de PC («Subastas de coches» y
     * la frase de debajo) sin fondo, en azul marino y centrado, encima de los
     * tres accesos; después, los recuadros de canal en rejilla 2 + 1.
     */
    body.vc-home-v2-page .vc-hero__top-wrap {
        flex-direction: column;
    }

    body.vc-home-v2-page .vc-hero__inner {
        order: -1;
        min-height: 0;
        background: none;
    }

    body.vc-home-v2-page .vc-hero__copy {
        min-height: 0;
        padding: 10px var(--vc-edge-inset, 16px) 2px;
        align-items: center;
        background: none;
    }

    body.vc-home-v2-page .vc-hero .vc-eyebrow {
        display: none;
    }

    body.vc-home-v2-page .vc-hero h1 {
        font-size: 28px;
        line-height: 1.1;
    }

    body.vc-home-v2-page .vc-hero__quicklinks {
        padding-top: 10px;
    }

    body.vc-home-v2-page .vc-channels-section {
        padding-top: 14px;
    }

    body.vc-home-v2-page .vc-channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body.vc-home-v2-page .vc-channel-card {
        justify-content: flex-start;
        gap: 6px;
        min-height: 130px;
        padding: 14px 14px;
    }

    body.vc-home-v2-page .vc-channel-card__title {
        font-size: 15px;
    }

    body.vc-home-v2-page .vc-channel-card__count strong {
        font-size: 30px;
    }

    /* Express y Pro: solo el número, sin la línea separadora. */
    body.vc-home-v2-page .vc-channel-card:not(:last-child) .vc-channel-card__count span {
        display: none;
    }

    body.vc-home-v2-page .vc-channel-card:not(:last-child) .vc-channel-card__meta {
        margin-top: 2px;
        padding-top: 0;
        border-top: 0;
    }

    /* Todos los recuadros con el contenido centrado. */
    body.vc-home-v2-page .vc-channel-card {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    body.vc-home-v2-page .vc-channel-card__count {
        justify-content: center;
    }

    body.vc-home-v2-page .vc-channel-card__meta {
        align-self: stretch;
        align-items: center;
    }

    body.vc-home-v2-page .vc-channel-card__close {
        font-size: 11px;
        line-height: 1.35;
    }

    /* Compra Directa: a todo el ancho y centrada. */
    body.vc-home-v2-page .vc-channel-card:last-child {
        grid-column: 1 / -1;
        align-items: center;
        justify-content: center;
        min-height: 0;
        text-align: center;
    }

    body.vc-home-v2-page .vc-channel-card:last-child .vc-channel-card__count {
        justify-content: center;
    }

    body.vc-home-v2-page .vc-channel-card:last-child .vc-channel-card__meta {
        align-self: stretch;
        align-items: center;
    }
}


/* Bloque «Recibe las primeras subastas antes que nadie»: sin la etiqueta
   «Acceso anticipado» y con el titular a 24px (en móvil sigue su ajuste
   a una sola línea). */
body.vc-home-v2-page .vcl-hero .vcl-kicker {
    display: none;
}

@media (min-width: 561px) {
    body.vc-home-v2-page .vcl-hero .vcl-hero__copy h2 {
        font-size: 24px;
    }
}

/*
 * Bloque «Recibe las primeras subastas»: en claro (azul muy suave con texto
 * oscuro) en lugar del degradado azul marino, a juego con el resto de la portada.
 */
body.vc-home-v2-page .vcl-hero .vcl-hero__inner {
    border: 1px solid #d6e4fb;
    background: #eef4ff;
    color: #07183c;
    box-shadow: none;
}

body.vc-home-v2-page .vcl-hero .vcl-hero__copy h2 {
    color: #07183c;
}

body.vc-home-v2-page .vcl-hero .vcl-hero__copy p,
body.vc-home-v2-page .vcl-hero .vcl-form__consent {
    color: #5b6b86;
}

body.vc-home-v2-page .vcl-hero .vcl-form input.vcl-form__input {
    border: 1px solid #cfd8e7;
    color: #07183c;
}

body.vc-home-v2-page .vcl-hero .vcl-form .vcl-form__consent a {
    color: #075cf8;
}

body.vc-home-v2-page .vcl-hero .vcl-form .vcl-form__msg.is-ok {
    color: #0c7a45;
}

body.vc-home-v2-page .vcl-hero .vcl-form .vcl-form__msg.is-error {
    color: #c0262d;
}

/*
 * Accesos rápidos de la cabecera. En PC, como siempre: texto largo y sin
 * iconos (salvo WhatsApp). En móvil, tres baldosas en una fila con icono
 * y texto corto; el largo queda solo para lectores de pantalla.
 */
body.vc-home-v2-page .vc-hero__quicklinks .vc-ql-icon,
body.vc-home-v2-page .vc-hero__quicklinks .vc-ql-short {
    display: none;
}

body.vc-home-v2-page .vc-hero__quicklinks {
    padding-top: 0;
}

@media (max-width: 900px) {
    body.vc-home-v2-page .vc-hero__quicklinks {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    /* Icono a la izquierda y texto a la derecha, en una sola fila. */
    body.vc-home-v2-page .vc-hero__quicklinks .vc-button {
        position: relative;
        flex-direction: row;
        gap: 6px;
        min-height: 44px;
        padding: 7px 6px;
        border-radius: 10px;
        font-size: 11px;
        line-height: 1.2;
        white-space: nowrap;
    }

    body.vc-home-v2-page .vc-hero__quicklinks .vc-button .vc-icon {
        display: block;
        flex: none;
        width: 18px;
        height: 18px;
    }

    body.vc-home-v2-page .vc-hero__quicklinks .vc-ql-short {
        display: block;
    }

    body.vc-home-v2-page .vc-hero__quicklinks .vc-ql-long {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }
}
