/* ============================================================================
   MiniCab Lane — soft hero (every page that includes layouts.user.heroSection)
   ----------------------------------------------------------------------------
   Photo with a warm-black gradient, headline left, booking card right: a
   rounded white card with a One-way / Hourly pill switch, icon inputs and a
   rating line. Loaded by the hero partial; scoped to .heroSection--soft so a
   page can still opt out with 'softHero' => false.

   .heroSection--overlap (homepage) adds the deep bottom padding that the
   white services panel overlaps into.
   ========================================================================= */

.heroSection--soft {
    --hx-ink: #141210;
    --hx-ink-2: #2b2620;
    --hx-body: #57504a;
    --hx-muted: #8a8178;
    --hx-line: #eee7dc;
    --hx-line-2: #ded5c7;
    --hx-bg: #ffffff;
    --hx-bg-2: #faf6ef;
    --hx-wash: #fff5dc;
    --hx-wash-2: #ffeabb;
    --hx-accent: #f57c00;
    --hx-accent-hover: #e46f00;
    --hx-accent-ink: #9a4a00;
    --hx-gold: #ffc219;
    --hx-gold-2: #f5b94c;
    --hx-gold-ink: #8a5a00;
    --hx-maroon: #710018;
    --hx-r-sm: 10px;
    --hx-r: 14px;
    --hx-r-lg: 20px;
    --hx-shadow-sm: 0 1px 2px rgba(28, 20, 8, .05), 0 2px 8px rgba(28, 20, 8, .05);
    --hx-shadow: 0 1px 3px rgba(28, 20, 8, .05), 0 10px 30px -6px rgba(28, 20, 8, .10);
    --hx-shadow-lg: 0 2px 6px rgba(28, 20, 8, .06), 0 28px 60px -14px rgba(28, 20, 8, .24);
    --hx-ease: cubic-bezier(.22, .61, .36, 1);
    --hx-wrap: 1180px;
}

/* -------------------------------------------------------------- buttons */

.heroSection--soft .hx-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 24px !important;
    border-radius: var(--hx-r-sm) !important;
    font-size: .95rem !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: none !important;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .2s var(--hx-ease), border-color .2s var(--hx-ease),
        color .2s var(--hx-ease), transform .2s var(--hx-ease), box-shadow .2s var(--hx-ease);
}

.heroSection--soft .hx-btn:hover { transform: translateY(-1px); }
.heroSection--soft .hx-btn:focus-visible { outline: 3px solid rgba(245, 124, 0, .35); outline-offset: 2px; }

.heroSection--soft .hx-btn--accent {
    background: var(--hx-accent) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px -6px rgba(245, 124, 0, .55);
}
.heroSection--soft .hx-btn--accent:hover { background: var(--hx-accent-hover) !important; }

.heroSection--soft .hx-btn--glass {
    background: rgba(255, 255, 255, .14) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, .35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.heroSection--soft .hx-btn--glass:hover { background: rgba(255, 255, 255, .24) !important; }

/* ================================================================= HERO */

.heroSection--soft {
    clip-path: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: hidden;
}

.heroSection--soft .heroOverlay {
    background:
        linear-gradient(90deg, rgba(8, 7, 6, .78) 0%, rgba(8, 7, 6, .52) 48%, rgba(8, 7, 6, .18) 100%),
        linear-gradient(180deg, rgba(8, 7, 6, 0) 60%, rgba(8, 7, 6, .35) 100%) !important;
}

.heroSection--soft .heroContentContainer {
    max-width: var(--hx-wrap);
    margin: 0 auto;
    /* Top padding clears the fixed header, which overlays the hero. */
    padding: clamp(140px, 12vw, 176px) 24px clamp(64px, 7vw, 96px) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 48px;
    text-align: left !important;
    height: auto !important;
}

.heroSection--soft .heroLeftText {
    width: auto !important;
    flex: 1 1 0;
    max-width: 620px;
}

.heroSection--soft .hero-text,
.heroSection--soft .hero-text-overlay {
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: block !important;
}

.heroSection--soft .heroLeftText,
.heroSection--soft .heroLeftText * {
    text-shadow: 0 1px 18px rgba(0, 0, 0, .25) !important;
}

.heroSection--soft .hero-text h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem) !important;
    line-height: 1.06 !important;
    letter-spacing: -.03em !important;
    color: #fff !important;
    margin: 0 0 22px !important;
    text-align: left !important;
}

