/* ============================================
   BLACK BOX VIP — Stylesheet
   ============================================ */

/* --- Custom Properties --- */
:root {
    --bg: #0a0a0a;
    --bg-header: #000000;
    --text: #c0c0c0;
    --text-dim: rgba(192, 192, 192, 0.55);
    --text-ghost: rgba(192, 192, 192, 0.18);
    --text-dark: #111111;
    --accent: #909090;
    --accent-bright: #c8c8c8;
    --accent-dim: rgba(144, 144, 144, 0.3);
    --accent-glow: rgba(144, 144, 144, 0.08);
    --font-heading: 'Bodoni Moda', 'Didot', 'Georgia', serif;
    --font-body: 'Outfit', 'Helvetica Neue', sans-serif;
    --header-h: 80px;
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(22, 18, 12, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 60% 70% at 80% 75%, rgba(18, 15, 10, 0.5) 0%, transparent 55%),
        radial-gradient(ellipse 100% 80% at 50% 50%, rgba(14, 12, 9, 0.7) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 65% 30%, rgba(28, 22, 14, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 35% 80%, rgba(20, 16, 11, 0.4) 0%, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
    line-height: 1.8;
}

/* --- Ethereal Shadow Background Layer --- */
.ethereal-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ethereal-bg__inner {
    position: absolute;
    inset: -100px;
}

.ethereal-bg__surface {
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 1);
    mask-image: url('https://framerusercontent.com/images/ceBGguIpUU8luwByxuQz79t7To.png');
    -webkit-mask-image: url('https://framerusercontent.com/images/ceBGguIpUU8luwByxuQz79t7To.png');
    mask-size: cover;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
}

/* Noise overlay for ethereal effect — uses same texture as original component */
.ethereal-bg__noise {
    position: absolute;
    inset: 0;
    background-image: url("https://framerusercontent.com/images/g0QcWrxr87K0ufOxIUFBakwYA8.png");
    background-size: 240px;
    background-repeat: repeat;
    opacity: 0.5;
}

/* Vignette */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(
        ellipse 110% 90% at 50% 45%,
        transparent 25%,
        rgba(0, 0, 0, 0.65) 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* --- Cursor Glow --- */
.cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 180, 160, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
    opacity: 0;
    will-change: transform;
}

/* Content above overlays */
header, main, footer {
    position: relative;
    z-index: 1;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 clamp(1.5rem, 4vw, 3.5rem);
    z-index: 100;
    background: var(--bg-header);
    border-bottom: 1px solid rgba(192, 192, 192, 0.08);
}

.header-cta {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    border: 1px solid rgba(192, 192, 192, 0.25);
    padding: 0.85em 2.2em;
    transition: all 0.4s var(--ease-smooth);
}

.header-cta:hover {
    background: rgba(192, 192, 192, 0.1);
    color: #ffffff;
    border-color: rgba(192, 192, 192, 0.5);
}

/* ============================================
   SHOWCASE — Above the fold, single viewport
   ============================================ */
.showcase {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--header-h);
    padding-left: clamp(1.5rem, 5vw, 3rem);
    padding-right: clamp(1.5rem, 5vw, 3rem);
    padding-bottom: clamp(2rem, 5vh, 4rem);
    gap: 0;
    position: relative;
}

/* Hero area — logo centers vertically in the space above service cards */
.showcase__hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- Logo Frame (SVG border-draw) --- */
.logo-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(1.8rem, 4vh, 3rem) clamp(3rem, 8vw, 6rem);
    position: relative;
}

