/* =====================================================================
   examina.io — Request a Quote page (ported from the approved mock)
   Class names deliberately mirror the mock's own stylesheet so the
   template can be diffed against the mock draft.
   ===================================================================== */

.quote-page { background: #f8fbff; }

.text-gradient {
    background: var(--ex-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.bg-gradient { background: var(--ex-gradient); }

.btn-pill {
    border-radius: 9999px;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--ex-font-body);
}
.btn-pill:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 20px -5px rgba(0, 172, 172, .3); text-decoration: none; }

/* ---------------------------- Main layout ----------------------------- */
.rq-main { padding: 56px 24px 80px; position: relative; }
.rq-container { max-width: 800px; margin: 0 auto; }

.rq-head { text-align: center; margin-bottom: 48px; }
.rq-head__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--ex-shadow-sm);
    border: 1px solid #f1f5f9;
    margin-bottom: 24px;
    color: #0d9488;
}
.rq-head__icon svg { width: 30px; height: 30px; }
.rq-head h1 { font-size: 2.75rem; font-weight: 800; color: #0f172a; margin-bottom: 16px; }
.rq-head p { color: #64748b; font-size: 1.125rem; max-width: 576px; margin: 0 auto; line-height: 1.65; }

/* ------------------------------ Form card ----------------------------- */
.form-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px -15px rgba(30, 41, 59, .08);
    border: 1px solid #edf2f7;
    padding: 48px;
}
.form-card form { display: flex; flex-direction: column; gap: 32px; margin: 0; }

.rq-grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.rq-field { display: flex; flex-direction: column; }

.label-modern {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ex-heading);
    margin-bottom: 8px;
}
.label-modern svg { width: 15px; height: 15px; color: #14b8a6; flex: 0 0 15px; }

.input-pill {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--ex-heading);
    transition: all .2s;
    font-family: var(--ex-font-body);
}
.input-pill:focus {
    outline: none;
    border-color: var(--ex-teal);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 172, 172, .1);
}
textarea.input-pill { resize: none; }
.input-pill.parsley-error { border-color: var(--ex-danger); }
.form-card .parsley-errors-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    color: var(--ex-danger);
    font-size: .78rem;
}

/* Checkbox callouts */
.rq-confirm {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}
.rq-confirm input[type="checkbox"] { margin-top: 4px; width: 16px; height: 16px; accent-color: #0d9488; flex: 0 0 16px; }
.rq-confirm label { font-size: .875rem; color: #475569; margin: 0; }

.rq-newsletter { display: flex; align-items: center; gap: 12px; }
.rq-newsletter input[type="checkbox"] { width: 16px; height: 16px; accent-color: #0d9488; flex: 0 0 16px; }
.rq-newsletter label { font-size: .875rem; color: #64748b; margin: 0; }

.rq-divider { border: 0; border-top: 1px solid #f1f5f9; margin: 0; }

.rq-section-title {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: 0;
}

/* ------------------------------- Submit ------------------------------- */
.rq-submit { padding-top: 16px; position: relative; }
.rq-submit .btn-pill {
    background: var(--ex-gradient);
    color: #fff;
    width: 100%;
    padding: 20px;
    font-size: 1.125rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1);
}
.rq-submit .btn-pill:hover:not(:disabled) { box-shadow: 0 10px 20px -5px rgba(0, 172, 172, .3); }
.rq-submit .btn-pill:disabled { cursor: not-allowed; opacity: .6; }
.rq-submit .loading-spinner {
    position: absolute;
    left: 50%;
    margin-left: -15px;
    top: 36px;
    z-index: 2;
}
.rq-recaptcha-note {
    text-align: center;
    margin: 24px 0 0;
    font-size: .75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.rq-recaptcha-note svg { width: 14px; height: 14px; color: #cbd5e1; flex: 0 0 14px; }
.rq-submit .text-danger { color: var(--ex-danger); text-align: center; margin: 12px 0 0; }

/* --------------------------- Success panel ---------------------------- */
.hidden { display: none !important; }
.done-container { text-align: center; padding: 16px 0; }
.done-container h3 { font-size: 1.5rem; color: #0f172a; margin-bottom: 8px; }
.done-container .ex-muted { color: var(--ex-muted); }
.done-container .m-30 { margin: 30px 0; }
.done-container .all-done {
    display: inline-block;
    width: 72px; height: 72px;
    background-color: #14b8a6;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M21.801 10A10 10 0 1 1 17 3.335'/%3E%3Cpath fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='m9 11 3 3L22 4'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M21.801 10A10 10 0 1 1 17 3.335'/%3E%3Cpath fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='m9 11 3 3L22 4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* --------------------------- Contact strip ---------------------------- */
.rq-contact {
    margin-top: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 32px 64px;
    flex-wrap: wrap;
    opacity: .7;
}
.rq-contact__item { display: flex; align-items: center; gap: 12px; }
.rq-contact__item svg { width: 18px; height: 18px; color: #94a3b8; flex: 0 0 18px; }
.rq-contact__item span, .rq-contact__item a { font-size: .875rem; font-weight: 700; color: var(--ex-body); }

/* ------------------------------ Responsive ---------------------------- */
@media (max-width: 767px) {
    .rq-main { padding: 40px 16px 64px; }
    .rq-head h1 { font-size: 2rem; }
    .form-card { padding: 28px 20px; }
    .rq-grid2 { grid-template-columns: minmax(0, 1fr); }
    .rq-contact { flex-direction: column; gap: 16px; }
}
