/*
 * Page-specific blocks for Home, About and Contact. Loaded alongside public-shell.css.
 * Everything shared between the three lives in the shell; anything here appears on one page.
 */

/* --- hero (Home) ------------------------------------------------------------ */
.zs-hero-split {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    padding-top: 64px;
}

.zs-hero-split__copy,
.zs-hero-split__art {
    flex: 1;
    min-width: 340px;
}

.zs-hero-split__art {
    position: relative;
}

.zs-display {
    margin: 22px 0 0;
    font-size: 52px;
    font-weight: 900;
    line-height: 1.25;
    text-wrap: balance;
}

.zs-display--center {
    max-width: 720px;
    margin-inline: auto;
    font-size: 46px;
    line-height: 1.3;
}

.zs-display__accent {
    color: var(--zs-green);
}

.zs-display__lead {
    max-width: 520px;
    margin: 20px 0 0;
    color: var(--zs-text-muted);
    font-size: 17px;
    line-height: 2;
}

.zs-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* The placeholder page defines .zs-pill on a dark ground; this is the light-ground variant. */
.zs-pill--green {
    margin-top: 0;
    background: var(--zs-green-pale);
    color: var(--zs-green-dark);
}

.zs-pill--green .zs-pill__dot {
    background: var(--zs-green);
}

.zs-pill--green .zs-icon {
    font-size: 17px;
}

/* --- hero stats ------------------------------------------------------------- */
.zs-statrow {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    margin-top: 44px;
}

.zs-statrow__value {
    font-size: 30px;
    font-weight: 900;
}

.zs-statrow__label {
    margin-top: 2px;
    color: var(--zs-text-dim);
    font-size: 13px;
}

/* --- the card floating over the hero art ------------------------------------ */
.zs-floatcard {
    display: flex;
    position: absolute;
    right: 24px;
    bottom: -22px;
    align-items: center;
    gap: 13px;
    padding: 16px 20px;
    border-radius: var(--zs-radius-lg);
    background: var(--zs-surface);
    box-shadow: 0 18px 34px -18px rgba(7, 20, 55, .35);
}

.zs-floatcard .zs-figure {
    width: 44px;
    height: 44px;
    border-radius: var(--zs-radius);
}

.zs-floatcard .zs-figure .zs-icon {
    font-size: 24px;
}

.zs-floatcard__value {
    font-size: 18px;
    font-weight: 900;
}

.zs-floatcard__label {
    color: var(--zs-text-dim);
    font-size: 12px;
}

/* --- trust row -------------------------------------------------------------- */
.zs-trust__title {
    margin-bottom: 22px;
    color: var(--zs-text-dim);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.zs-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 44px;
    flex-wrap: wrap;
    opacity: .7;
}

.zs-trust__item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--zs-text-soft);
    font-size: 17px;
    font-weight: 800;
}

.zs-trust__item .zs-icon {
    font-size: 22px;
}

/* --- how it works ----------------------------------------------------------- */
.zs-step {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .05);
}

.zs-step__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--zs-radius);
    background: var(--zs-green);
    color: var(--zs-surface);
    font-size: 19px;
    font-weight: 900;
}

.zs-step__title {
    margin: 18px 0 0;
    font-size: 19px;
    font-weight: 800;
}