.logo-frame__border {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.logo-frame__border rect {
    stroke: rgba(200, 200, 205, 0.35);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: borderDraw 2s var(--ease-smooth) 0.1s forwards;
}

@keyframes borderDraw {
    to { stroke-dashoffset: 0; }
}

.logo-frame__the,
.logo-frame__name,
.logo-frame__vip {
    opacity: 0;
    animation: logoTextFadeIn 0.8s var(--ease-smooth) forwards;
}

.logo-frame__the { animation-delay: 0.8s; }
.logo-frame__name { animation-delay: 1s; }
.logo-frame__vip { animation-delay: 1.2s; }

@keyframes logoTextFadeIn {
    0% { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}

.logo-frame__the {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(0.6rem, 1.2vw, 0.8rem);
    letter-spacing: 0.55em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-shadow:
        0 -1px 0 rgba(255, 255, 255, 0.28),
        0 1px 3px rgba(0, 0, 0, 0.95),
        0 2px 6px rgba(0, 0, 0, 0.7);
    margin-bottom: 0.3em;
}

.logo-frame__name {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #181818;
    line-height: 1.1;
    text-shadow:
        0 -1px 0 rgba(255, 255, 255, 0.35),
        -1px -1px 0 rgba(255, 255, 255, 0.12),
        0 1px 3px rgba(0, 0, 0, 1),
        0 3px 8px rgba(0, 0, 0, 0.85);
}

.logo-frame__vip {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(0.65rem, 1.3vw, 0.85rem);
    letter-spacing: 0.6em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-shadow:
        0 -1px 0 rgba(255, 255, 255, 0.28),
        0 1px 3px rgba(0, 0, 0, 0.95),
        0 2px 6px rgba(0, 0, 0, 0.7);
    margin-top: 0.4em;
}

/* --- Showcase Divider --- */
.showcase__divider {
    border: none;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
    margin: clamp(1.2rem, 2.5vh, 2rem) 0;
    opacity: 0;
    animation: dividerGrow 0.8s var(--ease-smooth) 0.5s forwards;
}

@keyframes dividerGrow {
    0% { opacity: 0; width: 0; }
    100% { opacity: 1; width: 60px; }
}

/* --- Service Cards --- */
.service-cards {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 480px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 1.6rem);
    padding: clamp(0.9rem, 2vh, 1.3rem) 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(144, 144, 144, 0.12);
    transition: all 0.4s var(--ease-smooth);
    opacity: 0;
    transform: translateY(12px);
    animation: cardSlideIn 0.7s var(--ease-smooth) forwards;
}

.service-card:first-child {
    border-top: 1px solid rgba(144, 144, 144, 0.12);
}

.service-card:nth-child(1) { animation-delay: 0.6s; }
.service-card:nth-child(2) { animation-delay: 0.72s; }
.service-card:nth-child(3) { animation-delay: 0.84s; }
.service-card:nth-child(4) { animation-delay: 0.96s; }

@keyframes cardSlideIn {
    to { opacity: 1; transform: translateY(0); }
}

.service-card:hover {
    background: linear-gradient(90deg, rgba(192, 180, 160, 0.04) 0%, rgba(192, 180, 160, 0.02) 50%, transparent 100%);
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    box-shadow: -4px 0 20px rgba(192, 180, 160, 0.04);
}

.service-card:hover .service-card__icon {
    color: var(--accent-bright);
    filter: drop-shadow(0 0 6px rgba(192, 180, 160, 0.25));
}

.service-card:hover .service-card__title {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(192, 180, 160, 0.15);
}

/* Card Icon */
.service-card__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    color: var(--accent);
    transition: color 0.4s var(--ease-smooth);
}


.service-card__icon svg {
    width: 100%;
    height: 100%;
}

/* Card Text */
.service-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
}

.service-card__title {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(0.68rem, 1.2vw, 0.78rem);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-bright);
    transition: color 0.4s var(--ease-smooth);
}

.service-card__desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(0.62rem, 1vw, 0.72rem);
    letter-spacing: 0.04em;
    color: var(--text-dim);
    line-height: 1.5;
}

/* --- Showcase Scroll Hint (bottom of viewport) --- */
.showcase__scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: clamp(1.2rem, 3vh, 2.5rem);
    opacity: 0;
    animation: showcaseFadeIn 1s var(--ease-smooth) 1.3s forwards;
}

.showcase__scroll-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text);
    opacity: 0.75;
}

.showcase__scroll-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.4;
    animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.7; transform: translateY(4px); }
}

/* Shared fade-in keyframe */
@keyframes showcaseFadeIn {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Card icon transition */
.service-card__icon {
    transition: color 0.4s var(--ease-smooth), filter 0.4s var(--ease-smooth);
}

/* ============================================
   SCROLL ZONE — Single reveal section
   ============================================ */
.scroll-zone {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.scroll-zone__indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3vh;
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 1s ease;
}

.scroll-zone.entered .scroll-zone__indicator {
    opacity: 1;
}

.scroll-zone__label {
    display: none;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-dim);
    opacity: 0.6;
}

.scroll-zone__line-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 8vh;
    margin-top: 1rem;
    position: relative;
}

