/*
 * Fixquo design foundation
 * Tokens, reset, typography and accessibility helpers only.
 */
:root {
    --fx-navy: #061b31;
    --fx-navy-2: #0b2944;
    --fx-gold: #ffad16;
    --fx-gold-hover: #ffc04c;
    --fx-white: #fff;
    --fx-surface: #fff;
    --fx-canvas: #fff;
    --fx-cream: #fffaf1;
    --fx-ink: #0b1d33;
    --fx-muted: #5e6875;
    --fx-line: #e7e9ec;
    --fx-radius-sm: 8px;
    --fx-radius-md: 12px;
    --fx-radius-lg: 16px;
    --fx-container: 1136px;
    --fx-shadow: 0 14px 36px rgba(4, 24, 44, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--fx-canvas);
    color: var(--fx-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    height: auto;
    max-width: 100%;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fixquo-container {
    width: min(var(--fx-container), calc(100% - 40px));
    margin: 0 auto;
}

/**
 * Respect the HTML hidden attribute.
 */
[hidden] {
    display: none !important;
}

/*
|--------------------------------------------------------------------------
| Upload
|--------------------------------------------------------------------------
*/
.fx-upload__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: #fff8eb;
    color: var(--fx-primary);
    transition: all .25s ease;
}

.fx-upload__icon svg {
    width: 34px;
    height: 34px;
    display: block;
}

.fx-upload__dropzone:hover .fx-upload__icon {
    background: #fff2d6;
    transform: translateY(-3px) scale(1.03);
}

/*
|--------------------------------------------------------------------------
| Gallery Manager
|--------------------------------------------------------------------------
*/
.fx-upload__gallery {
    width: 100%;
}

.fx-upload__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.fx-upload__count {
    font-size: 1.1rem;
    font-weight: 700;
    color: #334155;
}

.fx-upload__browse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .9rem 1.4rem;
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}

.fx-upload__browse::before {
    content: "+";
    font-size: 1.2rem;
    font-weight: 700;
}

.fx-upload__browse:hover {
    background: #f8fafc;
    border-color: var(--fx-primary);
    color: var(--fx-primary);
    transform: translateY(-2px);
}

/*
|--------------------------------------------------------------------------
| Gallery Grid
|--------------------------------------------------------------------------
*/
.fx-upload__preview {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
}

.fx-upload-preview {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all .25s ease;
}

.fx-upload-preview:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .12);
}

.fx-upload-preview__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/*
|--------------------------------------------------------------------------
| Cover Badge
|--------------------------------------------------------------------------
*/
.fx-upload-preview__cover {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, .92);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.fx-upload-preview__cover::before {
    content: "★";
    font-size: .7rem;
}

/*
|--------------------------------------------------------------------------
| Remove Button
|--------------------------------------------------------------------------
*/
.fx-upload-preview__remove {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, .85);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: all .2s ease;
}

.fx-upload-preview__remove:hover {
    background: #dc2626;
    transform: scale(1.08);
}

/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/
.fx-upload__footer {
    margin-top: 1.75rem;
    text-align: center;
    color: #64748b;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.6;
}

/*
|--------------------------------------------------------------------------
| Upload Card
|--------------------------------------------------------------------------
*/
.fx-upload--gallery .fx-upload__dropzone {
    width: 100%;
    padding: 2.25rem;
    border: 2px dashed #d6dce5;
    border-radius: 20px;
    background: #fff;
    transition: all .25s ease;
}

.fx-upload--gallery .fx-upload__dropzone:hover {
    border-color: var(--fx-primary);
    background: #fffdf7;
}

.fx-upload--gallery .fx-upload__dropzone.is-dragging {
    border-color: var(--fx-primary);
    background: #fff8eb;
    transform: scale(1.01);
}

step-icon,
.trust-icon {
    align-items: center;
    background: #fff8ea;
    border-radius: 50%;
    color: var(--fx-gold);
    display: flex;
    font-size: 2rem;
    height: 73px;
    justify-content: center;
    width: 73px;
}

.trust-row {
    border: 1px solid var(--fx-line);
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 26px;
    padding: 20px;
}

.trust-item {
    align-items: flex-start;
    border-right: 1px solid #dfe4e9;
    display: flex;
    gap: 12px;
    padding: 0 14px;
}

