/* moawen-maids — design system from qatar_home_crew_web (BrandTokens) */

:root {
  --maroon: #7A1530;
  --maroon-dark: #5C0F24;
  --navy: #1A3352;
  --navy-deep: #1E3A5F;
  --page-bg: #FAFBFC;
  --grey-bg: #F4F5F8;
  --border: #E2E6EE;
  --text: #0F172A;
  --text-secondary: #334155;
  --text-muted: #475569;
  --ooredoo-red: #E60000;
  --gcc-blue: #1565C0;
  --coral: #FF8B8B;
  --auth-grey: #F5F5F5;
  --auth-border: #E0E0E0;
  --loading-note-bg: #FDF2F4;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --r-choice: 12px;

  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 20px;
  --space-xl: 24px;
  --space-xxl: 32px;

  --content-narrow: 560px;
  --content-auth: 440px;
  --content-wide: 1140px;
  --container: min(var(--content-wide), 100% - 2rem);

  --font: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  --font-en: 'Inter', 'Segoe UI', Tahoma, sans-serif;
  --font-ooredoo: 'Roboto', 'Segoe UI', sans-serif;

  --shadow-card: 0 8px 24px rgba(26, 51, 82, 0.06);
  --shadow-header: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-btn: 0 5px 14px rgba(122, 21, 48, 0.22);
  --shadow-cta: 0 12px 24px rgba(122, 21, 48, 0.3);

  --gradient-cta: linear-gradient(to right, #C08497, #8E9AAF);
  --gradient-payment: linear-gradient(to right, #9B1B30, #1E3A5F);
  --gradient-footer: linear-gradient(to bottom left, #5C0F24, #7A1530);
  --gradient-cta-banner: linear-gradient(to bottom left, #7A1530, #1A3352);
}

.mm-lang-en { --font: var(--font-en); }

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.mm-body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  background: var(--page-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.mm-nav-open { overflow: hidden; }

img, svg { max-width: 100%; height: auto; display: block; }

.mm-container {
  width: var(--container);
  margin-inline: auto;
  min-width: 0;
}

/* ── Header (JusourSiteHeader — LTR shell) ── */
.mm-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-header);
}

.mm-header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-block: var(--space-sm);
  direction: ltr;
}

.mm-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  color: var(--maroon);
  flex-shrink: 0;
}

.mm-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}

.mm-nav-open .mm-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mm-nav-open .mm-nav-toggle span:nth-child(2) { opacity: 0; }
.mm-nav-open .mm-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mm-header-spacer { flex: 1; }

.mm-header-actions {
  display: none;
  align-items: center;
  gap: var(--space-xs);
  direction: rtl;
}

.mm-nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.mm-nav a:hover,
.mm-nav a.is-active {
  color: var(--maroon);
  background: rgba(122, 21, 48, 0.08);
  font-weight: 800;
}

.mm-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: var(--r-sm);
  background: var(--maroon);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.mm-header-lang {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--maroon);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.mm-header-logos {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.mm-header-logos img {
  width: auto;
  object-fit: contain;
}

.mm-header-logos .mm-logo-ministry { height: 52px; }

.mm-header-logos .mm-logo-brand { height: 56px; }

.mm-brand-link { display: flex; align-items: center; text-decoration: none; }

@media (min-width: 600px) {
  .mm-nav-toggle { display: none; }
  .mm-header-spacer { display: none; }
  .mm-header-actions { display: flex; flex: 1; justify-content: flex-start; }
  .mm-header-logos .mm-logo-ministry { height: 64px; }
  .mm-header-logos .mm-logo-brand { height: 68px; }
}

@media (min-width: 1200px) {
  .mm-header-lang { display: inline-flex; }
}

/* Mobile drawer */
.mm-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.4);
}

.mm-drawer {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 201;
  background: #fff;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: var(--space-sm) var(--space-lg) var(--space-xl);
  transform: translateY(100%);
  transition: transform 0.25s ease;
  max-height: 85vh;
  overflow-y: auto;
}

.mm-drawer-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: var(--r-pill);
  margin: 0 auto var(--space-md);
}

.mm-drawer-nav { display: flex; flex-direction: column; gap: 4px; direction: rtl; }

.mm-drawer-nav a {
  display: block;
  padding: 14px 0;
  color: var(--maroon);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  text-align: right;
}

.mm-drawer-nav a.is-active { font-weight: 800; }

.mm-nav-open .mm-drawer-backdrop { display: block; }
.mm-nav-open .mm-drawer { transform: translateY(0); }

/* ── Main shell ── */
.mm-main { flex: 1; }

.mm-shell {
  padding: var(--space-lg) 0 var(--space-xxl);
}

.mm-shell--narrow .mm-page { max-width: var(--content-narrow); margin-inline: auto; }

