/* ================================================
   STATIC PAGES — /assets/css/static-pages.css
   About Us | Contact Us | Privacy Policy
   منصة حروف
================================================ */

body { padding-top: 0 !important; margin-top: 0 !important; }

/* ══════════════════════════════════════
   PAGE WRAPPER
══════════════════════════════════════ */
.sp-page {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    min-height: 100vh;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.sp-hero {
    padding: 70px 24px 50px;
    text-align: center;
}
.sp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(79,209,255,0.1);
    border: 1px solid rgba(79,209,255,0.28);
    color: #0ea5e9;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.sp-hero__title {
    font-family: 'Amiri', serif;
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 700;
    background: linear-gradient(135deg, #0ea5e9, #A855F7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 14px;
    line-height: 1.2;
}
.sp-hero__desc {
    font-size: 0.98rem;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ══════════════════════════════════════
   CONTENT WRAPPER
══════════════════════════════════════ */
.sp-content {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px 100px;
}
.sp-content--narrow {
    max-width: 780px;
}

/* ══════════════════════════════════════
   CARDS
══════════════════════════════════════ */
.sp-card {
    background: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(79,209,255,0.16);
    border-radius: 24px;
    padding: 36px 40px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: spFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes spFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.sp-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(14,165,233,0.1);
    border: 1px solid rgba(14,165,233,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0ea5e9;
    margin-bottom: 20px;
}
.sp-card__icon--purple {
    background: rgba(168,85,247,0.1);
    border-color: rgba(168,85,247,0.18);
    color: #A855F7;
}
.sp-card__icon--teal {
    background: rgba(20,184,166,0.1);
    border-color: rgba(20,184,166,0.18);
    color: #14b8a6;
}
.sp-card__title {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 14px;
}
.sp-card__text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.9;
    margin: 0 0 12px;
}
.sp-card__text:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════
   TWO COLUMN
══════════════════════════════════════ */
.sp-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* ══════════════════════════════════════
   VALUES
══════════════════════════════════════ */
.sp-values {
    margin-bottom: 24px;
}
.sp-section-title {
    font-family: 'Amiri', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin: 0 0 28px;
}
.sp-values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.sp-value-card {
    background: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(79,209,255,0.14);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sp-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(14,165,233,0.1);
}
.sp-value-card__icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 12px;
}
.sp-value-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}
.sp-value-card p {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ══════════════════════════════════════
   CTA BOX
══════════════════════════════════════ */
.sp-cta-box {
    background: linear-gradient(135deg, rgba(14,165,233,0.08), rgba(168,85,247,0.08));
    border: 1.5px solid rgba(168,85,247,0.2);
    border-radius: 28px;
    padding: 52px 40px;
    text-align: center;
    margin-bottom: 24px;
}
.sp-cta-box__title {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0ea5e9, #A855F7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 12px;
}
.sp-cta-box__text {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0 0 28px;
}
.sp-cta-box__btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.sp-cta-box__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.25s;
}
.sp-cta-box__btn--primary {
    background: linear-gradient(135deg, #0ea5e9, #A855F7);
    color: #fff;
    box-shadow: 0 8px 24px rgba(14,165,233,0.28);
}
.sp-cta-box__btn--primary:hover {
    box-shadow: 0 14px 36px rgba(14,165,233,0.42);
    transform: translateY(-2px);
}
.sp-cta-box__btn--secondary {
    background: rgba(255,255,255,0.9);
    border: 1.5px solid rgba(79,209,255,0.28);
    color: #0ea5e9;
}
.sp-cta-box__btn--secondary:hover {
    background: rgba(14,165,233,0.08);
}

/* ══════════════════════════════════════
   CONTACT CARDS
══════════════════════════════════════ */
.sp-contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}
.sp-contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 26px;
    border-radius: 20px;
    background: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(79,209,255,0.16);
    text-decoration: none;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    backdrop-filter: blur(10px);
}
.sp-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.08);
}
.sp-contact-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sp-contact-card--wa  .sp-contact-card__icon { background: rgba(37,211,102,0.12); color: #25D366; }
.sp-contact-card--email .sp-contact-card__icon { background: rgba(14,165,233,0.1); color: #0ea5e9; }
.sp-contact-card--fb  .sp-contact-card__icon { background: rgba(24,119,242,0.1); color: #1877F2; }
.sp-contact-card--ig  .sp-contact-card__icon { background: rgba(225,48,108,0.1); color: #E1306C; }
.sp-contact-card__body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
}
.sp-contact-card__body p {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0 0 6px;
    word-break: break-all;
}
.sp-contact-card__action {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0ea5e9;
}

/* ══════════════════════════════════════
   CONTACT FORM
══════════════════════════════════════ */
.sp-contact-form-wrap { animation-delay: 0.1s; }
.sp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.sp-field {
    margin-bottom: 18px;
}
.sp-field label {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}
.sp-field label .req { color: #ef4444; margin-right: 2px; }
.sp-field input,
.sp-field select,
.sp-field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(79,209,255,0.22);
    border-radius: 14px;
    background: rgba(248,249,252,0.8);
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    color: #1e293b;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    direction: rtl;
    box-sizing: border-box;
}
.sp-field input:focus,
.sp-field select:focus,
.sp-field textarea:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
    background: #fff;
}
.sp-field input.error,
.sp-field select.error,
.sp-field textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}
.sp-field textarea { resize: vertical; min-height: 120px; }
.sp-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #0ea5e9, #A855F7);
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
    transition: all 0.28s ease;
    box-shadow: 0 8px 24px rgba(14,165,233,0.28);
}
.sp-submit-btn:hover:not(:disabled) {
    box-shadow: 0 14px 36px rgba(14,165,233,0.42);
    transform: translateY(-2px);
}
.sp-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.sp-form-success {
    text-align: center;
    padding: 40px 20px;
    animation: spFadeUp 0.5s ease both;
}
.sp-form-success__circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(14,165,233,0.1));
    border: 2px solid rgba(16,185,129,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.sp-form-success h3 {
    font-family: 'Amiri', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}
.sp-form-success p {
    color: #64748b;
    font-size: 0.9rem;
}

/* ══════════════════════════════════════
   PRIVACY POLICY
══════════════════════════════════════ */
.sp-policy-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 32px;
}
.sp-policy-nav a {
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(79,209,255,0.2);
    color: #0ea5e9;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.22s;
    backdrop-filter: blur(8px);
}
.sp-policy-nav a:hover {
    background: linear-gradient(135deg, #0ea5e9, #A855F7);
    color: #fff;
    border-color: transparent;
}
.sp-policy-section {
    position: relative;
    padding-right: 60px;
}
.sp-policy-section__num {
    position: absolute;
    top: 36px;
    right: 36px;
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(168,85,247,0.12));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    font-family: 'Cairo', sans-serif;
}
.sp-policy-list {
    padding-right: 20px;
    margin: 12px 0 0;
}
.sp-policy-list li {
    font-size: 0.93rem;
    color: #475569;
    line-height: 1.9;
    margin-bottom: 6px;
}
.sp-policy-list li::marker { color: #0ea5e9; }
.sp-policy-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}
.sp-policy-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0ea5e9;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.sp-policy-contact-link:hover { color: #A855F7; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 860px) {
    .sp-values__grid { grid-template-columns: repeat(2, 1fr); }
    .sp-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .sp-page { padding-top: 72px; }
    .sp-hero { padding: 50px 16px 36px; }
    .sp-content { padding: 0 16px 60px; }
    .sp-card { padding: 26px 20px; }
    .sp-contact-cards { grid-template-columns: 1fr; }
    .sp-values__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .sp-form-row { grid-template-columns: 1fr; gap: 0; }
    .sp-policy-section { padding-right: 20px; }
    .sp-policy-section__num { position: static; font-size: 1.4rem; margin-bottom: 8px; }
    .sp-cta-box { padding: 36px 20px; }
    .sp-cta-box__btns { flex-direction: column; align-items: center; }
    .sp-cta-box__btn { width: 100%; justify-content: center; }
    .sp-contact-card { flex-direction: column; text-align: center; gap: 12px; }
}
