/* ===== Base (Light theme) ===== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700;800&display=swap');

:root {
  /* أقل عرض لعرض روابط التنقل في السطر؛ تحته تُفعَّل قائمة الجوال */
  --nav-inline-min: 1200px;
  --bg-page: #eef2f7;
  --bg-card: #ffffff;
  --bg-soft: #f8fafc;
  --text: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --brand-teal: #0d9488;
  --brand-teal-dark: #0f766e;
  --brand-teal-soft: #ccfbf1;
  --brand-blue: #2563eb;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow: 0 22px 50px -12px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 28px 65px -18px rgba(15, 23, 42, 0.14);
  --shadow-brand: 0 8px 28px rgba(13, 148, 136, 0.22);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  background-image: radial-gradient(ellipse 100% 60% at 50% -15%, rgba(13, 148, 136, 0.07), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(37, 99, 235, 0.04), transparent 45%);
  background-attachment: fixed;
  color: var(--text-muted);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

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

::selection {
  background: #99f6e4;
  color: var(--text);
}

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

button {
  font: inherit;
  cursor: pointer;
}

button:not([class]) {
  border: none;
  background: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
}

/* ===== Icons ===== */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon--lg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon--xl {
  width: 2.5rem;
  height: 2.5rem;
}

.icon--2xl {
  width: 3rem;
  height: 3rem;
}

/* ===== Layout ===== */
.site {
  min-height: 100vh;
  background: transparent;
}

.container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  width: 95%;
  max-width: 80rem;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  transition: background 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease;
  border-radius: var(--radius-xl);
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(15, 23, 42, 0.03);
}

@media (min-width: 1200px) {
  .nav {
    border-radius: 9999px;
  }
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(28px) saturate(1.15);
  -webkit-backdrop-filter: blur(28px) saturate(1.15);
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

/* شريط أخف عندما القائمة المنسدلة نشطة (بدل الصف الكامل من الروابط) */
@media (max-width: 1199px) {
  .nav {
    padding: 0.75rem 1rem;
  }

  .nav__title {
    font-size: 1.1rem;
  }

  .nav__subtitle {
    font-size: 0.625rem;
  }

  .lang-switch__btn {
    padding: 0.28rem 0.5rem;
    font-size: 0.6875rem;
  }

  .nav__cta {
    padding: 0.5rem 0.85rem;
    font-size: 0.8125rem;
  }
}

.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  min-width: 0;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  min-width: 0;
}

.nav__logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(to top right, #14b8a6, #3b82f6);
  overflow: hidden;
}

.nav__logo-inner {
  position: absolute;
  inset: 2px;
  background: #fff;
  border-radius: 9999px;
  z-index: 0;
}

.nav__logo-wrap .icon {
  position: relative;
  z-index: 10;
  color: #2dd4bf;
}

.nav__logo-wrap--image {
  background: transparent;
  overflow: visible;
}

.nav__logo-wrap--image .nav__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  position: relative;
  z-index: 10;
}

.nav__titles {
  display: flex;
  flex-direction: column;
}

.nav__title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1;
}

.nav__subtitle {
  font-size: 0.6875rem;
  color: var(--brand-teal);
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-top: 0.25rem;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 1200px) {
  .nav__links {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    row-gap: 0.35rem;
    column-gap: clamp(0.4rem, 0.9vw, 1.35rem);
  }
}

.nav__links a {
  font-size: clamp(0.78rem, 0.82vw, 0.875rem);
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav__links a:hover {
  color: var(--brand-teal);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex-shrink: 0;
  min-width: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem;
  border-radius: 9999px;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid var(--border);
  gap: 0.15rem;
}

.lang-switch__btn {
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-switch__btn:hover {
  color: var(--text);
}

.lang-switch__btn--active {
  background: #fff;
  color: #0d9488;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

html[dir='ltr'] .lang-switch__btn--active {
  color: #0f766e;
}

.nav__cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--brand-teal) 0%, #0ea890 100%);
  color: #fff;
  padding: 0.625rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.28);
}

@media (min-width: 768px) {
  .nav__cta {
    display: flex;
  }
}

.nav__cta:hover {
  background: linear-gradient(135deg, var(--brand-teal-dark) 0%, var(--brand-teal) 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-brand);
}

.nav__menu-btn {
  display: flex;
  color: var(--text);
  padding: 0.25rem;
}

@media (min-width: 1200px) {
  .nav__menu-btn {
    display: none;
  }
}

.nav__menu-btn .icon-close {
  display: none;
}

.nav__mobile {
  display: none;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
}

.nav__mobile--open {
  display: block;
}

@media (min-width: 1200px) {
  .nav__mobile {
    display: none !important;
  }
}

.nav__mobile a {
  display: block;
  color: var(--text);
  font-weight: 500;
  padding: 0.25rem 0.5rem;
}

.nav__mobile a + a {
  margin-top: 0.5rem;
}

.nav__mobile-cta {
  width: 100%;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--brand-teal) 0%, #0ea890 100%);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.28);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 4rem;
  overflow: hidden;
  background: linear-gradient(165deg, #e0f2fe 0%, #ecfdf5 28%, #f1f5f9 55%, #f8fafc 100%);
}

.hero__blob {
  position: absolute;
  z-index: 0;
  border-radius: 9999px;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.55;
}

.hero__blob--tr {
  top: 20%;
  right: 20%;
  width: min(520px, 92vw);
  height: min(520px, 92vw);
  background: rgba(45, 212, 191, 0.42);
}

.hero__blob--bl {
  bottom: 22%;
  left: 18%;
  width: min(420px, 82vw);
  height: min(420px, 82vw);
  background: rgba(96, 165, 250, 0.38);
}

.hero__dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjEiIGZpbGw9InJnYmEoMTUsMjMsNDIsMC4wOCkiLz48L3N2Zz4=");
  -webkit-mask-image: linear-gradient(to bottom, white, transparent);
  mask-image: linear-gradient(to bottom, white, transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__content {
  max-width: 56rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(13, 148, 136, 0.28);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--brand-teal-dark);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-xs);
}

.hero__badge .icon {
  color: inherit;
}

.hero__h1 {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
  margin: 0 0 2rem;
  letter-spacing: -0.025em;
}

.hero__h1 span.gradient {
  background: linear-gradient(120deg, #0d9488 0%, #0ea5e9 45%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 42rem;
  line-height: 1.625;
  margin: 0 0 3rem;
}

.hero__btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 3;
}

@media (min-width: 640px) {
  .hero__btns {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(145deg, var(--brand-teal) 0%, #0ea890 55%, var(--brand-teal-dark) 100%);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.0625rem;
  border: none;
  box-shadow: var(--shadow-brand);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.38);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.0625rem;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  background-color: #fff;
  border-color: #94a3b8;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-subtle);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-6px);
  }
}

.hero__scroll span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 2rem;
  background: linear-gradient(to bottom, #94a3b8, transparent);
}

/* ===== Platform & Store ===== */
.channel {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  position: relative;
}

.channel--platform {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.06) 0%, transparent 100%);
}

.channel--store {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
}

.channel__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2rem;
}

@media (min-width: 900px) {
  .channel__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2rem, 5vw, 3.5rem);
  }

  .channel--reverse .channel__inner {
    flex-direction: row-reverse;
  }

  .channel__visual {
    flex: 0 0 38%;
    max-width: 22rem;
  }

  .channel__copy {
    flex: 1;
    min-width: 0;
  }
}

.channel__visual {
  display: flex;
  justify-content: center;
}

.channel__frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 14rem;
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.channel__frame--teal {
  background: linear-gradient(145deg, var(--brand-teal-soft) 0%, #f0fdfa 55%, #ffffff 100%);
  color: var(--brand-teal-dark);
}

.channel__frame--blue {
  background: linear-gradient(145deg, #dbeafe 0%, #eff6ff 55%, #ffffff 100%);
  color: var(--brand-blue);
}

.channel__icon {
  width: 5rem;
  height: 5rem;
}

.channel__label {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand-teal-dark);
}

.channel--store .channel__label {
  color: var(--brand-blue);
}

.channel__title {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--text);
}