.mm-shell--auth .mm-page { max-width: var(--content-auth); margin-inline: auto; }

/* ── Page title (JusourPageTitle) ── */
.mm-page-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.mm-page-title h1 {
  margin: 0;
  font-size: clamp(24px, 5vw, 28px);
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.25;
}

.mm-page-title p {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Form card (JusourFormCard) ── */
.mm-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.mm-form-card .mm-card-body { padding: var(--space-xl); }

.mm-service-head {
  text-align: center;
  margin-bottom: 22px;
}

.mm-service-head h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--maroon);
  line-height: 1.3;
}

.mm-service-head p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.mm-card-form { display: flex; flex-direction: column; }

/* ── Section header (JusourSectionHeader) ── */
.mm-section-title {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.4;
}

.mm-section-title::before {
  content: '';
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: var(--maroon);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.mm-section-title--duration::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E"); }

.mm-section-title--service::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 14H5v-2h7v2zm7-4H5v-2h14v2zm0-4H5V7h14v2z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 14H5v-2h7v2zm7-4H5v-2h14v2zm0-4H5V7h14v2z'/%3E%3C/svg%3E"); }

.mm-section-title--workers::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E"); }

.mm-form-section { margin-bottom: 22px; }
.mm-form-section:last-child { margin-bottom: 0; }

/* ── Fields ── */
.mm-field { display: block; margin-bottom: var(--space-md); min-width: 0; }
.mm-field:last-child { margin-bottom: 0; }

.mm-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-xs);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.mm-label .mm-req { color: var(--ooredoo-red); font-weight: 700; }

.mm-input,
.mm-select,
.mm-textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.mm-input:focus,
.mm-select:focus,
.mm-textarea:focus {
  outline: none;
  border: 1.5px solid var(--maroon);
}

.mm-textarea { min-height: 120px; resize: vertical; line-height: 1.5; }

.mm-field.is-invalid .mm-input,
.mm-field.is-invalid .mm-textarea,
.mm-field.is-invalid .mm-select-wrap {
  border-color: var(--ooredoo-red);
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.12);
}

.mm-field-error,
.mm-section-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ooredoo-red);
  line-height: 1.4;
}

.mm-field-error[hidden],
.mm-section-error:empty { display: none; }

.mm-form-section.is-invalid {
  outline: 2px solid rgba(211, 47, 47, 0.15);
  border-radius: var(--r-md);
  padding: 8px;
  margin: -8px;
  margin-bottom: 14px;
}

.mm-form-errors {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #fdecea;
  border: 1px solid rgba(211, 47, 47, 0.25);
  border-radius: var(--r-md);
  color: #b71c1c;
  font-size: 14px;
  font-weight: 600;
}

.mm-form-errors ul {
  margin: 0;
  padding-inline-start: 18px;
}

.mm-form-errors li { margin: 4px 0; }

.mm-select-wrap {
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #fff;
}

.mm-select-wrap .mm-select {
  border: none;
  padding: 14px 0;
  border-radius: 0;
  background: transparent;
}

.mm-select-wrap .mm-select:focus { box-shadow: none; }

.mm-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 419px) {
  .mm-grid-2 { grid-template-columns: 1fr; }
}

/* ── Choice cards (JusourSelectionCard) ── */
.mm-choice { display: block; cursor: pointer; min-width: 0; height: 100%; }
.mm-choice input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }

.mm-choice-box {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 16px 14px;
  border-radius: var(--r-choice);
  background: var(--grey-bg);
  border: 1px solid rgba(226, 230, 238, 0.6);
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  word-break: break-word;
  transition: border-color 0.15s, background 0.15s;
  height: 100%;
}

.mm-choice input:checked + .mm-choice-box {
  background: rgba(122, 21, 48, 0.08);
  border: 2px solid var(--maroon);
}

.mm-choice-list { display: grid; gap: 10px; }

/* ── Worker pills ── */
.mm-worker-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-xs);
}

.mm-worker-btn { display: block; cursor: pointer; }
.mm-worker-btn input { display: none; }

.mm-worker-btn span {
  display: grid;
  place-items: center;
  height: 48px;
  border-radius: var(--r-choice);
  border: 1px solid rgba(226, 230, 238, 0.6);
  background: var(--grey-bg);
  font-weight: 700;
  font-size: 15px;
  transition: all 0.15s;
}

.mm-worker-btn input:checked + span {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
  font-weight: 800;
}

/* ── Buttons ── */
.mm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 52px;
  padding: 16px;
  border-radius: var(--r-md);
  border: none;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.12s, opacity 0.15s;
}

.mm-btn:active { transform: scale(0.98); }