.scroll-zone__line {
    width: 1px;
    height: 0;
    background: linear-gradient(to bottom, var(--accent), var(--accent-dim));
    transition: height 0.05s linear;
}

.scroll-zone__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 6px;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
}

.scroll-zone__dot.visible {
    opacity: 1;
    transform: scale(1);
}

/* Revealed text content */
.scroll-zone__content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s var(--ease-smooth), transform 1.2s var(--ease-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3vh clamp(1.5rem, 5vw, 4rem);
    margin-top: 1vh;
    position: relative;
    z-index: 2;
    background: none;
}

.scroll-zone__content.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-zone__text {
    max-width: 700px;
    text-align: center;
}

.scroll-zone__text p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    line-height: 2.2;
    color: var(--text);
    margin-bottom: 1.5em;
}

.scroll-zone__text p:last-child {
    margin-bottom: 0;
}

.text-emphasis {
    font-family: var(--font-heading) !important;
    font-style: italic;
    font-weight: 400 !important;
    font-size: clamp(1.2rem, 2.6vw, 1.7rem) !important;
    letter-spacing: 0.06em;
    color: var(--accent-bright) !important;
    margin-top: 0.5em;
}

/* ============================================
   CTA BUTTON (Shimmer)
   ============================================ */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text);
    border: none;
    background: transparent;
    padding: 1.3em 3.8em;
    position: relative;
    z-index: 0;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s var(--ease-smooth);
}

.cta-button:active {
    transform: translateY(1px);
}

/* Rotating shimmer border */
.cta-button::before {
    content: '';
    position: absolute;
    inset: -100%;
    z-index: -2;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        var(--accent-bright) 25deg,
        transparent 50deg,
        transparent 180deg,
        var(--accent) 205deg,
        transparent 230deg,
        transparent 360deg
    );
    animation: shimmer-spin 4s linear infinite;
}

/* Interior backdrop — clips shimmer to 1px border */
.cta-button::after {
    content: '';
    position: absolute;
    inset: 1px;
    z-index: -1;
    background: var(--bg);
    box-shadow: inset 0 -8px 10px rgba(255, 255, 255, 0.04);
    transition: box-shadow 0.3s var(--ease-smooth);
}

.cta-button:hover::after {
    box-shadow: inset 0 -6px 10px rgba(255, 255, 255, 0.1);
}

@keyframes shimmer-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   ACCESS FORM PAGE
   ============================================ */
.access-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 1.5rem) clamp(1.5rem, 5vw, 3rem) 4rem;
}

.access-form {
    width: 100%;
    max-width: 480px;
    opacity: 0;
    transform: translateY(24px);
    animation: formFadeIn 1.2s var(--ease-smooth) 0.3s forwards;
}

@keyframes formFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.access-form__heading {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-bright);
    margin-bottom: 0.6em;
    text-align: center;
}

.access-form__sub {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Back link */
.access-form__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 2.5rem;
    transition: color 0.3s var(--ease-smooth);
}

.access-form__back:hover {
    color: #ffffff;
}

.access-form__back svg {
    width: 14px;
    height: 14px;
}

.form-field {
    margin-bottom: 2rem;
    position: relative;
}

.form-label {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6em;
}

/* --- Stop label row (label + button inline) --- */
.stop-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- Add Stop "+" button --- */
.add-stop-btn {
    background: none;
    border: 1px solid rgba(192, 192, 192, 0.18);
    color: rgba(192, 192, 192, 0.45);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.add-stop-btn:hover {
    border-color: rgba(192, 192, 192, 0.55);
    color: rgba(192, 192, 192, 0.85);
    transform: scale(1.1);
}

/* --- Stop Remove "×" button --- */
.stop-remove-btn {
    background: none;
    border: none;
    color: rgba(192, 192, 192, 0.28);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: color 0.2s ease;
    letter-spacing: 0;
    text-transform: none;
}
.stop-remove-btn:hover {
    color: rgba(192, 192, 192, 0.75);
}

/* --- Stop field (animated slide-in) --- */
.stop-field {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease;
}
.stop-field.visible {
    max-height: 160px;
    opacity: 1;
    transform: translateY(0);
}

.form-input,
.form-textarea {
    display: block;
    width: 100%;
    background: #0e0e0e;
    border: none;
    padding: 0.65em 0.9em;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    border-radius: 6px;
    transition: color 0.3s var(--ease-smooth);
    position: relative;
    z-index: 1;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(192, 192, 192, 0.22);
    font-style: italic;
}

.form-textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.7;
}