.channel__lead {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.channel__list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.channel__list li {
  position: relative;
  padding-right: 1.35rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.channel__list li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--brand-teal);
}

[dir='ltr'] .channel__list li {
  padding-right: 0;
  padding-left: 1.35rem;
}

[dir='ltr'] .channel__list li::before {
  right: auto;
  left: 0;
}

.channel--store .channel__list li::before {
  background: var(--brand-blue);
}

.channel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
}

.channel__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

/* ===== Vision ===== */
.vision {
  padding: clamp(4.5rem, 9vw, 6.5rem) 0;
  background: var(--bg-card);
  color: var(--text);
  position: relative;
  border-radius: 2.5rem 2.5rem 0 0;
  margin-top: 0;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.06);
}

.vision__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.vision__copy {
  max-width: 38rem;
}

@media (min-width: 1024px) {
  .vision__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3rem;
    align-items: start;
  }
}

.vision__h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

.vision__h2 .accent {
  color: #0d9488;
}

.vision__text {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.625;
  margin: 0 0 2rem;
}

.vision__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 2rem;
}

.vision__stat-num {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.vision__stat-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0d9488;
}

.vision__graphic {
  position: relative;
  border-radius: 1.25rem;
  background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--border);
  padding: 1.25rem;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

@media (min-width: 640px) {
  .vision__graphic {
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .vision__graphic {
    padding: 1.75rem;
    position: sticky;
    top: 6rem;
  }
}

.vision-dots-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(circle at 2px 2px, #94a3b8 1px, transparent 0);
  background-size: 20px 20px;
}

.vision__cards {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 520px) {
  .vision__cards {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    gap: 0.875rem;
    align-items: stretch;
  }
}

.vcard {
  margin: 0;
  border-radius: 1rem;
  padding: 0;
  background: var(--bg-card);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: right;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.vcard--t {
  border-top: 4px solid #0d9488;
}

.vcard--z {
  border-top: 4px solid #475569;
}

.vcard--b {
  grid-column: 1 / -1;
  border-top: 4px solid #2563eb;
}

@media (min-width: 520px) {
  .vcard--b {
    grid-column: span 2;
  }
}

.vcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e2e8f0;
}

.vcard__media--wide {
  aspect-ratio: 21 / 9;
}

@media (max-width: 519px) {
  .vcard__media--wide {
    aspect-ratio: 16 / 10;
  }
}

.vcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.vcard__body {
  padding: 1rem 1.125rem 1.2rem;
  flex: 1;
  display: flex;
  align-items: center;
}

.vcard__title {
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.125rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
  .vcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
  }

  .vcard:hover .vcard__media img {
    transform: scale(1.04);
  }

  .vcard--t:hover {
    border-top-color: #0f766e;
  }

  .vcard--z:hover {
    border-top-color: #334155;
  }

  .vcard--b:hover {
    border-top-color: #1d4ed8;
  }
}

/* ===== Expertise (professional) ===== */
.expertise {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: linear-gradient(180deg, var(--bg-page) 0%, #e6edf6 55%, #eef2f7 100%);
  position: relative;
  border-top: 1px solid var(--border);
}

.expertise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.25), transparent);
  pointer-events: none;
}

.expertise__head {
  display: grid;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 72rem;
}

@media (min-width: 900px) {
  .expertise__head {
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
    align-items: end;
  }
}

.expertise__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0d9488;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.875rem;
}

.expertise__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.03em;
}

.expertise__title-line {
  color: #0d9488;
  font-weight: 700;
}

.expertise__aside {
  margin: 0;
}

.expertise__side {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  border-right: 3px solid #0d9488;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

html[dir='ltr'] .expertise__side {
  border-right: 1px solid var(--border);
  border-left: 3px solid #0d9488;
  padding-right: 1.25rem;
  padding-left: 1.5rem;
}

.services {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }
}

.scard {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid rgba(226, 232, 240, 0.95);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.scard--teal {
  border-top: 3px solid #0d9488;
}

.scard--blue {
  border-top: 3px solid #2563eb;
}

.scard--purple {
  border-top: 3px solid #7c3aed;
}

.scard__inner {
  position: relative;
  padding: 1.75rem 1.5rem 1.625rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: right;
}

.scard__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.scard__index {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #94a3b8;
  padding-top: 0.35rem;
}

.scard__iconbox {
  width: 3rem;
  height: 3rem;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scard--teal .scard__iconbox {
  background: #ecfdf5;
  color: #0d9488;
}

.scard--blue .scard__iconbox {
  background: #eff6ff;
  color: #2563eb;
}

.scard--purple .scard__iconbox {
  background: #f5f3ff;
  color: #7c3aed;
}

.scard__icon {
  width: 1.375rem;
  height: 1.375rem;
}

.scard__title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.scard__lead {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 1.125rem;
}

.scard__list {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  flex: 1;
}

.scard__list li {
  position: relative;
  padding-right: 1.125rem;
  margin-bottom: 0.625rem;
  list-style: none;
}

.scard__list li:last-child {
  margin-bottom: 0;
}

.scard__list li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  transform: rotate(45deg);
}

.scard--teal .scard__list li::before {
  background: #0d9488;
}

.scard--blue .scard__list li::before {
  background: #2563eb;
}

.scard--purple .scard__list li::before {
  background: #7c3aed;
}

.scard__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, gap 0.2s ease;
}

a.scard__link {
  text-decoration: none;
}

.scard__link-arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.scard--teal .scard__link {
  color: #0f766e;
}

.scard--blue .scard__link {
  color: #1d4ed8;
}

.scard--purple .scard__link {
  color: #6d28d9;
}

.scard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.scard--teal:hover {
  border-top-color: #0f766e;
}

.scard--blue:hover {
  border-top-color: #1d4ed8;
}

.scard--purple:hover {
  border-top-color: #6d28d9;
}

.scard__link:hover {
  gap: 0.625rem;
}

.scard__link:hover .scard__link-arrow {
  transform: translateX(-3px);
}

html[dir='ltr'] .scard__link-arrow {
  transform: scaleX(-1);
}

html[dir='ltr'] .scard__link:hover .scard__link-arrow {
  transform: scaleX(-1) translateX(3px);
}

/* ===== Contact ===== */
.contact {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.contact__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #ccfbf1 0%, #e0f2fe 42%, #f0fdfa 78%, #f8fafc 100%);
}

.contact__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgc3Ryb2tlPSJyZ2JhKDE1LDIzLDQyLDAuMDgpIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiPjxwYXRoIGQ9Ik0wIDYwaDYwVjB6Ii8+PC9nPjwvc3ZnPg==");
}

.contact__panel {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .contact__panel {
    flex-direction: row;
    padding: 4rem;
    align-items: center;
  }
}

.contact__intro {
  flex: 1;
  min-width: 0;
}

.contact__intro h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text);
  margin: 0 0 1.5rem;
}

.contact__intro p {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.625;
  margin: 0 0 2.5rem;
}

.contact__rows {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-soft);
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.contact__icon {
  padding: 0.75rem;
  border-radius: 0.75rem;
}

.contact__icon--teal {
  background: rgba(20, 184, 166, 0.2);
  color: #0f766e;
}

.contact__icon--blue {
  background: rgba(59, 130, 246, 0.15);
  color: #2563eb;
}

.contact__icon--purple {
  background: rgba(139, 92, 246, 0.15);
  color: #7c3aed;
}

.contact__row--phones {
  align-items: flex-start;
}

.contact__phone-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact__phone-list a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  font-family: ui-monospace, monospace;
  transition: color 0.15s ease;
}

.contact__phone-list a:hover {
  color: var(--brand-teal-dark);
}

.contact__row small {
  display: block;
  font-size: 0.875rem;
  color: var(--text-subtle);
  margin-bottom: 0.25rem;
}

.contact__row strong {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  font-family: ui-monospace, monospace;
}

.contact__row strong.contact__value {
  font-family: inherit;
}