.mm-btn--primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.mm-btn--payment {
  background: var(--gradient-payment);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.mm-btn--secondary {
  background: transparent;
  color: var(--maroon);
  border: 1.5px solid var(--maroon);
  font-weight: 700;
  font-size: 15px;
  box-shadow: none;
}

.mm-btn--ooredoo {
  background: var(--ooredoo-red);
  color: #fff;
  border-radius: var(--r-pill);
  font-family: var(--font-ooredoo);
}

.mm-btn--ooredoo-outline {
  background: transparent;
  color: var(--ooredoo-red);
  border: 1.5px solid var(--ooredoo-red);
  border-radius: var(--r-pill);
  font-family: var(--font-ooredoo);
}

.mm-card-footer,
.mm-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.mm-page-actions--stack { flex-direction: column; }

@media (min-width: 900px) {
  .mm-page-actions:not(.mm-page-actions--stack) {
    flex-direction: row-reverse;
  }

  .mm-page-actions:not(.mm-page-actions--stack) .mm-btn {
    flex: 1;
  }
}

/* ── Note card (JusourNoteCard) ── */
.mm-note-card {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: rgba(122, 21, 48, 0.06);
  border: 1px solid rgba(122, 21, 48, 0.12);
  border-radius: var(--r-md);
}

.mm-note-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--maroon);
}

.mm-note-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mm-note-card li {
  position: relative;
  padding-inline-end: 14px;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.mm-note-card li::after {
  content: '•';
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  color: var(--maroon);
}

.mm-notice {
  padding: 14px var(--space-md);
  background: var(--loading-note-bg);
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ── Summary ── */
.mm-summary-card { margin-bottom: var(--space-md); }

.mm-summary-card h2 {
  margin: 0 0 var(--space-md);
  font-size: 16px;
  font-weight: 800;
  color: var(--maroon);
}

.mm-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.mm-summary-row:last-child { border-bottom: none; }

.mm-summary-row span {
  font-size: 13px;
  font-weight: 700;
  color: var(--maroon);
  flex-shrink: 0;
}

.mm-summary-row strong {
  text-align: end;
  font-weight: 500;
  color: var(--text-secondary);
  word-break: break-word;
}

.mm-summary-row--total {
  margin-top: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 2px solid var(--border);
}

.mm-summary-row--total strong {
  font-weight: 800;
  color: var(--maroon);
  font-size: 16px;
}

/* ── Payment stepper ── */
.mm-pay-steps {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-xl);
}

.mm-pay-step {
  flex: 1;
  text-align: center;
}

.mm-pay-step span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.mm-pay-step.is-active span { color: var(--maroon); }

.mm-pay-step i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--border);
}

.mm-pay-step.is-active i { background: var(--maroon); }

/* ── Landing ── */
.mm-body--landing .mm-main { padding: 0; }

.mm-hero {
  background: #fff;
  text-align: center;
  padding: 36px 0 32px;
}

@media (min-width: 600px) {
  .mm-hero { padding: 56px 0 48px; }
}

.mm-hero-company {
  margin: 0;
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.3;
}

.mm-hero-title {
  margin: 12px 0 0;
  font-size: clamp(30px, 6vw, 40px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.mm-hero-tagline {
  margin: 6px 0 0;
  font-size: clamp(15px, 2.5vw, 18px);
  font-weight: 600;
  color: var(--maroon);
}

.mm-hero-logo {
  margin: 16px auto 0;
  height: 72px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 600px) {
  .mm-hero-logo { height: 96px; margin-top: 20px; }
}

.mm-hero-desc {
  max-width: 42rem;
  margin: 20px auto 0;
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.65;
}

.mm-landing-section {
  padding: 48px 0 0;
}

.mm-section-head {
  margin-bottom: var(--space-xl);
}

.mm-section-head.is-center { text-align: center; }

.mm-section-head h2 {
  margin: 0;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  color: var(--text);
}

.mm-section-head p {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.mm-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--space-md);
}

.mm-service-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 20px 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.mm-service-card:hover,
.mm-service-card:focus-visible {
  box-shadow: var(--shadow-card);
  border-color: var(--maroon);
  outline: none;
}

.mm-service-card.is-selected {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(122, 21, 48, 0.12);
}

.mm-service-card.is-selected .mm-btn {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}

.mm-service-hint {
  margin: 0 0 16px;
  padding: 12px 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--maroon);
  background: rgba(122, 21, 48, 0.08);
  border: 1px solid rgba(122, 21, 48, 0.2);
  border-radius: var(--r-md);
  animation: mm-hint-in 0.35s ease;
}

.mm-service-hint[hidden] { display: none; }

@keyframes mm-hint-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.mm-services.is-prompt .mm-service-card {
  border-color: var(--maroon);
  animation: mm-card-pulse 1.2s ease-in-out infinite;
}

