/* ===================================================
   Z TAXI — Hero Block Styles
   hero-block.css
   =================================================== */

/* ---------- Reset & Variables ---------- */
:root {
    --zt-yellow:      #FFB800;
    --zt-yellow-dark: #E0A200;
    --zt-yellow-dim:  rgba(255,184,0,.15);
    --zt-bg:          #0f0f0f;
    --zt-bg2:         #181818;
    --zt-bg3:         #1e1e1e;
    --zt-border:      #2a2a2a;
    --zt-white:       #ffffff;
    --zt-gray:        #888888;
    --zt-light:       #cccccc;
    --zt-tg:          #229ED9;
    --zt-max:         #5B2BED;
    --zt-radius:      12px;
    --zt-radius-sm:   8px;
    --zt-transition:  .2s ease;
}

/* ---------- Hero Section ---------- */
.zt-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--zt-bg);
    background-size: cover;
    background-position: center 38%;
    background-repeat: no-repeat;
    min-height: 640px;
    display: flex;
    flex-direction: column;
}

.zt-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(10,10,10,0.96)  0%,
        rgba(10,10,10,0.88)  35%,
        rgba(10,10,10,0.60)  58%,
        rgba(10,10,10,0.22)  80%,
        rgba(10,10,10,0.10)  100%
    );
    z-index: 1;
}

/* ---------- Inner Layout ---------- */
.zt-hero__inner {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 28px 40px;
    display: flex;
    gap: 44px;
    align-items: flex-start;
}

/* ---------- Left Content ---------- */
.zt-hero__content {
    flex: 1;
    padding-top: 4px;
}

/* Title */
.zt-hero__title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.5px;
    margin-bottom: 22px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.zt-hero__title-white {
    color: var(--zt-white);
    display: block;
}
.zt-hero__title-yellow {
    color: var(--zt-yellow);
    display: block;
}

/* Subheading */
.zt-hero__sub {
    color: #bbb;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 18px;
}

/* "From X km" */
.zt-hero__km {
    font-size: 17px;
    font-weight: 600;
    color: var(--zt-white);
    margin-bottom: 34px;
}
.zt-hero__km span {
    color: var(--zt-yellow);
}

/* ---------- Feature Badges Row ---------- */
.zt-hero__badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.zt-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    min-width: 64px;
}
.zt-badge__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--zt-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zt-yellow);
    flex-shrink: 0;
    transition: background var(--zt-transition), transform var(--zt-transition);
}
.zt-badge__icon svg {
    width: 22px;
    height: 22px;
}
.zt-badge:hover .zt-badge__icon {
    background: var(--zt-yellow-dim);
    transform: scale(1.06);
}
.zt-badge__text {
    font-size: 12px;
    font-weight: 600;
    color: var(--zt-light);
    line-height: 1.4;
    text-align: center;
}
.zt-badge__text span {
    font-weight: 400;
    color: var(--zt-gray);
}

/* ---------- CTA Buttons ---------- */
.zt-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.zt-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: var(--zt-radius);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform var(--zt-transition), opacity var(--zt-transition), box-shadow var(--zt-transition);
    white-space: nowrap;
    line-height: 1;
}
.zt-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
.zt-cta-btn:active {
    transform: translateY(0);
}
.zt-cta-btn__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Telegram */
.zt-cta-btn--tg {
    background: var(--zt-tg);
    color: var(--zt-white);
}
.zt-cta-btn--tg:hover {
    background: #1a8fc3;
}

/* MAX / WhatsApp */
.zt-cta-btn--max {
    background: var(--zt-max);
    color: var(--zt-white);
}
.zt-cta-btn--max:hover {
    background: #4a1fd4;
}

/* Phone */
.zt-cta-btn--phone {
    background: var(--zt-yellow);
    color: #000;
}
.zt-cta-btn--phone:hover {
    background: var(--zt-yellow-dark);
}

/* All directions */
.zt-cta-btn--outline {
    background: transparent;
    color: var(--zt-white);
    border-color: rgba(255,255,255,0.35);
}
.zt-cta-btn--outline:hover {
    border-color: var(--zt-white);
    background: rgba(255,255,255,0.07);
}

/* ---------- Right: Booking Form Card ---------- */
.zt-hero__form {
    flex-shrink: 0;
    width: 368px;
}

.zt-form-card {
    background: rgba(18,18,18,0.97);
    border: 1px solid #2e2e2e;
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.zt-form-card__header {
    background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
    border-bottom: 1px solid var(--zt-border);
    padding: 18px 24px 16px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--zt-yellow);
}

.zt-form-card__body {
    padding: 22px 24px 20px;
}

/* ---------- Form Fields ---------- */
.zt-field {
    margin-bottom: 14px;
}

.zt-field__label {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 6px;
    font-weight: 500;
}

.zt-field__wrap {
    position: relative;
    display: flex;
    align-items: center;
}

/* Icon left */
.zt-field__icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: #555;
    pointer-events: none;
    flex-shrink: 0;
}

/* Icon right (calendar) */
.zt-field__icon-right {
    position: absolute;
    right: 12px;
    width: 16px;
    height: 16px;
    color: #555;
    pointer-events: none;
}

/* Chevron for selects */
.zt-field__chevron {
    position: absolute;
    right: 12px;
    width: 16px;
    height: 16px;
    color: #555;
    pointer-events: none;
}