.heroSection--soft .hero-text p {
    font-size: 1.06rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, .88) !important;
    max-width: 540px;
    margin: 0 !important;
    text-align: left !important;
}

/* The lead-in <strong> reads as an eyebrow line above the paragraph. */
.heroSection--soft .hero-text p strong {
    display: inline-block;
    font-size: 1.12rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.heroSection--soft .hx-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

/* ---- booking card ---- */

.heroSection--soft .heroRightForm {
    width: auto !important;
    flex: 0 0 420px;
}

.heroSection--soft .rightHero {
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 0 0 auto !important;
    padding: 28px 28px 22px !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: var(--hx-r-lg) !important;
    box-shadow: var(--hx-shadow-lg) !important;
    backdrop-filter: none !important;
}

.heroSection--soft .rightHero .cornerLine { display: none !important; }

.heroSection--soft .formBox { gap: 14px !important; }

.heroSection--soft .rightHero h2 {
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
    letter-spacing: -.015em !important;
    color: var(--hx-ink) !important;
    margin: 0 0 4px !important;
}

/* One-way / Hourly pill switch */
.heroSection--soft .hx-seg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    background: #f4efe6;
    border-radius: 999px;
}

.heroSection--soft .hx-seg button {
    min-height: 40px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--hx-body) !important;
    font-size: .92rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background-color .2s var(--hx-ease), color .2s var(--hx-ease), box-shadow .2s var(--hx-ease);
}

.heroSection--soft .hx-seg button.is-active {
    background: #fff !important;
    color: var(--hx-ink) !important;
    box-shadow: 0 1px 2px rgba(28, 20, 8, .08), 0 2px 8px rgba(28, 20, 8, .08) !important;
}

/* Fields: caption above, rounded input with an icon. The partial's markup has
   the <label> after the input (for its floating-label CSS); column-reverse
   puts it on top without touching the markup. */
.heroSection--soft .rightHero .formGroup {
    display: flex !important;
    flex-direction: column-reverse;
    gap: 6px;
}

.heroSection--soft .rightHero .formGroup[style*="display:none"],
.heroSection--soft .rightHero .formGroup[style*="display: none"] {
    display: none !important;
}

.heroSection--soft .rightHero .formGroup > label,
.heroSection--soft .rightHero .formGroup input + label,
.heroSection--soft .rightHero .formGroup select + label {
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    padding: 0 !important;
    background: none !important;
    font-size: .8rem !important;
    font-weight: 600 !important;
    letter-spacing: .01em !important;
    color: var(--hx-ink-2) !important;
}

.heroSection--soft .rightHero .formGroup input,
.heroSection--soft .rightHero .formGroup select {
    height: 50px !important;
    padding: 0 14px 0 44px !important;
    border: 1px solid var(--hx-line-2) !important;
    border-radius: var(--hx-r-sm) !important;
    background-color: #fff !important;
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    background-size: 18px 18px !important;
    font-size: .95rem !important;
    color: var(--hx-ink) !important;
    box-shadow: none !important;
    transition: border-color .18s var(--hx-ease), box-shadow .18s var(--hx-ease);
}

.heroSection--soft .rightHero .formGroup input::placeholder { color: #a69d92; }

.heroSection--soft .rightHero .formGroup input:hover,
.heroSection--soft .rightHero .formGroup select:hover {
    border-color: #cbc1b2 !important;
}

.heroSection--soft .rightHero .formGroup input:focus,
.heroSection--soft .rightHero .formGroup select:focus {
    border-color: var(--hx-accent) !important;
    box-shadow: 0 0 0 4px rgba(245, 124, 0, .14) !important;
    outline: none !important;
}

.heroSection--soft #pickup {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23968c80' stroke-width='2.2'%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3C/svg%3E") !important;
}
.heroSection--soft #dropoff {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23968c80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") !important;
}
.heroSection--soft #datetime {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23968c80' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") !important;
}
.heroSection--soft #duration-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23968c80' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") !important;
}

