/* ============================================================
   TS FAST AUTO LOGISTICS, LLC — PREMIUM FORM SYSTEM
   File: assets/css/form-pro.css
   Purpose: Quote wizard + contact form (card, stepper, option
            cards, icon fields, live summary, result panels)
   Depends on: style.css tokens, page-content.css (.contact-lines)
   Used by: quote.html, contact.html
   ============================================================ */

/* ------------------------------------------------------------
   1. COMPACT PAGE HERO (form pages get the form above the fold)
   ------------------------------------------------------------ */
.page-hero.page-hero--compact {
    padding: var(--space-10) 0 var(--space-8);
}

.page-hero--compact h1 {
    margin-bottom: var(--space-3);
}

.page-hero--compact .page-hero-lead {
    margin-bottom: 0;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2) var(--space-5);
    margin-top: var(--space-5);
    list-style: none;
    padding: 0;
}

.hero-badges li {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-text-main);
}

.hero-badges svg {
    width: 16px;
    height: 16px;
    color: var(--color-highlight);
    flex-shrink: 0;
}

/* ------------------------------------------------------------
   2. LAYOUT: form card + side panel
   ------------------------------------------------------------ */
.fx-section {
    padding: var(--space-10) 0 var(--space-16);
}

.fx-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: var(--space-8);
    align-items: start;
}

.fx-aside {
    position: sticky;
    top: calc(var(--header-height) + var(--space-6));
    display: grid;
    gap: var(--space-5);
}

/* ------------------------------------------------------------
   3. FORM CARD
   ------------------------------------------------------------ */
.fx-card {
    position: relative;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--brand-amber);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: var(--space-8);
}

[data-theme="dark"] .fx-card {
    background-color: var(--color-surface);
    border-top-color: var(--brand-blue);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(59, 130, 246, 0.12);
}

.fx-card-head {
    margin-bottom: var(--space-6);
}

.fx-card-head h2 {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-2);
}

.fx-card-head p {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    margin: 0;
}

/* ------------------------------------------------------------
   4. STEPPER
   ------------------------------------------------------------ */
.fx-steps {
    display: none;
    /* shown only when JS enables the wizard */
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-8);
    counter-reset: fxstep;
}

.is-stepped .fx-steps {
    display: flex;
}

.fx-steps li {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    color: var(--color-text-muted);
}

/* connector line */
.fx-steps li:not(:last-child)::after {
    content: '';
    flex: 1;
    height: 2px;
    margin: 0 var(--space-3);
    background: var(--color-border);
    border-radius: 2px;
    transition: background-color var(--transition-base);
}

.fx-steps li.is-done:not(:last-child)::after {
    background: var(--brand-amber);
}

.fx-step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    font-weight: var(--fw-extrabold);
    background: var(--color-bg-alt);
    border: 2px solid var(--color-border-strong);
    color: var(--color-text-muted);
    transition: all var(--transition-base);
}

.fx-steps li.is-active {
    color: var(--color-heading);
}

.fx-steps li.is-active .fx-step-num {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: var(--brand-amber);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.35);
}

[data-theme="dark"] .fx-steps li.is-active .fx-step-num {
    background: #2563EB;
    border-color: #2563EB;
    color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
}

.fx-steps li.is-done {
    color: var(--color-heading);
    cursor: pointer;
}

.fx-steps li.is-done .fx-step-num {
    background: var(--brand-amber);
    border-color: var(--brand-amber);
    color: var(--brand-navy);
    font-size: 0;
}

.fx-steps li.is-done .fx-step-num::before {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2.5px solid var(--brand-navy);
    border-bottom: 2.5px solid var(--brand-navy);
    transform: rotate(-45deg) translate(1px, -1px);
}

/* ------------------------------------------------------------
   5. STEPS (fieldsets)
   ------------------------------------------------------------ */
.fx-step {
    border: 0;
    padding: 0;
    margin: 0 0 var(--space-8);
    min-width: 0;
}

.is-stepped .fx-step {
    display: none;
    margin-bottom: 0;
}

.is-stepped .fx-step.is-active {
    display: block;
    animation: fxFade 0.3s ease;
}

@keyframes fxFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.fx-step legend {
    font-size: var(--fs-lg);
    font-weight: var(--fw-extrabold);
    color: var(--color-heading);
    letter-spacing: var(--ls-tight);
    margin-bottom: var(--space-1);
    padding: 0;
}

.fx-step-sub {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    margin: 0 0 var(--space-5);
}