.zt-field__select,
.zt-field__input {
    width: 100%;
    background: #111;
    border: 1px solid #2d2d2d;
    border-radius: var(--zt-radius-sm);
    color: var(--zt-white);
    font-size: 14px;
    padding: 11px 36px 11px 36px;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    transition: border-color var(--zt-transition), background var(--zt-transition);
    cursor: pointer;
    font-family: inherit;
}

.zt-field__input[type="date"] {
    padding-left: 14px;
    color-scheme: dark;
}
.zt-field__input[type="tel"] {
    padding-left: 14px;
}

.zt-field__select:focus,
.zt-field__input:focus {
    border-color: #444;
    background: #151515;
}

.zt-field__select:hover,
.zt-field__input:hover {
    border-color: #3a3a3a;
}

.zt-field__select option {
    background: #1a1a1a;
    color: var(--zt-white);
}

/* Placeholder color */
.zt-field__input::placeholder {
    color: #555;
}

/* ---------- Submit Button ---------- */
.zt-form-submit {
    width: 100%;
    background: var(--zt-yellow);
    color: #000;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.2px;
    border: none;
    border-radius: var(--zt-radius-sm);
    padding: 14px 20px;
    cursor: pointer;
    margin-top: 6px;
    margin-bottom: 10px;
    transition: background var(--zt-transition), transform var(--zt-transition), box-shadow var(--zt-transition);
    font-family: inherit;
}
.zt-form-submit:hover {
    background: var(--zt-yellow-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255,184,0,.3);
}
.zt-form-submit:active {
    transform: translateY(0);
}

.zt-form-note {
    text-align: center;
    font-size: 12px;
    color: #555;
}

/* ---------- Bottom Features Bar ---------- */
.zt-hero__features {
    position: relative;
    z-index: 2;
    background: rgba(18,18,18,0.88);
    border-top: 1px solid #242424;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.zt-hero__features-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    gap: 0;
    align-items: center;
}

.zt-feature {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 16px 4px 0;
    border-right: 1px solid #252525;
    margin-right: 16px;
}
.zt-feature:last-child {
    border-right: none;
    margin-right: 0;
}

.zt-feature__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--zt-yellow);
    color: var(--zt-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.zt-feature__icon svg {
    width: 18px;
    height: 18px;
}

.zt-feature__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.zt-feature__text strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--zt-white);
    line-height: 1.2;
}
.zt-feature__text span {
    font-size: 12px;
    color: #777;
    line-height: 1.3;
}

/* ===================================================
   RESPONSIVE
   =================================================== */

/* --- Tablet: 1024px --- */
@media (max-width: 1024px) {
    .zt-hero__title {
        font-size: 38px;
    }
    .zt-hero__inner {
        padding: 48px 24px 36px;
        gap: 28px;
    }
    .zt-hero__form {
        width: 320px;
    }
}

/* --- Tablet small: 860px --- */
@media (max-width: 860px) {
    .zt-hero {
        min-height: auto;
    }
    .zt-hero__overlay {
        background: rgba(10,10,10,0.88);
    }
    .zt-hero__inner {
        flex-direction: column;
        padding: 32px 10px 24px;
        gap: 32px;
        align-items: stretch;
    }
    .zt-hero__content {
        max-width: 100%;
    }
    .zt-hero__title {
        font-size: 34px;
    }
    .zt-hero__form {
        width: 100%;
    }
    .zt-hero__features-inner {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        padding: 14px 10px;
        align-items: flex-start;
    }
    .zt-feature {
        flex: 1 1 calc(33% - 8px);
        border-right: none;
        margin-right: 0;
        border-bottom: none;
        padding-bottom: 0;
    }
    .zt-feature:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* --- Mobile: 480px --- */
@media (max-width: 480px) {
    .zt-hero__title {
        font-size: 24px;
        letter-spacing: 0;
    }
    .zt-hero__sub {
        font-size: 14px;
        line-height: 1.3;
    }
    .zt-hero__km { font-size: 15px; }
    .zt-hero__inner {
        padding: 24px 10px 20px;
    }
    /* Badges: 2x2 grid on mobile */
    .zt-hero__badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 16px;
    }
    .zt-badge {
        background: rgba(255,255,255,.04);
        border-radius: 8px;
        padding: 8px;
    }
    .zt-badge__icon {
        width: 28px;
        height: 28px;
    }
    .zt-badge__icon img { width: 24px; height: 24px; }
    .zt-badge__text { font-size: 12px; }
    /* CTA: all in one row */
    .zt-hero__cta {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 6px;
    }
    .zt-cta-btn {
        flex: 1;
        padding: 11px 8px;
        font-size: 12px;
        gap: 5px;
        justify-content: center;
    }
    .zt-cta-btn__icon { width: 16px; height: 16px; }
    /* Phone: icon only */
    .zt-cta-btn--phone-only .zt-phone-label { display: none !important; }
    .zt-cta-btn--phone-only { flex: 0 0 44px; padding: 11px 10px; }
    .zt-form-card__header {
        font-size: 11px;
        padding: 14px 14px 12px;
    }
    .zt-form-card__body {
        padding: 14px 14px;
    }
    .zt-hero__features-inner {
        padding: 12px 10px;
    }
}
