/* ==========================================================================
   Home page (front-page.php). Loaded on the front page only.
   ========================================================================== */

/* ---------- S1 hero ---------- */

.vz-hero { position: relative; z-index: 2; background: #151E2D; color: #F5F5F5; } /* hero background kept as before the brand update (Oded, 05/10) */
.vz-hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.vz-hero__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 35%, #000 20%, transparent 100%);
    mask-image: radial-gradient(ellipse 75% 85% at 50% 35%, #000 20%, transparent 100%);
}
.vz-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(50% 45% at 50% 0%, rgba(36, 107, 253, .16), transparent 75%);
}
.vz-hero__inner {
    position: relative;
    padding-top: clamp(56px, 9vw, 104px);
    padding-bottom: clamp(56px, 8vw, 96px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.vz-hero__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 14px;
    margin-bottom: 24px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .04);
    box-shadow: inset 0 0 0 1px var(--dark-line);
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--dark-label);
}
.vz-livedot { width: 7px; height: 7px; border-radius: var(--r-pill); background: #74e3ad; box-shadow: 0 0 0 3px rgba(116, 227, 173, .18); }
.vz-hero__title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--white);
    text-wrap: balance;
}
.vz-hero__kicker { display: block; margin-bottom: 10px; font-size: clamp(18px, 2.2vw, 24px); font-weight: 500; line-height: 1.25; letter-spacing: -.01em; color: var(--dark-text); }
.vz-hero__main { display: block; max-width: 14em; margin-inline: auto; } /* breaks after "Laboratory" (Oded, 07/10) — halves measure ~12.5em / 13.4em */
.vz-hero__sub { margin-top: 14px; max-width: 620px; font-size: 16px; color: var(--dark-text); text-wrap: pretty; }

.vz-hero__search { width: 100%; max-width: 720px; margin-top: 36px; text-align: left; }
.vz-hero__label { display: block; font-size: 13px; font-weight: 500; color: var(--dark-label); margin: 0 0 8px 24px; }
.vz-bigsearch {
    height: 64px;
    border-radius: var(--r-pill);
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px 0 24px;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}
.vz-bigsearch:focus-within { box-shadow: 0 0 0 4px rgba(10, 10, 10, .32), 0 20px 50px -20px rgba(0, 0, 0, .6); }
.vz-bigsearch__icon { color: var(--muted); }
.vz-bigsearch__input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: var(--font-mono);
    font-size: 17px;
    color: var(--ink);
    -webkit-appearance: none;
    appearance: none;
}
.vz-bigsearch__input::-webkit-search-cancel-button { display: none; }
.vz-bigsearch__clear[hidden] { display: none; }
.vz-bigsearch__submit { height: 48px; padding: 0 clamp(18px, 3vw, 30px); font-size: 15.5px; }
.vz-hero__hint { font-size: 12.5px; color: var(--dark-muted); margin: 8px 0 0 24px; }

.vz-hero__popular { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.vz-hero__poplabel { font-size: 13px; color: var(--dark-muted); margin-right: 4px; }
.vz-chip-dark {
    height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .05);
    box-shadow: inset 0 0 0 1px var(--dark-line);
    color: var(--line);
    font-size: 13px;
    font-weight: 500;
}
.vz-chip-dark:hover { background: rgba(255, 255, 255, .11); }

.vz-hero__cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; font-size: 15px; color: var(--dark-text); }

@media (max-width: 899px) {
    .vz-bigsearch__kbd { display: none; }
}
@media (max-width: 519px) {
    .vz-bigsearch { padding-left: 18px; gap: 8px; }
    .vz-bigsearch__input { font-size: 16px; }
    .vz-bigsearch__icon { display: none; }
}

/* ---------- S2 trust ---------- */

