@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@500;600;700;800&display=swap");

:root {
  --bg: #FFFFFF;
  --bg-alt: #F3F8F7;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #FFFFFF;
  --text: #0A3D45;
  --text-soft: #5A7378;
  --navy: #0B5C63;
  --navy-soft: #0E737C;
  --emerald: #0E8A8A;
  --emerald-soft: #1AA8A8;
  --mint: #E6F4F2;
  --mint-deep: #D4EDEA;
  --teal-dark: #0A4A52;
  --line: rgba(11, 92, 99, 0.12);
  --shadow: 0 16px 40px rgba(10, 61, 69, 0.08);
  --radius: 20px;
  --radius-sm: 14px;
  --font-display: "Cairo", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --font-body: "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --header-h: 118px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #07111F;
  --bg-alt: #0C1829;
  --surface: rgba(16, 28, 46, 0.78);
  --surface-solid: #101C2E;
  --text: #F3F6FA;
  --text-soft: #A9B6C8;
  --navy: #D7E3F4;
  --navy-soft: #9CB4D4;
  --emerald: #2DD4A8;
  --emerald-soft: #5EE9C2;
  --line: rgba(215, 227, 244, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

[data-theme="dark"] body {
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  width: min(520px, calc(100% - 2rem));
  margin-inline: auto;
}

.auth-page-card {
  padding: 1.6rem 1.45rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.auth-page-card .field-label {
  margin-top: 0.55rem;
}

.auth-page-card .field-label:first-child {
  margin-top: 0;
}

.auth-page-card .check-line {
  margin: 0.9rem 0 0.4rem;
}

.auth-page-card .btn-block {
  margin-top: 0.5rem;
}

.auth-switch {
  margin: 1.1rem 0 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.auth-switch a {
  color: var(--navy);
  font-weight: 700;
  margin-inline-start: 0.35rem;
  border-bottom: 1px solid color-mix(in srgb, var(--navy) 30%, transparent);
}

.auth-switch a:hover {
  color: var(--emerald);
}

.bg-glow {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(1.05);
  background: color-mix(in srgb, #fff 88%, transparent);
  border-bottom: 1px solid transparent;
  transform: translateY(0);
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, #fff 96%, transparent);
  box-shadow: 0 6px 24px rgba(10, 61, 69, 0.06);
}

.site-header.is-hidden {
  transform: translateY(-110%);
  box-shadow: none;
  pointer-events: none;
}

.site-header.is-hidden .nav.open {
  display: none;
}

[data-theme="dark"] .site-header {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}

[data-theme="dark"] .site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  color: var(--navy);
}

.brand-logo-full,
.brand-logo-ar {
  height: 100px;
  width: auto;
  max-width: min(280px, 56vw);
  display: block;
  object-fit: contain;
}

.brand-logo-ar[hidden],
.brand-mark-img[hidden],
.brand-text[hidden] {
  display: none !important;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-logo-lg {
  height: 112px;
}

.brand-mark-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0;
}

[data-theme="dark"] .brand-mark {
  background: var(--navy);
}

.brand-text {
  font-family: var(--font-display);
  letter-spacing: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

.nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.nav a {
  position: relative;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav a:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--emerald) 8%, transparent);
}

.nav a.is-active {
  color: var(--navy);
  font-weight: 600;
  background: color-mix(in srgb, var(--emerald) 12%, transparent);
}

.nav-support {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-wa-icon {
  width: 1.05rem;
  height: 1.05rem;
  color: #25d366;
  flex-shrink: 0;
}

.header-support {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.header-support .nav-wa-icon {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 981px) {
  .nav {
    display: flex;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    flex-direction: row;
  }

  .menu-btn {
    display: none !important;
  }

  .nav-mobile-extras {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    right: 0;
    left: 0;
    background: var(--surface-solid);
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 1.1rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    box-shadow: 0 16px 40px rgba(11, 31, 58, 0.08);
    z-index: 60;
  }

  .nav.open {
    display: flex;
  }

  .desktop-only {
    display: none !important;
  }

  .nav-mobile-extras {
    display: flex !important;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.65rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }

  .nav-mobile-extras .nav-support,
  .nav-mobile-extras .nav-auth {
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    color: var(--text-soft);
    font-weight: 500;
  }

  .nav-mobile-extras .header-cta {
    margin-top: 0.35rem;
    width: 100%;
    justify-content: center;
  }
}

.page-hero {
  padding: 3.5rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-alt) 55%, transparent);
}

.page-hero h1 {
  margin: 0.2rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
}

.page-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.home-features {
  display: none;
}

/* —— Home landing —— */
.home-landing {
  background: #fff;
}

.home-banners {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--bg-alt);
}

.home-banner {
  position: relative;
  width: 100%;
  margin: 0;
  line-height: 0;
}

.home-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-banner-hotspots {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.home-banner-hit {
  position: absolute;
  display: block;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.home-banner-hit:focus-visible {
  outline: 3px solid rgba(14, 138, 138, 0.85);
  outline-offset: 2px;
  background: rgba(14, 138, 138, 0.12);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.home-hero-fallback {
  min-height: min(62vh, 560px);
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(circle at 80% 20%, rgba(26, 168, 168, 0.22), transparent 45%),
    linear-gradient(135deg, var(--teal-dark), var(--navy) 55%, var(--navy-soft));
  color: #fff;
}

.home-hero-fallback-inner {
  padding: 3.5rem 0 3rem;
}

.home-hero-fallback .lp-brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
}

.home-hero-fallback h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 600;
  line-height: 1.45;
}

.home-hero-fallback .lp-hero-lead {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 34rem;
}

.home-hero-fallback .btn-primary {
  background: #fff;
  color: var(--navy);
}

.home-hero-fallback .btn-outline-teal {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  background: transparent;
}

.lp-section {
  padding: 4rem 0;
}

.lp-section-head {
  max-width: 36rem;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.lp-section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.lp-section-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.lp-how {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%);
}

.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}

.lp-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.lp-step-num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--emerald) 14%, #fff);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
}