.form-submit {
    margin-top: 3rem;
    text-align: center;
}

.form-submit .cta-button {
    width: 100%;
    text-align: center;
    cursor: pointer;
    background: transparent;
    font-family: var(--font-body);
}

.form-note {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.72rem;
    color: var(--text-dim);
    opacity: 0.6;
    text-align: center;
    margin-top: 1.5rem;
    letter-spacing: 0.03em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    border-top: 1px solid rgba(192, 192, 192, 0.08);
    padding: 3.5rem clamp(1.5rem, 4vw, 3.5rem);
    margin-top: 0;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
}

.footer__links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.footer__links a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.4s var(--ease-smooth);
}

.footer__links a:hover {
    color: #ffffff;
}

.footer__divider {
    color: rgba(192, 192, 192, 0.15);
    font-size: 0.9rem;
}

.footer__copyright {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    opacity: 0.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --header-h: 65px;
    }

    .header-cta {
        font-size: 0.58rem;
        padding: 0.7em 1.4em;
        letter-spacing: 0.18em;
    }

    .service-cards {
        max-width: 100%;
    }

    .cta-button {
        padding: 1.1em 2.5em;
        font-size: 0.72rem;
    }

    .scroll-zone {
        min-height: 50vh;
    }

    .scroll-zone__line-track {
        height: 6vh;
    }

    .scroll-zone__text p {
        font-size: 0.95rem;
        line-height: 1.9;
    }

    .footer__links {
        flex-direction: column;
        gap: 0.8rem;
    }

    .footer__divider {
        display: none;
    }
}

/* Short viewports — tighten spacing to fit showcase */
@media (max-height: 700px) {
    .logo-frame {
        padding: 1rem 2rem;
    }

    .logo-frame__name {
        font-size: clamp(1.4rem, 4vw, 2.2rem);
    }

    .showcase__divider {
        margin: 0.8rem 0;
    }

    .service-card {
        padding: 0.7rem 0;
    }

    .showcase__scroll-hint {
        bottom: 0.8rem;
    }
}

/* Desktop — wider card container */
@media (min-width: 769px) {
    .service-cards {
        max-width: 540px;
    }

    .service-card__icon {
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   FORM SYSTEM — 2-Step Premium Forms
   ============================================ */

/* Progress indicator */
.form-progress {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 2.5rem;
}

.form-progress__step {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-dim);
    opacity: 0.5;
    transition: all 0.4s var(--ease-smooth);
}

.form-progress__step.active {
    color: var(--accent-bright);
    opacity: 1;
}

.form-progress__line {
    flex: 1;
    height: 1px;
    background: rgba(144, 144, 144, 0.15);
    position: relative;
    overflow: hidden;
}

.form-progress__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-dim), var(--accent));
    transition: width 0.7s var(--ease-smooth);
}

.form-progress__fill.half { width: 50%; }
.form-progress__fill.full { width: 100%; }

/* Step containers */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: stepReveal 0.5s var(--ease-smooth) forwards;
}

@keyframes stepReveal {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Input glow wrapper — border-edge glow only (original component approach) */
.input-glow-wrap {
    position: relative;
    border-radius: 8px;
    padding: 2px;
    background: rgba(144, 144, 144, 0.12);   /* subtle default border tint */
    --glow-x: 50%;
    --glow-y: 50%;
    --glow-opacity: 0;
}

/* Glow layer sits behind input; input's solid bg covers it except the 2px edge */
.input-glow-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: radial-gradient(100px circle at var(--glow-x) var(--glow-y), rgba(200, 185, 155, 0.9), transparent 80%);
    pointer-events: none;
    z-index: 0;
    opacity: var(--glow-opacity, 0);
    transition: opacity 0.5s ease;
}

.input-glow-wrap .form-input,
.input-glow-wrap .form-textarea,
.input-glow-wrap .form-select {
    position: relative;
    z-index: 1;
    border-radius: 6px;   /* slightly inset from the 8px wrapper = visible gap */
    margin: 0;
}

/* Flatpickr — dark skin override */
.flatpickr-calendar {
    background: #111111 !important;
    border: 1px solid rgba(144, 144, 144, 0.2) !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.7) !important;
    border-radius: 2px !important;
    font-family: var(--font-body) !important;
}

