/* Tiewrap Social product page — extra parts on top of /mas-doctors/assets/mas.css (hero, features, roles, steps). */
.tws-page { --tws: #0b8f8c; --tws-dark: #087371; --tws-ink: #10292b; --tws-soft: #e8f5f4; --tws-line: #dbe7e6; --tws-muted: #5b7476; }
.tws-small { font-size: 15px; color: var(--tws-muted); margin: 10px 0 18px; }
.tws-small a { color: var(--tws); font-weight: 600; }
.tws-muted { color: var(--tws-muted); }
.tws-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991px) { .tws-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tws-groups { grid-template-columns: 1fr; } }

/* Networks strip */
.tws-nets { border-top: 1px solid var(--tws-line); border-bottom: 1px solid var(--tws-line); background: #fff; padding: 18px 0; }
.tws-nets .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; font-weight: 600; font-size: 17px; color: var(--tws-ink); }
.tws-nets .fa { font-size: 20px; vertical-align: -2px; }
.tws-nets .tws-muted { font-weight: 400; font-size: 14px; }


.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-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%; }


/* Screens: tabs on top, one big screenshot underneath (readable on every screen). */
.tws-screens { padding: 70px 0; background: #f6fbfb; }
.tws-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 14px; }
.tws-tab { background: #fff; border: 1px solid var(--tws-line); border-radius: 50px; padding: 9px 18px; font-size: 16px; font-weight: 600; cursor: pointer; color: var(--tws-ink); transition: background .15s, border-color .15s; }
.tws-tab:hover { border-color: var(--tws); color: var(--tws); }
.tws-tab.is-active { background: var(--tws); border-color: var(--tws); color: #fff; }
.tws-tab:focus-visible, .tws-switch button:focus-visible, .tws-zoom:focus-visible { outline: 3px solid #f6a623; outline-offset: 2px; }
.tws-desc { text-align: center; font-size: 18px; line-height: 1.6; color: var(--tws-ink); max-width: 760px; margin: 0 auto 22px; min-height: 2.6em; }
.tws-frame { margin: 0 auto; max-width: 1100px; }
.tws-frame picture, .mas-hero .mas-frame picture { display: block; }
.tws-frame img, .mas-hero .mas-frame img { width: 100%; height: auto; display: block; }
.tws-zoom { display: block; position: relative; cursor: zoom-in; }
.tws-zoom-hint { position: absolute; bottom: 12px; inset-inline-end: 12px; background: rgba(16,41,43,.78); color: #fff; font-size: 13px; padding: 5px 10px; border-radius: 50px; pointer-events: none; }
@media (max-width: 767px) {
  .tws-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 2px 2px 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .tws-tab { flex: 0 0 auto; scroll-snap-align: start; font-size: 15px; }
  .tws-desc { font-size: 16px; }
  .tws-zoom-hint { font-size: 12px; bottom: 8px; inset-inline-end: 8px; }
  /* Phones: one large picture in the hero instead of two small overlapping ones. */
  .mas-hero .mas-frame-small { display: none !important; }
  .mas-hero .mas-frame-main { width: 100% !important; max-width: 100% !important; margin: 0 !important; transform: none !important; position: relative !important; inset: auto !important; }
}

/* Full-size viewer */
.tws-lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(8,20,21,.92); display: flex; align-items: center; justify-content: center; padding: 16px; overflow: auto; }
.tws-lightbox[hidden] { display: none; }
.tws-lightbox img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
@media (max-width: 767px) {
  /* On phones show the screenshot at its real size and let people pan, so the text is readable. */
  .tws-lightbox { align-items: flex-start; justify-content: flex-start; }
  .tws-lightbox img { max-width: none; width: 1000px; }
  .tws-lightbox img.is-phone { width: 100%; max-width: 100%; }
  .tws-screens .tws-frame { max-width: 440px; }   /* phone screenshots are tall: keep them a phone-like width */
}
.tws-lightbox-close { position: fixed; top: 12px; inset-inline-end: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #10292b; font-size: 28px; line-height: 44px; cursor: pointer; z-index: 2; }

/* Pricing */
.tws-pricing { padding: 70px 0; }
.tws-switch { display: inline-flex; border: 1px solid var(--tws); border-radius: 50px; overflow: hidden; margin-top: 14px; }
.tws-switch button { background: #fff; border: 0; padding: 7px 20px; font-weight: 600; color: var(--tws); cursor: pointer; }
.tws-switch button.is-active { background: var(--tws); color: #fff; }
.tws-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 10px; }
.tws-plan { position: relative; background: #fff; border: 1px solid var(--tws-line); border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; }
.tws-plan h3 { font-size: 22px; font-weight: 700; margin: 0 0 4px; color: var(--tws-ink); }
.tws-plan p { font-size: 15px; margin: 0; }
.tws-plan.is-popular { border: 2px solid var(--tws); box-shadow: 0 18px 40px rgba(11, 143, 140, .16); }
.tws-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--tws); color: #fff; font-size: 12px; font-weight: 700; border-radius: 50px; padding: 4px 14px; white-space: nowrap; }
.tws-price { margin: 14px 0 18px; color: var(--tws-muted); min-height: 58px; }
.tws-price strong { font-size: 34px; font-weight: 700; color: var(--tws-ink); }
.tws-price em { display: block; font-style: normal; color: #198754; font-weight: 700; font-size: 14px; }
.tws-feats { list-style: none; padding: 0; margin: 0 0 22px; }
.tws-feats li { display: flex; gap: 10px; align-items: baseline; margin-bottom: 10px; font-size: 16px; color: var(--tws-ink); }
.tws-feats .fa { color: var(--tws); width: 16px; text-align: center; }
.tws-plan-btn { margin-top: auto; text-align: center; display: block; }
.tws-incl { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; background: #f6fbfb; border: 1px solid var(--tws-line); border-radius: 14px; padding: 16px 20px; margin-top: 26px; font-size: 16px; }
.tws-incl .fa { color: var(--tws); }
.tws-note { text-align: center; font-size: 15px; color: var(--tws-muted); margin: 14px 0 0; }

/* FAQ */
.tws-faq { padding: 70px 0; background: #f6fbfb; }
.tws-faq-list { max-width: 860px; margin: 0 auto; }
.tws-faq details { background: #fff; border: 1px solid var(--tws-line); border-radius: 12px; margin-bottom: 10px; padding: 0 18px; }
.tws-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; padding: 16px 0; list-style: none; position: relative; padding-inline-end: 28px; color: var(--tws-ink); }
.tws-faq summary::-webkit-details-marker { display: none; }
.tws-faq summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 12px; font-size: 22px; color: var(--tws); }
.tws-faq details[open] summary::after { content: "–"; }
.tws-faq details p { margin: 0 0 16px; color: #3f5759; line-height: 1.7; font-size: 16px; }

/* If mas.js is not loaded, never leave content hidden. */
.no-js .mas-reveal { opacity: 1 !important; transform: none !important; }
 
/* Readable text on this page (the site theme uses small grey text in places). */


/* ---------- 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; }

/* ---------- 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; }


/* ---------- 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); }


/* ---------- 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; }
}


.tws-page .mas-lead { font-size: 19px; line-height: 1.65; }
@media (max-width: 767px) {
  .tws-page .mas-features .tw-checks li, .tws-page .mas-step-list p, .tws-page .mas-roles p, .tws-page .tw-head p { font-size: 16px; }
  .tws-page .mas-lead { font-size: 17px; }
  .tws-plans { grid-template-columns: 1fr; }
}
[dir=rtl] .tws-badge { transform: translateX(50%); left: auto; right: 50%; }

/* =====================================================================
   Readability (v6): the original elegant layout, with sharper pictures and clearer text.
   Scoped to this page only (.tws-page).
   ===================================================================== */
/* Give the screenshots more room next to the text, and a bigger close-up frame. */
/*.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; }

.tws-page .mas-hero-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.tws-page .mas-frame-small { width: 58%; }
.tws-page .mas-frame { cursor: zoom-in; }
@media (max-width: 991px) { .tws-page .mas-hero-in { grid-template-columns: minmax(0, 1fr); } .tws-page .mas-hero-art { max-width: 760px; } }

/* Text: a little larger and darker than the shared theme, same fonts and look in English. */
.tws-page main#twsocial .mas-lead { font-size: 19px; color: #33494b; }
.tws-page main#twsocial .mas-chips li { font-size: 15px; }
.tws-page main#twsocial .tw-head p { font-size: 18px; color: #3d5254; }
.tws-page .mas-features .tw-checks li { font-size: 16px !important; color: #2f4446 !important; }
.tws-page .mas-step-list p { font-size: 16px !important; color: #2f4446 !important; }
.tws-page .mas-roles p { font-size: 17px !important; }
/* Arabic: a font made for Arabic (the site font has no Arabic letters). */
html[dir="rtl"] .tws-page main#twsocial, html[dir="rtl"] .tws-page main#twsocial h1, html[dir="rtl"] .tws-page main#twsocial h2,
html[dir="rtl"] .tws-page main#twsocial h3, html[dir="rtl"] .tws-page main#twsocial button, html[dir="rtl"] .tws-page main#twsocial summary {
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif; }
html[dir="rtl"] .tws-page main#twsocial .mas-hero h1 { line-height: 1.45; }
@media (max-width: 767px) {
  .tws-page main#twsocial .mas-lead { font-size: 17px; }
  .tws-page .mas-features .tw-checks li, .tws-page .mas-step-list p { font-size: 16px !important; }
}