.lp-steps h3 {
  margin: 0.1rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.lp-steps p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.lp-why {
  background: #fff;
}

.lp-why-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 40rem;
  display: grid;
  gap: 0.8rem;
}

.lp-why-list li {
  position: relative;
  padding: 1rem 1.15rem;
  padding-inline-start: 2.7rem;
  border-radius: 14px;
  background: var(--bg-alt);
  color: var(--text);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.55;
}

.lp-why-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 1.05rem;
  top: 50%;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--emerald);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--emerald) 18%, transparent);
}

.lp-final-cta {
  padding-top: 1rem;
  padding-bottom: 4.25rem;
}

.lp-final-panel {
  text-align: center;
  padding: 2.75rem 1.5rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 20%, rgba(26, 168, 168, 0.22), transparent 45%),
    linear-gradient(135deg, var(--teal-dark), var(--navy) 55%, var(--navy-soft));
  color: #fff;
  box-shadow: var(--shadow);
}

.lp-final-panel h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  font-weight: 700;
}

.lp-final-panel p {
  margin: 0 0 1.35rem;
  opacity: 0.9;
}

.lp-final-panel .btn-primary {
  background: #fff;
  color: var(--navy);
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
}

.lp-final-panel .btn-primary:hover {
  background: var(--mint);
}

@media (max-width: 900px) {
  .lp-steps {
    grid-template-columns: 1fr;
  }

  .lp-section {
    padding: 3rem 0;
  }
}

@media (max-width: 560px) {
  .lp-hero-cta {
    flex-direction: column;
  }

  .lp-hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

.lp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.legal-content h2 {
  margin: 1.8rem 0 0.55rem;
  font-size: 1.25rem;
}

.legal-content p {
  color: var(--text-soft);
  margin: 0.4rem 0;
}

.about-platform {
  max-width: 42rem;
}

.about-platform p {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0 0 1.1rem;
}

.about-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.about-points li {
  position: relative;
  padding-inline-start: 1.35rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.55;
}

.about-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal, #0e8a8a);
}