.flatpickr-calendar::before,
.flatpickr-calendar::after {
    display: none !important;
}

.flatpickr-months {
    padding: 0.6rem 0 !important;
    border-bottom: 1px solid rgba(144, 144, 144, 0.1) !important;
}

.flatpickr-month {
    color: var(--accent-bright) !important;
    fill: var(--accent-bright) !important;
}

.flatpickr-current-month {
    font-family: var(--font-body) !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: var(--accent-bright) !important;
}

.flatpickr-current-month select {
    color: var(--accent-bright) !important;
    background: transparent !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    color: var(--accent) !important;
    fill: var(--accent) !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    color: var(--accent-bright) !important;
    fill: var(--accent-bright) !important;
}

.flatpickr-weekday {
    color: var(--text-dim) !important;
    font-family: var(--font-body) !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.15em !important;
}

.flatpickr-day {
    color: var(--text) !important;
    font-family: var(--font-body) !important;
    font-size: 0.8rem !important;
    border-radius: 2px !important;
    border: 1px solid transparent !important;
}

.flatpickr-day:hover {
    background: rgba(144, 144, 144, 0.12) !important;
    border-color: rgba(144, 144, 144, 0.2) !important;
    color: var(--accent-bright) !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: rgba(192, 180, 155, 0.15) !important;
    border-color: var(--accent) !important;
    color: var(--accent-bright) !important;
}

.flatpickr-day.today {
    border-color: rgba(144, 144, 144, 0.3) !important;
}

.flatpickr-day.flatpickr-disabled {
    color: rgba(144, 144, 144, 0.2) !important;
}

.flatpickr-time {
    border-top: 1px solid rgba(144, 144, 144, 0.1) !important;
    background: #111 !important;
}

.flatpickr-time input {
    color: var(--accent-bright) !important;
    background: transparent !important;
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
}

.flatpickr-time .flatpickr-am-pm {
    color: var(--accent) !important;
    font-family: var(--font-body) !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.1em !important;
}

.flatpickr-time .flatpickr-time-separator {
    color: var(--accent-dim) !important;
}

/* Custom flatpickr trigger input */
.datetime-input {
    cursor: pointer !important;
}

/* Address autocomplete dropdown */
.address-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #111111;
    border: 1px solid rgba(144, 144, 144, 0.2);
    z-index: 200;
    max-height: 220px;
    overflow-y: auto;
    border-radius: 2px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.address-dropdown__item {
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--text);
    cursor: pointer;
    border-bottom: 1px solid rgba(144, 144, 144, 0.06);
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1.4;
}

.address-dropdown__item:last-child {
    border-bottom: none;
}

.address-dropdown__item:hover,
.address-dropdown__item.highlighted {
    background: rgba(192, 180, 155, 0.08);
    color: var(--accent-bright);
}

.address-dropdown__item-main {
    display: block;
    font-weight: 400;
}

.address-dropdown__item-sub {
    display: block;
    font-size: 0.72rem;
    color: var(--text-dim);
    margin-top: 0.15em;
}

/* Airport/flight slide-in field */
.flight-field {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s var(--ease-smooth), opacity 0.4s var(--ease-smooth);
}

.flight-field.visible {
    max-height: 120px;
    opacity: 1;
}

/* Custom select — passengers */
.form-select {
    display: block;
    width: 100%;
    background: #0e0e0e;
    border: none;
    padding: 0.65em 0.9em;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(144,144,144,0.5)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    border-radius: 6px;
    outline: none;
    transition: color 0.3s var(--ease-smooth);
    cursor: pointer;
}

.form-select:focus {
    outline: none;
}

.form-select option {
    background: #111;
    color: var(--text);
}

/* Toggle switch — High Value Item */
.checkbox-field {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    user-select: none;
}

.toggle-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-track {
    position: relative;
    flex-shrink: 0;
    width: 36px;
    height: 20px;
    background: rgba(144, 144, 144, 0.1);
    border: 1px solid rgba(144, 144, 144, 0.3);
    border-radius: 10px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: rgba(144, 144, 144, 0.4);
    border-radius: 50%;
    transition: transform 0.3s var(--ease-smooth), background 0.3s ease;
}

.toggle-label input:checked + .toggle-track {
    background: rgba(192, 180, 155, 0.18);
    border-color: var(--accent);
}

.toggle-label input:checked + .toggle-track .toggle-thumb {
    transform: translateX(16px);
    background: var(--accent-bright);
}

