/* Vendecarsubastas · Acceso anticipado (bloque del inicio y franja del pie) */
.vcl-hero,
.vcl-strip {
    --vcl-blue: #0861e8;
    --vcl-blue-strong: #0354d6;
    --vcl-navy: #071d49;
    --vcl-navy-2: #0b285f;
    --vcl-line: #dce3ee;
    --vcl-ok: #7ee2a8;
    --vcl-error: #ffb4b8;
    font-family: "Barlow", "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    box-sizing: border-box;
}
.vcl-hero *,
.vcl-strip * { box-sizing: border-box; }

.vcl-sr,
.vcl-hp {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Bloque destacado del inicio ---------- */
.vcl-hero {
    padding: 8px 0 0;
}
/* La sección «Cómo funciona» del inicio trae 52px arriba: pegada al bloque sobra. */
.vcl-hero + .vc-how-section {
    padding-top: 28px;
}
.vcl-hero__inner {
    width: min(calc(100% - 32px), 1240px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(20px, 4vw, 48px);
    align-items: center;
    padding: clamp(24px, 4vw, 44px);
    border-radius: 0;
    background: radial-gradient(120% 140% at 100% 0%, #0f4fc0 0%, var(--vcl-navy-2) 45%, var(--vcl-navy) 100%);
    color: #fff;
    box-shadow: 0 24px 60px rgba(12, 37, 73, 0.14);
}
.vcl-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.vcl-hero .vcl-hero__copy h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(24px, 3.2vw, 36px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.vcl-hero .vcl-hero__copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.55;
}

/* ---------- Formulario (común) ---------- */
.vcl-form { margin: 0; }
.vcl-form__row {
    display: flex;
    gap: 10px;
}
.vcl-form input.vcl-form__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    margin: 0;
    line-height: normal;
    padding: 0 16px;
    border: 1.5px solid transparent;
    border-radius: 0;
    background: #fff;
    color: #101828;
    font: inherit;
    font-size: 16px;
}
.vcl-form input.vcl-form__input:focus {
    outline: none;
    border-color: var(--vcl-blue);
    box-shadow: 0 0 0 4px rgba(8, 97, 232, 0.25);
}
.vcl-form__button {
    flex: 0 0 auto;
    height: 40px;
    padding: 0 22px;
    border: 0;
    border-radius: 0;
    background: var(--vcl-blue);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}
.vcl-form__button:hover { background: var(--vcl-blue-strong); }
.vcl-form__button:active { transform: translateY(1px); }
.vcl-form__button[disabled] { opacity: .7; cursor: progress; }
.vcl-form__consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
}
.vcl-form__consent input {
    flex: 0 0 auto;
    width: 18px; height: 18px;
    margin: 1px 0 0;
    accent-color: var(--vcl-blue);
}
.vcl-form .vcl-form__consent a { color: #fff; text-decoration: underline; }
.vcl-form .vcl-form__msg {
    min-height: 0;
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}
.vcl-form__msg:empty { display: none; }
.vcl-form .vcl-form__msg.is-ok { color: var(--vcl-ok); }
.vcl-form .vcl-form__msg.is-error { color: var(--vcl-error); }
.vcl-form.is-done .vcl-form__row,
.vcl-form.is-done .vcl-form__consent { display: none; }
.vcl-form.is-done .vcl-form__msg.is-ok { margin-top: 0; font-size: 15px; }

/* ---------- Franja compacta sobre el pie ---------- */
.vcl-strip {
    background: var(--vcl-navy);
    color: #fff;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.vcl-strip__inner {
    width: min(calc(100% - 32px), 1240px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    flex-wrap: wrap;
}
.vcl-strip__copy { display: grid; gap: 2px; }
.vcl-strip__copy strong { font-size: 17px; font-weight: 800; }
.vcl-strip__copy span { font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.vcl-strip .vcl-form { flex: 0 1 560px; }
.vcl-strip .vcl-form input.vcl-form__input,
.vcl-strip .vcl-form__button { height: 40px; }
.vcl-strip .vcl-form__consent { margin-top: 8px; font-size: 12px; }

@media (max-width: 860px) {
    .vcl-hero__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .vcl-form__row { flex-direction: column; }
    .vcl-form__button { width: 100%; }
    .vcl-strip .vcl-form { flex-basis: 100%; }
}

/* Sin esquinas redondeadas en todo el bloque, aunque el tema o Astra
   redondeen botones y campos con reglas más fuertes. */
.vcl-hero .vcl-hero__inner,
.vcl-hero .vcl-kicker,
.vcl-hero .vcl-form input.vcl-form__input,
.vcl-hero .vcl-form .vcl-form__button,
.vcl-strip .vcl-form input.vcl-form__input,
.vcl-strip .vcl-form .vcl-form__button {
    border-radius: 0 !important;
}

/* Móvil: el titular del bloque del inicio cabe en una sola línea. El tamaño
   se ajusta al ancho de la pantalla (unos 23 caracteres de ancho por em). */
@media (max-width: 560px) {
    .vcl-hero .vcl-hero__inner {
        padding-inline: 16px;
    }
    .vcl-hero .vcl-hero__copy h2 {
        font-size: min(calc((100vw - 64px) / 23), 24px);
        white-space: nowrap;
        letter-spacing: -0.02em;
    }
}