@media (max-width: 980px) {
  .home-features {
    grid-template-columns: 1fr;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: end;
}

.nav-mobile-extras {
  display: none;
}

.desktop-only {
  display: inline-flex;
  align-items: center;
}

.header-support {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.header-support .nav-wa-icon {
  width: 1rem;
  height: 1rem;
}

.header-cta,
.btn.header-cta {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
  border-radius: 11px;
}

.header-tools {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 70%, transparent);
}

.tool-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.tool-btn:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--emerald) 12%, transparent);
}

.tool-btn svg {
  width: 16px;
  height: 16px;
}

.lang-btn {
  min-width: 34px;
}

.header-sep {
  width: 1px;
  height: 22px;
  background: var(--line);
  display: inline-block;
}

.header-link {
  border: 0;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0.2rem;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.header-link:hover {
  color: var(--emerald);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

[data-theme="light"] .icon-moon,
[data-theme="dark"] .icon-sun,
html:not([data-theme="dark"]) .icon-moon {
  display: none;
}

[data-theme="dark"] .icon-moon {
  display: block;
}

.menu-btn {
  display: none;
  height: 40px;
  width: auto;
  min-width: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  padding: 0 0.7rem 0 0.65rem;
  color: var(--text);
}

@media (max-width: 980px) {
  .menu-btn {
    display: inline-flex !important;
  }
}

.menu-btn-bars {
  width: 16px;
  height: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.menu-btn-bars span {
  width: 16px;
  height: 1.5px;
  background: currentColor;
  display: block;
  transition: transform 0.25s var(--ease), opacity 0.2s;
  transform-origin: center;
}

.menu-btn-label {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  width: auto !important;
  height: auto !important;
  background: none !important;
}

.menu-btn[aria-expanded="true"] .menu-btn-bars span:nth-child(1) {
  transform: translateY(5.25px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn-bars span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] .menu-btn-bars span:nth-child(3) {
  transform: translateY(-5.25px) rotate(-45deg);
}

/* Client logged-in: القائمة always visible (desktop + mobile) */
.menu-btn--always {
  display: inline-flex !important;
}

body.drawer-open {
  overflow: hidden;
}

.client-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 28, 32, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.client-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.client-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 90;
  width: min(22rem, 88vw);
  background: #fff;
  box-shadow: 0 12px 40px rgba(8, 40, 44, 0.18);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease);
}

html[dir="rtl"] .client-drawer,
html:not([dir="ltr"]) .client-drawer {
  left: 0;
  right: auto;
  transform: translateX(-105%);
}

html[dir="ltr"] .client-drawer {
  right: 0;
  left: auto;
  transform: translateX(105%);
}

.client-drawer.is-open {
  transform: translateX(0) !important;
}

.client-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  background: var(--navy, #0b5c63);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}

.client-drawer-close {
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.client-drawer-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.client-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 0.35rem 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.client-drawer-link {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1.15rem;
  color: #1a2e32;
  text-decoration: none;
  border: 0;
  border-bottom: 1px solid #eef2f3;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  transition: background 0.2s var(--ease);
}

.client-drawer-link:hover {
  background: #f3f7f8;
}

.client-drawer-link.is-active {
  background: #e8f2f3;
  color: var(--navy, #0b5c63);
}

.client-drawer-ico {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  color: var(--navy, #0b5c63);
}

.client-drawer-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.client-drawer-txt {
  flex: 1;
  text-align: start;
}

[data-theme="dark"] .client-drawer {
  background: var(--surface-solid, #122026);
}

[data-theme="dark"] .client-drawer-link {
  color: var(--text);
  border-bottom-color: var(--line);
}

[data-theme="dark"] .client-drawer-link:hover,
[data-theme="dark"] .client-drawer-link.is-active {
  background: rgba(14, 138, 138, 0.14);
}

.site-header--client .header-inner {
  justify-content: space-between;
}

@media (max-width: 560px) {
  .menu-btn--always .menu-btn-label {
    display: inline !important;
  }

  .menu-btn--always {
    width: auto !important;
    min-width: 40px;
    padding: 0 0.7rem 0 0.65rem !important;
  }
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 92, 99, 0.2);
}

.btn-primary:hover {
  background: var(--navy-soft);
}

.btn-outline-teal {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline-teal:hover {
  background: var(--mint);
}

.btn-light {
  background: #fff;
  color: var(--navy);
  font-weight: 600;
}

.btn-light:hover {
  background: var(--mint);
}

.btn-icon {
  gap: 0.55rem;
}

.btn-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
}

.btn-lg {
  padding: 0.95rem 1.5rem;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 10%, var(--bg) 92%),
    linear-gradient(120deg, rgba(11, 31, 58, 0.72), rgba(15, 122, 90, 0.35)),
    url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: radial-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 22px 22px;
  animation: drift 28s linear infinite;
}

.hero-content {
  position: relative;
  padding: 5rem 0 4.5rem;
  color: #fff;
}

.eyebrow {
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--emerald-soft);
  font-size: 0.9rem;
  margin: 0 0 0.6rem;
}

.therapist-booking-note {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--mint);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}

.booking-locked-box {
  margin-bottom: 1.1rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--navy) 14%, transparent);
  background: color-mix(in srgb, var(--mint) 55%, #fff);
}

.booking-lock-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
  margin: 0.75rem 0;
}

.booking-lock-meta dt {
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 600;
}

.booking-lock-meta dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
  color: var(--navy);
}