.checkbox-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}

.checkbox-note {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    padding-left: 1.6rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s var(--ease-smooth), opacity 0.35s var(--ease-smooth);
}

.checkbox-note.visible {
    max-height: 60px;
    opacity: 1;
}

/* Step 2 — Review summary */
.review-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.review-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-bright);
    margin-bottom: 0.4em;
}

.review-subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

.review-summary {
    border-top: 1px solid rgba(144, 144, 144, 0.1);
    margin-bottom: 2rem;
}

.review-row {
    display: flex;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(144, 144, 144, 0.08);
}

.review-row__label {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-dim);
    width: 110px;
    flex-shrink: 0;
    padding-top: 0.1em;
}

.review-row__value {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.6;
    flex: 1;
}

/* Price breakdown card */
.price-card {
    border: 1px solid rgba(144, 144, 144, 0.15);
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: rgba(192, 180, 155, 0.03);
    position: relative;
    overflow: hidden;
}

.price-card__loading {
    text-align: center;
    padding: 1rem 0;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.price-card__loading::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 1px solid var(--accent-dim);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 0.8rem;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.price-lines {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.price-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--text-dim);
}

.price-line span:last-child {
    color: var(--text);
    font-weight: 400;
}

.price-total-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 1rem;
    border-top: 1px solid rgba(144, 144, 144, 0.15);
}

.price-total-line__label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
}

.price-total-line__value {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 400;
    color: var(--accent-bright);
    letter-spacing: 0.05em;
}

.price-note {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--text-dim);
    opacity: 0.5;
    margin-top: 0.8rem;
    letter-spacing: 0.03em;
}

/* Review action buttons */
.review-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-edit {
    flex: 1;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-dim);
    background: transparent;
    border: 1px solid rgba(144, 144, 144, 0.2);
    padding: 1.1em 1.5em;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.btn-edit:hover {
    border-color: rgba(144, 144, 144, 0.4);
    color: var(--text);
}

.btn-confirm {
    flex: 2;
}

/* Success state */
.form-success-state {
    display: none;
    text-align: center;
    padding: 3rem 0;
    animation: stepReveal 0.6s var(--ease-smooth) forwards;
}

.form-success-state.visible {
    display: block;
}

.form-success-state__icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    margin: 0 auto 1.5rem;
}

.form-success-state__heading {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--accent-bright);
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.form-success-state__text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.9;
    letter-spacing: 0.04em;
    max-width: 340px;
    margin: 0 auto 2rem;
}

.form-success-state__download {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-dim);
    margin-top: 0.5rem;
}

/* Form field address wrapper — for dropdown positioning */
.address-field-wrap {
    position: relative;
}

/* ============================================
   UTILITIES
   ============================================ */
::selection {
    background: var(--accent-dim);
    color: var(--text);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-dim);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ============================================
   BB AGENT — Inline Expandable Voice Widget
   ============================================ */

/* Container */
.bb-agent {
    margin: 2rem 0 1.5rem;
    border: 1px solid rgba(192, 192, 192, 0.12);
    border-radius: 6px;
    background: rgba(10, 10, 10, 0.5);
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.bb-agent:hover {
    border-color: rgba(192, 192, 192, 0.22);
}

/* ---- Collapsed bar ---- */
.bb-agent__bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    cursor: pointer;
    transition: opacity 0.3s ease, max-height 0.4s var(--ease-smooth), padding 0.4s var(--ease-smooth);
    max-height: 80px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.bb-agent--expanded .bb-agent__bar {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
}

/* ---- The black box with light sweep ---- */
.bb-agent__box {
    position: relative;
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(192, 192, 192, 0.5);
    flex-shrink: 0;
    overflow: hidden;
}

.bb-agent__box-light {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 30%,
        rgba(255, 255, 255, 0.04) 40%,
        rgba(255, 255, 255, 0.16) 50%,
        rgba(255, 255, 255, 0.04) 60%,
        transparent 70%,
        transparent 100%
    );
    animation: bb-light-pass 4s ease-in-out infinite;
}

@keyframes bb-light-pass {
    0%   { transform: translateX(-180%); }
    30%  { transform: translateX(180%); }
    100% { transform: translateX(180%); }
}

/* ---- Divider ---- */
.bb-agent__divider {
    width: 1px;
    height: 28px;
    background: rgba(192, 192, 192, 0.15);
    flex-shrink: 0;
}

