/* Public bariatric landing — extends landing.css */
:root {
  /* متوافق مع landing: بدون كحلي شبه أسود */
  --sp-navy: #115e59;
  --sp-navy2: #334155;
  --sp-teal: #4f46e5;
  --sp-teal2: #14b8a6;
  --sp-glow: rgba(13, 148, 136, 0.1);
}
.sp-body.lp-body {
  color-scheme: light;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sp-lang-en {
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
.sp-lang-ar {
  font-family: Cairo, "Segoe UI", Tahoma, sans-serif;
}
body[dir="ltr"].sp-body.lp-body {
  direction: ltr;
}
body[dir="ltr"].sp-body.lp-body .lp-review-body {
  border-inline-start: none;
  border-inline-end: 3px solid rgba(13, 148, 136, 0.45);
  border-radius: 10px 0 0 10px;
}
/* إنجليزي: منع اختلاط الاتجاه فيعلّم النقطة أول السطر */
body[dir="ltr"].sp-body.lp-body .lp-lead,
body[dir="ltr"].sp-body.lp-body .sp-hero-lead,
body[dir="ltr"].sp-body.lp-body .sp-prose,
body[dir="ltr"].sp-body.lp-body .sp-urgency,
body[dir="ltr"].sp-body.lp-body .sp-note,
body[dir="ltr"].sp-body.lp-body .lp-section-sub,
body[dir="ltr"].sp-body.lp-body .sp-hero-card-note {
  unicode-bidi: plaintext;
  text-align: start;
}
.sp-shell {
  max-width: 1180px;
}
.sp-topbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--lp-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.sp-brand {
  color: var(--lp-heading);
  text-decoration: none;
}
.sp-brand:hover {
  color: var(--lp-accent);
}
.sp-topnav {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.sp-nav-link {
  font-weight: 700;
}
.sp-nav-active {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  color: #4338ca;
  border: 1px solid rgba(13, 148, 136, 0.28);
  background: #f0fdfa;
}
.sp-lang-switch {
  display: inline-flex;
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  overflow: hidden;
  background: #f1f5f9;
}
.sp-lang-pill {
  padding: 0.38rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #475569;
  text-decoration: none;
}
.sp-lang-pill:hover {
  color: var(--lp-text);
}
.sp-lang-pill.is-on {
  background: #ccfbf1;
  color: #4338ca;
}
.sp-hero {
  padding: 0.5rem 0 1rem;
}
.sp-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .sp-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: stretch;
  }
}
.sp-hero-title {
  font-size: clamp(1.85rem, 4.8vw, 2.65rem);
  line-height: 1.18;
  color: var(--lp-heading, #115e59);
}
.sp-hero-lead {
  max-width: 40rem;
}
.sp-urgency {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fbbf24;
}
.sp-hero-actions {
  margin-bottom: 0;
}
.sp-hero-card {
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 50%, #f0fdfa 100%);
  border: 1px solid var(--lp-border);
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.07);
}
.sp-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.sp-stat {
  background: #ffffff;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 0.65rem 0.5rem;
  text-align: center;
}
.sp-stat-val {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--lp-accent);
  letter-spacing: -0.02em;
}
.sp-stat-lbl {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lp-muted);
  line-height: 1.35;
}
.sp-hero-card-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--lp-muted);
  line-height: 1.55;
}
.sp-cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}
.sp-cert-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 148, 136, 0.22);
  color: var(--lp-heading);
  background: rgba(13, 148, 136, 0.06);
}
.sp-doctor-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .sp-doctor-grid {
    grid-template-columns: 1.4fr 0.9fr;
    align-items: start;
  }
}
.sp-doctor-name {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--lp-heading);
}
.sp-doctor-list {
  margin: 0;
  padding-inline-start: 1.1rem;
  color: var(--lp-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}
.sp-doctor-side {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}
.sp-side-title {
  margin: 0 0 0.65rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--lp-accent);
}
.sp-cert-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sp-cert-block {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--lp-border);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--lp-heading);
  background: #f8fafc;
}
.sp-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
}
.sp-service-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 1rem 1.05rem 1.1rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.sp-service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.35);
}
.sp-service-title {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--lp-accent);
}
.sp-service-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--lp-muted);
  line-height: 1.6;
}
.sp-cta-row {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.sp-page-hero {
  padding: 1rem 0 0.5rem;
  max-width: 46rem;
}
.sp-prose {
  max-width: 44rem;
}
.sp-note {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: var(--lp-muted);
  line-height: 1.65;
}
.sp-faq {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.sp-faq-item {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: 14px;
  padding: 0.35rem 0.85rem;
}
.sp-faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--lp-heading);
  padding: 0.55rem 0;
  list-style: none;
}
.sp-faq-item summary::-webkit-details-marker {
  display: none;
}
.sp-faq-item summary::after {
  content: "+";
  float: inline-end;
  color: var(--lp-accent);
  font-weight: 900;
}
.sp-faq-item[open] summary::after {
  content: "–";
}
.sp-faq-a {
  padding: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--lp-muted);
  line-height: 1.65;
}
.sp-google-card {
  margin-bottom: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--lp-border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
.sp-google-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.sp-google-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  background: conic-gradient(from 200deg, #4285f4, #34a853, #fbbc04, #ea4335, #4285f4);
  font-size: 1rem;
}
.sp-google-title {
  margin: 0;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--lp-heading);
}
.sp-google-sub {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--lp-muted);
}
.sp-google-score {
  margin-inline-start: auto;
  font-weight: 800;
  color: #fbbf24;
  font-size: 0.92rem;
}
.sp-contact-grid {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 880px) {
  .sp-contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.sp-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 1.1rem 1.15rem 1.2rem;
}
.sp-card-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--lp-heading, #115e59);
}
.sp-card-sub {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--lp-muted);
  line-height: 1.55;
}
.sp-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--lp-muted);
  margin-bottom: 0.25rem;
}
.sp-input,
.sp-textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid var(--lp-border);
  background: #f8fafc;
  color: var(--lp-text);
  font-family: inherit;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.75rem;
}
.sp-input:focus,
.sp-textarea:focus {
  outline: none;
  border-color: rgba(13, 148, 136, 0.45);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
.sp-form-submit {
  width: 100%;
  margin-top: 0.35rem;
}
.sp-btn-wa {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #14532d;
  box-shadow: 0 4px 22px rgba(34, 197, 94, 0.25);
}
.sp-btn-wa:hover {
  color: #166534;
}
.sp-cta-band {
  margin-top: 2rem;
  padding: 1.25rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  background: linear-gradient(120deg, rgba(45, 212, 191, 0.1), rgba(59, 130, 246, 0.06));
}
.sp-cta-band-text {
  margin: 0 0 0.85rem;
  font-weight: 700;
  color: var(--lp-heading);
}
.sp-final-cta {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--lp-border);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.sp-footer {
  padding-bottom: 5.5rem;
}
.sp-sticky-bar {
  position: fixed;
  z-index: 50;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  gap: 0.5rem;
  padding: 0.55rem calc(0.65rem + env(safe-area-inset-right)) calc(0.55rem + env(safe-area-inset-bottom))
    calc(0.65rem + env(safe-area-inset-left));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--lp-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.06);
}
.sp-sticky-btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.65rem 0.5rem;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--lp-accent-dim) 0%, var(--lp-accent) 100%);
}
.sp-sticky-wa {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #14532d;
}
.sp-fab-wa {
  position: fixed;
  z-index: 60;
  inset-inline-end: calc(0.85rem + env(safe-area-inset-right));
  bottom: calc(4.25rem + env(safe-area-inset-bottom));
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 8px 28px rgba(22, 163, 74, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.sp-fab-ic {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='black' d='M16 3C9.383 3 4 8.383 4 15c0 2.39.664 4.625 1.816 6.543L4 29l7.65-1.78A11.9 11.9 0 0016 27c6.617 0 12-5.383 12-12S22.617 3 16 3zm0 2c5.514 0 10 4.486 10 10s-4.486 10-10 10c-1.977 0-3.816-.58-5.37-1.57l-.38-.24-4.45 1.04 1.05-4.33-.27-.43A9.94 9.94 0 016 15c0-5.514 4.486-10 10-10zm5.2 12.4c-.28-.14-1.65-.81-1.9-.9-.25-.09-.43-.14-.61.14-.18.28-.7.9-.86 1.08-.16.18-.32.2-.6.07-.28-.14-1.18-.44-2.25-1.4-.83-.74-1.39-1.65-1.55-1.93-.16-.28-.02-.43.12-.57.12-.12.28-.32.42-.48.14-.16.18-.28.28-.46.09-.18.05-.34-.02-.48-.07-.14-.61-1.47-.84-2.01-.22-.52-.44-.45-.61-.46l-.52-.01c-.18 0-.48.07-.73.34-.25.28-.95.93-.95 2.26s.97 2.62 1.1 2.8c.14.18 1.9 2.9 4.6 4.07.64.28 1.14.45 1.53.57.64.2 1.22.17 1.68.1.51-.08 1.65-.67 1.88-1.32.23-.65.23-1.2.16-1.32-.07-.12-.25-.2-.53-.34z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sp-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.sp-reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .sp-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .sp-service-card:hover {
    transform: none;
  }
}