.mm-services.is-prompt .mm-service-choose-btn {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
  animation: mm-btn-pulse 1.2s ease-in-out infinite;
}

@keyframes mm-card-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(122, 21, 48, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(122, 21, 48, 0.12); }
}

@keyframes mm-btn-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.mm-service-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: var(--grey-bg);
  border-radius: 50%;
  font-size: 32px;
  color: var(--text-secondary);
}

.mm-service-card h3 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.mm-service-card p {
  margin: 10px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.mm-service-price {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.mm-service-card .mm-btn {
  margin-top: 18px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 15px;
  min-height: 48px;
  box-shadow: none;
}

.mm-booking-steps {
  display: grid;
  gap: var(--space-sm);
}

@media (min-width: 600px) {
  .mm-booking-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1400px) {
  .mm-booking-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
}

.mm-step-tile {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: var(--space-md);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.mm-step-tile-text { flex: 1; min-width: 0; }

.mm-step-tile h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}

.mm-step-tile p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.35;
}

.mm-step-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}

.mm-trust-grid {
  display: grid;
  gap: var(--space-sm);
}

@media (min-width: 600px) {
  .mm-trust-grid { grid-template-columns: repeat(3, 1fr); }
}

.mm-trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 18px;
  background: var(--grey-bg);
  border-radius: var(--r-md);
}

.mm-trust-item-text h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}

.mm-trust-item-text p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.mm-trust-icon {
  flex-shrink: 0;
  font-size: 28px;
  color: var(--maroon);
}

.mm-cta-banner {
  margin-top: 40px;
  padding: var(--space-xl);
  background: var(--gradient-cta-banner);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-cta);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .mm-cta-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 36px;
  }
}

.mm-cta-banner h2 {
  margin: 0;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 900;
  color: #fff;
}

.mm-cta-banner p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.mm-cta-banner .mm-btn {
  background: #fff;
  color: var(--maroon);
  box-shadow: none;
  width: auto;
  min-width: 200px;
  flex-shrink: 0;
}

/* ── Footer (JusourFooter) ── */
.mm-footer {
  margin-top: 48px;
  background: var(--gradient-footer);
  color: #fff;
  padding: 40px 0 var(--space-xxl);
}

.mm-footer-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 768px) {
  .mm-footer-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-xxl); }
}

.mm-footer-brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.mm-footer-brand p {
  margin: var(--space-sm) 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.mm-footer-col h3 {
  margin: 0 0 var(--space-sm);
  font-size: 16px;
  font-weight: 700;
}

.mm-footer-col a,
.mm-footer-col p {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}

.mm-footer-col a:hover { color: #fff; }

.mm-footer-copy {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ── Ooredoo auth ── */
.mm-body--auth { background: #fff; }

.mm-ooredoo-shell { max-width: var(--content-auth); margin-inline: auto; }

.mm-ooredoo-bar {
  background: var(--auth-grey);
  padding: var(--space-md);
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  border-bottom: 1px solid var(--auth-border);
}

.mm-ooredoo-logo {
  font-family: var(--font-ooredoo);
  font-weight: 900;
  font-size: 32px;
  color: var(--ooredoo-red);
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: var(--space-xl);
}

.mm-ooredoo-heading {
  margin: 0 0 var(--space-sm);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
}

.mm-ooredoo-greeting {
  margin: 0 0 var(--space-lg);
  font-size: 18px;
  font-weight: 800;
}

.mm-ooredoo .mm-input,
.mm-ooredoo .mm-select {
  border-color: var(--auth-border);
  border-radius: var(--r-choice);
  padding: 16px;
}

.mm-ooredoo .mm-input:focus {
  border-color: var(--gcc-blue);
  border-width: 1.5px;
}

.mm-link-ooredoo {
  color: var(--ooredoo-red);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

/* ── Loading ── */
.mm-loading-card {
  text-align: center;
  padding: clamp(32px, 6vw, 56px) var(--space-xl);
}

.mm-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-lg);
  border: 3px solid var(--border);
  border-top-color: var(--maroon);
  border-radius: 50%;
  animation: mm-spin 0.75s linear infinite;
}

@keyframes mm-spin { to { transform: rotate(360deg); } }

.mm-text-center { text-align: center; }

.mm-status-icon { font-size: 48px; margin-bottom: var(--space-sm); }

/* ── Utilities ── */
[dir="ltr"] .mm-summary-row strong { text-align: start; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 1200px) {
  :root { --container: min(var(--content-wide), 100% - 64px); }
}

@media print {
  .mm-site-header, .mm-footer, .mm-drawer, .mm-drawer-backdrop, .mm-nav-toggle { display: none !important; }
}
