/* ═══════════════════════════════════════════════════════════════════
   Mosalam Pro — /pro.php
   ms-pro- prefix throughout. All sections CMS-controlled.
   No pricing. All CTAs lead to #contact.
═══════════════════════════════════════════════════════════════════ */

/* ── Page shell ────────────────────────────────────────────────────── */
.ms-pro-page {
    font-size: 1.6rem;
    color: var(--ms-text, #0d1b2a);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow-x: clip;
}

/* ── Shared layout helpers ─────────────────────────────────────────── */
.ms-pro-wrap {
    max-width: 129rem;
    margin: 0 auto;
    padding: 0 2.4rem;
}
.ms-pro-section-head {
    text-align: center;
    margin-bottom: 5.6rem;
}
.ms-pro-eyebrow {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ms-gold, #FFC000);
    margin-bottom: 1.2rem;
}
.ms-pro-eyebrow--light { color: var(--ms-gold, #FFC000); }
.ms-pro-section-title {
    font-size: clamp(2.8rem, 3.5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    color: var(--ms-primary, #003057);
}
.ms-pro-page .ms-pro-section-title--light { color: #fff !important; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.ms-pro-page .ms-pro-btn,
.ms-pro-page a.ms-pro-btn {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.2rem 2.8rem;
    border-radius: 10rem;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: opacity .2s, transform .2s;
}
.ms-pro-page .ms-pro-btn--primary,
.ms-pro-page a.ms-pro-btn--primary {
    background: var(--ms-gold, #FFC000) !important;
    color: var(--ms-primary, #003057) !important;
}
.ms-pro-page .ms-pro-btn--gold,
.ms-pro-page a.ms-pro-btn--gold {
    background: var(--ms-gold, #FFC000) !important;
    color: var(--ms-primary, #003057) !important;
}
.ms-pro-page .ms-pro-btn:hover,
.ms-pro-page a.ms-pro-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════════════
   01 — HERO
══════════════════════════════════════════════════════════════════════ */
.ms-pro-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(160deg, var(--ms-primary-strong, #001B35) 0%, var(--ms-primary, #003057) 100%);
    color: #fff;
    overflow: hidden;
    padding: 12rem 2.4rem 10rem;
}
.ms-pro-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.ms-pro-hero__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,192,0,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,192,0,.04) 1px, transparent 1px);
    background-size: 6rem 6rem;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.ms-pro-hero__glow {
    position: absolute;
    top: -20rem; left: 50%;
    transform: translateX(-50%);
    width: 80rem; height: 60rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,192,0,.12) 0%, transparent 65%);
}
.ms-pro-hero__inner {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
}
.ms-pro-hero__label {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ms-gold, #FFC000);
    border: 1px solid rgba(255,192,0,.35);
    border-radius: 99px;
    padding: .4rem 1.4rem;
    margin-bottom: 2.8rem;
}
.ms-pro-page .ms-pro-hero__title {
    font-size: clamp(3.6rem, 6vw, 7.2rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 2.4rem;
    letter-spacing: -.02em;
    color: #fff !important;
}
.ms-pro-page .ms-pro-hero__title em {
    font-style: normal;
    color: var(--ms-gold, #FFC000) !important;
    display: block;
}
.ms-pro-page .ms-pro-hero__sub {
    font-size: clamp(1.6rem, 2vw, 2rem);
    color: #fff !important;
    max-width: 60rem;
    margin: 0 auto 3.6rem;
    line-height: 1.6;
}
.ms-pro-page .ms-pro-hero__note {
    font-size: 1.3rem;
    color: #fff !important;
    margin-top: 1.6rem;
}

/* ══════════════════════════════════════════════════════════════════════
   02 — SEGMENTS
══════════════════════════════════════════════════════════════════════ */
.ms-pro-segments {
    padding: 9rem 0;
    background: var(--ms-bg, #fcf9f8);
}
.ms-pro-seg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
}
.ms-pro-seg-card {
    background: var(--ms-surface, #fff);
    border: 1px solid var(--ms-border, rgba(0,48,87,.10));
    border-radius: 1.6rem;
    padding: 3.2rem 2.8rem;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ms-pro-seg-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 2rem 5rem rgba(0,48,87,.10);
    border-color: var(--ms-primary, #003057);
}
.ms-pro-seg-card__icon {
    width: 5.6rem; height: 5.6rem;
    border-radius: 1.2rem;
    background: var(--ms-primary-faint, #f0f4fa);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: var(--ms-primary, #003057);
}
.ms-pro-page .ms-pro-seg-card__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ms-primary, #003057) !important;
    margin: 0 0 1.2rem;
}
.ms-pro-page .ms-pro-seg-card__body {
    font-size: 1.45rem;
    color: var(--ms-text-muted, #475569) !important;
    line-height: 1.65;
    flex: 1;
    margin: 0 0 2.4rem;
}
.ms-pro-page .ms-pro-seg-card__link,
.ms-pro-page a.ms-pro-seg-card__link {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ms-gold, #FFC000) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-top: auto;
    transition: gap .15s;
}
.ms-pro-page .ms-pro-seg-card__link:hover { gap: 1rem; }

/* ══════════════════════════════════════════════════════════════════════
   03 — PRODUCTS
══════════════════════════════════════════════════════════════════════ */
.ms-pro-product { padding: 9rem 0; }
.ms-pro-product--light {
    background: #fff;
}
.ms-pro-product--dark {
    background: var(--ms-primary, #003057);
}
.ms-pro-product__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7rem;
    align-items: start;
}
.ms-pro-product__layout--reverse .ms-pro-product__copy { order: 2; }
.ms-pro-product__layout--reverse .ms-pro-product__included { order: 1; }

.ms-pro-page .ms-pro-product--light .ms-pro-product__title {
    font-size: clamp(2.8rem, 3.5vw, 4.2rem);
    font-weight: 800;
    color: var(--ms-primary, #003057) !important;
    line-height: 1.15;
    margin: .8rem 0 1.6rem;
}
.ms-pro-page .ms-pro-product--dark .ms-pro-product__title {
    font-size: clamp(2.8rem, 3.5vw, 4.2rem);
    font-weight: 800;
    color: #fff !important;
    line-height: 1.15;
    margin: .8rem 0 1.6rem;
}
.ms-pro-page .ms-pro-product--light .ms-pro-product__sub {
    font-size: 1.7rem;
    color: var(--ms-text-muted, #475569) !important;
    line-height: 1.65;
    margin: 0 0 2rem;
}
.ms-pro-page .ms-pro-product--dark .ms-pro-product__sub {
    font-size: 1.7rem;
    color: #fff !important;
    line-height: 1.65;
    margin: 0 0 2rem;
}
.ms-pro-page .ms-pro-product__best-for {
    font-size: 1.4rem;
    color: var(--ms-text-muted, #475569) !important;
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin-bottom: 2.8rem;
    line-height: 1.5;
}
.ms-pro-page .ms-pro-product--dark .ms-pro-product__best-for {
    color: #fff !important;
}
.ms-pro-product__best-for i { color: var(--ms-gold, #FFC000); margin-top: .2rem; flex-shrink: 0; }

/* Included box */
.ms-pro-product__included {
    background: var(--ms-bg, #fcf9f8);
    border: 1px solid var(--ms-border, rgba(0,48,87,.10));
    border-radius: 1.6rem;
    padding: 2.8rem 3rem;
}
.ms-pro-product__included--dark {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.12);
}
.ms-pro-page .ms-pro-product__inc-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ms-primary, #003057) !important;
    margin: 0 0 1.8rem;
    display: flex;
    align-items: center;
    gap: .8rem;
}
.ms-pro-page .ms-pro-product--dark .ms-pro-product__inc-title {
    color: #fff !important;
}
.ms-pro-product__inc-title i { color: var(--ms-gold, #FFC000); }

.ms-pro-inc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ms-pro-page .ms-pro-inc-list li {
    font-size: 1.4rem;
    color: var(--ms-text, #0d1b2a) !important;
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    line-height: 1.5;
}
.ms-pro-page .ms-pro-inc-list--dark li {
    color: #fff !important;
}
.ms-pro-inc-list li i { color: var(--ms-gold, #FFC000); flex-shrink: 0; margin-top: .25rem; font-size: 1.2rem; }

/* Customer note */
.ms-pro-page .ms-pro-product__customer-note {
    font-size: 1.3rem;
    color: var(--ms-text-muted, #475569) !important;
    margin-top: 1.8rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--ms-border, rgba(0,48,87,.10));
    display: flex;
    gap: .7rem;
    align-items: flex-start;
}
.ms-pro-product__customer-note i { color: var(--ms-primary, #003057); margin-top: .2rem; }

/* Note box (container service) */
.ms-pro-product__note-box {
    background: rgba(255,192,0,.08);
    border: 1px solid rgba(255,192,0,.25);
    border-radius: 1rem;
    padding: 1.4rem 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.ms-pro-product__note-box i { color: var(--ms-gold, #FFC000); flex-shrink: 0; margin-top: .25rem; }
.ms-pro-page .ms-pro-product__note-box p {
    font-size: 1.35rem;
    color: #fff !important;
    margin: 0;
    line-height: 1.55;
}

/* ══════════════════════════════════════════════════════════════════════
   04 — WHAT MANAGED MEANS
══════════════════════════════════════════════════════════════════════ */
.ms-pro-managed {
    padding: 9rem 0;
    background: var(--ms-bg, #fcf9f8);
}
.ms-pro-managed__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    margin-bottom: 3.2rem;
}
.ms-pro-managed__card {
    border-radius: 1.6rem;
    padding: 3.2rem;
}
.ms-pro-managed__card--light {
    background: #fff;
    border: 1px solid var(--ms-border, rgba(0,48,87,.10));
}
.ms-pro-managed__card--primary {
    background: var(--ms-primary, #003057);
    border: 1px solid transparent;
}
.ms-pro-managed__card-icon {
    width: 5rem; height: 5rem;
    border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}
.ms-pro-managed__card--light .ms-pro-managed__card-icon {
    background: var(--ms-primary-faint, #f0f4fa);
    color: var(--ms-primary, #003057);
}
.ms-pro-managed__card--primary .ms-pro-managed__card-icon {
    background: rgba(255,255,255,.10);
    color: var(--ms-gold, #FFC000);
}
.ms-pro-page .ms-pro-managed__card-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1.2rem;
}
.ms-pro-page .ms-pro-managed__card--light .ms-pro-managed__card-title { color: var(--ms-primary, #003057) !important; }
.ms-pro-page .ms-pro-managed__card--primary .ms-pro-managed__card-title { color: #fff !important; }
.ms-pro-page .ms-pro-managed__card-body {
    font-size: 1.5rem;
    line-height: 1.65;
    margin: 0;
}
.ms-pro-page .ms-pro-managed__card--light .ms-pro-managed__card-body { color: var(--ms-text-muted, #475569) !important; }
.ms-pro-page .ms-pro-managed__card--primary .ms-pro-managed__card-body { color: #fff !important; }

.ms-pro-managed__app-note {
    background: #fff;
    border: 1px solid var(--ms-border, rgba(0,48,87,.10));
    border-radius: 1.2rem;
    padding: 1.8rem 2.2rem;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}
.ms-pro-managed__app-note i { color: var(--ms-primary, #003057); flex-shrink: 0; margin-top: .25rem; font-size: 1.6rem; }
.ms-pro-page .ms-pro-managed__app-note p {
    font-size: 1.4rem;
    color: var(--ms-text-muted, #475569) !important;
    margin: 0;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════════
   05 — WHY MOSALAM PRO
══════════════════════════════════════════════════════════════════════ */
.ms-pro-why {
    padding: 9rem 0;
    background: var(--ms-primary, #003057);
}
.ms-pro-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3.2rem;
}
.ms-pro-why__item { text-align: center; }
.ms-pro-why__icon {
    width: 6rem; height: 6rem;
    border-radius: 50%;
    background: rgba(255,192,0,.10);
    border: 1px solid rgba(255,192,0,.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem;
    color: var(--ms-gold, #FFC000);
    margin: 0 auto 2rem;
}
.ms-pro-page .ms-pro-why__title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 .8rem;
}
.ms-pro-page .ms-pro-why__text {
    font-size: 1.4rem;
    color: #fff !important;
    line-height: 1.6;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   06 — CONTACT / FORM
══════════════════════════════════════════════════════════════════════ */
.ms-pro-contact {
    padding: 10rem 0;
    background: var(--ms-primary-strong, #001B35);
}
.ms-pro-contact__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4.8rem;
}
.ms-pro-contact__copy {
    max-width: 64rem;
    width: 100%;
}
.ms-pro-page .ms-pro-contact__title {
    font-size: clamp(3rem, 4vw, 4.8rem);
    font-weight: 800;
    color: #fff !important;
    line-height: 1.15;
    margin: .8rem 0 1.6rem;
}
.ms-pro-page .ms-pro-contact__sub {
    font-size: 1.7rem;
    color: #fff !important;
    line-height: 1.65;
    margin: 0 0 0;
}
.ms-pro-contact__direct {
    margin-top: 2.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
}
.ms-pro-page .ms-pro-contact__direct p {
    font-size: 1.4rem;
    color: #fff !important;
    margin: 0;
}
.ms-pro-page .ms-pro-contact__email,
.ms-pro-page a.ms-pro-contact__email {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--ms-gold, #FFC000) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    transition: opacity .2s;
}
.ms-pro-page .ms-pro-contact__email:hover { opacity: .8; }

/* Form */
.ms-pro-form {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 2rem;
    padding: 3.6rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 72rem;
}
.ms-pro-form__field { display: flex; flex-direction: column; gap: .6rem; }
.ms-pro-page .ms-pro-form__label {
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff !important;
}
.ms-pro-form__req { color: var(--ms-gold, #FFC000); }
.ms-pro-form__optional { font-weight: 400; color: rgba(255,255,255,.45); font-size: 1.2rem; }
.ms-pro-form__input,
.ms-pro-form__textarea,
.ms-pro-form__select {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: .8rem;
    color: #fff;
    font-size: 1.5rem;
    padding: 1.1rem 1.4rem;
    width: 100%;
    font-family: inherit;
    transition: border-color .2s;
    appearance: none;
}
.ms-pro-form__input::placeholder,
.ms-pro-form__textarea::placeholder { color: rgba(255,255,255,.35); }
.ms-pro-form__input:focus,
.ms-pro-form__textarea:focus,
.ms-pro-form__select:focus {
    outline: none;
    border-color: var(--ms-gold, #FFC000);
    background: rgba(255,255,255,.09);
}
.ms-pro-form__select option { background: #001B35; color: #fff; }
.ms-pro-form__select-wrap { position: relative; }
.ms-pro-form__select-arrow {
    position: absolute;
    right: 1.2rem; top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.45);
    pointer-events: none;
    font-size: 1.2rem;
}
.ms-pro-form__textarea { resize: vertical; min-height: 9rem; }

/* Service chips */
.ms-pro-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}
.ms-pro-chip { cursor: pointer; }
.ms-pro-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.ms-pro-chip span {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 600;
    padding: .6rem 1.4rem;
    border-radius: 99px;
    border: 1px solid rgba(255,255,255,.20);
    color: rgba(255,255,255,.75);
    background: rgba(255,255,255,.04);
    transition: border-color .15s, background .15s, color .15s;
    cursor: pointer;
}
.ms-pro-chip input:checked + span {
    border-color: var(--ms-gold, #FFC000);
    background: rgba(255,192,0,.12);
    color: var(--ms-gold, #FFC000);
}
.ms-pro-chip:hover span { border-color: rgba(255,255,255,.45); }

/* Submit button states */
.ms-pro-form__submit { width: 100%; justify-content: center; font-size: 1.6rem; }
.ms-pro-form__submit-loading { display: none; }
.ms-pro-form__submit.is-loading .ms-pro-form__submit-label { display: none; }
.ms-pro-form__submit.is-loading .ms-pro-form__submit-loading { display: inline; }

/* Messages */
.ms-pro-form__success,
.ms-pro-form__error {
    border-radius: .8rem;
    padding: 1.2rem 1.6rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: .8rem;
}
.ms-pro-form__success {
    background: rgba(42,122,75,.18);
    border: 1px solid rgba(42,122,75,.35);
    color: #6ee7b7;
}
.ms-pro-form__error {
    background: rgba(204,0,0,.15);
    border: 1px solid rgba(204,0,0,.30);
    color: #fca5a5;
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .ms-pro-product__layout { grid-template-columns: 1fr; gap: 4rem; }
    .ms-pro-product__layout--reverse .ms-pro-product__copy { order: 0; }
    .ms-pro-product__layout--reverse .ms-pro-product__included { order: 0; }
    .ms-pro-why__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ms-pro-seg-grid { grid-template-columns: 1fr; }
    .ms-pro-managed__grid { grid-template-columns: 1fr; }
    .ms-pro-why__grid { grid-template-columns: 1fr 1fr; }
    .ms-pro-hero { min-height: auto; padding: 10rem 2.4rem 7rem; }
    .ms-pro-form { padding: 2.4rem; }
}
@media (max-width: 480px) {
    .ms-pro-why__grid { grid-template-columns: 1fr; }
    .ms-pro-wrap { padding: 0 1.6rem; }
}