/* Address suggestions drop down as a floating card. */
.heroSection--soft .suggestions {
    top: calc(100% + 6px);
    left: 0;
    border-radius: var(--hx-r-sm);
    box-shadow: var(--hx-shadow-lg);
    max-height: 240px;
}
.heroSection--soft .suggestions:empty { display: none; }
.heroSection--soft .suggestion-item {
    padding: 11px 14px;
    font-size: .9rem;
    color: var(--hx-ink-2);
    border-bottom: 1px solid #f4efe6;
}
.heroSection--soft .suggestion-item:hover { background: var(--hx-wash); }

.heroSection--soft .rightHero .btn-primary {
    min-height: 52px !important;
    margin: 6px 0 0 !important;
    border-radius: var(--hx-r-sm) !important;
    background: var(--hx-accent) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: 0 8px 20px -8px rgba(245, 124, 0, .6) !important;
}
.heroSection--soft .rightHero .btn-primary:hover { background: var(--hx-accent-hover) !important; }

.heroSection--soft .hx-form-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 6px;
    font-size: .85rem !important;
    line-height: 1.45 !important;
    color: var(--hx-muted) !important;
}
.heroSection--soft .hx-form-proof span { font-size: inherit !important; color: inherit !important; }
.heroSection--soft .hx-form-proof__icon {
    flex: 0 0 38px;
    height: 38px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--hx-wash);
    color: var(--hx-accent) !important;
}

/* Visually hidden but still submitted and readable by screen readers. */
.heroSection--soft .hx-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
}

.heroSection--soft.heroSection--overlap .heroContentContainer {
    padding-bottom: clamp(150px, 14vw, 190px) !important;
}

/* Brand accents: gold eyebrow, gold star, gold edge on the glass button. */
.heroSection--soft .hero-text p strong { color: var(--hx-gold); }
.heroSection--soft .hx-btn--glass:hover { border-color: rgba(255, 194, 25, .6); }
.heroSection--soft .hx-form-proof__icon { color: #e0a100 !important; }

/* Pages that pass heroBadges: glass chips instead of the old yellow blocks. */
.heroSection--soft .hero-badges { margin-top: 24px !important; gap: 10px !important; }
.heroSection--soft .hero-badge {
    background: rgba(255, 255, 255, .1) !important;
    border: 1px solid rgba(255, 194, 25, .35) !important;
    border-radius: var(--hx-r-sm) !important;
    color: #fff !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.heroSection--soft .hero-badge .hero-badge-top { color: var(--hx-gold) !important; }
.heroSection--soft .hero-badge .hero-badge-bottom { color: rgba(255, 255, 255, .85) !important; }

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

@media (max-width: 960px) {
    .heroSection--soft .heroContentContainer {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 32px;
        padding: 48px 20px 56px !important;
    }
    .heroSection--soft .heroLeftText { max-width: none; }
    .heroSection--soft .heroRightForm { flex: none; }
    .heroSection--soft .rightHero { margin: 0 auto !important; }
}

@media (max-width: 768px) {
    /* Phone: photo behind the top of the hero, form card overlapping white. */
    .heroSection--soft { background: #fff; }
    .heroSection--soft .heroBg,
    .heroSection--soft .heroOverlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 300px !important;
        width: auto !important;
        height: auto !important;
    }
    .heroSection--soft .heroOverlay {
        background: linear-gradient(180deg, rgba(8, 7, 6, .55) 0%, rgba(8, 7, 6, .78) 100%) !important;
    }
    /* 136px clears the fixed promo bar + header on phones. */
    .heroSection--soft .heroContentContainer { padding: 136px 16px 8px !important; gap: 28px; }
    .heroSection--soft .hero-text h1 { font-size: 2.05rem !important; margin-bottom: 14px !important; }
    .heroSection--soft .hero-text p { font-size: .98rem !important; }
    .heroSection--soft .hx-hero-cta { margin-top: 22px; }
    .heroSection--soft .hx-hero-cta .hx-btn { flex: 1 1 0; padding: 0 14px !important; }
    .heroSection--soft .rightHero { padding: 22px 18px 18px !important; max-width: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .heroSection--soft *,
    .heroSection--soft *::before,
    .heroSection--soft *::after { transition: none !important; }
}