.therapist-booking-note[hidden] {
  display: none;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 12vw, 8.5rem);
  line-height: 0.9;
  margin: 0;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.brand-hero-logo {
  display: block;
  height: clamp(170px, 32vw, 250px);
  width: auto;
  margin: 0.4rem 0 0.2rem;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.28));
}

.hero-lead {
  max-width: 34rem;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.86);
  margin: 1.2rem 0 1.8rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: color-mix(in srgb, var(--bg-alt) 70%, transparent);
}

.section-head {
  margin-bottom: 2.4rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.2rem 0 0.6rem;
  font-weight: 600;
  line-height: 1.15;
}

.section-sub {
  color: var(--text-soft);
  margin: 0;
  max-width: 36rem;
}

.sessions-howto {
  max-width: 44rem;
  line-height: 1.8;
  white-space: pre-line;
}

.booking-howto {
  max-width: 44rem;
  display: grid;
  gap: 0.55rem;
  line-height: 1.75;
  font-size: 1.02rem;
}

.booking-howto p {
  margin: 0;
}

.glass-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.glass-soft {
  background: color-mix(in srgb, var(--surface-solid) 70%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.profile-photo {
  padding: 1rem;
}

.photo-frame {
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-body h3 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin: 0;
}

.title-line {
  color: var(--emerald);
  margin: 0.2rem 0 1rem;
  font-weight: 500;
}

.bio {
  color: var(--text-soft);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.4rem 0;
}

.meta-chip {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  min-width: 100px;
}

.meta-chip strong {
  display: block;
  font-size: 1.2rem;
}

.meta-chip span {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.certs h4 {
  margin: 0 0 0.5rem;
}

.certs ul {
  margin: 0;
  padding-inline-start: 1.1rem;
  color: var(--text-soft);
}

.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.social {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: var(--surface-solid);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  padding: 1.4rem;
  transition: transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card:hover {
  transform: translateY(-4px);
}

.therapist-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: end;
  margin-bottom: 1.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--mint) 45%, #fff);
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-soft);
}

.filter-field select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 0 0.85rem;
  font-weight: 500;
}

.filter-field select:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--emerald) 18%, transparent);
}

.filter-reset {
  height: 44px;
  border-radius: 10px;
  width: 100%;
}

.therapist-filter-count {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* —— Browse therapists (Jalsah-style, teal brand) —— */
.th-browse {
  padding-top: calc(var(--header-h) + 1.5rem);
}

.th-browse-head {
  text-align: center;
  margin-bottom: 1.35rem;
}

.th-browse-head h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  color: var(--navy);
  font-weight: 800;
}

.th-browse-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.th-toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.th-sort-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.th-sort-btn:hover {
  background: var(--navy-soft);
}

.th-sort-btn.is-active {
  background: var(--emerald);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.th-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0 0.95rem;
  border-radius: 10px;
  background: var(--mint-deep);
  color: var(--navy);
}

.th-search svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  opacity: 0.75;
}

.th-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  min-width: 0;
}

.th-search input::placeholder {
  color: var(--text-soft);
}