.contact-social {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.contact-social__title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.contact-social__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.contact-social__link:hover {
  color: var(--brand-teal-dark);
  background: rgba(204, 251, 241, 0.65);
  border-color: rgba(13, 148, 136, 0.35);
  transform: translateY(-1px);
}

.contact-social__svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.contact__form-wrap {
  flex: 1;
  width: 100%;
  background: var(--bg-soft);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 1px #14b8a6;
}

.form select {
  appearance: none;
}

.form__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 480px) {
  .form__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form__submit {
  width: 100%;
  background: linear-gradient(145deg, var(--brand-teal) 0%, #0ea890 100%);
  color: #fff;
  font-weight: 800;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 1.0625rem;
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.form__submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.35);
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, #f8fafc 0%, var(--bg-card) 100%);
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.04);
}

.footer p {
  margin: 0;
  color: var(--text-subtle);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.footer__legal {
  margin-top: 0.5rem !important;
  font-size: 0.8125rem !important;
}

.footer__legal-docs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.footer__legal-img {
  max-height: 56px;
  max-width: 140px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 4px;
}

.contact__map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-teal);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.contact__map-btn:hover {
  background: var(--brand-teal);
  color: #fff;
}

.contact__map-btn .icon {
  width: 1rem;
  height: 1rem;
}

.zz-page-bg--custom {
  color: #fff;
}

.zz-page-bg--custom .page-hero__title,
.zz-page-bg--custom .page-hero__lead,
.zz-page-bg--custom .page-hero__label,
.zz-page-bg--custom .courses-hero__title,
.zz-page-bg--custom .courses-hero__lead,
.zz-page-bg--custom .courses-hero__eyebrow,
.zz-page-bg--custom .hero__h1,
.zz-page-bg--custom .hero__lead {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.trainers-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.trainers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.trainer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}

.trainer-card__media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #ccfbf1, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.trainer-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trainer-card__placeholder {
  width: 4rem;
  height: 4rem;
  color: #94a3b8;
}

.trainer-card__placeholder svg {
  width: 100%;
  height: 100%;
}

.trainer-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.trainer-card__name {
  font-size: 1.125rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: var(--text);
}

.trainer-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-teal);
  margin: 0 0 0.65rem;
}

.trainer-card__bio {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.trainer-card__specs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.trainer-card__specs li {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
}

/* ===== Services page ===== */
.page-services .nav__link--active,
.page-about .nav__link--active,
.page-contact .nav__link--active {
  color: var(--brand-teal);
  font-weight: 800;
}

/* ===== About page (base; hero overrides follow .page-hero) ===== */
.about-page {
  padding: 2.5rem 0 3rem;
}

.about-page--story {
  padding-top: 0.5rem;
  margin-top: -1.5rem;
  position: relative;
  z-index: 1;
}

.about-page__story-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.125rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
}

@media (min-width: 768px) {
  .about-page__story-card {
    padding: 2.25rem 2.25rem;
  }
}

.about-page__title {
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.about-page__title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.85rem;
  border-radius: 2px;
  background: linear-gradient(90deg, #0d9488, #5eead4);
}

.about-page__prose {
  max-width: none;
}

.about-page__prose p {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.about-page__prose p:last-child {
  margin-bottom: 0;
}

.about-page--mission {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.6) 0%, var(--bg-soft) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.25rem 0;
}

.about-page--mission__inner {
  display: flex;
  justify-content: center;
}

.about-mission {
  width: 100%;
  max-width: 42rem;
  padding: 2rem 1.75rem;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid var(--border);
  border-radius: 1.125rem;
  border-right: 4px solid #0d9488;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  text-align: right;
}

html[dir='ltr'] .about-mission {
  border-right: 1px solid var(--border);
  border-left: 4px solid #0d9488;
  text-align: left;
}

.about-mission__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.about-mission__text {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.about-page--values {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.about-page__section-heading {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  text-align: center;
  color: var(--text);
  margin: 0 0 2rem;
  letter-spacing: -0.03em;
}

.about-values {
  display: grid;
  gap: 1.25rem;
  counter-reset: about-val;
}

@media (min-width: 768px) {
  .about-values {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }
}

.about-value {
  margin: 0;
  position: relative;
  padding: 1.65rem 1.4rem 1.5rem;
  padding-top: 2.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-value::before {
  counter-increment: about-val;
  content: counter(about-val, decimal-leading-zero);
  position: absolute;
  top: 1.25rem;
  right: 1.35rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #94a3b8;
}

html[dir='ltr'] .about-value::before {
  right: auto;
  left: 1.35rem;
}

.about-value:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.09);
  border-color: #cbd5e1;
}

.about-value__accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  border-radius: 1rem 1rem 0 0;
}

.about-value:nth-child(1) .about-value__accent {
  background: linear-gradient(90deg, #0d9488, #14b8a6);
}

.about-value:nth-child(2) .about-value__accent {
  background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.about-value:nth-child(3) .about-value__accent {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.about-value__title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.75rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.about-value__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.about-page__cta {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

/* ===== Contact page ===== */
.page-hero--contact {
  padding-top: 6.75rem;
  padding-bottom: 2.5rem;
  background: linear-gradient(180deg, #f0fdfa 0%, #e0f2fe 50%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero--contact .page-hero__lead {
  max-width: 42rem;
}

/* ===== Courses page (professional layout) ===== */
.courses-hero {
  position: relative;
  padding: 6.75rem 0 3rem;
  overflow: hidden;
  background: linear-gradient(165deg, #f8fafc 0%, #ecfdf5 38%, #e0f2fe 72%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border);
}

.page-products .courses-hero,
.products-hero {
  background: linear-gradient(165deg, #f8fafc 0%, #ecfdf5 38%, #e0f2fe 72%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border);
}

.products-hero__pill {
  color: var(--brand-teal-dark);
  border-color: rgba(13, 148, 136, 0.25);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-xs);
}

.courses-hero__inner {
  position: relative;
  z-index: 2;
}

.courses-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.45;
  pointer-events: none;
}

.courses-hero__blob--tr {
  width: 22rem;
  height: 22rem;
  top: -6rem;
  left: -4rem;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.35) 0%, transparent 70%);
}

.courses-hero__blob--bl {
  width: 18rem;
  height: 18rem;
  bottom: -4rem;
  right: -3rem;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, transparent 70%);
}

.courses-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
}

.courses-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.courses-breadcrumb__link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.courses-breadcrumb__link:hover {
  color: var(--brand-teal-dark);
}

.courses-breadcrumb__sep {
  color: var(--border-strong);
  user-select: none;
}

.courses-breadcrumb__current {
  color: var(--text);
  font-weight: 700;
}

.courses-hero .courses-hero__eyebrow {
  margin-bottom: 0.65rem;
}

.courses-hero__pill {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-teal-dark);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
}

.courses-hero__title {
  max-width: 22ch;
}

.courses-hero__lead {
  max-width: 40rem;
  margin-bottom: 0;
}

.courses-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .courses-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.courses-stat {
  padding: 0.25rem 0.35rem;
}

.courses-stat__value {
  display: block;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
}

.courses-stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

.courses-trust {
  padding: clamp(2.75rem, 6vw, 4rem) 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.courses-trust__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.courses-trust__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.courses-trust__lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.courses-trust__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .courses-trust__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.courses-trust__card {
  height: 100%;
  padding: 1.5rem 1.35rem;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.courses-trust__card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.courses-trust__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-lg);
}

.courses-trust__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.courses-trust__icon--teal {
  background: var(--brand-teal-soft);
  color: var(--brand-teal-dark);
}

.courses-trust__icon--blue {
  background: #dbeafe;
  color: var(--brand-blue);
}

.courses-trust__icon--purple {
  background: #ede9fe;
  color: #6d28d9;
}

.courses-trust__h {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text);
}

.courses-trust__p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.courses-catalog {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-card) 35%, var(--bg-card) 100%);
}

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

.courses-section-head__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 3.5vw, 2.125rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
}

.courses-section-head__lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.courses-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .courses-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

.ccard {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.ccard:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(148, 163, 184, 0.45);
}

.ccard__head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.35rem 1rem;
  min-height: 5.5rem;
}

.ccard--teal .ccard__head {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 50%, #f8fafc 100%);
}