/* ------------------------------------------------------------
   6. FIELDS
   ------------------------------------------------------------ */
.fx-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4) var(--space-4);
}

.fx-grid-3 {
    grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr);
}

.fx-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.fx-field.span-2 {
    grid-column: 1 / -1;
}

.fx-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-2);
    margin: 0;
    font-size: 0.8125rem;
    font-weight: var(--fw-bold);
    color: var(--color-heading);
}

.fx-optional {
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    color: var(--color-text-muted);
}

.fx-input {
    position: relative;
}

.fx-input > svg {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    pointer-events: none;
    transition: color var(--transition-fast);
}

.fx-control {
    width: 100%;
    height: 50px;
    padding: 0 var(--space-4);
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: var(--fw-medium);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    border: 1.5px solid var(--color-border-strong);
    border-radius: 10px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
}

.fx-input > svg + .fx-control {
    padding-left: 44px;
}

textarea.fx-control {
    height: auto;
    min-height: 120px;
    padding: 14px var(--space-4);
    line-height: var(--lh-normal);
    resize: vertical;
}

/* Native widgets (date picker, select arrow) follow the theme */
[data-theme="dark"] .fx-control {
    color-scheme: dark;
}

.fx-control::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

.fx-control:hover {
    border-color: var(--color-text-muted);
}

.fx-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--focus-ring);
}

.fx-input:focus-within > svg {
    color: var(--color-primary);
}

/* Validation: only after the user interacted or tried to continue */
.fx-control:user-invalid,
.was-validated .fx-control:invalid {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 3px var(--color-danger-bg);
}

.fx-error {
    display: none;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--color-danger);
}

.fx-control:user-invalid ~ .fx-error,
.was-validated .fx-control:invalid ~ .fx-error,
.fx-input:has(.fx-control:user-invalid) + .fx-error,
.was-validated .fx-input:has(.fx-control:invalid) + .fx-error {
    display: block;
}

.fx-hint {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
}

/* ------------------------------------------------------------
   7. OPTION CARDS (radio) — transport + vehicle type + topics
   ------------------------------------------------------------ */
.fx-options {
    display: grid;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    border: 0;
}

.fx-options-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fx-options-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fx-option {
    position: relative;
    display: block;
    cursor: pointer;
    margin: 0;
}

.fx-option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.fx-option-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: var(--space-4);
    background: var(--color-bg);
    border: 1.5px solid var(--color-border-strong);
    border-radius: 12px;
    transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.fx-option:hover .fx-option-body {
    border-color: var(--color-text-muted);
    transform: translateY(-1px);
}

.fx-option input:focus-visible + .fx-option-body {
    box-shadow: var(--focus-ring);
}

.fx-option input:checked + .fx-option-body {
    border-color: var(--brand-amber);
    background: var(--color-primary-light);
    box-shadow: 0 0 0 1px var(--brand-amber);
}

[data-theme="dark"] .fx-option input:checked + .fx-option-body {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 1px var(--brand-blue);
}

/* check badge on selected cards */
.fx-option-body::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--color-border-strong);
    background: var(--color-bg);
    transition: all var(--transition-fast);
}

.fx-option input:checked + .fx-option-body::after {
    border-color: var(--brand-navy);
    background: var(--brand-navy) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC107' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='20 6 9 17 4 12'/%3e%3c/svg%3e") center / 12px no-repeat;
}

[data-theme="dark"] .fx-option input:checked + .fx-option-body::after {
    border-color: var(--brand-blue);
    background-color: var(--brand-blue);
}

.fx-option-title {
    font-size: var(--fs-base);
    font-weight: var(--fw-extrabold);
    color: var(--color-heading);
    padding-right: var(--space-6);
}

.fx-option-desc {
    font-size: var(--fs-xs);
    line-height: 1.45;
    color: var(--color-text-muted);
}

.fx-option-tag {
    align-self: flex-start;
    margin-top: var(--space-2);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: var(--fw-bold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--color-bg-alt);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

/* Vehicle tiles: icon on top, centred */
.fx-tile .fx-option-body {
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-2);
    min-height: 96px;
}

.fx-tile .fx-option-body::after {
    width: 16px;
    height: 16px;
    top: 8px;
    right: 8px;
    background-size: 10px;
}

.fx-tile svg {
    width: 34px;
    height: 34px;
    color: var(--color-heading);
}

.fx-tile input:checked + .fx-option-body svg {
    color: var(--color-heading);
}

.fx-tile .fx-option-title {
    font-size: var(--fs-sm);
    padding: 0;
    line-height: 1.25;
}

