/* ============================================================
   Static pages: About & Contact
   Shares the same periwinkle design language as the rest of the site
   ============================================================ */

/* ── Shared hero ─────────────────────────────────────────── */

.sp-hero {
    background: #eaecfb;
    padding: 80px 0 72px;
    text-align: center;
}

.sp-hero--compact {
    padding: 56px 0 52px;
}

.sp-hero__inner {
    max-width: 680px;
    margin: 0 auto;
}

.sp-hero__eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #1a3bc1;
    margin: 0 0 12px;
}

.sp-hero__title {
    font-size: 42px;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    margin: 0 0 18px;
}

.sp-hero__accent {
    color: #1a3bc1;
    position: relative;
}

.sp-hero__subtitle {
    font-size: 17px;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* ── Shared section ──────────────────────────────────────── */

.sp-section {
    padding: 64px 0;
}

.sp-section__title {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 36px;
}

/* ── How-it-works steps ──────────────────────────────────── */

.sp-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.sp-step {
    flex: 1;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    padding: 28px 24px;
    transition: box-shadow .2s, transform .2s;
}

.sp-step:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-3px);
}

.sp-step__num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1a3bc1;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.sp-step__heading {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.sp-step__body {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.sp-step-arrow {
    font-size: 24px;
    color: #c7d2fa;
    align-self: center;
    padding: 0 16px;
    flex-shrink: 0;
    margin-bottom: 24px; /* align with step content center */
}

/* ── Values section ──────────────────────────────────────── */

.sp-values-section {
    background: #fff;
    padding: 64px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.sp-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sp-value-card {
    background: #f8f9fb;
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid #e5e7eb;
}

.sp-value-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 14px;
}

.sp-value-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.sp-value-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ── CTA block ───────────────────────────────────────────── */

.sp-cta {
    text-align: center;
    padding: 72px 0;
}

.sp-cta__title {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 24px;
}

.sp-cta__btn {
    display: inline-block;
    padding: 14px 40px;
    background: #1a3bc1;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: background .2s, transform .2s;
}

.sp-cta__btn:hover {
    background: #1530a0;
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════
   Contact page specific
   ══════════════════════════════════════════════════════════ */

.contact-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    padding-top: 52px;
    padding-bottom: 80px;
}

/* ── Contact form ────────────────────────────────────────── */

.contact-form-wrap {
    flex: 1;
    min-width: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row--two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.form-input {
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #111827;
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.form-input:focus {
    border-color: #1a3bc1;
    box-shadow: 0 0 0 3px rgba(26,59,193,.1);
}

.form-input::placeholder { color: #9ca3af; }

.form-select { cursor: pointer; }

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-submit {
    align-self: flex-start;
    padding: 13px 36px;
    background: #1a3bc1;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.form-submit:hover {
    background: #1530a0;
    transform: translateY(-1px);
}

.form-submit:disabled {
    opacity: .6;
    cursor: default;
    transform: none;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #dcfce7;
    border: 1.5px solid #86efac;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #16a34a;
}

.form-success__icon {
    font-size: 20px;
    font-weight: 800;
}

/* ── Contact info sidebar ────────────────────────────────── */

.contact-info {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 88px;
}

.contact-info-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 20px 20px 18px;
    transition: box-shadow .2s;
}

.contact-info-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.07);
}

.contact-info-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}

.contact-info-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px;
}

.contact-info-card p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
    .sp-steps { flex-direction: column; }
    .sp-step-arrow { transform: rotate(90deg); padding: 8px 0; align-self: center; }
    .sp-values { grid-template-columns: 1fr; }
    .contact-layout { flex-direction: column; }
    .contact-info { width: 100%; position: static; flex-direction: row; flex-wrap: wrap; }
    .contact-info-card { flex: 1; min-width: 200px; }
}

@media (max-width: 600px) {
    .sp-hero__title { font-size: 30px; }
    .form-row--two { grid-template-columns: 1fr; }
}