.therapists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.th-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--navy) 14%, transparent);
  box-shadow: 0 10px 28px rgba(10, 61, 69, 0.08);
}

.th-card-head {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 0.95rem 0.85rem 0.85rem;
}

.th-card-head h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
}

.th-card-head p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.92;
}

.th-card-photo {
  aspect-ratio: 1 / 1.05;
  background: var(--mint);
  overflow: hidden;
}

.th-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.th-card-price {
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 0.75rem;
}

.th-card-about {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--navy) 12%, transparent);
  background: var(--mint);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 0.75rem;
  cursor: pointer;
}

.th-card-about:hover {
  background: var(--mint-deep);
}

.th-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.th-card-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 58px;
  padding: 0.65rem 0.5rem;
  border: 0;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
}

.th-card-action + .th-card-action {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.28);
}

.th-card-action:hover {
  background: var(--navy-soft);
}

.th-card-ico {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.th-card-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

body.th-modal-open {
  overflow: hidden;
}

.th-modal[hidden] {
  display: none !important;
}

.th-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.th-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 28, 32, 0.55);
}

.th-modal-panel {
  position: relative;
  z-index: 1;
  width: min(34rem, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  border-radius: 16px;
  padding: 1.6rem 1.35rem 1.4rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.th-modal-panel--teal,
.th-modal-panel--book {
  background: var(--navy);
  color: #fff;
}

.th-modal-panel--paper {
  background: #fff;
  color: var(--text);
}

.th-modal-close {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.th-modal-close--dark {
  background: var(--navy);
  color: #fff;
}

.th-modal-chip {
  display: inline-flex;
  margin: 0.2rem auto 1.1rem;
  padding: 0.45rem 1.1rem;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}

.th-modal-panel--teal {
  text-align: center;
}

.th-modal-text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.85;
  white-space: pre-wrap;
}

.th-certs-title {
  margin: 0.4rem 0 1rem;
  text-align: center;
  color: var(--navy);
  font-size: 1.15rem;
}

.th-certs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.th-certs-list li {
  padding: 1rem 1.05rem;
  border-radius: 12px;
  background: var(--mint);
  border: 1px solid var(--line);
  font-weight: 600;
  line-height: 1.55;
  color: var(--navy);
}

.th-certs-empty {
  text-align: center;
  color: var(--text-soft) !important;
  font-weight: 500 !important;
}

.th-certs-pager {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--text-soft);
  font-weight: 600;
}

.th-book-hint {
  margin: 0.15rem 2.5rem 1.1rem;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.95;
}

.th-book-block {
  margin-bottom: 1rem;
}

.th-book-block-head {
  background: var(--mint-deep);
  color: var(--navy);
  font-weight: 800;
  text-align: center;
  padding: 0.7rem 0.85rem;
  border-radius: 10px 10px 0 0;
}

.th-book-slot {
  text-align: center;
  padding: 1.15rem 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: color-mix(in srgb, #000 12%, var(--navy));
}

.th-book-date {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.th-book-time {
  margin: 0.35rem 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.th-book-cta {
  background: #fff !important;
  color: var(--navy) !important;
  font-weight: 800;
  border-radius: 10px;
  min-width: 12rem;
}

.th-book-days {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.85rem 0.35rem;
  background: color-mix(in srgb, #000 12%, var(--navy));
  border-radius: 0 0 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 0;
}

.th-day-chip {
  flex: 0 0 auto;
  min-width: 4.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.65rem 0.5rem;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
}

.th-day-chip.is-active {
  outline: 2px solid var(--emerald);
}

.th-day-name {
  font-size: 0.78rem;
  font-weight: 600;
}

.th-day-num {
  font-size: 1.15rem;
  font-weight: 800;
}

.th-day-mon {
  font-size: 0.75rem;
  opacity: 0.8;
}

.th-book-more {
  display: flex;
  margin: 0.85rem auto 0;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
}

.therapist-booking-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: var(--mint);
  font-size: 0.86rem;
  color: var(--text-soft);
}

.therapist-booking-meta strong {
  color: var(--navy);
}

.therapist-tag-role {
  background: color-mix(in srgb, var(--emerald) 16%, #fff);
  color: var(--emerald);
}

.therapist-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.therapist-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.therapist-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--mint);
}

.therapist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.therapist-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1.15rem 1.25rem;
  flex: 1;
}

.therapist-body h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 700;
}

.therapist-role {
  margin: 0;
  color: var(--emerald);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.therapist-bio {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.65;
  flex: 1;
}

.therapist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.therapist-tag {
  display: inline-flex;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
}

.therapist-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.therapist-meta strong {
  color: var(--navy);
}

.therapist-body .btn {
  margin-top: 0.35rem;
  align-self: flex-start;
}

.therapist-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.therapist-body h3 a:hover {
  color: var(--emerald);
}

.therapist-detail-section {
  padding-top: calc(var(--header-h) + 1.2rem);
}

.therapist-detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.therapist-detail-media {
  border-radius: 20px;
  overflow: hidden;
  background: var(--mint);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.therapist-detail-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.therapist-detail-body h1 {
  margin: 0.2rem 0 0.45rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--navy);
  line-height: 1.25;
}

.therapist-detail-body .therapist-role {
  margin-bottom: 0.85rem;
}

.therapist-detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0 1.2rem;
}

.therapist-detail-lead {
  margin: 0 0 1.4rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}

.therapist-detail-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.therapist-detail-blocks > div,
.therapist-detail-creds {
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  background: var(--mint);
  border: 1px solid color-mix(in srgb, var(--navy) 8%, transparent);
}

.therapist-detail-blocks h2,
.therapist-detail-creds h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.therapist-detail-blocks p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.therapist-detail-creds .service-list {
  margin: 0;
}

@media (max-width: 900px) {
  .therapist-detail-grid {
    grid-template-columns: 1fr;
  }

  .therapist-detail-media {
    position: static;
    max-width: 420px;
    margin-inline: auto;
  }

  .therapist-detail-blocks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .therapist-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .therapists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .therapist-filters,
  .th-toolbar {
    grid-template-columns: 1fr;
  }

  .therapists-grid {
    grid-template-columns: 1fr;
  }

  .th-card-action {
    font-size: 0.78rem;
  }
}

.service-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 0.4rem;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
}