.zs-step__text {
    margin: 9px 0 0;
    color: var(--zs-on-dark-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* --- About ------------------------------------------------------------------ */
.zs-grid--flush {
    margin-top: 0;
}

.zs-bigstat {
    color: var(--zs-green);
    font-size: 34px;
    font-weight: 900;
}

.zs-figure--lg {
    width: 56px;
    height: 56px;
    border-radius: 15px;
}

.zs-figure--lg .zs-icon {
    font-size: 30px;
}

.zs-surface__title--lg {
    margin-top: 20px;
    font-size: 22px;
    font-weight: 900;
}

.zs-surface__text--lg {
    margin-top: 12px;
    color: var(--zs-text-muted);
    font-size: 15px;
    line-height: 2;
}

.zs-panelDark--center {
    text-align: center;
}

/* --- Contact ---------------------------------------------------------------- */
/* 1fr / 1.3fr, info column first so RTL puts it on the right — as the design lays it out. */
.zs-contactgrid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 24px;
    align-items: start;
}

.zs-infocol {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zs-channel {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--zs-border-strong);
    border-radius: 20px;
    background: var(--zs-surface);
}

.zs-channel .zs-figure {
    width: 50px;
    min-width: 50px;
    height: 50px;
    border-radius: 13px;
}

.zs-channel .zs-figure .zs-icon {
    font-size: 26px;
}

.zs-channel__title {
    font-size: 15px;
    font-weight: 800;
}

.zs-channel__value {
    margin-top: 4px;
    color: var(--zs-text-muted);
    font-size: 14px;
    line-height: 1.9;
}

.zs-channel__note {
    margin-top: 2px;
    color: var(--zs-text-dim);
    font-size: 12.5px;
}

/* --- form ------------------------------------------------------------------- */
.zs-form {
    margin-top: 22px;
}

/* --- select ----------------------------------------------------------------- */
/*
 * Two states of the same control.
 *
 * Before select.js runs — and forever, if it never does — the native <select> is what shows,
 * restyled as far as CSS reaches: `appearance: none` strips the OS chrome and the arrow is
 * drawn back at the trailing edge, the left in RTL (§21.8).
 *
 * The one thing CSS cannot reach is the popup once it opens: that list is drawn by the
 * operating system. So when the script enhances the field it hides the native control and
 * shows a listbox we draw ourselves — that is the .is-enhanced branch below.
 */
.zs-select {
    position: relative;
}

.zs-select__control {
    appearance: none;
    padding-inline-end: 44px;
    cursor: pointer;
}

.zs-select__control::-ms-expand {
    display: none;
}

.zs-select__chevron {
    display: flex;
    position: absolute;
    inset-inline-end: 14px;
    top: 50%;
    align-items: center;
    transform: translateY(-50%);
    color: var(--zs-text-soft);
    pointer-events: none;
    transition: color .15s, transform .15s;
}

.zs-select__chevron .zs-icon {
    font-size: 22px;
}

.zs-select__control:hover + .zs-select__chevron,
.zs-select__control:focus + .zs-select__chevron {
    color: var(--zs-green);
}

/* --- the enhanced control --------------------------------------------------- */
/*
 * The native select stays in the DOM — it is what the form submits and what validation sees —
 * but is taken out of sight and out of the tab order once the facade is in front of it.
 */
.zs-select.is-enhanced .zs-select__control {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    pointer-events: none;
}

.zs-select__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--zs-border-field);
    border-radius: var(--zs-radius);
    background: var(--zs-field);
    color: var(--zs-text);
    font-family: inherit;
    font-size: 14px;
    text-align: start;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}

.zs-select__button:hover {
    border-color: var(--zs-green);
}

.zs-select__button:focus-visible,
.zs-select.is-open .zs-select__button {
    border-color: var(--zs-green);
    box-shadow: 0 0 0 3px var(--zs-green-pale);
    outline: none;
}

.zs-select__button .zs-select__chevron {
    position: static;
    transform: none;
}

.zs-select.is-open .zs-select__chevron {
    color: var(--zs-green);
    transform: rotate(180deg);
}

.zs-select__list {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 6px);
    z-index: 30;
    max-height: 260px;
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    border: 1px solid var(--zs-border-strong);
    border-radius: var(--zs-radius);
    background: var(--zs-surface);
    box-shadow: 0 18px 34px -18px rgba(7, 20, 55, .35);
    list-style: none;
}

.zs-select__list:focus {
    outline: none;
}

.zs-select__list[hidden] {
    display: none;
}

.zs-select__option {
    padding: 11px 13px;
    border-radius: var(--zs-radius-sm);
    color: var(--zs-text-muted);
    font-size: 14px;
    cursor: pointer;
}

/* Hover and keyboard focus are the same visual state: one highlighted row at a time. */
.zs-select__option:hover,
.zs-select__option.is-active {
    background: var(--zs-canvas-hover);
    color: var(--zs-text);
}

.zs-select__option[aria-selected="true"] {
    background: var(--zs-green-pale);
    color: var(--zs-green);
    font-weight: 700;
}

.zs-form button[type="submit"] {
    margin-top: 22px;
}

/*
 * The honeypot. Clipped rather than display:none — some bots skip anything the CSS hides
 * outright, and this still keeps it out of sight, out of tab order and out of the a11y tree.
 *
 * Clipped rather than pushed off-screen: `left: -9999px` on an RTL page extends the
 * scrollable area by 9999px, so the whole site gained a horizontal scrollbar. Clipping
 * hides it just as well and occupies no space in any direction.
 */