/* Topic pills (contact form) */
.fx-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.fx-pill .fx-option-body {
    flex-direction: row;
    align-items: center;
    padding: 9px 16px;
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    color: var(--color-text-main);
}

.fx-pill .fx-option-body::after {
    display: none;
}

.fx-pill input:checked + .fx-option-body {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #FFFFFF;
    box-shadow: none;
}

[data-theme="dark"] .fx-pill input:checked + .fx-option-body {
    background: #2563EB;
    border-color: #2563EB;
}

/* Toggle chips (checkbox) */
.fx-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.fx-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 10px 16px 10px 12px;
    border: 1.5px solid var(--color-border-strong);
    border-radius: var(--radius-full);
    background: var(--color-bg);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-text-main);
    cursor: pointer;
    margin: 0;
    transition: all var(--transition-fast);
    user-select: none;
}

.fx-chip input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1.5px solid var(--color-border-strong);
    border-radius: 5px;
    background: var(--color-bg);
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.fx-chip input:checked {
    background: var(--brand-navy) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC107' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='20 6 9 17 4 12'/%3e%3c/svg%3e") center / 12px no-repeat;
    border-color: var(--brand-navy);
}

.fx-chip:has(input:checked) {
    border-color: var(--brand-amber);
    background: var(--color-primary-light);
}

.fx-chip input:focus-visible {
    box-shadow: var(--focus-ring);
}

/* ------------------------------------------------------------
   8. CONSENT + ACTIONS
   ------------------------------------------------------------ */
.fx-consent {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin: var(--space-5) 0 0;
    padding: var(--space-4);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: var(--fs-xs);
    line-height: 1.55;
    color: var(--color-text-muted);
    cursor: pointer;
}

.fx-consent input {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--brand-navy);
    cursor: pointer;
}

.fx-consent a {
    color: var(--color-primary);
    font-weight: var(--fw-bold);
}

.fx-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
}

.fx-nav .btn {
    min-width: 150px;
}

/* Without JS every step is visible and only the submit button shows.
   With JS (.is-stepped) Back/Continue drive the wizard and submit
   appears on the last step. */
.fx-back,
.fx-next,
.fx-nav-meta {
    display: none;
}

.is-stepped .fx-next,
.is-stepped .fx-nav-meta {
    display: inline-flex;
}

.is-stepped .fx-back {
    display: inline-flex;
    visibility: hidden;
}

.is-stepped .fx-back.is-visible {
    visibility: visible;
}

.is-stepped .fx-submit-btn {
    display: none;
}

.is-stepped.on-last .fx-submit-btn {
    display: inline-flex;
}

.is-stepped.on-last .fx-next {
    display: none;
}

.fx-form:not(.is-stepped) .fx-submit-btn {
    width: 100%;
}

.fx-nav-meta {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--color-text-muted);
}

.fx-submit {
    width: 100%;
}

.fx-assure {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2) var(--space-5);
    margin: var(--space-4) 0 0;
    padding: 0;
    list-style: none;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--color-text-muted);
}

.fx-assure li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fx-assure svg {
    width: 14px;
    height: 14px;
    color: var(--color-highlight);
}

/* Button loading state */
.btn.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.is-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2.5px solid rgba(10, 25, 48, 0.25);
    border-top-color: var(--brand-navy);
    animation: fxSpin 0.8s linear infinite;
}

@keyframes fxSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ------------------------------------------------------------
   9. ALERTS + RESULT PANEL
   ------------------------------------------------------------ */
.fx-alert {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    margin-bottom: var(--space-5);
    padding: var(--space-4);
    border-radius: 10px;
    font-size: var(--fs-sm);
    line-height: 1.5;
    background: var(--color-danger-bg);
    border: 1px solid var(--color-danger-border);
    color: var(--color-danger-text);
}

.fx-alert[hidden] {
    display: none;
}

.fx-result {
    text-align: center;
    padding: var(--space-4) 0;
    animation: fxFade 0.35s ease;
}

.fx-result-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-navy);
    color: var(--brand-amber);
    box-shadow: 0 0 0 8px rgba(255, 193, 7, 0.2);
}

.fx-result-icon svg {
    width: 30px;
    height: 30px;
}

.fx-result h2 {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-2);
}

.fx-result > p {
    color: var(--color-text-muted);
    max-width: 520px;
    margin: 0 auto var(--space-5);
}

