.luxaro-quote,
.luxaro-quote * {
    box-sizing: border-box;
}

.luxaro-quote {
    --luxaro-gold: #c89a49;
    --luxaro-gold-light: #e8c879;
    --luxaro-ink: #17140f;
    --luxaro-muted: #6c665e;
    --luxaro-line: #dfd9ce;
    --luxaro-cream: #f6f2ea;
    width: 100%;
    margin: 0;
    color: var(--luxaro-ink);
    font-family: inherit;
}

.luxaro-quote__card {
    position: relative;
    width: min(100%, 980px);
    margin: 0 auto;
    padding: clamp(28px, 5vw, 58px);
    overflow: hidden;
    border: 1px solid rgba(177, 132, 56, .26);
    border-radius: 26px;
    background:
        radial-gradient(circle at 100% 0, rgba(218, 181, 108, .12), transparent 36%),
        linear-gradient(180deg, #fff, #fcfaf6);
    box-shadow: 0 24px 70px rgba(23, 20, 15, .11);
}

.luxaro-quote__card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #815c20, #e5c26d 48%, #8c6526);
}

.luxaro-quote__intro {
    max-width: 740px;
    margin: 0 0 34px;
}

.luxaro-quote__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 13px;
    color: #9a702f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    line-height: 1.2;
    text-transform: uppercase;
}

