/* ── Accento Quote Popup v1.0.0 ── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap');

.aqp-trigger-btn {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    background: #f16232;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    cursor: pointer;
    transition: background .18s, transform .1s;
    display: inline-block;
}
.aqp-trigger-btn:hover { background: #d4541d; transform: translateY(-1px); }
.aqp-trigger-btn:active { transform: scale(0.98); }

/* Overlay */
.aqp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.aqp-overlay.aqp-open { display: flex; }

/* Box */
.aqp-box {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    font-family: 'Syne', sans-serif;
    box-shadow: 0 24px 80px rgba(0,0,0,0.22);
    animation: aqpSlideIn .28s ease;
}
@keyframes aqpSlideIn {
    from { opacity:0; transform: translateY(20px) scale(0.98); }
    to   { opacity:1; transform: translateY(0) scale(1); }
}
.aqp-box::-webkit-scrollbar { width: 3px; }
.aqp-box::-webkit-scrollbar-thumb { background: rgba(241,98,50,0.3); border-radius: 2px; }

/* Close */
.aqp-close {
    position: absolute; top: 1rem; right: 1rem;
    background: rgba(0,0,0,0.07); border: none;
    width: 30px; height: 30px; border-radius: 50%;
    font-size: 14px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #555; transition: background .15s;
}
.aqp-close:hover { background: rgba(0,0,0,0.14); }

/* Header */
.aqp-box h2 {
    font-size: 20px; font-weight: 700; color: #1a1714;
    margin: 0 0 4px; padding-right: 2rem;
}
.aqp-sub { font-size: 13px; color: rgba(26,23,20,0.5); margin-bottom: 1.5rem; }

/* Progress */
.aqp-prog-bar {
    height: 3px; background: rgba(0,0,0,0.1);
    border-radius: 2px; overflow: hidden; margin-bottom: 6px;
}
.aqp-prog-fill {
    height: 100%; background: #f16232;
    border-radius: 2px; transition: width .4s ease;
}
.aqp-prog-label {
    font-size: 11px; color: rgba(26,23,20,0.35);
    font-family: monospace; margin-bottom: 1.2rem; display: block;
}

/* Fields */
.aqp-fr { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.aqp-fr label {
    font-size: 11px; font-weight: 600; color: rgba(26,23,20,0.4);
    text-transform: uppercase; letter-spacing: .07em;
}
.aqp-fr input,
.aqp-fr select,
.aqp-fr textarea {
    font-family: 'Syne', sans-serif; font-size: 13px;
    background: #f9f8f7; border: 1px solid rgba(0,0,0,0.14);
    border-radius: 8px; padding: 10px 13px; color: #1a1714;
    outline: none; width: 100%;
    transition: border-color .18s, box-shadow .18s, background .18s;
    box-sizing: border-box;
}
.aqp-fr select {
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='rgba(26,23,20,0.4)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.aqp-fr select option { background: #fff; }
.aqp-fr textarea { resize: vertical; min-height: 75px; }
.aqp-fr input:focus, .aqp-fr select:focus, .aqp-fr textarea:focus {
    border-color: #f16232; box-shadow: 0 0 0 3px rgba(241,98,50,0.1); background: #fff;
}
.aqp-fr input.aqp-err, .aqp-fr select.aqp-err, .aqp-fr textarea.aqp-err {
    border-color: #dc2626;
}
.aqp-errmsg { font-size: 11px; color: #dc2626; display: none; margin-top: 2px; }
.aqp-fr.aqp-herr .aqp-errmsg { display: block; }
.aqp-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Service chips */
.aqp-chkgroup { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.aqp-chk {
    font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 500;
    background: #fff; border: 1px solid rgba(0,0,0,0.14);
    border-radius: 8px; padding: 7px 13px;
    cursor: pointer; transition: all .15s; color: rgba(26,23,20,0.6);
    user-select: none; box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.aqp-chk:hover { border-color: #f16232; color: #f16232; }
.aqp-chk.aqp-on { background: #f16232; border-color: #f16232; color: #fff; }

/* Submit button */
.aqp-submit {
    font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700;
    background: #f16232; border: none; color: #fff;
    border-radius: 10px; padding: 13px 24px; cursor: pointer;
    width: 100%; margin-top: 6px; transition: background .18s, transform .1s;
}
.aqp-submit:hover { background: #d4541d; }
.aqp-submit:active { transform: scale(0.98); }
.aqp-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Success */
.aqp-success {
    background: rgba(22,163,74,0.07);
    border: 1px solid rgba(22,163,74,0.25);
    border-radius: 12px; padding: 28px 20px;
    text-align: center;
}
.aqp-success .aqp-tick { font-size: 30px; margin-bottom: 10px; }
.aqp-success h3 { font-size: 16px; font-weight: 700; color: #16a34a; margin-bottom: 8px; }
.aqp-success p { font-size: 13px; color: rgba(26,23,20,0.6); line-height: 1.6; }

/* Responsive */
@media (max-width: 500px) {
    .aqp-box { padding: 1.5rem 1.2rem; border-radius: 12px; }
    .aqp-fgrid { grid-template-columns: 1fr; }
}