.ccard--blue .ccard__head {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 50%, #f8fafc 100%);
}

.ccard--purple .ccard__head {
  background: linear-gradient(135deg, #f5f3ff 0%, #faf5ff 50%, #f8fafc 100%);
}

.ccard__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-xs);
}

.ccard__icon {
  width: 1.65rem;
  height: 1.65rem;
}

.ccard--teal .ccard__icon-wrap {
  color: var(--brand-teal-dark);
}

.ccard--blue .ccard__icon-wrap {
  color: var(--brand-blue);
}

.ccard--purple .ccard__icon-wrap {
  color: #6d28d9;
}

.ccard__code {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(15, 23, 42, 0.08);
  user-select: none;
}

.ccard__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1.35rem 1.25rem;
}

.ccard__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ccard__badge {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-teal-dark);
  background: var(--brand-teal-soft);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
}

.ccard--blue .ccard__badge {
  color: var(--brand-blue);
  background: #dbeafe;
}

.ccard--purple .ccard__badge {
  color: #6d28d9;
  background: #ede9fe;
}

.ccard__meta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.ccard__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
}

.ccard__desc {
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

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

.ccard__tag {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.ccard__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.95rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid var(--border);
  transition: background 0.2s ease, color 0.2s ease;
}

.ccard__btn:hover {
  background: linear-gradient(145deg, var(--brand-teal) 0%, var(--brand-teal-dark) 100%);
  color: #fff;
}

.ccard__btn:hover .ccard__btn-arrow {
  stroke: #fff;
}

.ccard__btn:focus-visible {
  outline: 2px solid var(--brand-teal);
  outline-offset: -2px;
}

.ccard__btn-arrow {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

html[dir='ltr'] .ccard__btn-arrow {
  transform: scaleX(-1);
}

.courses-cta {
  padding-bottom: 4.5rem;
}

.courses-cta--premium {
  padding-top: 0.5rem;
}

.courses-cta__inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(13, 148, 136, 0.2);
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 42%, #2563eb 100%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.courses-cta__shine {
  position: absolute;
  inset: -40% -20% auto 40%;
  height: 120%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.12) 45%, transparent 70%);
  pointer-events: none;
}

.courses-cta__content {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.courses-cta--premium .svc-cta__title {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.courses-cta--premium .svc-cta__text {
  color: rgba(255, 255, 255, 0.92);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.courses-cta__btn {
  background: #fff !important;
  color: var(--brand-teal-dark) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.courses-cta__btn:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.contact.contact--page {
  padding: 2.5rem 0 5rem;
}

.contact.contact--page > .container {
  position: relative;
  z-index: 1;
}

.contact__panel--page {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .contact__panel--page {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }

  .contact__panel--page .contact__intro {
    flex: 0 0 16rem;
  }

  .contact__panel--page .contact__form-wrap {
    flex: 1;
  }
}

.contact__intro--compact .contact__rows {
  gap: 1rem;
}

/* ===== Login page ===== */
.login-page .login-page__panel {
  max-width: 26rem;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 2rem;
}

@media (min-width: 1024px) {
  .login-page .login-page__panel {
    flex-direction: column;
  }
}

.login-page .login-page__form-wrap {
  width: 100%;
}

.login-page__options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: -0.25rem;
}

.login-page__remember {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0;
}

.login-page__remember input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--brand-teal);
  cursor: pointer;
}

.login-page__forgot {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-teal-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.login-page__forgot:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}

.register-page .register-page__panel {
  max-width: 32rem;
}

.auth-page__switch {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.auth-page__switch-link {
  display: inline-block;
  font-weight: 700;
  color: var(--brand-teal-dark);
  margin-inline-start: 0.35rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-page__switch-link:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}

.register-page__terms {
  align-items: flex-start;
}

.register-page__terms > span {
  line-height: 1.5;
}

/* ===== Home contact teaser ===== */
.contact-home {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-page) 100%);
  border-top: 1px solid var(--border);
}

