/* Elite Pharma Services — Landing Page Styles */

:root {
  --primary: #00B4A5;
  --primary-dark: #009688;
  --primary-light: #00D4C4;
  --primary-soft: rgba(0, 180, 165, 0.1);
  --accent: #009688;
  --bg: #F8FAFB;
  --bg-alt: #FFFFFF;
  --bg-card: #FFFFFF;
  --text: #1A2B4A;
  --text-muted: #5A6B7D;
  --border: #E2E8F0;
  --shadow: 0 1px 4px rgba(26, 43, 74, 0.04);
  --shadow-lg: 0 2px 10px rgba(26, 43, 74, 0.06);
  --header-bg: rgba(255, 255, 255, 0.95);
  --hero-gradient: rgba(0, 180, 165, 0.03);
  --radius: 4px;
  --radius-lg: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-ar: 'IBM Plex Sans Arabic', sans-serif;
  --font-en: 'Inter', sans-serif;
  --space-section: 56px;
  --space-section-mobile: 40px;
  --space-block: 1.5rem;
  --space-card: 1.25rem;
  --container-pad: 96vw;
}

[data-theme="dark"] {
  --bg: #0D1117;
  --bg-alt: #161B22;
  --bg-card: #1C2128;
  --text: #E6EDF3;
  --text-muted: #8B949E;
  --border: #30363D;
  --shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 2px 10px rgba(0, 0, 0, 0.2);
  --header-bg: rgba(13, 17, 23, 0.95);
  --hero-gradient: rgba(0, 180, 165, 0.04);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font-en);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

body[dir="rtl"] {
  font-family: var(--font-ar);
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1140px, var(--container-pad));
  margin-inline: auto;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 0.75rem;
}

.logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.header__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.85rem;
  font-weight: 600;
}

.btn-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

.lang-btn {
  width: auto;
  padding: 0 10px;
  gap: 6px;
}

.lang-btn__chevron {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  transition: transform var(--transition);
}

.lang-dropdown.open .lang-btn__chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: relative;
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 140px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.35rem;
  z-index: 1100;
  list-style: none;
}

.lang-dropdown__menu[hidden] {
  display: none;
}

.lang-dropdown__item {
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.lang-dropdown__item:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.lang-dropdown__item.active {
  background: rgba(0, 180, 165, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 180, 165, 0.15);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ── Hero ── */
.hero {
  padding: 110px 0 56px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(0, 180, 165, 0.88) 0%,
    rgba(0, 150, 138, 0.82) 50%,
    rgba(0, 120, 110, 0.78) 100%
  );
  pointer-events: none;
}

[data-theme="dark"] .hero::before {
  background: linear-gradient(
    135deg,
    rgba(0, 140, 128, 0.9) 0%,
    rgba(0, 100, 92, 0.88) 50%,
    rgba(0, 70, 64, 0.92) 100%
  );
}

.hero .hero__badge {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hero .hero__title {
  color: #fff;
}

.hero .hero__title span {
  color: #e8fffc;
}

.hero .hero__desc {
  color: rgba(255, 255, 255, 0.92);
}

.hero .stat__number {
  color: #fff;
}

.hero .stat__label {
  color: rgba(255, 255, 255, 0.85);
}

.hero .hero__stats {
  border-top-color: rgba(255, 255, 255, 0.25);
}

.hero .btn--outline {
  border-color: #fff;
  color: #fff;
}

.hero .btn--outline:hover {
  background: #fff;
  color: var(--primary-dark);
}

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

.hero .btn--primary:hover {
  background: #f0fffd;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero > .container {
  width: min(1140px, var(--container-pad));
  position: relative;
  z-index: 2;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-block);
  align-items: center;
  max-width: none;
}

.hero__content {
  text-align: start;
  max-width: none;
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: none;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.hero__title span {
  color: var(--primary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.stat__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── Sections ── */
.section {
  padding: var(--space-section) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-block);
}

.section__tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.section__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ── About ── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-block);
  align-items: center;
}

.about__content p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-size: 1rem;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.about__feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

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

.about__visual {
  position: relative;
  display: grid;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  max-height: 340px;
}

.about__image {
  grid-area: 1 / 1;
  width: 100%;
  height: 340px;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

.about__year-badge {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: end;
  margin: 1rem;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1.15rem;
  text-align: center;
}

.about__year {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about__year-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── Services ── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  --card-accent: var(--primary);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.service-card__list li {
  position: relative;
  padding-inline-start: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* ── Platform ── */
.platform__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-block);
  align-items: stretch;
  margin-bottom: var(--space-block);
}

.platform__mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border-inline-start: 3px solid var(--primary);
}

.platform__mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.platform__mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.platform__mock-bar span:first-child {
  background: #ff5f57;
}

.platform__mock-bar span:nth-child(2) {
  background: #febc2e;
}

.platform__mock-bar span:nth-child(3) {
  background: #28c840;
}

.platform__mock-body {
  padding: 1.15rem;
}

.platform__mock-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.platform__mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

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

.platform__mock-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
}