.zs-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.zs-captcha {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zs-captcha__q {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 8px;
    background: var(--zs-green-pale);
    color: var(--zs-green-dark);
    font-weight: 800;
}

.zs-captcha__refresh {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    min-width: 46px;
    height: 46px;
    border: 1px solid var(--zs-border-field);
    border-radius: var(--zs-radius);
    background: var(--zs-field);
    color: var(--zs-text-muted);
    cursor: pointer;
}

.zs-captcha__refresh:hover {
    border-color: var(--zs-green);
    color: var(--zs-green);
}

/* --- alerts ----------------------------------------------------------------- */
.zs-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: var(--zs-radius);
    font-size: 14px;
    font-weight: 700;
}

.zs-alert[hidden] {
    display: none;
}

.zs-alert--ok {
    background: var(--zs-green-pale);
    color: var(--zs-green-dark);
}

.zs-alert--error {
    background: var(--zs-red-pale);
    color: var(--zs-red);
}

/* --- opening hours ---------------------------------------------------------- */
/* A green gradient panel closing the info column, not a plain card — per the design. */
.zs-hours {
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--zs-green-dark), var(--zs-green));
    color: var(--zs-on-dark);
    box-shadow: 0 16px 30px -18px rgba(23, 198, 83, .7);
}

.zs-hours__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zs-hours__head .zs-icon {
    font-size: 24px;
}

.zs-hours__title {
    font-size: 15px;
    font-weight: 800;
}

.zs-hours__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13.5px;
    opacity: .9;
}

.zs-hours__time {
    font-weight: 700;
    opacity: 1;
}

/* --- the form card ---------------------------------------------------------- */
.zs-formcard {
    padding: 32px;
    border: 1px solid var(--zs-border-strong);
    border-radius: 22px;
    background: var(--zs-surface);
    box-shadow: 0 6px 18px -12px rgba(7, 20, 55, .12);
}

.zs-formcard__title {
    font-size: 20px;
    font-weight: 900;
}

.zs-formcard__subtitle {
    margin-top: 6px;
    color: var(--zs-text-soft);
    font-size: 13.5px;
}

/* --- map placeholder -------------------------------------------------------- */
/* The design ships a drawn placeholder, not an embedded map: a third-party tile server would
 * be an off-box request (§21.1). A self-hosted static image replaces this block. */
.zs-map {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    height: 300px;
    overflow: hidden;
    border: 1px solid var(--zs-border-strong);
    border-radius: 22px;
    background-color: var(--zs-map-ground);
    background-image:
        repeating-linear-gradient(0deg, var(--zs-map-grid) 0 1px, transparent 1px 44px),
        repeating-linear-gradient(90deg, var(--zs-map-grid) 0 1px, transparent 1px 44px);
}

.zs-map__pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--zs-green);
    color: var(--zs-surface);
    box-shadow: 0 12px 24px -8px rgba(23, 198, 83, .6);
}

.zs-map__pin .zs-icon {
    font-size: 30px;
}

/* --- narrow screens --------------------------------------------------------- */
@media (max-width: 900px) {
    .zs-contactgrid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .zs-display {
        font-size: 32px;
    }

    .zs-display--center {
        font-size: 28px;
    }

    /*
     * Stack, do not shrink. `flex-wrap` alone does not wrap these: both children are flex:1
     * with min-width:0, so they happily sit side by side at 156px each and the hero becomes
     * two unreadable columns. Switching the axis is what actually stacks them.
     */
    .zs-hero-split {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        padding-top: 36px;
    }

    .zs-hero-split__copy,
    .zs-hero-split__art {
        min-width: 0;
    }

    /* The floating stat card overhangs the art; on a phone that overlap has nowhere to go. */
    .zs-floatcard {
        position: static;
        margin-top: 14px;
    }

    .zs-floatcard {
        right: 12px;
    }

    .zs-statrow {
        gap: 22px;
    }

    .zs-trust {
        gap: 22px;
    }
}

/* --- validation: the select only ------------------------------------------- */
/*
 * The field and message styling is shared, so it lives in forms.css (§21.4). What is left
 * here is the select, which only this page set has.
 */
.zs-select__button.is-invalid,
.zs-select.is-invalid .zs-select__button {
    border-color: var(--zs-red);
    background: var(--zs-red-pale);
}

.zs-select.is-invalid .zs-select__button:focus-visible {
    box-shadow: 0 0 0 3px rgba(248, 40, 90, .16);
}