.service-detail-section {
  padding-top: calc(var(--header-h) + 1.5rem);
}

.service-detail .eyebrow {
  margin-bottom: 0.4rem;
}

.service-detail h1 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
}

.service-back {
  display: inline-flex;
  margin-bottom: 1.4rem;
}

.service-detail-lead {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 1.5rem;
}

.service-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  margin-bottom: 2rem;
}

.service-meta strong {
  display: block;
  font-size: 1.25rem;
}

.service-meta span {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.service-detail-grid h2 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.service-list li {
  position: relative;
  padding-inline-start: 1.35rem;
  color: var(--text-soft);
}

.service-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--emerald);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: var(--surface-solid);
  color: var(--text);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  transform: translateY(-2px);
  color: var(--emerald);
  border-color: color-mix(in srgb, var(--emerald) 35%, var(--line));
  background: color-mix(in srgb, var(--emerald) 8%, var(--surface-solid));
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.service-card p {
  color: var(--text-soft);
  margin: 0 0 1rem;
  min-height: 3.2em;
}

.price {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--emerald);
}

.price span {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 400;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1rem;
}

.booking-panel,
.booking-aside {
  padding: 1.4rem;
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.step {
  text-align: center;
  padding: 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.85rem;
}

.step.active {
  background: color-mix(in srgb, var(--emerald) 16%, transparent);
  color: var(--emerald);
  border-color: color-mix(in srgb, var(--emerald) 40%, transparent);
}

.field-label {
  display: block;
  margin: 0.8rem 0 0.35rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.field {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: var(--text);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  outline: none;
}

.field:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--emerald) 18%, transparent);
}