/* ---- Animated typing text ---- */
.bb-agent__typing {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: rgba(192, 192, 192, 0.4);
    white-space: nowrap;
    overflow: hidden;
}

.bb-agent__typing::after {
    content: '\2502';
    margin-left: 1px;
    opacity: 0.5;
    animation: bb-cursor-blink 0.9s step-end infinite;
}

@keyframes bb-cursor-blink {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 0; }
}

/* ---- Expanded panel ---- */
.bb-agent__panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s var(--ease-smooth), opacity 0.4s ease 0.08s;
}

.bb-agent--expanded .bb-agent__panel {
    max-height: 420px;
    opacity: 1;
}

/* Close button */
.bb-agent__close {
    position: absolute;
    top: 0.6rem;
    right: 0.8rem;
    background: none;
    border: none;
    color: rgba(192, 192, 192, 0.35);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    line-height: 1;
    z-index: 2;
    transition: color 0.2s ease;
}

.bb-agent__close:hover {
    color: rgba(192, 192, 192, 0.7);
}

/* ---- 3D spinning cube ---- */
.bb-agent__cube-scene {
    perspective: 600px;
    perspective-origin: 50% 50%;
    margin: 1.8rem auto 0;
}

.bb-agent__cube {
    position: relative;
    transform-style: preserve-3d;
    animation: bb-cube-spin 8s linear infinite;
}

.bb-agent__face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1.5px solid rgba(192, 192, 192, 0.65);
    background: transparent;
    backface-visibility: visible;
}

@keyframes bb-cube-spin {
    0%   { transform: translateZ(-36px) rotateX(10deg)  rotateY(0deg)   rotateZ(0deg); }
    25%  { transform: translateZ(-36px) rotateX(-8deg)  rotateY(90deg)  rotateZ(4deg); }
    50%  { transform: translateZ(-36px) rotateX(14deg)  rotateY(180deg) rotateZ(-3deg); }
    75%  { transform: translateZ(-36px) rotateX(-6deg)  rotateY(270deg) rotateZ(5deg); }
    100% { transform: translateZ(-36px) rotateX(10deg)  rotateY(360deg) rotateZ(0deg); }
}

/* ---- Transcript ---- */
.bb-agent__transcript {
    min-height: 2.4em;
    margin: 1.2rem 1.5rem 0;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    line-height: 1.6;
    color: rgba(192, 192, 192, 0.6);
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bb-agent__transcript--in {
    animation: bb-transcript-in 0.4s ease forwards;
}

@keyframes bb-transcript-in {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Text input ---- */
.bb-agent__input-row {
    margin: 1rem 1.25rem 1.4rem;
}

.bb-agent__input {
    width: 100%;
    background: rgba(192, 192, 192, 0.04);
    border: 1px solid rgba(192, 192, 192, 0.12);
    border-radius: 4px;
    padding: 0.65rem 0.9rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: var(--text);
    outline: none;
    transition: border-color 0.3s ease;
}

.bb-agent__input::placeholder {
    color: rgba(192, 192, 192, 0.25);
}

.bb-agent__input:focus {
    border-color: rgba(192, 192, 192, 0.3);
}

/* ---- Screen-edge shimmer (when agent speaks) ---- */
#bb-agent-shimmer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 998;
    opacity: 0;
    transition: opacity 0.8s ease;
}

#bb-agent-shimmer.active {
    opacity: 1;
}

.bb-agent-shimmer__inner {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 5px;
    filter: blur(1.5px);
}

.bb-agent-shimmer__rotate {
    position: absolute;
    inset: -100%;
    width: auto;
    animation: bb-shimmer-spin 5s linear infinite;
    background: conic-gradient(
        from calc(270deg - 45deg),
        transparent 0deg,
        rgba(192, 192, 192, 0.0) 40deg,
        rgba(192, 192, 192, 0.9) 90deg,
        rgba(192, 192, 192, 0.0) 140deg,
        transparent 360deg
    );
}

@keyframes bb-shimmer-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ---- Mobile ---- */
@media (max-width: 480px) {
    .bb-agent__bar {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }
    .bb-agent__box {
        width: 38px;
        height: 38px;
    }
    .bb-agent__typing {
        font-size: 0.78rem;
    }
    .bb-agent__transcript {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .bb-agent__input-row {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}