.platform__mock-card small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.platform__mock-card strong {
  font-size: 1.35rem;
  color: var(--primary);
}

.platform__mock-card--wide {
  grid-column: span 2;
}

.platform__mock-line {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin-top: 0.5rem;
}

.platform__mock-line--short {
  width: 60%;
}

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

.platform__card {
  --card-accent: var(--primary);
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.platform__card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--primary);
}

.platform__card:hover {
  border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
}

.platform__card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius);
}

.platform__card-icon svg {
  width: 22px;
  height: 22px;
}

.platform__card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.platform__card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.platform__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.platform__stat {
  text-align: center;
  padding: 0.5rem 1rem;
  border-inline-end: 1px solid var(--border);
}

.platform__stat:last-child {
  border-inline-end: none;
}

.platform__stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.platform__stat-num--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
}

.platform__stat-num--icon svg {
  width: 2rem;
  height: 2rem;
}

.platform__stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── Team & Why ── */
.team-why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-block);
}

.info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-card);
  border: 1px solid var(--border);
  height: 100%;
}

.info-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
}

.info-card__icon svg {
  width: 26px;
  height: 26px;
}

.info-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.info-card__text {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.info-card__image {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.why-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.why-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.why-item__icon svg {
  width: 20px;
  height: 20px;
}

.why-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.why-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Partners ── */
.partners__marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

body[dir="rtl"] .partners__marquee {
  mask-image: linear-gradient(to left, transparent, black 8%, black 92%, transparent);
}

.partners__track {
  display: flex;
  gap: 1.75rem;
  animation: marquee 45s linear infinite;
  width: max-content;
}

.partners__track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

body[dir="rtl"] .partners__track {
  animation-name: marquee-rtl;
}

@keyframes marquee-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

.partner-card {
  flex-shrink: 0;
  width: 280px;
  height: 140px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  transition: all var(--transition);
}

.partner-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: none;
}

.partner-card img {
  max-height: 110px;
  max-width: 240px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.9;
  transition: filter var(--transition), opacity var(--transition);
}

.partner-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

[data-theme="dark"] .partner-card {
  background: #fff;
}

/* ── Contact ── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-block);
}

.contact__info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.contact__info p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.contact__methods {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact__method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact__method-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact__method-icon svg {
  width: 22px;
  height: 22px;
}

.contact__method strong {
  display: block;
  font-size: 0.9rem;
}

.contact__method span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact__form {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-card);
  border: 1px solid var(--border);
  box-shadow: none;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 96px;
}

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

/* ── Footer ── */
.footer {
  background: var(--text);
  color: #fff;
  padding: 2rem 0 1.25rem;
}

[data-theme="dark"] .footer {
  background: #010409;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-block);
  margin-bottom: 1.5rem;
}

.footer__brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
  object-fit: contain;
  background: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
}

.footer__brand p {
  opacity: 0.7;
  font-size: 0.9rem;
  max-width: 320px;
}

.footer__heading {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  opacity: 0.7;
  font-size: 0.9rem;
  transition: opacity var(--transition);
}

.footer__links a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.footer__bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0;
}

.footer__sep {
  opacity: 0.5;
}

.footer__legal strong {
  color: var(--primary-light);
  font-weight: 600;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile nav ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  padding: 88px 1.25rem 1.25rem;
  flex-direction: column;
  gap: 1rem;
  transform: translateX(100%);
  transition: transform var(--transition);
}

body[dir="rtl"] .mobile-nav {
  transform: translateX(-100%);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav .nav__link {
  font-size: 1.25rem;
  padding: 0.5rem 0;
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .hero__grid,
  .about__grid,
  .platform__layout,
  .contact__grid,
  .team-why__grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero {
    padding: 96px 0 40px;
  }

  .hero > .container {
    width: min(1140px, var(--container-pad));
  }

  .section {
    padding: var(--space-section-mobile) 0;
  }

  .about__visual {
    max-height: 260px;
  }

  .about__image {
    height: 260px;
    max-height: 260px;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
  }

  .about__features,
  .platform__features,
  .platform__stats,
  .form-row {
    grid-template-columns: 1fr;
  }

  .platform__stat {
    border-inline-end: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
  }

  .platform__stat:last-child {
    border-bottom: none;
    padding-bottom: 0.5rem;
  }

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