.vz-trust { background: var(--white); border-bottom: 1px solid var(--line); }
.vz-trust__list {
    padding-top: clamp(24px, 3vw, 36px);
    padding-bottom: clamp(24px, 3vw, 36px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 24px 32px;
}
.vz-trust__item { display: flex; gap: 14px; align-items: flex-start; }
.vz-trust__title { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.35; }
.vz-trust__text { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
@media (max-width: 519px) {
    .vz-trust__list { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
    .vz-trust__item { flex-direction: column; gap: 10px; }
}

/* ---------- S3 categories / S5 brands ---------- */

.vz-section--catsec { padding-bottom: clamp(40px, 5vw, 64px); }

.vz-catgrid,
.vz-brandgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) {
    .vz-catgrid, .vz-brandgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
    .vz-catgrid, .vz-brandgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.vz-catcard {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    min-height: 176px;
    padding: 20px;
    border-radius: var(--r-pcard);
    background: var(--glass);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: inset 0 0 0 1px var(--line);
}
.vz-catcard__body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.vz-catcard__name { font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.3; text-wrap: balance; }
.vz-catcard__subs { font-size: 13px; color: var(--muted); line-height: 1.45; text-wrap: pretty; }
.vz-catcard__foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
.vz-catcard__foot .vz-muted-sm { font-size: 12.5px; }

.vz-brandtile {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 20px;
    border-radius: var(--r-tile);
    background: var(--glass);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: inset 0 0 0 1px var(--line);
}
.vz-brandtile__name { font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.25; min-width: 0; }
.vz-brandtile .vz-muted-sm { font-size: 12.5px; flex: none; }

/* ---------- S4 just added ---------- */

.vz-okdot { width: 7px; height: 7px; border-radius: var(--r-pill); background: var(--ok); box-shadow: 0 0 0 3px rgba(4, 120, 87, .14); flex: none; }
.vz-newgrid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin: 0 -4px;
    padding: 4px 4px 8px;
}
.vz-newgrid__item { scroll-snap-align: start; min-width: 0; }
@media (min-width: 700px) {
    .vz-newgrid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
    .vz-newgrid__item--wide { display: none; }
}
@media (min-width: 1100px) {
    .vz-newgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .vz-newgrid__item--wide { display: block; }
}

/* ---------- S6 request band ---------- */

.vz-reqband { position: relative; background: var(--graphite); color: #F5F5F5; overflow: hidden; }
.vz-reqband__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 50%, #000 10%, transparent 100%);
    mask-image: radial-gradient(ellipse 60% 90% at 85% 50%, #000 10%, transparent 100%);
}
.vz-reqband__inner {
    position: relative;
    padding-top: clamp(56px, 7vw, 96px);
    padding-bottom: clamp(56px, 7vw, 96px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 40px 64px;
    align-items: center;
}
.vz-eyebrow-dark {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: var(--r-pill);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--dark-label);
    letter-spacing: .04em;
}
.vz-reqband__title {
    margin-top: 18px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--white);
    text-wrap: balance;
}
.vz-reqband__text { margin-top: 14px; max-width: 520px; font-size: 16px; color: var(--dark-text); text-wrap: pretty; }
.vz-reqband__actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.vz-steps { display: flex; flex-direction: column; gap: 12px; }
.vz-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--r-pcard);
    background: rgba(255, 255, 255, .04);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.vz-step__head { display: flex; align-items: baseline; gap: 10px; }
.vz-step__n { font-family: var(--font-mono); font-size: 12px; color: var(--dark-muted); }
.vz-step__title { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--white); }
.vz-step__text { display: block; font-size: 14px; color: var(--dark-text); margin-top: 4px; }

/* ---------- S7 why ---------- */

.vz-whygrid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .vz-whygrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .vz-whygrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vz-whytile {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: clamp(18px, 3vw, 28px);
    border-radius: var(--r-card);
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--line);
}
.vz-whytile__title { font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.vz-whytile__text { margin-top: 6px; font-size: 15px; color: var(--muted); text-wrap: pretty; }

/* ---------- S8 conditions ---------- */

.vz-condgrid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .vz-condgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .vz-condgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.vz-condcard {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
    border-radius: var(--r-pcard);
    background: var(--glass);
    box-shadow: inset 0 0 0 1px var(--line);
}
.vz-condcard p { font-size: 14px; color: var(--text-2); text-wrap: pretty; }

/* on dark sections the primary button flips to white (brand update 05/10) */
.vz-reqband .vz-btn--primary { background: var(--white); color: var(--ink); box-shadow: none; }
.vz-reqband .vz-btn--primary:hover { background: var(--line); color: var(--ink); }