.contact-home__card {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.contact-home__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.contact-home__lead {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.contact-home__btn {
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ===== Google Maps embed ===== */
.site-map {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: var(--bg-page);
  border-top: 1px solid var(--border);
}

.site-map__header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

.site-map__title {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
}

.site-map__frame-wrap {
  position: relative;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--bg-soft);
  aspect-ratio: 16 / 9;
  min-height: 280px;
}

@media (min-width: 768px) {
  .site-map__frame-wrap {
    aspect-ratio: 21 / 9;
    min-height: 320px;
  }
}

.site-map__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== زر واتساب ثابت ===== */
.whatsapp-fab {
  position: fixed;
  z-index: 90;
  inset-inline-end: 1.15rem;
  bottom: 1.15rem;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.whatsapp-fab:hover {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-fab__icon {
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .whatsapp-fab {
    inset-inline-end: 1.5rem;
    bottom: 1.5rem;
    width: 3.6rem;
    height: 3.6rem;
  }

  .whatsapp-fab__icon {
    width: 1.8rem;
    height: 1.8rem;
  }
}

.page-hero {
  padding: 7.5rem 0 3.5rem;
  background: linear-gradient(180deg, #e0f2fe 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero__label {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d9488;
  margin: 0 0 1rem;
}

.page-hero__title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 1rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-hero__lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  max-width: 42rem;
}

.page-hero.page-hero--about {
  position: relative;
  overflow: hidden;
  padding-top: 6.5rem;
  padding-bottom: 4.5rem;
  background: linear-gradient(165deg, #ecfdf5 0%, #e0f2fe 42%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero__about-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 100% -10%, rgba(13, 148, 136, 0.18) 0%, transparent 52%),
    radial-gradient(ellipse 70% 45% at 0% 100%, rgba(14, 165, 233, 0.14) 0%, transparent 48%);
}

.page-hero__about-inner {
  position: relative;
  z-index: 1;
}

.page-hero.page-hero--about .page-hero__title {
  max-width: 52rem;
  line-height: 1.18;
}

.page-hero.page-hero--about .page-hero__lead {
  max-width: 40rem;
  line-height: 1.75;
}

.page-hero--detail {
  padding-top: 5.75rem;
  padding-bottom: 4rem;
}

.page-service-detail .page-hero__title,
.page-course-detail .page-hero__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.035em;
}

.course-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.course-detail-meta__pill {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-xs);
}

.course-detail-outcomes {
  margin: 2.5rem 0;
  padding: 1.5rem 1.35rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.course-detail-outcomes__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}

.course-detail-outcomes__list {
  margin: 0;
  padding: 0 1.15rem 0 0;
  list-style: disc;
}

.course-detail-outcomes__list li {
  margin-bottom: 0.5rem;
  font-size: 0.975rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.course-detail-outcomes__list li:last-child {
  margin-bottom: 0;
}

html[dir='ltr'] .course-detail-outcomes__list {
  padding: 0 0 0 1.15rem;
}

.course-detail-videos {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-soft) 50%, var(--bg-card) 100%);
  border-top: 1px solid var(--border);
}

.course-detail-videos__head {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.course-detail-videos__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.course-detail-videos__lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.course-detail-videos__grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .course-detail-videos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.course-video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.course-video-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.course-video-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

.course-video-card__iframe,
.course-video-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.course-video-card__video {
  object-fit: contain;
  background: #000;
}

.course-video-card__title {
  margin: 0;
  padding: 1rem 1.15rem 0.35rem;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
}

.course-video-card__desc {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.service-detail-hero {
  position: relative;
  overflow: hidden;
  border-bottom: none;
}

.service-detail-hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.service-detail-hero__wrap {
  position: relative;
  z-index: 1;
}

.service-detail-hero__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.service-detail-hero__toolbar .service-detail-back {
  margin: 0;
}

.service-detail-hero__toolbar .service-detail-breadcrumb {
  margin: 0;
  flex: 1;
  min-width: min(100%, 16rem);
}

.service-detail-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .service-detail-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
  }
}

.service-detail-hero__intro {
  min-width: 0;
}

.service-detail-hero__lead {
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.75;
}

.service-detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.service-detail-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}


.service-detail-hero__btn--primary {
  background: #0d9488;
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.service-detail-hero__btn--primary:hover {
  background: #0f766e;
}

.service-detail--blue .service-detail-hero__btn--primary {
  background: #2563eb;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.service-detail--blue .service-detail-hero__btn--primary:hover {
  background: #1d4ed8;
}

.service-detail--purple .service-detail-hero__btn--primary {
  background: #7c3aed;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.service-detail--purple .service-detail-hero__btn--primary:hover {
  background: #6d28d9;
}

.service-detail-hero__btn--ghost {
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.service-detail-hero__btn--ghost:hover {
  background: #fff;
  border-color: #cbd5e1;
}

.service-detail-hero__figure {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 899px) {
  .service-detail-hero__figure {
    order: -1;
  }
}

.service-detail-hero__figure-inner {
  width: min(100%, 17rem);
  aspect-ratio: 1;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.03);
}

.service-detail-hero__figure-inner svg {
  width: 42%;
  height: 42%;
}

.service-detail--teal .service-detail-hero__figure-inner {
  color: #0d9488;
  background: linear-gradient(145deg, #ecfdf5 0%, #fff 55%);
}

.service-detail--blue .service-detail-hero__figure-inner {
  color: #2563eb;
  background: linear-gradient(145deg, #eff6ff 0%, #fff 55%);
}

.service-detail--purple .service-detail-hero__figure-inner {
  color: #7c3aed;
  background: linear-gradient(145deg, #f5f3ff 0%, #fff 55%);
}

.service-detail-strip {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding: 0 0 2.5rem;
}

@media (min-width: 768px) {
  .service-detail-strip {
    margin-top: -3.25rem;
    padding-bottom: 3rem;
  }
}

.service-detail-strip .container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
}

.service-detail--teal .service-detail-strip .container {
  border-top: 3px solid #0d9488;
}

.service-detail--blue .service-detail-strip .container {
  border-top: 3px solid #2563eb;
}

.service-detail--purple .service-detail-strip .container {
  border-top: 3px solid #7c3aed;
}

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

@media (min-width: 768px) {
  .service-detail-strip__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.service-detail-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: right;
}

html[dir='ltr'] .service-detail-strip__item {
  text-align: left;
}

.service-detail-strip__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.service-detail--teal .service-detail-strip__dot {
  background: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.service-detail--blue .service-detail-strip__dot {
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.service-detail--purple .service-detail-strip__dot {
  background: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.service-detail-strip__text {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -0.02em;
}

.service-detail-main {
  padding: 0 0 1rem;
}

.service-detail-article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.125rem;
  padding: 2rem 1.75rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.service-detail-article__title {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 1.25rem;
}

.service-detail-scope {
  margin-bottom: 0.5rem;
}

.service-detail-scope__head {
  text-align: center;
  margin-bottom: 2rem;
}

.service-detail-scope__title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.service-detail-scope__sub {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 40rem;
}

.service-detail-scope__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .service-detail-scope__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.service-detail-tile {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-detail-tile:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.service-detail-tile__check {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail--teal .service-detail-tile__check {
  background: #ecfdf5;
  color: #0d9488;
}

.service-detail--blue .service-detail-tile__check {
  background: #eff6ff;
  color: #2563eb;
}

.service-detail--purple .service-detail-tile__check {
  background: #f5f3ff;
  color: #7c3aed;
}

.service-detail-tile__check svg {
  width: 1rem;
  height: 1rem;
}

.service-detail-tile__text {
  margin: 0;
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text);
}

.page-service-detail .svc-cta,
.page-course-detail .svc-cta {
  padding-top: 2.5rem;
}

.page-service-detail .svc-cta__box,
.page-course-detail .svc-cta__box {
  max-width: 48rem;
  padding: 2.75rem 2rem;
  background: linear-gradient(145deg, rgba(236, 253, 245, 0.9) 0%, rgba(240, 249, 255, 0.95) 50%, rgba(245, 243, 255, 0.5) 100%);
  border: 1px solid rgba(203, 213, 225, 0.85);
}

.page-service-detail .svc-cta__title,
.page-course-detail .svc-cta__title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.service-detail-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.service-detail-breadcrumb a {
  color: #0f766e;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.service-detail-breadcrumb a:hover {
  color: #0d9488;
  text-decoration: underline;
}

.service-detail-breadcrumb__sep {
  color: #94a3b8;
  user-select: none;
}

.service-detail-breadcrumb [aria-current='page'] {
  color: var(--text);
  font-weight: 600;
}

.service-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0 0 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.service-detail-back:hover {
  color: #0d9488;
  gap: 0.5rem;
}

.service-detail-back__icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

html[dir='ltr'] .service-detail-back__icon {
  transform: scaleX(-1);
}

.service-detail-prose {
  max-width: none;
}

.service-detail-prose p {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.service-detail-prose p:last-child {
  margin-bottom: 0;
}

.service-detail--teal .page-hero {
  background: linear-gradient(180deg, #ccfbf1 0%, var(--bg-page) 100%);
}

.service-detail--blue .page-hero {
  background: linear-gradient(180deg, #dbeafe 0%, var(--bg-page) 100%);
}

.service-detail--blue .page-hero__label {
  color: #2563eb;
}

.service-detail--blue .service-detail-back {
  color: #1d4ed8;
}

.service-detail--blue .service-detail-back:hover {
  color: #2563eb;
}

.service-detail--blue .service-detail-breadcrumb a {
  color: #1d4ed8;
}

.service-detail--blue .service-detail-breadcrumb a:hover {
  color: #2563eb;
}

.service-detail--purple .page-hero {
  background: linear-gradient(180deg, #ede9fe 0%, var(--bg-page) 100%);
}

.service-detail--purple .page-hero__label {
  color: #7c3aed;
}

.service-detail--purple .service-detail-back {
  color: #6d28d9;
}

.service-detail--purple .service-detail-back:hover {
  color: #7c3aed;
}

.service-detail--purple .service-detail-breadcrumb a {
  color: #6d28d9;
}

.service-detail--purple .service-detail-breadcrumb a:hover {
  color: #7c3aed;
}

.svc-intro {
  padding: 3.5rem 0 2rem;
}

.svc-intro__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 1rem;
}

.svc-intro__text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
  max-width: 48rem;
}

.svc-cards {
  padding: 0 0 2.5rem;
}

.svc-cards .services {
  align-items: stretch;
}

.svc-process {
  padding: 3rem 0 4rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.svc-process__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 2rem;
  text-align: center;
}

.svc-process__grid {
  display: grid;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .svc-process__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.svc-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.svc-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #0f766e;
  font-size: 0.75rem;
  font-weight: 800;
  margin: 0 auto 0.75rem;
}

.svc-step__text {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  margin: 0;
}

.svc-cta {
  padding: 3.5rem 0 4rem;
}

.svc-cta__box {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  padding: 2.75rem 2rem;
  background: linear-gradient(155deg, #ecfdf5 0%, #f0f9ff 55%, #faf5ff 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(255, 255, 255, 0.7) inset;
}

.svc-cta__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.svc-cta__text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.svc-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  background: linear-gradient(145deg, var(--brand-teal) 0%, #0ea890 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 22px rgba(13, 148, 136, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.svc-cta__btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.38);
}

/* ===== Service consultation modal (service-detail) ===== */
.service-consult-modal[hidden] {
  display: none !important;
}

.service-consult-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.service-consult-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}

.service-consult-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 36rem;
  max-height: min(90vh, 42rem);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg, 14px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
  padding: 1.35rem 1.5rem 1.5rem;
}

.service-consult-progress {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-teal-dark, #0f766e);
  margin-bottom: 0.75rem;
}

.service-consult-step-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.service-consult-level-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 480px) {
  .service-consult-level-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.service-consult-level-card {
  display: block;
  width: 100%;
  text-align: right;
  padding: 0.85rem 0.75rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.service-consult-level-card:hover {
  border-color: #0d9488;
  background: #f0fdfa;
}

.service-consult-level-card__label {
  display: block;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.service-consult-level-card__desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.service-consult-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.service-consult-modal__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
}

.service-consult-modal__close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 9999px;
  background: #f1f5f9;
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.service-consult-modal__close:hover {
  background: #e2e8f0;
  color: var(--text);
}

.service-consult-modal__service {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-teal-dark, #0f766e);
}

.service-consult-modal__hint {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.service-consult-modal__form .form-row {
  margin-bottom: 0.9rem;
}

.service-consult-modal__form .form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 520px) {
  .service-consult-modal__form .form-row--2 {
    grid-template-columns: 1fr;
  }
}

.service-consult-modal__label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.service-consult-modal__label input,
.service-consult-modal__label textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-size: 0.9rem;
}

.service-consult-modal__label textarea {
  resize: vertical;
  min-height: 6rem;
}

.service-consult-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

.service-consult-modal__btn {
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.service-consult-modal__btn--ghost {
  background: #f1f5f9;
  color: var(--text);
}

.service-consult-modal__btn--ghost:hover {
  background: #e2e8f0;
}

.service-consult-modal__btn--primary {
  background: #0d9488;
  color: #fff;
}

.service-consult-modal__btn--primary:hover {
  background: #0f766e;
}

.service-detail--blue .service-consult-modal__btn--primary {
  background: #2563eb;
}

.service-detail--blue .service-consult-modal__btn--primary:hover {
  background: #1d4ed8;
}

.service-detail--purple .service-consult-modal__btn--primary {
  background: #7c3aed;
}

.service-detail--purple .service-consult-modal__btn--primary:hover {
  background: #6d28d9;
}

/* ===== Course detail: subscribe + learning link ===== */
.service-detail-hero__subcta {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.service-detail-hero__subcta-link {
  color: var(--brand-teal-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.service-detail-hero__subcta-link:hover {
  color: var(--brand-teal);
}

/* ===== Student learning page (course-learn.html) ===== */
.page-learn .learn-page-header {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, var(--bg-soft) 100%);
}

.page-learn .learn-page-header__inner {
  max-width: 56rem;
}

.learn-page-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-subtle);
  margin-bottom: 1rem;
  transition: color 0.15s ease;
}

.learn-page-back:hover {
  color: var(--brand-teal-dark);
}

.learn-page-back__icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

[dir='ltr'] .learn-page-back__icon {
  transform: scaleX(-1);
}

.learn-page-badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand-teal-dark);
  background: var(--brand-teal-soft);
  border-radius: var(--radius-pill);
}

.learn-page-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.learn-page-welcome {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.learn-page-note {
  font-size: 0.9rem;
  color: var(--text-subtle);
  margin: 0;
}

.learn-shell {
  display: grid;
  gap: 2rem;
  padding: 2rem 0 4rem;
  align-items: start;
}

@media (min-width: 900px) {
  .learn-shell {
    grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
    gap: 2.5rem;
    padding: 2.5rem 0 4.5rem;
  }
}

.learn-sidebar {
  position: sticky;
  top: 5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.learn-sidebar__title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  margin: 0 0 1rem;
}

.learn-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.learn-nav__link {
  display: block;
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.learn-nav__link:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.learn-nav__link--active {
  color: var(--brand-teal-dark);
  background: rgba(204, 251, 241, 0.55);
  border-color: rgba(13, 148, 136, 0.25);
}

.learn-sidebar__hint {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-subtle);
}

.learn-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  min-width: 0;
}

.learn-block {
  scroll-margin-top: 6rem;
}

.learn-block__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin: 1rem 0 0.5rem;
}

.learn-block__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.learn-player {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f172a;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.learn-player__iframe,
.learn-player__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.learn-player__video {
  object-fit: contain;
  background: #000;
}

.learn-page-header__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.learn-page-header__top .learn-page-back {
  margin-bottom: 0;
}

.learn-page-profile {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-teal-dark);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(13, 148, 136, 0.35);
  background: rgba(255, 255, 255, 0.85);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.learn-page-profile:hover {
  background: var(--brand-teal-soft);
  border-color: rgba(13, 148, 136, 0.5);
}

.auth-page__extra {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.auth-page__extra-link {
  color: var(--brand-teal-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.auth-page__extra-link:hover {
  color: var(--brand-teal);
}

/* ===== Student profile (profile.html) ===== */
.page-profile .profile-page {
  padding-bottom: 4rem;
}

/* نفس لوحة تسجيل الدخول: طبقة فوق الخلفية المطلقة حتى لا يختفي المحتوى */
.profile-page .profile-page__panel {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 2rem 1.5rem;
}

@media (min-width: 1024px) {
  .profile-page .profile-page__panel.contact__panel--page {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 2.5rem 2.5rem;
  }
}

.profile-layout {
  display: grid;
  gap: 1.75rem;
  align-items: start;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 800px) {
  .profile-layout {
    grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr);
    gap: 2rem;
  }
}

.profile-sidebar {
  padding: 1.5rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  text-align: center;
}

.profile-avatar {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1rem;
  border-radius: 9999px;
  background: linear-gradient(145deg, var(--brand-teal-soft) 0%, #e0f2fe 100%);
  border: 2px solid rgba(13, 148, 136, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal-dark);
}

.profile-avatar svg {
  width: 2.5rem;
  height: 2.5rem;
}

.profile-sidebar__name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.35rem;
}

.profile-sidebar__id {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-teal-dark);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.profile-sidebar__email {
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin: 0 0 1.25rem;
  word-break: break-all;
}

.profile-sidebar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-teal) 0%, #0ea890 100%);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.28);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.profile-sidebar__btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.profile-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.profile-card {
  padding: 1.5rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.profile-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.profile-card__hint {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-subtle);
  margin: 0 0 1.25rem;
}

.profile-kv {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.profile-kv__row {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) minmax(0, 1fr);
  gap: 0.5rem 1rem;
  align-items: baseline;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.profile-kv__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.profile-kv__dt {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.profile-kv__dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.profile-kv__dd--email {
  font-weight: 500;
  color: var(--text-muted);
}

@media (max-width: 420px) {
  .profile-kv__row {
    grid-template-columns: 1fr;
  }
}

.profile-page__form .form__submit {
  margin-top: 0.25rem;
}

.profile-input--readonly {
  background: var(--bg-soft) !important;
  color: var(--text-subtle) !important;
  cursor: default;
}

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

.profile-course {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    'body badge'
    'cta cta';
  gap: 0.5rem 0.75rem;
  align-items: center;
  padding: 1rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

@media (min-width: 520px) {
  .profile-course {
    grid-template-columns: 1fr auto auto;
    grid-template-areas: 'body badge cta';
  }
}

.profile-course__body {
  grid-area: body;
  min-width: 0;
}

.profile-course__title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.35;
}

.profile-course__meta {
  display: block;
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-top: 0.2rem;
}

.profile-course__progress {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-teal-dark);
  margin-top: 0.35rem;
}

.profile-course__progress--muted {
  font-weight: 500;
  color: var(--text-subtle);
}

.profile-course__badge {
  grid-area: badge;
  justify-self: end;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
}

.profile-course__badge--active {
  color: #0f766e;
  background: #d1fae5;
}

.profile-course__badge--muted {
  color: var(--text-subtle);
  background: var(--border);
}

.profile-course__cta {
  grid-area: cta;
  justify-self: stretch;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--brand-teal);
  transition: filter 0.15s ease;
}

.profile-course__cta:hover {
  filter: brightness(1.06);
}

.profile-course__cta--ghost {
  color: var(--brand-teal-dark);
  background: transparent;
  border: 1px solid rgba(13, 148, 136, 0.4);
}

.profile-course__cta--ghost:hover {
  background: var(--brand-teal-soft);
}

/* ===== Store / products page (professional) ===== */
.page-products .products-hero__title {
  max-width: 24ch;
  color: var(--text);
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .page-products .products-hero__title {
    background: linear-gradient(120deg, #0d9488 0%, #0ea5e9 45%, #2563eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-products .ccard--pro {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  .page-products .ccard--pro:hover {
    transform: translateY(-4px);
  }
}

.page-products .ccard--pro {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
}

.page-products .ccard--pro:hover {
  box-shadow: 0 18px 40px -12px rgba(13, 148, 136, 0.18), 0 0 0 1px rgba(13, 148, 136, 0.14);
}

/* Product image area — catalog-style preview (uses existing theme accents only) */
.page-products .ccard--pro .ccard__media {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 1.35rem);
  background: linear-gradient(165deg, #f8fafc 0%, #ffffff 55%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-products .ccard--pro.ccard--teal .ccard__media {
  box-shadow: inset 0 1px 0 rgba(13, 148, 136, 0.12);
}

.page-products .ccard--pro.ccard--blue .ccard__media {
  box-shadow: inset 0 1px 0 rgba(37, 99, 235, 0.12);
}

.page-products .ccard--pro.ccard--purple .ccard__media {
  box-shadow: inset 0 1px 0 rgba(109, 40, 217, 0.1);
}

.page-products .ccard--pro .ccard__media-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .page-products .ccard--pro:hover .ccard__media-img {
    transform: scale(1.04);
  }
}

.page-products .ccard--pro .ccard__code--media {
  position: absolute;
  top: 0.65rem;
  inset-inline-end: 0.65rem;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(15, 23, 42, 0.07);
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.page-products .ccard--pro .ccard__body {
  padding-top: 1.15rem;
}

/* Courses catalog: optional cover image (same treatment as store cards) */
.page-courses .ccard--course-with-img .ccard__media {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 1.25rem);
  background: linear-gradient(165deg, #f8fafc 0%, #ffffff 55%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-courses .ccard--course-with-img.ccard--teal .ccard__media {
  box-shadow: inset 0 1px 0 rgba(13, 148, 136, 0.12);
}

.page-courses .ccard--course-with-img.ccard--blue .ccard__media {
  box-shadow: inset 0 1px 0 rgba(37, 99, 235, 0.12);
}

.page-courses .ccard--course-with-img.ccard--purple .ccard__media {
  box-shadow: inset 0 1px 0 rgba(109, 40, 217, 0.1);
}

.page-courses .ccard--course-with-img .ccard__media-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .page-courses .ccard--course-with-img:hover .ccard__media-img {
    transform: scale(1.04);
  }
}

.page-courses .ccard--course-with-img .ccard__code--media {
  position: absolute;
  top: 0.65rem;
  inset-inline-end: 0.65rem;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(15, 23, 42, 0.07);
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.page-courses .ccard--course-with-img .ccard__body {
  padding-top: 1.1rem;
}

.products-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 0 0 1.75rem;
}

.products-hero__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-teal-dark);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
}

.products-hero__stats {
  width: 100%;
}

.courses-stats--products {
  padding: 1.25rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.page-products .courses-stat {
  text-align: center;
}

.products-trust {
  position: relative;
}

.products-trust::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 3rem, 48rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.products-process {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, var(--bg-page) 0%, rgba(13, 148, 136, 0.06) 50%, var(--bg-page) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.products-process__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.products-process__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.products-process__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.products-process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  .products-process__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
  }

  .products-process__steps::before {
    content: '';
    position: absolute;
    top: 2.25rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.35), rgba(37, 99, 235, 0.3));
    border-radius: 2px;
    z-index: 0;
  }

  .products-process__step {
    position: relative;
    z-index: 1;
  }
}

.products-process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.products-process__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-teal) 0%, #2563eb 100%);
  border-radius: 9999px;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.28);
}

.products-process__h {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.4rem;
  line-height: 1.35;
}

.products-process__p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-subtle);
}