.luxaro-quote__eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.luxaro-quote h2,
.luxaro-quote h3 {
    margin: 0;
    color: var(--luxaro-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.025em;
}

.luxaro-quote h2 {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.05;
}

.luxaro-quote__intro p {
    max-width: 700px;
    margin: 16px 0 0;
    color: var(--luxaro-muted);
    font-size: 16px;
    line-height: 1.75;
}

.luxaro-quote__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.luxaro-quote__field {
    min-width: 0;
}

.luxaro-quote__field--full {
    grid-column: 1 / -1;
}

.luxaro-quote__field label {
    display: block;
    margin: 0 0 9px;
    color: var(--luxaro-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.luxaro-quote__field label span {
    color: #a4742d;
}

.luxaro-quote__field input[type="text"],
.luxaro-quote__field input[type="email"],
.luxaro-quote__field input[type="tel"],
.luxaro-quote__field textarea {
    display: block;
    width: 100%;
    margin: 0;
    border: 1px solid var(--luxaro-line);
    border-radius: 11px;
    outline: 0;
    background: #fff;
    color: var(--luxaro-ink);
    font: inherit;
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(30, 25, 17, .03);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.luxaro-quote__field input[type="text"],
.luxaro-quote__field input[type="email"],
.luxaro-quote__field input[type="tel"] {
    height: 56px;
    padding: 0 16px;
}

.luxaro-quote__field textarea {
    min-height: 144px;
    padding: 15px 16px;
    resize: vertical;
}

.luxaro-quote__field input:focus,
.luxaro-quote__field textarea:focus {
    border-color: var(--luxaro-gold);
    box-shadow: 0 0 0 4px rgba(200, 154, 73, .13);
}

.luxaro-quote__field.is-invalid input,
.luxaro-quote__field.is-invalid textarea,
.luxaro-quote__field.is-invalid .luxaro-quote__dropzone {
    border-color: #b94040;
    box-shadow: 0 0 0 3px rgba(185, 64, 64, .09);
}

.luxaro-quote__dropzone {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 112px;
    padding: 20px;
    border: 1px dashed #c9b58f;
    border-radius: 14px;
    background: var(--luxaro-cream);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.luxaro-quote__dropzone:hover,
.luxaro-quote__dropzone.is-dragging {
    border-color: var(--luxaro-gold);
    background: #fbf5e8;
}

.luxaro-quote__dropzone.is-dragging {
    transform: translateY(-1px);
}

.luxaro-quote__dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.luxaro-quote__dropzone-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 13px;
    background: linear-gradient(145deg, #d9b15f, #a7772e);
    color: #fff;
    box-shadow: 0 10px 24px rgba(158, 111, 41, .24);
}

.luxaro-quote__dropzone-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.luxaro-quote__dropzone-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.luxaro-quote__dropzone-copy strong {
    color: var(--luxaro-ink);
    font-size: 15px;
    line-height: 1.4;
}

.luxaro-quote__dropzone-copy span {
    margin-top: 4px;
    color: #777066;
    font-size: 12px;
    line-height: 1.5;
}

.luxaro-quote__browse {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #d5c9b5;
    border-radius: 9px;
    background: #fff;
    color: #574b39;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.luxaro-quote__file-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.luxaro-quote__file {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #e6e0d6;
    border-radius: 10px;
    background: #fff;
}

.luxaro-quote__file-icon {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f2e8d4;
    color: #8c6327;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.luxaro-quote__file-meta {
    min-width: 0;
    flex: 1;
}

.luxaro-quote__file-name {
    display: block;
    overflow: hidden;
    color: #2a251f;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.luxaro-quote__file-size {
    display: block;
    margin-top: 2px;
    color: #81796e;
    font-size: 11px;
}

.luxaro-quote__file-remove {
    position: relative;
    z-index: 5;
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1efeb;
    color: #37312a;
    font: 400 20px/1 Arial, sans-serif;
    cursor: pointer;
}

.luxaro-quote__error {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: #a62f2f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.luxaro-quote__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 10px;
    padding-top: 24px;
    border-top: 1px solid #e5dfd5;
}

.luxaro-quote__footer p {
    max-width: 560px;
    margin: 0;
    color: #756e64;
    font-size: 12px;
    line-height: 1.6;
}

.luxaro-quote__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-width: 210px;
    min-height: 54px;
    margin: 0;
    padding: 0 23px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(100deg, #9e702a, #ddb65e 52%, #ba8736);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(160, 112, 39, .25);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.luxaro-quote__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(160, 112, 39, .31);
}

.luxaro-quote__submit:disabled {
    cursor: wait;
    opacity: .75;
    transform: none;
}

.luxaro-quote__submit svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.luxaro-quote__spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: luxaroQuoteSpin .7s linear infinite;
}

.luxaro-quote__submit.is-loading .luxaro-quote__spinner {
    display: block;
}

.luxaro-quote__submit.is-loading svg {
    display: none;
}

.luxaro-quote__status {
    display: none;
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.luxaro-quote__status.is-error {
    display: block;
    border: 1px solid #e4b8b8;
    background: #fff2f2;
    color: #8e2929;
}

.luxaro-quote__success {
    max-width: 660px;
    margin: 0 auto;
    padding: 34px 0 12px;
    text-align: center;
}

.luxaro-quote__success-icon {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(145deg, #dfbd6d, #9e702b);
    color: #fff;
    box-shadow: 0 15px 36px rgba(158, 112, 43, .25);
}

.luxaro-quote__success-icon svg {
    width: 39px;
    height: 39px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.luxaro-quote__success .luxaro-quote__eyebrow {
    justify-content: center;
}

.luxaro-quote__success h3 {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.1;
}

.luxaro-quote__success p {
    margin: 15px auto 0;
    color: var(--luxaro-muted);
    font-size: 16px;
    line-height: 1.75;
}

.luxaro-quote__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

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

@media (max-width: 767px) {
    .luxaro-quote__card {
        padding: 31px 20px 25px;
        border-radius: 18px;
    }

    .luxaro-quote__intro {
        margin-bottom: 25px;
    }

    .luxaro-quote__intro p {
        font-size: 15px;
        line-height: 1.65;
    }

    .luxaro-quote__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .luxaro-quote__field--full {
        grid-column: auto;
    }

    .luxaro-quote__dropzone {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 13px;
        min-height: 106px;
        padding: 16px;
    }

    .luxaro-quote__dropzone-icon {
        width: 46px;
        height: 46px;
        border-radius: 11px;
    }

    .luxaro-quote__browse {
        display: none;
    }

    .luxaro-quote__footer {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
        margin-top: 4px;
    }

    .luxaro-quote__submit {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .luxaro-quote *,
    .luxaro-quote *::before,
    .luxaro-quote *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