.fx-price {
    max-width: 440px;
    margin: 0 auto var(--space-5);
    padding: var(--space-5) var(--space-6);
    text-align: left;
    background: var(--color-primary-light);
    border: 1px solid var(--color-border);
    border-left: 5px solid var(--brand-amber);
    border-radius: 12px;
}

.fx-price-label {
    font-size: var(--fs-xs);
    font-weight: var(--fw-extrabold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.fx-price-value {
    font-size: 2.5rem;
    font-weight: var(--fw-extrabold);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-heading);
    margin: 4px 0;
}

.fx-price-note {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
}

.fx-result-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2) var(--space-6);
    margin-bottom: var(--space-6);
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}

.fx-result-meta strong {
    color: var(--color-heading);
}

.fx-result-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
}

/* ------------------------------------------------------------
   10. SIDE PANELS (live summary + contact panel)
   ------------------------------------------------------------ */
.fx-panel {
    background: var(--brand-navy);
    color: #FFFFFF;
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--brand-amber);
    border-radius: 16px;
    padding: var(--space-6);
}

.fx-panel h3 {
    color: #FFFFFF;
    font-size: var(--fs-md);
    margin-bottom: var(--space-4);
}

.fx-panel p {
    color: #B6C0CF;
    font-size: var(--fs-sm);
}

.fx-summary-route {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.fx-summary-route .end {
    min-width: 0;
}

.fx-summary-route .end:last-child {
    text-align: right;
}

.fx-summary-route small {
    display: block;
    font-size: 0.6875rem;
    font-weight: var(--fw-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #B6C0CF;
}

.fx-summary-route strong {
    display: block;
    font-size: var(--fs-md);
    font-weight: var(--fw-extrabold);
    color: #FFFFFF;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fx-summary-route .line {
    width: 54px;
    height: 10px;
    background:
        radial-gradient(circle, #FFFFFF 4px, transparent 4.5px) left center / 10px 10px no-repeat,
        radial-gradient(circle, var(--brand-amber) 4px, transparent 4.5px) right center / 10px 10px no-repeat,
        linear-gradient(90deg, var(--brand-amber) 50%, transparent 50%) center / 6px 2px repeat-x;
}

.fx-summary-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fx-summary-list li {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: var(--fs-sm);
    color: #B6C0CF;
}

.fx-summary-list li:last-child {
    border-bottom: 0;
}

.fx-summary-list .val {
    font-weight: var(--fw-bold);
    color: #FFFFFF;
    text-align: right;
}

.fx-summary-list .val.is-empty {
    color: #8A97AB;
    font-weight: var(--fw-medium);
}

.fx-perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-3);
}

.fx-perks li {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    line-height: 1.45;
}

.fx-perks strong {
    display: block;
    color: var(--color-heading);
}

.fx-perks svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--color-heading);
    padding: 3px;
    border-radius: 6px;
    background: var(--color-primary-light);
}

.fx-plain-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: var(--space-6);
}

.fx-plain-card h3 {
    font-size: var(--fs-md);
    margin-bottom: var(--space-4);
}

/* Contact panel extras */
.fx-panel .contact-lines {
    margin-bottom: var(--space-5);
}

.fx-panel-block + .fx-panel-block {
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fx-panel-block h4 {
    font-size: 0.6875rem;
    font-weight: var(--fw-extrabold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-amber);
    margin-bottom: var(--space-3);
}

.fx-panel-block address {
    font-style: normal;
    font-size: var(--fs-sm);
    line-height: 1.6;
    color: #E2E8F0;
}

.fx-status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: #BBF7D0;
}

.fx-status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.fx-route-hint {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
    margin-top: var(--space-3);
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
}

.fx-route-hint strong {
    color: var(--color-heading);
    white-space: nowrap;
}

.fx-counter {
    align-self: flex-end;
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
}

/* ------------------------------------------------------------
   11. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
    .fx-layout {
        grid-template-columns: 1fr;
    }

    .fx-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .fx-aside {
        grid-template-columns: 1fr;
    }

    .fx-options-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .fx-section {
        padding: var(--space-6) 0 var(--space-12);
    }

    .fx-card {
        padding: var(--space-5);
        border-radius: 14px;
    }

    .fx-grid,
    .fx-grid-3,
    .fx-options-2 {
        grid-template-columns: 1fr;
    }

    .fx-steps li .fx-step-label {
        display: none;
    }

    .fx-steps li.is-active .fx-step-label {
        display: inline;
    }

    .fx-nav .btn {
        min-width: 0;
        flex: 1;
    }

    .fx-nav-meta {
        display: none;
    }
}