.trust-item:last-child {
    border: 0;
}

.trust-icon {
    flex: 0 0 48px;
    font-size: 1.35rem;
    height: 48px;
}

.trust-item h3 {
    font-size: .76rem;
    margin: 0 0 3px;
}

.trust-item p {
    font-size: .69rem;
    line-height: 1.45;
    margin: 0;
}

/*
|--------------------------------------------------------------------------
| Form Alerts
|--------------------------------------------------------------------------
*/
.fx-form__messages {
    margin-bottom: 2rem;
    padding: 6px 11px 2px 19px;
}

.fx-alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    border: 1px solid transparent;
    animation: fxAlertIn .25s ease;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}

.fx-alert__icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.fx-alert__icon svg {
    width: 22px;
    height: 22px;
}

.fx-alert__content {
    flex: 1;
}

.fx-alert__title {
    display: block;
    margin-bottom: .35rem;
    font-size: 1rem;
    font-weight: 700;
}

.fx-alert__message {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.fx-alert__close {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.4rem;
    color: inherit;
    opacity: .55;
    transition: .2s;
}

.fx-alert__close:hover {
    opacity: 1;
}

/*
|--------------------------------------------------------------------------
| Success
|--------------------------------------------------------------------------
*/
.fx-alert--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.fx-alert--success .fx-alert__icon {
    background: #22c55e;
    color: #fff;
}

.fx-alert--success .fx-alert__title {
    color: #166534;
}

/*
|--------------------------------------------------------------------------
| Error
|--------------------------------------------------------------------------
*/
.fx-alert--error {
    background: #fef2f2;
    border-color: #fecaca;
}

.fx-alert--error .fx-alert__icon {
    background: #ef4444;
    color: #fff;
}

.fx-alert--error .fx-alert__title {
    color: #991b1b;
}

/*
|--------------------------------------------------------------------------
| Warning
|--------------------------------------------------------------------------
*/
.fx-alert--warning {
    background: #fff7ed;
    border-color: #fed7aa;
}

.fx-alert--warning .fx-alert__icon {
    background: #f97316;
    color: #fff;
}

.fx-alert--warning .fx-alert__title {
    color: #9a3412;
}

@keyframes fxAlertIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.fx-site-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fx-site-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/*--------------------------------------------------------------
# Coming Soon
--------------------------------------------------------------*/
.fx-coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 6rem 1.5rem;
    text-align: center;
}

.fx-coming-soon__content {
    max-width: 680px;
    margin: 0 auto;
    padding: 3.5rem 2.5rem;
    background: var(--fx-white);
    border: 1px solid var(--fx-border);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .06);
}

.fx-coming-soon__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 999px;
    background: rgba(245, 180, 0, .12);
    color: var(--fx-gold);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.fx-coming-soon h1 {
    margin: 0 0 1rem;
    color: var(--fx-navy);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
}

.fx-coming-soon p {
    margin: 0 auto 2rem;
    max-width: 540px;
    color: var(--fx-text);
    line-height: 1.8;
    font-size: 1rem;
}

.fx-coming-soon__actions {
    display: flex;
    justify-content: center;
}

@media (max-width:768px) {
    .fx-coming-soon {
        padding: 4rem 1rem;
    }

    .fx-coming-soon__content {
        padding: 2.5rem 1.5rem;
    }

    .fx-coming-soon h1 {
        font-size: 2rem;
    }
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/
@media (max-width: 991px) {
    .fx-upload__preview {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .trust-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fx-upload__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .fx-upload__browse {
        width: 100%;
    }

    .fx-upload__preview {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .fx-upload-preview {
        aspect-ratio: 1;
    }

    .fx-site-header__inner {
        padding: 0 1rem;
    }

    .fx-site-footer__inner {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .fx-upload--gallery .fx-upload__dropzone {
        padding: 1.5rem;
    }

    .fx-upload__count {
        text-align: center;
    }

    .fx-upload__preview {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .fx-upload-preview__remove {
        width: 30px;
        height: 30px;
    }

    .trust-row {
        grid-template-columns: 1fr;
    }

    .trust-item {
        padding: 1.25rem;
    }
}