/* MAS Doctors product page (Oct 2026). Sits on top of tiewrap-2026.css: same font, buttons and orange actions;
   a calm teal for the medical side, soft surfaces and gentle motion. */
.mas-page {
  --mas-teal: #0b8f8c;
  --mas-teal-soft: #e6f5f4;
  --mas-sky: #f3f8fb;
  --mas-ink: #2f3a4b;
  --mas-text: #6b7385;
  --mas-line: #e3e9ef;
  --mas-radius: 14px;
  --mas-shadow: 0 18px 50px rgba(32, 52, 84, .12);
  background: #fff;
}
.mas-page main h1, .mas-page main h2, .mas-page main h3 { color: var(--mas-ink); }
.mas-page .mas-roles h2 { color: #fff; }

/* ---------- hero ---------- */
.mas-hero {
  position: relative; overflow: hidden; padding: 64px 0 88px;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(11, 143, 140, .12), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(253, 135, 31, .08), transparent 70%),
    linear-gradient(180deg, var(--mas-sky) 0%, #fff 100%);
}
.mas-hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.mas-hero-in::before, .mas-hero-in::after { display: none; }
.mas-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px;
  background: var(--mas-teal-soft); color: var(--mas-teal); font-size: 14px; font-weight: 600;
}
.mas-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mas-teal); box-shadow: 0 0 0 4px rgba(11, 143, 140, .18); }
.mas-hero h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.12; font-weight: 700; margin: 0 0 18px; letter-spacing: -.01em; }
html[dir="rtl"] .mas-hero h1 { line-height: 1.35; letter-spacing: 0; }
.mas-lead { font-size: 18px; line-height: 1.65; color: var(--mas-text); margin: 0 0 28px; max-width: 34em; }
.mas-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.mas-btn { padding: 14px 24px; font-size: 15px; border-radius: 10px; }
.mas-btn.tw-btn-orange { box-shadow: 0 10px 24px rgba(253, 135, 31, .28); }
.mas-btn.tw-btn-orange:hover { transform: translateY(-1px); }
.mas-btn { transition: background-color .2s, border-color .2s, transform .2s; }
.mas-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.mas-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--mas-ink); }
.mas-chips .fa { color: var(--mas-teal); font-size: 15px; }