.field.field-error {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.hidden {
  display: none !important;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.calendar-head h3 {
  margin: 0;
  font-size: 1.1rem;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.calendar-weekdays {
  margin-bottom: 0.4rem;
  color: var(--text-soft);
  font-size: 0.78rem;
  text-align: center;
}

.day {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.day:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.day.available {
  background: color-mix(in srgb, var(--emerald) 10%, transparent);
  border-color: color-mix(in srgb, var(--emerald) 25%, transparent);
}

.day.selected {
  background: linear-gradient(135deg, var(--navy-soft), var(--emerald));
  color: #fff;
}

.slots-title {
  margin: 1.1rem 0 0.6rem;
}

.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.slot {
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: var(--text);
  border-radius: 12px;
  padding: 0.65rem;
  cursor: pointer;
}

.slot.selected {
  border-color: var(--emerald);
  background: color-mix(in srgb, var(--emerald) 14%, transparent);
  color: var(--emerald);
}

.row-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.row-actions .btn {
  flex: 1;
}

.pay-methods {
  border: 0;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  cursor: pointer;
}

.check-line {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.aside-list {
  color: var(--text-soft);
  padding-inline-start: 1.1rem;
}

.aside-badge {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--emerald) 12%, transparent);
  color: var(--emerald);
  font-size: 0.9rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--emerald) 20%, transparent);
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1rem;
}

.dash-grid .glass-card {
  padding: 1.2rem;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.card-head h3,
.dash-grid h3 {
  margin: 0;
}

.list-stack {
  display: grid;
  gap: 0.7rem;
}

.booking-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: var(--surface-solid);
}

.booking-item strong {
  display: block;
}

.booking-item span {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.status {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--emerald) 15%, transparent);
  color: var(--emerald);
}

.empty {
  color: var(--text-soft);
  padding: 0.8rem 0;
}