.products-guarantee {
  padding: 0 0 2.5rem;
}

.products-guarantee__inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.15rem 1.35rem;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 42%, #2563eb 100%);
  color: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.products-guarantee__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  color: #99f6e4;
}

.products-guarantee__icon svg {
  width: 100%;
  height: 100%;
}

.products-guarantee__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 500;
}

.products-catalog {
  padding-top: 2.5rem;
}

.products-catalog__head {
  margin-bottom: 2.5rem;
}

.products-catalog__group {
  margin-bottom: 3rem;
}

.products-catalog__group:last-of-type {
  margin-bottom: 0;
}

.products-catalog__subtitle {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.products-catalog__subtitle::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: min(5rem, 40%);
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-blue));
}

.courses-grid--products {
  gap: 1.35rem;
}

@media (min-width: 1024px) {
  .courses-grid--products {
    gap: 1.5rem;
  }
}

/* —— Product detail —— */
.page-product-detail .product-detail-hero .page-hero__label {
  margin-bottom: 0.5rem;
}

.product-detail-hero__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-muted);
}

.service-detail--teal .product-detail-hero__badge {
  color: #0f766e;
  border-color: rgba(13, 148, 136, 0.25);
  background: rgba(240, 253, 250, 0.9);
}

.service-detail--blue .product-detail-hero__badge {
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.25);
  background: rgba(239, 246, 255, 0.95);
}

