/* =====================================================================
   LigiLearn — pages/home-contact.css : /contact
   ===================================================================== */

.contact-section { padding-top: 56px; }

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, .9fr);
    gap: 32px;
    align-items: start;
}

/* ---------------- form ---------------- */
.contact-form-card {
    padding: 36px;
    background: var(--ll-surface);
    border: 1px solid var(--ll-border);
    border-radius: 26px;
    box-shadow: var(--ll-shadow-lg);
}

.contact-form-head { margin-bottom: 26px; }
.contact-form-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.contact-form-head p { margin: 0; font-size: 14.5px; color: var(--ll-ink-muted); }
.contact-form-head .req { color: var(--ll-danger); }

.contact-form-card .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.contact-form-card .form-control,
.contact-form-card .form-select { height: 46px; font-size: 15px; }
.contact-form-card textarea.form-control { height: auto; }

/* Honeypot — off-screen, never display:none (some bots skip hidden inputs) */
.contact-hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form-foot { margin-top: 26px; }
.contact-form-foot .btn { width: 100%; }
.contact-consent { margin: 14px 0 0; text-align: center; font-size: 12.5px; color: var(--ll-ink-faint); }

/* ---------------- success state ---------------- */
.contact-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 0;
}
.contact-success.u-hidden { display: none; }
.contact-success .icon-tile { margin-bottom: 18px; }
.contact-success h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.contact-success p { max-width: 460px; margin: 0 0 22px; font-size: 15.5px; color: var(--ll-ink-2); }
.contact-success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------------- sidebar ---------------- */
.contact-side { display: grid; gap: 18px; }

.contact-card {
    padding: 24px;
    background: var(--ll-surface);
    border: 1px solid var(--ll-border);
    border-radius: var(--ll-radius-xl);
    box-shadow: var(--ll-shadow-xs);
}
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.contact-card .contact-chip { display: flex; width: 100%; }
.contact-card .contact-chip + .contact-chip { margin-top: 10px; }

.contact-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.contact-steps li {
    position: relative;
    padding-left: 40px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ll-ink-2);
}
.contact-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    font-size: 12.5px;
    font-weight: 800;
    color: #fff;
    background: var(--ll-gradient);
    border-radius: 50%;
}
.contact-steps strong { color: var(--ll-ink); }

/* ---------------- responsive ---------------- */
@media (max-width: 1023px) {
    .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .contact-form-card { padding: 24px 18px; border-radius: 20px; }
    .contact-form-card .form-grid { grid-template-columns: 1fr; }
}