.mas-hero-art { position: relative; padding-bottom: 56px; }
.mas-frame { margin: 0; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--mas-line); box-shadow: var(--mas-shadow); }
.mas-frame img { display: block; width: 100%; height: auto; }
.mas-frame-bar { display: flex; gap: 6px; padding: 10px 12px; background: #f6f8fa; border-bottom: 1px solid var(--mas-line); }
.mas-frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7dde4; }
.mas-frame-bar i:first-child { background: #ff8a7a; } .mas-frame-bar i:nth-child(2) { background: #ffcc66; } .mas-frame-bar i:nth-child(3) { background: #7fd49b; }
.mas-frame-main { position: relative; z-index: 1; }
.mas-frame-small { position: absolute; z-index: 2; width: 52%; bottom: 0; left: -8%; box-shadow: 0 22px 60px rgba(32, 52, 84, .22); }
html[dir="rtl"] .mas-frame-small { left: auto; right: -8%; }

/* ---------- features ---------- */
.mas-features { padding: 96px 0 72px; }
.mas-features .tw-head, .mas-steps .tw-head { margin-left: auto; margin-right: auto; text-align: center; }
.mas-features .tw-head h2::before, .mas-steps .tw-head h2::before { left: 50%; right: auto; transform: translateX(-50%); }   /* centred heading, centred bar */
.mas-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.mas-group {
  background: #fff; border: 1px solid var(--mas-line); border-radius: var(--mas-radius); padding: 28px 24px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.mas-group:hover { transform: translateY(-4px); box-shadow: var(--mas-shadow); border-color: transparent; }
.mas-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 14px; background: var(--mas-teal-soft); color: var(--mas-teal); font-size: 22px;
}
.mas-icon svg { width: 26px; height: 26px; }
.mas-group h3 { font-size: 20px; margin: 0 0 14px; }
.mas-group .tw-checks { font-size: 15px; }
.mas-group .tw-checks li { padding-top: 8px; padding-bottom: 8px; }
.mas-group .tw-checks li::before { color: var(--mas-teal); }

/* ---------- roles ---------- */
.mas-roles { padding: 0 0 96px; }
.mas-roles-in {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 48px; align-items: center;
  padding: 40px 44px; border-radius: 20px; background: linear-gradient(135deg, #0d4f5f 0%, #0b8f8c 100%); color: #fff;
}
.mas-roles-in::before, .mas-roles-in::after { display: none; }
.mas-roles h2 { color: #fff; font-size: 28px; margin: 0 0 8px; }
.mas-roles p { color: rgba(255, 255, 255, .82); margin: 0; font-size: 16px; line-height: 1.6; }
.mas-role-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.mas-role-list li {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-weight: 600; font-size: 15px;
}
.mas-role-list .fa { color: #ffd1a3; }

/* ---------- shared parts on this page (screens, packages, contact) ---------- */
.mas-page #tw-sec-screens, .mas-page #tw-sec-packages .bg-color-sky-light { background: var(--mas-sky); }
.mas-page .tw-screens { padding-bottom: 40px; }   /* screens and packages share one soft background here, so less space between them */
.mas-page #tw-sec-packages .content-lg { padding-top: 64px; }
.mas-page .tw-gallery, .mas-page .tw-plan, .mas-page .tw-compare-wrap, .mas-page .tw-form, .mas-page .tw-office { border-radius: var(--mas-radius); }

/* ---------- steps ---------- */
.mas-steps { padding: 96px 0 40px; }
.mas-step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.mas-step-list li { position: relative; padding: 30px 26px; border-radius: var(--mas-radius); background: var(--mas-sky); }
.mas-step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; background: #fff; color: var(--mas-teal); font-weight: 700; font-size: 18px; box-shadow: 0 6px 16px rgba(11, 143, 140, .18);
}
.mas-step-list h3 { font-size: 20px; margin: 0 0 8px; }
.mas-step-list p { color: var(--mas-text); font-size: 15px; line-height: 1.6; margin: 0; }
.mas-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; color: var(--mas-teal); }
.mas-link:hover { color: #076e6b; }

/* ---------- floating WhatsApp (same as the home page) ---------- */
.mas-page .float {
  position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px; z-index: 100; border-radius: 50%;
  background: #25d366; color: #fff; text-align: center; font-size: 30px; box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}
.mas-page .my-float { margin-top: 15px; }
html[dir="rtl"] .mas-page .float { right: auto; left: 40px; }

/* ---------- gentle reveal while scrolling (only when the browser supports it and motion is welcome) ---------- */
.mas-js .mas-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.mas-js .mas-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .mas-js .mas-reveal { opacity: 1; transform: none; transition: none; }
  .mas-group, .mas-btn { transition: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1199px) { .mas-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991px) {
  .mas-hero { padding: 40px 0 64px; }
  .mas-hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .mas-hero-art { max-width: 640px; width: 100%; justify-self: center; }
  .mas-frame-small { left: auto; right: -2%; width: 48%; }
  html[dir="rtl"] .mas-frame-small { right: auto; left: -2%; }
  .mas-roles-in { grid-template-columns: minmax(0, 1fr); padding: 32px 28px; }
  .mas-step-list { grid-template-columns: minmax(0, 1fr); }
  .mas-features { padding: 72px 0 56px; }
}
@media (max-width: 767px) {
  .mas-roles-in { margin-left: 16px; margin-right: 16px; padding: 28px 22px; border-radius: 16px; }
  .mas-roles { padding-bottom: 72px; }
  .mas-page .tw-screens { padding-bottom: 24px; }
  .mas-page #tw-sec-packages .content-lg { padding-top: 48px; padding-bottom: 72px; }
  .mas-steps { padding-top: 72px; }
}
@media (max-width: 600px) {
  .mas-groups { grid-template-columns: minmax(0, 1fr); }
  .mas-lead { font-size: 17px; }
  .mas-cta .tw-btn { flex: 1 1 100%; }
  .mas-hero-art { padding-bottom: 40px; }
  .mas-page .float { bottom: 20px; right: 20px; width: 54px; height: 54px; font-size: 27px; }
  html[dir="rtl"] .mas-page .float { left: 20px; right: auto; }
  .mas-page .my-float { margin-top: 13px; }
}