.service-detail--purple .product-detail-hero__badge {
  color: #6d28d9;
  border-color: rgba(124, 58, 237, 0.25);
  background: rgba(245, 243, 255, 0.95);
}

.product-detail-hero__frame {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-md);
  line-height: 0;
}

.product-detail-hero__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (prefers-reduced-motion: no-preference) {
  .product-detail-hero__frame {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }

  .page-product-detail .service-detail-hero:hover .product-detail-hero__frame {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
  }
}

.product-detail-photos {
  padding: 2rem 0 2.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(241, 245, 249, 0.55) 45%, transparent 100%);
}

.product-detail-photos__title {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.product-detail-photos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .product-detail-photos__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.product-detail-photos__figure {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.product-detail-photos__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* —— Store: nav cart —— */
.nav__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav__cart:hover {
  color: var(--brand-teal-dark);
  border-color: rgba(13, 148, 136, 0.35);
  background: #f0fdfa;
}

.nav__cart--active {
  color: var(--brand-teal-dark);
  border-color: rgba(13, 148, 136, 0.45);
  background: #ecfdf5;
}

.nav__cart-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.nav__cart-badge {
  position: absolute;
  top: -0.2rem;
  inset-inline-end: -0.2rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.15rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #0d9488, #2563eb);
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

html[dir='ltr'] .nav__cart-badge {
  inset-inline-end: auto;
  inset-inline-start: -0.2rem;
}

/* —— Store: product cards —— */
.ccard__shop {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 0.85rem 1.25rem 1.1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.ccard__price {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #0f766e;
  margin: 0 0 0.7rem;
  letter-spacing: -0.02em;
}

.ccard__shop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  align-items: stretch;
}

@media (max-width: 380px) {
  .ccard__shop-actions {
    grid-template-columns: 1fr;
  }
}

.ccard__add {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0.7rem 0.45rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--brand-teal);
  background: #fff;
  color: var(--brand-teal-dark);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.ccard__add:hover {
  background: linear-gradient(145deg, var(--brand-teal) 0%, var(--brand-teal-dark) 100%);
  color: #fff;
}

.ccard__add:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

.ccard__add:disabled:hover {
  background: #fff;
  color: var(--brand-teal-dark);
}

.ccard__detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 0.45rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ccard__detail:hover {
  border-color: rgba(13, 148, 136, 0.4);
  background: var(--brand-teal-soft);
}

html[dir='ltr'] .ccard__detail .ccard__btn-arrow {
  transform: scaleX(-1);
}

/* —— Store: product detail hero —— */
.product-detail-hero__price {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f766e;
}

.page-course-detail .course-detail-hero__price {
  margin: 0 0 0.65rem;
}

.course-payment-price-box {
  margin-bottom: 1rem;
}

.course-payment-price-value {
  margin: 0.35rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f766e;
}

.course-payment-price-hint {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.course-payment-transfer-info {
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.25rem;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
  border: 1px solid rgba(13, 148, 136, 0.28);
  border-radius: var(--radius-lg);
}

.course-payment-transfer-info__title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.course-payment-transfer-info__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.course-payment-transfer-info__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.65rem 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.course-payment-transfer-info__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
}

.course-payment-transfer-info__num {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f766e;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.course-payment-transfer-info__note {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-wrap;
}

.page-courses .ccard > .ccard__price {
  margin: 0 1.35rem 0.65rem;
  padding-top: 0.15rem;
}

.service-detail-hero__actions--store {
  flex-wrap: wrap;
  gap: 0.65rem;
}

.service-detail-hero__btn--cart {
  font-family: inherit;
  cursor: pointer;
  border: 2px solid var(--brand-teal);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-teal-dark);
  backdrop-filter: blur(6px);
}

.service-detail-hero__btn--cart:hover {
  background: #fff;
  border-color: var(--brand-teal-dark);
  color: #0f766e;
}

.service-detail--blue .service-detail-hero__btn--cart {
  border-color: #2563eb;
  color: #1d4ed8;
}

.service-detail--blue .service-detail-hero__btn--cart:hover {
  border-color: #1d4ed8;
  color: #1e40af;
}

.service-detail--purple .service-detail-hero__btn--cart {
  border-color: #7c3aed;
  color: #6d28d9;
}

.service-detail--purple .service-detail-hero__btn--cart:hover {
  border-color: #6d28d9;
  color: #5b21b6;
}

/* —— Cart page —— */
.page-cart .cart-page__hero {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 1rem;
}

.cart-page__breadcrumb {
  margin-bottom: 1rem;
}

.cart-page__title {
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.cart-page__lead {
  margin: 0;
  max-width: 40rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.cart-page__body {
  padding-bottom: 4rem;
}

.cart-empty {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border-radius: var(--radius-2xl);
  border: 1px dashed var(--border);
  background: var(--bg-soft);
}

.cart-empty__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  color: var(--text-muted);
  opacity: 0.65;
}

.cart-empty__icon svg {
  width: 100%;
  height: 100%;
}

.cart-empty__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.cart-empty__text {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  max-width: 26rem;
  margin-inline: auto;
}

.cart-empty__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.cart-filled {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .cart-filled {
    grid-template-columns: 1fr min(22rem, 34vw);
    align-items: start;
  }
}

.cart-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.cart-table thead th {
  text-align: start;
  padding: 0.85rem 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.cart-table__cell {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}

.cart-table__title {
  font-weight: 700;
  color: var(--text);
  max-width: 16rem;
}

.cart-table__price {
  font-weight: 700;
  color: #0f766e;
  white-space: nowrap;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.2rem;
  background: #fff;
}

.cart-qty__btn {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  color: var(--text);
  transition: background 0.15s ease;
}

.cart-qty__btn:hover {
  background: #e2e8f0;
}

.cart-qty__num {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 800;
  font-size: 0.9375rem;
}

.cart-remove {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.35rem 0.65rem;
  border: none;
  border-radius: var(--radius-md);
  background: transparent;
  color: #b91c1c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-remove:hover {
  background: #fef2f2;
}

.cart-summary {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(13, 148, 136, 0.22);
  background: linear-gradient(160deg, #f0fdfa 0%, #fff 55%);
  box-shadow: var(--shadow-sm);
}

.cart-summary__title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.cart-summary__row strong {
  font-size: 1.25rem;
  color: var(--text);
}

.cart-summary__note {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.cart-summary__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cart-summary__checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.cart-summary__continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

/* —— Thank you page —— */
.page-thankyou .thankyou {
  min-height: calc(100vh - 12rem);
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0;
}

.thankyou__card {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: linear-gradient(165deg, #f8fafc 0%, #ecfdf5 35%, #e0f2fe 72%, #ffffff 100%);
  box-shadow: var(--shadow);
}

.thankyou__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  color: var(--brand-teal-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-xs);
}

.thankyou__icon svg {
  width: 1.9rem;
  height: 1.9rem;
}

.thankyou__label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-teal-dark);
}

.thankyou__title {
  margin: 0 0 0.8rem;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  line-height: 1.25;
  color: var(--text);
}

.thankyou__lead {
  margin: 0 auto 1.5rem;
  max-width: 33rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.thankyou__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* —— Checkout page —— */
.checkout-page__body {
  padding-bottom: 4rem;
}

.checkout-card {
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

/* —— Orders page —— */
.orders-page__body {
  padding-bottom: 4rem;
}

.orders-list {
  display: grid;
  gap: 1rem;
}

.order-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.1rem;
}

.order-card__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.order-card__id {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand-teal-dark);
}

.order-card__meta {
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.order-card__items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.order-card__item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
}

/* ─── صفحة الحجوزات bookings.html ─── */
.booking-section {
  padding: 2rem 0 3rem;
}

.booking-hint {
  font-size: 0.9rem;
  color: var(--text-muted, #64748b);
  margin-bottom: 1.25rem;
}

.booking-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.booking-tab {
  border: 1px solid var(--border, #e2e8f0);
  background: var(--bg-card, #fff);
  color: var(--text, #1e293b);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.booking-tab:hover {
  border-color: var(--brand-teal, #0d9488);
  color: var(--brand-teal, #0d9488);
}

.booking-tab--active {
  background: var(--brand-teal, #0d9488);
  border-color: var(--brand-teal, #0d9488);
  color: #fff;
}

.booking-panels .booking-form {
  max-width: 640px;
  margin: 0 auto;
}

/* إخفاء النماذج غير النشطة: display على .form يتفوق أحياناً على [hidden] للـ form */
.booking-panels .booking-form:not(.booking-form--active) {
  display: none !important;
}

/* ─── صفحة الشراكة B2B partner.html ─── */
.page-hero.page-hero--partner {
  position: relative;
  overflow: hidden;
  padding-top: 6.5rem;
  padding-bottom: 4rem;
  background: linear-gradient(165deg, #0f172a 0%, #134e4a 28%, #0d9488 55%, #e0f2fe 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero--partner .page-hero__label,
.page-hero--partner .page-hero__title,
.page-hero--partner .page-hero__lead {
  color: #f8fafc;
}

.page-hero--partner .page-hero__title {
  max-width: 52rem;
  line-height: 1.15;
}

.page-hero--partner .page-hero__lead {
  max-width: 42rem;
  opacity: 0.95;
}

.page-hero__partner-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(14, 165, 233, 0.2) 0%, transparent 45%);
}

.page-hero__partner-inner {
  position: relative;
  z-index: 1;
}

.page-hero--partner .btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #f8fafc;
  box-shadow: none;
}

.page-hero--partner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.partner-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.25rem;
}

.partner-hero__btn {
  min-height: 3rem;
}

.partner-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.partner-section__lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}

.partner-section__lead--narrow {
  max-width: 40rem;
}

.partner-section__head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.partner-b2b {
  padding: 3rem 0;
}

.partner-b2b__card {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 2rem 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.partner-b2b__list {
  margin: 1.5rem 0 0;
  padding: 0 1.1rem 0 0;
  list-style: disc;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.partner-tech {
  padding: 2.5rem 0 3.5rem;
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.partner-tech__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .partner-tech__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .partner-tech__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.partner-tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.partner-tech-card:hover {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: var(--shadow-sm);
}

.partner-tech-card__icon {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--brand-teal-soft);
  color: var(--brand-teal-dark);
  margin-bottom: 1rem;
}

.partner-tech-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.partner-tech-card__title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.partner-tech-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.partner-sectors {
  padding: 3rem 0;
}

.partner-sectors__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.partner-sector-chip {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.partner-portfolio {
  padding: 3rem 0 3.5rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.partner-portfolio__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .partner-portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .partner-portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.partner-case {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}

.partner-case--text {
  min-height: 12rem;
}

.partner-case__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}

.partner-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-case__body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.partner-case__body--solo {
  justify-content: center;
  padding: 1.75rem 1.5rem;
}

.partner-case__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-teal-dark);
  background: var(--brand-teal-soft);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
}

.partner-case__title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.partner-case__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.partner-cta {
  padding-bottom: 4rem;
}

.partner-cta__box {
  max-width: 44rem;
}

.partner-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.svc-cta__btn--ghost {
  background: transparent;
  color: var(--brand-teal-dark);
  border: 2px solid var(--brand-teal);
  box-shadow: none;
}

.svc-cta__btn--ghost:hover {
  background: rgba(13, 148, 136, 0.08);
  filter: none;
  color: var(--brand-teal-dark);
}