.profile-mini p {
  margin: 0.35rem 0;
  color: var(--text-soft);
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.testimonial {
  padding: 1.3rem;
}

.testimonial p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.2rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  padding: 0.9rem 0;
  font-weight: 500;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-grid--form-only {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin-inline: auto;
}

.contact-form {
  padding: 1.3rem;
}

.map-wrap {
  overflow: hidden;
  min-height: 360px;
  display: grid;
  grid-template-rows: 1fr auto;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

.map-meta {
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--line);
}

.map-meta p {
  margin: 0.2rem 0;
  color: var(--text-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.25rem 0 1.75rem;
  background: linear-gradient(180deg, #f3f8f7 0%, #eef6f5 100%);
}

[data-theme="dark"] .site-footer {
  background: color-mix(in srgb, var(--bg-alt) 80%, var(--bg));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr;
  gap: 2.25rem 2.5rem;
  align-items: start;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-logo img {
  height: 88px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

.footer-tagline {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 22rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.footer-social .social-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-social .social-icon svg {
  width: 17px;
  height: 17px;
}

.footer-social .social-icon:hover {
  color: var(--emerald);
  border-color: color-mix(in srgb, var(--emerald) 40%, var(--line));
  background: color-mix(in srgb, var(--emerald) 8%, #fff);
  transform: translateY(-2px);
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.25rem;
  align-content: start;
}

.footer-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.4;
  padding: 0.15rem 0;
  transition: color 0.2s var(--ease);
}

.footer-nav a:hover {
  color: var(--emerald);
}

.footer-cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-join-btn,
.btn.footer-join-btn {
  border-radius: 12px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
}

.footer-join-hint {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 18rem;
}

.footer-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.footer-wa-link:hover {
  color: var(--emerald);
}

.footer-wa-link svg {
  width: 1.15rem;
  height: 1.15rem;
  color: #25d366;
  flex-shrink: 0;
}

.footer-wa-num {
  color: var(--emerald);
  font-weight: 700;
  direction: ltr;
  unicode-bidi: plaintext;
}

.footer-copy {
  margin: 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-cta-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-brand-block,
  .footer-cta-block {
    align-items: stretch;
  }

  .footer-logo img {
    height: 68px;
    max-width: 200px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .footer-join-btn,
  .btn.footer-join-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .service-detail-grid,
  .service-meta {
    grid-template-columns: 1fr;
  }
}
.whatsapp-fab {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  width: auto;
  height: auto;
  min-height: 48px;
  padding: 0.65rem 1rem 0.65rem 0.85rem;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
  z-index: 60;
  transition: transform 0.25s var(--ease);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.whatsapp-fab:hover {
  transform: scale(1.04);
}

.whatsapp-fab svg {
  width: 26px;
  height: 26px;
  display: block;
  flex-shrink: 0;
}

html[dir="ltr"] .whatsapp-fab {
  left: auto;
  right: 1.2rem;
  padding: 0.65rem 0.85rem 0.65rem 1rem;
}

html[dir="rtl"] .whatsapp-fab {
  flex-direction: row-reverse;
}

@media (max-width: 560px) {
  .whatsapp-fab span {
    display: none;
  }

  .whatsapp-fab {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-width: 0;
  }

  .whatsapp-fab svg {
    width: 28px;
    height: 28px;
  }
}

.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(11, 92, 99, 0.28);
  z-index: 60;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s, background 0.2s var(--ease);
}

.back-to-top.is-visible,
.back-to-top:not([hidden]) {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top[hidden] {
  display: grid !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.back-to-top:hover {
  background: color-mix(in srgb, var(--navy) 88%, #000);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  display: block;
}

html[dir="ltr"] .back-to-top {
  right: auto;
  left: 1.2rem;
}

@media (max-width: 560px) {
  .back-to-top {
    width: 44px;
    height: 44px;
    right: 1rem;
    bottom: 1rem;
  }

  html[dir="ltr"] .back-to-top {
    right: auto;
    left: 1rem;
  }
}

.social-icon[aria-label="WhatsApp"]:hover {
  color: #25D366;
  border-color: color-mix(in srgb, #25D366 40%, var(--line));
  background: color-mix(in srgb, #25D366 12%, var(--surface-solid));
}

html[dir="ltr"] .whatsapp-fab {
  left: auto;
  right: 1.2rem;
}

html[dir="ltr"] .modal-close {
  left: auto;
  right: 0.8rem;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, 0.55);
}

.modal-card {
  position: relative;
  width: min(420px, 100%);
  padding: 1.4rem;
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
}

.muted {
  color: var(--text-soft);
  margin-top: 0;
}

.toast {
  position: fixed;
  bottom: auto;
  top: calc(var(--header-h) + 0.75rem);
  inset-inline: 1rem auto;
  margin-inline: auto;
  left: 50%;
  right: auto;
  transform: translate(-50%, -8px);
  background: var(--navy);
  color: #fff;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s var(--ease);
  z-index: 120;
  max-width: min(420px, calc(100% - 2rem));
  text-align: center;
}

[data-theme="dark"] .toast {
  background: #16355C;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 640px), (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@keyframes drift {
  from { background-position: 0 0; }
  to { background-position: 120px 60px; }
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto;
    min-height: var(--header-h);
  }

  .header-actions {
    gap: 0.4rem;
  }

  .lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.55rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-solid);
    color: var(--text);
    font-weight: 600;
    font-size: 0.8rem;
  }

  .lang-btn:hover {
    color: var(--emerald);
    background: color-mix(in srgb, var(--emerald) 10%, var(--surface-solid));
  }

  .profile-grid,
  .services-grid,
  .booking-layout,
  .dash-grid,
  .testimonial-track,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .slots {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .brand-logo-full,
  .brand-logo-ar {
    height: 76px;
    max-width: min(200px, 54vw);
  }

  .menu-btn-label {
    display: inline !important;
  }

  .menu-btn {
    display: inline-flex !important;
    width: auto !important;
    min-width: 40px;
    padding: 0 0.7rem 0 0.65rem !important;
  }

  .brand-mark-img {
    width: 38px;
    height: 38px;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .booking-steps {
    font-size: 0.75rem;
  }
}

.bank-transfer-box {
  margin: 1rem 0 1.25rem;
  padding: 1.1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(14, 138, 138, 0.08), transparent 55%),
    var(--surface-solid);
}

.bank-transfer-box h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.bank-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 0.9rem;
  margin: 0.9rem 0 0;
}

.bank-details dt {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.bank-details dd {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 600;
  word-break: break-all;
}

.bank-details-pre {
  white-space: pre-wrap;
  margin: 0.75rem 0 0;
  font: inherit;
  font-weight: 600;
  background: transparent;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-success { background: #e6f4f2; color: #0e8a8a; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-danger { background: #fdecea; color: #c0392b; }
.badge-info { background: #e8f4fd; color: #1a5276; }
