/* ============================================================================
 * landing.css -- ported from spornation-landing (src/styles/*.css)
 *
 * GENERATED by concatenating the 7 source files in their original import order.
 * Two transforms are applied and must be preserved on any re-port:
 *   1. base.css is scoped to #sn-landing. Its original bare selectors
 *      (body, a, ul/ol, img/svg, h1-h4/p, :focus-visible) would otherwise
 *      restyle the shared header, footer, offcanvas cart and auth modals --
 *      which are present ON the landing pages, so conditional loading is not
 *      sufficient containment.
 *   2. Five class names collide with bootstrap/eshop-bundle/spornation and are
 *      renamed:  .container -> .ln-container   .btn -> .ln-btn
 *                .hero -> .ln-hero             .is-open -> .ln-is-open
 *                .visually-hidden -> .ln-sr-only
 *      These names are also used in the views and in js/landing/scripts/offers.js
 *      template literals -- keep all three in sync.
 *
 * Loaded only on landing routes, after spornation.css, via include-css.php.
 * Escape hatch if a regression appears: prefix every remaining rule with
 * #sn-landing rather than reaching for !important.
 * ========================================================================== */


/* ==========================================================================
 * src/styles/tokens.css
 * ========================================================================== */
/*
  تحديث معتمد من حسناء: الأحمر الموحّد لكل الأيقونات والخطوط والعناصر الحمراء بالموقع هو
  #dc2626 — يحسم التفاوت المذكور سابقاً بين العيّنة المستخرجة من ملف الشعار (#ef404f)
  ونص وثيقة العلامة المكتوبة (#dc2626)؛ #dc2626 هو المرجع النهائي من الآن فصاعداً.
  --brand-red-dark زوج تغميق قياسي مطابق (Tailwind red-700) لنفس درجة اللون.
*/
:root {
  --brand-red: #dc2626;
  --brand-red-dark: #b91c1c;

  --ink-950: #0b0b0d;
  --ink-900: #151518;
  --ink-700: #38383d;
  --ink-500: #66666d;

  --surface-white: #ffffff;
  --surface-soft: #f6f6f4;
  --surface-muted: #ececea;
  --surface-warm: #f6efe4;
  --border-soft: rgba(11, 11, 13, 0.10);

  --font-arabic: "IBM Plex Sans Arabic", sans-serif;

  --container-max: 1280px;
  --header-height: 84px;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;

  --shadow-soft: 0 18px 50px rgba(11, 11, 13, 0.08);
  --shadow-elevated: 0 28px 80px rgba(11, 11, 13, 0.14);

  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
 * src/styles/base.css  (rewritten: scoped to #sn-landing)
 * ========================================================================== */
#sn-landing,
#sn-landing *,
#sn-landing *::before,
#sn-landing *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  #sn-landing,
  #sn-landing *,
  #sn-landing *::before,
  #sn-landing *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

#sn-landing {
  font-family: var(--font-arabic);
  color: var(--ink-950);
  background: var(--surface-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

#sn-landing img,
#sn-landing svg {
  max-width: 100%;
  display: block;
}

#sn-landing a {
  color: inherit;
  text-decoration: none;
}

#sn-landing button {
  font-family: inherit;
  cursor: pointer;
}

#sn-landing ul,
#sn-landing ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

#sn-landing h1,
#sn-landing h2,
#sn-landing h3,
#sn-landing h4,
#sn-landing p {
  margin: 0;
}

#sn-landing :focus-visible {
  outline: 3px solid var(--brand-red);
  outline-offset: 3px;
}

/* ==========================================================================
 * src/styles/layout.css
 * ========================================================================== */
.ln-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 1024px) {
  .ln-container {
    padding-inline: 3rem;
  }
}

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

/* ==========================================================================
 * src/styles/components.css
 * ========================================================================== */
/* ===================== Buttons ===================== */
.ln-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease-premium), background 0.25s var(--ease-premium),
    border-color 0.25s var(--ease-premium), color 0.25s var(--ease-premium);
  min-height: 44px;
  white-space: nowrap;
  line-height: 1;
}

/* حجم مصغّر خصيصاً لزر الـHeader — لا يجوز أن يهيمن بصرياً قبل عنوان الـHero */
.ln-btn--compact {
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  min-height: 38px;
}

.ln-btn--primary {
  background: var(--brand-red);
  color: var(--surface-white);
}
.ln-btn--primary:hover {
  background: var(--brand-red-dark);
  transform: translateY(-1px);
}

.ln-btn--outline-dark {
  background: transparent;
  color: var(--ink-950);
  border-color: var(--ink-950);
}
.ln-btn--outline-dark:hover {
  background: var(--ink-950);
  color: var(--surface-white);
}

.ln-btn--outline-light {
  background: transparent;
  color: var(--surface-white);
  border-color: rgba(255, 255, 255, 0.5);
}
.ln-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--surface-white);
}

/* ===================== Icon badge (shared visual language for custom inline SVG icons) ===================== */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--brand-red);
  flex-shrink: 0;
}
.icon-badge--on-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand-red);
}
.icon-badge svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
 * src/styles/sections.css
 * ========================================================================== */
.skip-link {
  position: absolute;
  right: 1rem;
  top: -100px;
  background: var(--ink-950);
  color: var(--surface-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top 0.2s var(--ease-premium);
}
.skip-link:focus {
  top: 1rem;
}

/* ===================== Header ===================== */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium), border-color 0.3s var(--ease-premium);
  border-bottom: 1px solid transparent;
}
.site-header[data-scrolled] {
  background: var(--surface-white);
  border-bottom-color: var(--border-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-header__logo-img {
  height: 42px;
  width: auto;
}
/* الحالة الافتراضية = أعلى الصفحة، فوق Hero الداكن → نعرض الشعار الفاتح والنصوص البيضاء.
   [data-scrolled] هي الحالة الوحيدة المعدَّلة (لا نعتمد على :not() لتفادي التباس التخصيص). */
.site-header__logo-img--dark { display: none; }
.site-header__logo-img--light { display: block; }
.site-header[data-scrolled] .site-header__logo-img--dark { display: block; }
.site-header[data-scrolled] .site-header__logo-img--light { display: none; }

.site-header__nav {
  display: none;
  align-items: center;
  gap: 1.375rem;
  font-weight: 500;
  font-size: 0.95rem;
  flex: 1;
  justify-content: center;
}
.site-header__nav a {
  color: var(--surface-white);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s var(--ease-premium), color 0.2s var(--ease-premium);
}
.site-header[data-scrolled] .site-header__nav a {
  color: var(--ink-950);
}
.site-header__nav a:hover {
  border-bottom-color: var(--brand-red);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--surface-white);
  border-radius: var(--radius-sm);
}
.site-header[data-scrolled] .site-header__burger {
  color: var(--ink-950);
}
.site-header__burger svg { width: 24px; height: 24px; }
.site-header__burger:hover {
  background: rgba(255, 255, 255, 0.15);
}
.site-header[data-scrolled] .site-header__burger:hover {
  background: var(--surface-muted);
}

/* ===================== Mobile Drawer ===================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 13, 0.5);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.25s var(--ease-premium);
}
.drawer-overlay[data-visible] { opacity: 1; }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background: var(--surface-white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-premium);
  box-shadow: var(--shadow-elevated);
}
.mobile-drawer[data-visible] { transform: translateX(0); }

.mobile-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.mobile-drawer__close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-soft);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--ink-950);
}
.mobile-drawer__close svg { width: 22px; height: 22px; }

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 2rem;
}
.mobile-drawer__nav a {
  padding: 0.9rem 0.25rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-950);
  border-bottom: 1px solid var(--border-soft);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-drawer__cta {
  margin-top: auto;
  width: 100%;
}

body[data-drawer-lock] {
  overflow: hidden;
}

/* ===================== Hero ===================== */
.ln-hero {
  background: var(--ink-950);
  color: var(--surface-white);
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 3rem;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
}

.hero__text {
  text-align: right;
}

.hero__eyebrow {
  display: inline-block;
  color: var(--brand-red);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 19ch;
}

.hero__paragraph {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.35rem;
  max-width: 40ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-block: 1.75rem 1.25rem;
}
.hero__cta .ln-btn--outline-dark {
  color: var(--surface-white);
  border-color: rgba(255, 255, 255, 0.5);
}
.hero__cta .ln-btn--outline-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--surface-white);
  color: var(--surface-white);
}

.hero__support {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 500;
  max-width: 42ch;
}

.hero__visual {
  position: relative;
  min-height: 380px;
}

/* ===================== SPORNATION Ecosystem Canvas ===================== */
.ecosystem {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.ecosystem__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ecosystem__line {
  fill: none;
  stroke: var(--brand-red);
  stroke-width: 0.65;
  opacity: 0.55;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 2 3;
}
@media (prefers-reduced-motion: no-preference) {
  .ecosystem__line {
    animation: ecosystem-flow 5s linear infinite;
    animation-delay: var(--line-delay, 0s);
  }
}
@keyframes ecosystem-flow {
  to { stroke-dashoffset: -20; }
}

.ecosystem__hub,
.ecosystem__node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  background: var(--ink-900);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--surface-white);
  font-weight: 600;
}

.ecosystem__hub {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 168px;
  height: 168px;
  padding: 1.25rem;
  border-color: rgba(239, 64, 79, 0.45);
  box-shadow: var(--shadow-elevated);
  z-index: 2;
}
.ecosystem__hub-icon {
  background: rgba(239, 64, 79, 0.18);
}
.ecosystem__hub-title {
  font-size: 1.05rem;
  font-weight: 700;
}
.ecosystem__hub-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-500);
}

.ecosystem__node {
  top: var(--y);
  left: var(--x);
  transform: translate(-50%, -50%);
  padding: 0.9rem;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
}
.ecosystem__node .icon-badge {
  background: rgba(239, 64, 79, 0.15);
  width: 40px;
  height: 40px;
}
.ecosystem__node .icon-badge svg {
  width: 20px;
  height: 20px;
}

.ecosystem__node--md {
  width: 128px;
  height: 128px;
}
.ecosystem__node--sm {
  width: 100px;
  height: 100px;
  font-size: 0.78rem;
}
.ecosystem__node--sm .icon-badge {
  width: 34px;
  height: 34px;
}
.ecosystem__node--sm .icon-badge svg {
  width: 17px;
  height: 17px;
}

@media (prefers-reduced-motion: no-preference) {
  .ecosystem__hub {
    animation: ecosystem-breathe 5s ease-in-out infinite;
  }
  .ecosystem__node {
    animation: ecosystem-float 7s ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
  }
}
@keyframes ecosystem-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.025); }
}
@keyframes ecosystem-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-6px); }
}

/* ===================== Discovery Engine ===================== */
.discovery {
  background: var(--surface-white);
  padding-block: 3rem 4rem;
}

.discovery__title {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 700;
  max-width: 34ch;
  margin-bottom: 0.85rem;
}

.discovery__intro {
  color: var(--ink-700);
  font-size: 1.02rem;
  max-width: 64ch;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.discovery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.discovery-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: start;
  padding: 1.5rem;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface-white);
  transition: border-color 0.2s var(--ease-premium), background 0.2s var(--ease-premium), transform 0.2s var(--ease-premium);
  min-height: 44px;
}
.discovery-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
}
.discovery-card .icon-badge {
  width: 60px;
  height: 60px;
}
.discovery-card .icon-badge svg {
  width: 30px;
  height: 30px;
}
.discovery-card[role="radio"][aria-checked="true"] {
  border-color: var(--brand-red);
  border-width: 2px;
  background: rgba(239, 64, 79, 0.05);
  transform: translateY(-2px);
}
.discovery-card[role="radio"][aria-checked="true"] .icon-badge {
  background: var(--brand-red);
  color: var(--surface-white);
}
.discovery-card__check {
  position: absolute;
  top: 0.85rem;
  inset-inline-end: 0.85rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border-soft);
  background: var(--surface-white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s var(--ease-premium), transform 0.2s var(--ease-premium), background 0.2s var(--ease-premium), border-color 0.2s var(--ease-premium);
}
.discovery-card__check svg {
  width: 13px;
  height: 13px;
  stroke: var(--surface-white);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.discovery-card[role="radio"][aria-checked="true"] .discovery-card__check {
  opacity: 1;
  transform: scale(1);
  background: var(--brand-red);
  border-color: var(--brand-red);
}
.discovery-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-inline-end: 1.5rem;
}
.discovery-card__title {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink-950);
}
.discovery-card__desc {
  font-size: 0.88rem;
  color: var(--ink-500);
  line-height: 1.6;
}

.discovery__details {
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: grid;
  gap: 1rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease-premium), transform 0.3s var(--ease-premium);
}
.discovery__details[hidden] {
  display: none;
}
.discovery__details.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .discovery__details { transition: none; }
}
.discovery__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.discovery__field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
}
.discovery__field select {
  min-height: 44px;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  background: var(--surface-white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink-950);
}

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

.discovery__message {
  color: var(--brand-red-dark);
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
  margin: 0;
}

/* ===================== Shared section label ===================== */
.section-eyebrow {
  display: inline-block;
  color: var(--brand-red);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

/* ===================== Story: لماذا وُجدت SPORNATION؟ ===================== */
.story {
  background: var(--surface-soft);
  padding-block: 5rem;
  overflow: hidden;
}
.story .ln-container {
  max-width: 1320px;
}
.story__inner {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.story__text-top,
.story__text-bottom {
  max-width: 560px;
}
.story__eyebrow {
  display: inline-block;
  color: var(--brand-red);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.story__title {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.4;
  max-width: 22ch;
  margin-bottom: 1.5rem;
}
.story__pull-quote {
  margin: 0 0 0.5rem;
  padding: 0.85rem 1.25rem;
  border-inline-start: 3px solid var(--brand-red);
  background: rgba(239, 64, 79, 0.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-950);
  font-style: normal;
}
.story__paragraph {
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1.35rem;
}
.story__paragraph:last-of-type {
  margin-bottom: 0;
}
.story__closing {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-950);
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.story__dot {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-red);
  display: inline-block;
}

.story__visual {
  position: relative;
  margin: 0;
  min-height: 280px;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(11, 11, 13, 0.08);
}
.story__visual::after {
  content: '';
  position: absolute;
  bottom: 22px;
  right: 22px;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand-red);
  z-index: 2;
}
.story__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  display: block;
}

/* ===================== Offers: تجارب رياضية تستحق أن تكتشفها ===================== */
.offers {
  background: var(--surface-white);
  padding-block: 5rem;
}
.offers__title {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 700;
  max-width: 760px;
  margin-bottom: 0.85rem;
}
.offers__intro {
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 780px;
  margin-bottom: 1.4rem;
}

.offers__layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.offers__row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===================== نظام حواف موحد لكل بطاقات العروض ===================== */
.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  color: var(--surface-white);
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 1024px) {
  .offer-card {
    border-radius: 28px;
  }
}

/* Corner accent: خط أحمر قصير بركن واحد فقط، مختلف لكل نوع بطاقة — لا يقصّ جسم البطاقة */
.offer-card::after {
  content: '';
  position: absolute;
  width: 36px;
  height: 2px;
  background: var(--brand-red);
  border-radius: 2px;
  z-index: 3;
  pointer-events: none;
}
.offer-card--main::after {
  width: 32px;
  bottom: 22px;
  inset-inline-start: 22px;
  transform: rotate(-40deg);
}
.offer-card--fencing::after {
  bottom: 20px;
  inset-inline-start: 20px;
  transform: rotate(-40deg);
}
.offer-card--combat::after {
  top: 20px;
  inset-inline-start: 20px;
  transform: rotate(40deg);
}
.offer-card--kitlab::after {
  bottom: 20px;
  inset-inline-end: 20px;
  transform: rotate(40deg);
}

/* ===== إطار مشترك للصورة داخل كل بطاقة (Mobile-first: صورة أعلى، Panel أسفل) ===== */
.offer-illustration {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.offer-illustration picture,
.offer-illustration img {
  width: 100%;
  height: 100%;
  display: block;
}
.offer-card--main .offer-illustration { aspect-ratio: 16 / 9; }
.offer-card--fencing .offer-illustration,
.offer-card--combat .offer-illustration,
.offer-card--kitlab .offer-illustration { aspect-ratio: 4 / 3; }

/* ===== كرة القدم (رئيسية): أفقية على Desktop، صورة + Panel جنباً إلى جنب ===== */
.offer-card--main {
  background: var(--ink-950);
  min-height: 380px;
}
.offer-card--main .offer-illustration img {
  object-fit: cover;
  object-position: center 62%;
}
.offer-card--main .offer-card__panel {
  padding: 2rem 1.75rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .offer-card--main {
    flex-direction: row-reverse;
    align-items: stretch;
    min-height: 460px;
  }
  .offer-card--main .offer-illustration {
    flex: 0 0 60%;
    aspect-ratio: auto;
  }
  .offer-card--main .offer-illustration img {
    height: 100%;
  }
  .offer-card--main .offer-card__panel {
    flex: 0 0 40%;
    width: 40%;
  }
}
.offer-card--devonly {
  border-color: rgba(239, 64, 79, 0.35);
}
.offer-card__dev-badge {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  z-index: 4;
  background: var(--brand-red);
  color: var(--surface-white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}
.offer-illustration__badge {
  position: absolute;
  bottom: 0.85rem;
  inset-inline-start: 0.85rem;
  background: rgba(11, 11, 13, 0.55);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

/* ===== المبارزة: صورة أعلى، Panel سفلي مستقل (لا يغطي الرياضي) ===== */
.offer-card--fencing {
  background: #1b1b1f;
}
.offer-card--fencing .offer-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
  display: block;
}
.offer-card--fencing .offer-card__panel {
  flex: 1;
  justify-content: flex-start;
}

/* ===== الألعاب القتالية: صورة أعلى (Crop نظيف بلا نص)، Panel سفلي هادئ ===== */
.offer-card--combat {
  background: #14100f;
}
.offer-card--combat .offer-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.offer-card--combat .offer-card__panel {
  flex: 1;
  justify-content: flex-start;
}

/* ===== KitLab: صورة أكبر تملأ الإطار + Chips تخصيص قريبة منها ===== */
.offer-card--kitlab {
  background: #050506;
}
.offer-card--kitlab .offer-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
/* شريط Overlay هادئ داخل أسفل إطار الصورة نفسه — لا يتجاوز حدودها ولا يدفع بداية النص */
.offer-card__layers {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  display: flex;
  justify-content: space-around;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(0deg, rgba(5, 5, 6, 0.88) 0%, rgba(5, 5, 6, 0.55) 65%, transparent 100%);
  z-index: 2;
}
.offer-card__layers li {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}
.offer-card--kitlab .offer-card__panel {
  flex: 1;
  justify-content: flex-start;
  background: #1c1c1e;
}

/* ===== محتوى مشترك ===== */
.offer-card__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.75rem;
  text-align: right;
}
.offer-card__panel > * {
  flex-shrink: 0;
}
.offer-card--main .offer-card__panel {
  padding: 2.5rem 1.75rem;
}
@media (min-width: 1024px) {
  .offer-card__panel {
    padding: 1.75rem;
  }
  .offer-card--main .offer-card__panel {
    padding: 2.75rem;
  }
}
.offer-card__eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-red);
  letter-spacing: 0.03em;
}
.offer-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.offer-card--main .offer-card__title {
  font-size: 1.6rem;
}
@media (min-width: 1024px) {
  .offer-card--main .offer-card__title {
    font-size: 1.85rem;
  }
}
.offer-card__desc {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.offer-card--main .offer-card__desc {
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
  font-size: 1.02rem;
}
.offer-card__note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.5rem;
}
.offer-card__info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.25rem;
  margin: 1.375rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.offer-card__info-item dt {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.2rem;
}
.offer-card__info-item dd {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}
.offer-card__info-item--price dd {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--surface-white);
}
.offer-card__cta {
  align-self: flex-start;
  margin-top: 1.5rem;
  height: 52px;
  padding-inline: 1.5rem;
  font-size: 0.95rem;
  min-height: 52px;
  white-space: nowrap;
}
/* تثبيت الزر أسفل البطاقات الثانوية الثلاث بمحاذاة موحدة بغض النظر عن طول الوصف */
.offer-card--fencing .offer-card__cta,
.offer-card--combat .offer-card__cta,
.offer-card--kitlab .offer-card__cta {
  margin-top: auto;
}
a.offer-card__cta[aria-disabled='true'] {
  opacity: 0.55;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
}
span.offer-card__cta {
  display: inline-flex;
  opacity: 0.6;
  cursor: default;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
}
.offer-card--outline-light,
.offer-card .ln-btn--outline-light {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.62);
}
.offer-card__disclaimer {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.4rem;
}

/* ===================== نظام مشترك لأقسام التحويل الأربعة ===================== */
.conversion-section {
  padding-block: 5rem;
}
.conversion-section .ln-container {
  max-width: 1320px;
}
.conversion-section .section-eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
}
.section-eyebrow--on-dark {
  color: var(--brand-red);
}
.conversion-section h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.3;
}
.conversion-section p {
  font-size: 1.02rem;
  line-height: 1.9;
}
.conversion-section .ln-btn {
  min-height: 54px;
  padding-inline: 1.75rem;
  font-size: 0.98rem;
}
@media (max-width: 767px) {
  .conversion-section p {
    font-size: 1rem;
    line-height: 1.85;
  }
}

/* ===================== كيف تعمل SPORNATION؟ ===================== */
.how-it-works {
  position: relative;
  overflow: hidden;
  color: var(--surface-white);
  padding-block: 4.4rem;
  background:
    radial-gradient(600px circle at 88% 8%, rgba(239, 64, 79, 0.14), transparent 60%),
    linear-gradient(145deg, #111214 0%, #18191d 55%, #121315 100%);
}
.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.how-it-works .ln-container {
  position: relative;
  max-width: 1320px;
}
.how-it-works__intro {
  max-width: 62ch;
  margin-bottom: 3rem;
}
.how-it-works__title {
  margin-block: 0.6rem 1rem;
}
.how-it-works__desc {
  color: rgba(255, 255, 255, 0.78);
}

.how-it-works__path {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.how-it-works__step {
  position: relative;
  padding: 1.75rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.25s var(--ease-premium), border-color 0.25s var(--ease-premium), background 0.25s var(--ease-premium);
}
.how-it-works__step:hover,
.how-it-works__step:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(239, 64, 79, 0.55);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}
.how-it-works__num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.14);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.how-it-works__icon {
  margin-bottom: 1rem;
  transition: transform 0.25s var(--ease-premium);
}
.how-it-works__step:hover .how-it-works__icon,
.how-it-works__step:focus-visible .how-it-works__icon {
  transform: translateY(-2px);
}
.how-it-works__step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.how-it-works__step-desc {
  font-size: 0.94rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}
.how-it-works__note {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .how-it-works__step,
  .how-it-works__icon {
    transition: none;
  }
}

/* ===================== اكتشاف المنتجات الرياضية ===================== */
.products {
  background: var(--surface-soft);
}
.products__inner {
  display: grid;
  grid-template-areas: 'intro' 'visual' 'groups' 'actions';
  gap: 2rem;
}
.products__intro { grid-area: intro; }
.products__visual { grid-area: visual; }
.products__groups { grid-area: groups; }
.products__actions { grid-area: actions; }
.products__title {
  margin-block: 0.6rem 1.1rem;
  max-width: 20ch;
}
.products__desc {
  color: var(--ink-700);
  margin-bottom: 0.9rem;
}
.products__support {
  color: var(--ink-500);
  font-size: 0.95rem;
}
.products__groups {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.products__groups li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.products__group-icon {
  width: 44px;
  height: 44px;
}
.products__group-icon svg {
  width: 22px;
  height: 22px;
}
.products__group-label {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-950);
}
.products__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.products__visual {
  position: relative;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  min-height: 280px;
}
.products__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.products__caption {
  position: absolute;
  bottom: 0.85rem;
  inset-inline-start: 0.85rem;
  background: rgba(11, 11, 13, 0.55);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

/* ===================== المرافق والحجوزات ===================== */
.facilities {
  background: #f6f1ec;
}
.facilities__inner {
  display: flex;
  flex-direction: column-reverse;
  gap: 2.5rem;
}
.facilities__visual {
  position: relative;
  margin: 0 0 2.5rem;
}
.facilities__photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(11, 11, 13, 0.08);
  min-height: 260px;
}
.facilities__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.facilities__caption {
  position: absolute;
  top: 0.85rem;
  inset-inline-start: 0.85rem;
  background: rgba(11, 11, 13, 0.55);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}
.facilities__stage-card {
  position: relative;
  margin: -2.5rem 1rem 0;
  background: var(--ink-950);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow-elevated);
}
.facilities__stages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.facilities__stages li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.facilities__stage-icon {
  width: 40px;
  height: 40px;
}
.facilities__stage-icon svg {
  width: 20px;
  height: 20px;
}
.facilities__stages h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--surface-white);
  margin-bottom: 0.2rem;
}
.facilities__stages p {
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}
.facilities__title {
  margin-block: 0.6rem 1.1rem;
  max-width: 22ch;
  color: var(--ink-950);
}
.facilities__desc {
  color: var(--ink-700);
  margin-bottom: 0.75rem;
}
.facilities__note {
  font-size: 0.86rem;
  color: var(--ink-500);
  margin-bottom: 1.75rem;
}

/* ===================== الثقة قبل الدفع ===================== */
.trust {
  color: #111113;
  background: #f7f7f5;
}
.trust__intro {
  max-width: 62ch;
  margin-bottom: 2.5rem;
}
.trust__title {
  margin-block: 0.6rem 1rem;
  color: #111113;
}
.trust__desc {
  color: rgba(17, 17, 19, 0.68);
}
.trust__cta {
  margin-top: 2.5rem;
}

.trust-tabs__list {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 19, 0.1);
  border-radius: 18px;
  padding: 0.4rem;
}
.trust-tabs__list button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding-inline: 1.25rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(17, 17, 19, 0.68);
  font-weight: 700;
  font-size: 0.98rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s var(--ease-premium), color 0.2s var(--ease-premium), background 0.2s var(--ease-premium);
}
.trust-tabs__list button[aria-selected='true'] {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #ffffff;
}
.trust-tabs__list button:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}
.trust-tabs__chevron {
  display: none;
}

.trust-tabs__panel {
  padding: 1.75rem;
  border-radius: 22px;
  border: 1px solid rgba(17, 17, 19, 0.1);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(17, 17, 19, 0.05);
  margin-bottom: 0.75rem;
}
.trust-tabs__panel[hidden] {
  display: none;
}
.trust-tabs__panel h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: #111113;
}
.trust-tabs__fields {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.trust-tabs__fields li {
  position: relative;
  padding-inline-start: 1.25rem;
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(17, 17, 19, 0.72);
}
.trust-tabs__fields li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
}

.trust-tabs__summary {
  padding: 1rem 1.25rem;
  background: #17181b;
  border-radius: 18px;
  border-inline-start: 3px solid var(--brand-red);
}
.trust-tabs__summary h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #ffffff;
}
.trust-tabs__summary p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
}

/* Mobile: تحويل شريط التبويبات إلى Accordion — كل زر بطاقة فاتحة مستقلة فوق لوحته مباشرة */
@media (max-width: 767px) {
  .trust-tabs__list {
    flex-direction: column;
    gap: 0.6rem;
    background: transparent;
    border: none;
    padding: 0;
  }
  .trust-tabs__list button {
    justify-content: space-between;
    margin-bottom: -0.6rem;
    background: #ffffff;
    border-color: rgba(17, 17, 19, 0.1);
    color: rgba(17, 17, 19, 0.75);
  }
  .trust-tabs__list button[aria-selected='true'] {
    margin-bottom: 0;
    background: #ffffff;
    color: #111113;
    border-color: rgba(220, 38, 38, 0.35);
  }
  .trust-tabs__chevron {
    display: block;
    width: 10px;
    height: 10px;
    border-inline-end: 2px solid currentColor;
    border-block-end: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s var(--ease-premium);
  }
  .trust-tabs__list button[aria-selected='true'] .trust-tabs__chevron {
    transform: rotate(-135deg);
  }
  .trust-tabs__panel {
    margin-bottom: 0.6rem;
  }
}

/* ===================== KitLab: حلول الفرق والأندية ===================== */
.kitlab-hero {
  color: var(--surface-white);
  background: linear-gradient(150deg, #0c0c0e 0%, #050506 60%, #0a0708 100%);
}
.kitlab-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.kitlab-hero__visual {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.kitlab-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kitlab-hero__caption {
  position: absolute;
  bottom: 0.85rem;
  inset-inline-start: 0.85rem;
  background: rgba(11, 11, 13, 0.55);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}
.kitlab-hero__title {
  margin-block: 0.6rem 1rem;
  max-width: 18ch;
}
.kitlab-hero__desc {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.75rem;
}
.kitlab-hero__audience {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.kitlab-hero__audience li {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.45rem 1rem;
}
.kitlab-hero__customization {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.5rem;
  margin-bottom: 1.75rem;
}
.kitlab-hero__customization-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}
.kitlab-hero__spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.kitlab-hero__spec-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}
.kitlab-hero__spec-icon {
  width: 44px;
  height: 44px;
}
.kitlab-hero__spec-icon svg {
  width: 20px;
  height: 20px;
}
.kitlab-hero__note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0.9rem 0 0;
}
.kitlab-hero__steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.kitlab-hero__steps li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.kitlab-hero__step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.14);
  color: var(--brand-red);
  font-size: 0.78rem;
  font-weight: 700;
}
.kitlab-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===================== Partners: عالم الرياضة لا تصنعه جهة واحدة ===================== */
.partners-section {
  background: var(--surface-soft);
  padding-block: 5rem;
}
.partners-section__title {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 700;
  max-width: 26ch;
  margin-bottom: 1.25rem;
}
.partners-section__text {
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 62ch;
  margin-bottom: 1rem;
}
.partners-section__note {
  color: var(--ink-500);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 62ch;
  margin-bottom: 0.75rem;
}
.partners-section > .ln-container > .ln-btn {
  margin-top: 1.5rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-block: 2.5rem;
}
.partner-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
}
.partner-card__logo-wrap {
  flex: 0 0 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}
.partner-card__logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.partner-card__meta {
  font-size: 0.82rem;
  color: var(--ink-500);
  margin: 0.15rem 0;
}
.partner-card__desc {
  font-size: 0.88rem;
  color: var(--ink-700);
}

.trust-strip {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-soft);
}
.trust-strip__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.trust-strip__item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0.5rem 0 0.4rem;
}
.trust-strip__item p {
  font-size: 0.88rem;
  color: var(--ink-500);
  line-height: 1.7;
}
.trust-strip__num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-red);
  letter-spacing: 0.05em;
}

@media (prefers-reduced-motion: no-preference) {
  [data-observe-view] .offer-card,
  [data-observe-view] .partner-card {
    transition: opacity 0.5s var(--ease-premium), transform 0.5s var(--ease-premium);
  }
}

/* ===================== الأسئلة الشائعة (مشترك بين الصفحتين) ===================== */
.faq {
  background: var(--surface-white);
}
.faq--partners .faq__inner {
  max-width: 780px;
}
.faq__title {
  margin-bottom: 0.75rem;
}
.faq__desc {
  color: rgba(17, 17, 19, 0.68);
  max-width: 62ch;
  margin-bottom: 2.5rem;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.faq__item {
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s var(--ease-premium);
}
.faq__item.ln-is-open {
  border-color: var(--brand-red);
}
.faq__item h3 {
  margin: 0;
}
.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  background: transparent;
  border: none;
  text-align: right;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink-950);
}
.faq__trigger:hover {
  background: var(--surface-soft);
}
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  background: var(--ink-500);
  transition: transform 0.25s var(--ease-premium), background 0.2s var(--ease-premium);
}
.faq__icon::before {
  width: 14px;
  height: 2px;
}
.faq__icon::after {
  width: 2px;
  height: 14px;
}
.faq__trigger[aria-expanded='true'] .faq__icon::before,
.faq__trigger[aria-expanded='true'] .faq__icon::after {
  background: var(--brand-red);
}
.faq__trigger[aria-expanded='true'] .faq__icon::after {
  transform: translate(50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq__panel {
  padding: 0 1.35rem 1.35rem;
}
.faq__panel p {
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--ink-700);
}
.faq__panel[hidden] {
  display: none;
}
.faq__item[hidden] {
  display: none;
}

.faq__toggle-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-inline: auto;
  padding: 0.85rem 1.75rem;
  background: transparent;
  border: 1.5px solid var(--ink-950);
  border-radius: var(--radius-sm);
  color: var(--ink-950);
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 44px;
}
.faq__toggle-all:hover {
  background: var(--ink-950);
  color: var(--surface-white);
}
.faq__toggle-icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.faq__toggle-icon::before {
  content: '';
  position: absolute;
  top: 40%;
  right: 50%;
  width: 8px;
  height: 8px;
  border-inline-end: 1.75px solid currentColor;
  border-block-end: 1.75px solid currentColor;
  transform: translate(50%, -50%) rotate(45deg);
  transition: transform 0.2s var(--ease-premium);
}
.faq__toggle-all[aria-expanded='true'] .faq__toggle-icon::before {
  transform: translate(50%, -20%) rotate(225deg);
}

/* ===================== Footer (مشترك بين الصفحتين) ===================== */
.site-footer {
  background: var(--ink-950);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 4rem;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer__brand img {
  margin-bottom: 1rem;
}
.site-footer__tagline {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--surface-white);
  margin-bottom: 0.6rem;
  max-width: 26ch;
}
.site-footer__desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  max-width: 36ch;
}
.site-footer__col h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.site-footer__col[hidden] {
  display: none;
}
.site-footer__col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}
.site-footer__col a:hover {
  color: var(--brand-red);
}
.site-footer__legal-info {
  padding-block: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__legal-info h3 {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.65rem;
}
.site-footer__legal-info p {
  font-size: 0.8rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.site-footer__reg-numbers {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.5rem;
}
.site-footer__reg-numbers span {
  display: block;
}

.site-footer__bottom {
  padding-block: 1.5rem;
}
.site-footer__bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
 * src/styles/partners.css
 * ========================================================================== */
/* ===================== Partners Hero ===================== */
.partners-hero {
  color: var(--surface-white);
  background: linear-gradient(150deg, #0c0c0e 0%, #050506 60%, #0a0708 100%);
  padding-top: calc(var(--header-height) + 3.5rem);
}
.partners-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.partners-hero__title {
  margin-block: 0.6rem 1.15rem;
  max-width: 18ch;
}
.partners-hero__desc {
  color: rgba(255, 255, 255, 0.78);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.partners-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.partners-hero__visual {
  position: relative;
  margin: 0 auto;
  max-width: 340px;
  aspect-ratio: 1086 / 1448;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.partners-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.partners-hero__caption {
  position: absolute;
  bottom: 0.85rem;
  inset-inline-start: 0.85rem;
  background: rgba(11, 11, 13, 0.55);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

/* ===================== فئات الشركاء ===================== */
.partner-categories {
  background: var(--surface-white);
}
.partner-categories__title {
  margin-bottom: 0.85rem;
  max-width: 20ch;
}
.partner-categories__intro {
  max-width: 62ch;
  color: var(--ink-700);
  margin-bottom: 2.75rem;
}
.partner-categories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.partner-categories__grid li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
}
.partner-categories__grid h3 {
  font-size: 1rem;
  font-weight: 700;
}

/* ===================== ما الذي يمكن عرضه ===================== */
.partner-offerings {
  background: var(--surface-warm);
}
.partner-offerings__title {
  max-width: 24ch;
  margin-bottom: 2.75rem;
}
.partner-offerings__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.partner-offerings__group {
  background: var(--surface-white);
  border-radius: 22px;
  padding: 1.75rem;
  border: 1px solid rgba(11, 11, 13, 0.06);
}
.partner-offerings__group h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
}
.partner-offerings__group p {
  font-size: 0.92rem;
  color: var(--ink-700);
}

/* ===================== رحلة الانضمام ===================== */
.partner-journey {
  color: var(--surface-white);
  background: var(--ink-950);
  padding-block: 4.5rem;
}
.partner-journey__title {
  max-width: 26ch;
  margin-bottom: 2.75rem;
}
.partner-journey__steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.partner-journey__steps li {
  flex: 1;
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.partner-journey__num {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 0.75rem;
}
.partner-journey__steps h3 {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.6;
}
.partner-journey__note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 62ch;
}

/* ===================== نموذج تقديم الشركاء ===================== */
.partner-form-section {
  background: var(--surface-white);
}
.partner-form-section__inner {
  max-width: 780px;
}
.partner-form-section__intro {
  margin-bottom: 2.5rem;
}
.partner-form-section__title {
  margin-bottom: 0.75rem;
}
.partner-form-section__desc {
  color: var(--ink-700);
}

.partner-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.partner-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.partner-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.partner-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.partner-form__field[hidden] {
  display: none;
}
.partner-form__field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-950);
}
.partner-form__optional {
  font-weight: 400;
  color: var(--ink-500);
}
.partner-form__field input,
.partner-form__field select,
.partner-form__field textarea {
  font-family: inherit;
  font-size: 0.96rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  background: var(--surface-white);
  color: var(--ink-950);
  min-height: 48px;
}
.partner-form__field textarea {
  min-height: 110px;
  resize: vertical;
}
.partner-form__field input:focus,
.partner-form__field select:focus,
.partner-form__field textarea:focus {
  outline: none;
  border-color: var(--brand-red);
}
.partner-form__field input[aria-invalid='true'],
.partner-form__field select[aria-invalid='true'],
.partner-form__field textarea[aria-invalid='true'] {
  border-color: var(--brand-red-dark);
}
.partner-form__error {
  font-size: 0.82rem;
  color: var(--brand-red-dark);
  font-weight: 600;
}
.partner-form__error[hidden] {
  display: none;
}

.partner-form__consent {
  border: none;
  padding: 0;
  margin: 0;
}
.partner-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--ink-700);
  cursor: pointer;
}
.partner-form__checkbox input {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.partner-form__status {
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 1.4em;
}
.partner-form__status[data-tone='success'] {
  color: #16803c;
}
.partner-form__status[data-tone='error'] {
  color: var(--brand-red-dark);
}

.partner-form__submit {
  align-self: flex-start;
}
.partner-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ==========================================================================
 * src/styles/responsive.css
 * ========================================================================== */
/* ===================== Mobile only (< 768px) ===================== */
@media (max-width: 767px) {
  .story .ln-container {
    padding-inline: 20px;
  }
  .story__visual {
    border-radius: 22px;
  }
  .products__visual,
  .facilities__photo {
    border-radius: 22px;
  }
  .how-it-works__step {
    border-radius: 18px;
  }
}

/* ===================== Tablet (>= 768px) ===================== */
@media (min-width: 768px) {
  .hero__cta {
    flex-wrap: nowrap;
  }
  .discovery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .discovery__details {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Offers: صف التجارب الثانوية — كرة القدم كاملة العرض (أعلاه)، ثم المبارزة كاملة، فالقتالية+KitLab عموداً */
  .offers__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 'fencing fencing' 'combat kitlab';
    gap: 20px;
  }
  .offer-card--fencing { grid-area: fencing; }
  .offer-card--combat { grid-area: combat; }
  .offer-card--kitlab { grid-area: kitlab; }

  .products__inner {
    grid-template-columns: 47fr 53fr;
    grid-template-areas: 'intro visual' 'groups visual' 'actions visual';
    align-items: center;
    column-gap: 48px;
    row-gap: 1.5rem;
  }

  .facilities__inner {
    flex-direction: row;
    align-items: center;
  }
  .facilities__visual { flex: 0 0 54%; margin-bottom: 0; }
  .facilities__text { flex: 0 0 46%; }
  .facilities__stage-card {
    margin-top: -2.5rem;
    margin-inline-end: -1.5rem;
    margin-inline-start: 1.5rem;
    max-width: 320px;
  }

  .how-it-works__path {
    flex-direction: row;
    align-items: stretch;
    position: relative;
  }
  .how-it-works__path::before {
    content: '';
    position: absolute;
    top: 68px;
    inset-inline: 6%;
    height: 1px;
    background: rgba(255, 255, 255, 0.16);
    z-index: 0;
  }
  .how-it-works__step {
    flex: 1;
    position: relative;
    z-index: 1;
  }

  .site-footer__inner {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }

  .partner-categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .partner-offerings__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .partner-journey__steps {
    flex-direction: row;
  }
  .partner-form__row {
    grid-template-columns: 1fr 1fr;
  }

  .faq--home .faq__list {
    display: block;
    columns: 2;
    column-gap: 24px;
  }
  .faq--home .faq__item {
    break-inside: avoid;
    margin-bottom: 0.75rem;
  }

  .site-footer__reg-numbers {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
  }
  .site-footer__reg-numbers span:first-child::after {
    content: '·';
    margin-inline-start: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
  }
}

/* ===================== Desktop (>= 1024px) ===================== */
@media (min-width: 1024px) {
  .trust-tabs__panel {
    border-radius: 28px;
  }
  .kitlab-hero__visual {
    border-radius: 28px;
  }
  .kitlab-hero__inner {
    flex-direction: row-reverse;
    align-items: center;
    gap: 64px;
  }
  .kitlab-hero__visual {
    flex: 0 0 44%;
  }
  .kitlab-hero__content {
    flex: 0 0 52%;
  }

  .partners-hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }
  .partners-hero__content {
    flex: 0 0 52%;
  }
  .partners-hero__visual {
    flex: 0 0 38%;
    max-width: 420px;
    margin-inline-start: auto;
    border-radius: 28px;
  }

  .site-header__nav {
    display: flex;
  }
  .site-header__burger {
    display: none;
  }

  .ln-hero {
    padding-bottom: 0;
  }
  .hero__inner {
    flex-direction: row-reverse;
    align-items: center;
    min-height: calc(100svh - var(--header-height));
  }
  .hero__text {
    flex: 0 0 54%;
    max-width: 54%;
  }
  .hero__visual {
    flex: 0 0 46%;
    max-width: 46%;
    min-height: 480px;
  }

  .discovery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .discovery__details {
    grid-template-columns: repeat(3, 1fr);
  }
  .discovery__actions {
    flex-direction: row;
    align-items: center;
  }

  /* Story: 12 عموداً — النص 5.5/12 يمين (RTL)، الصورة 6.5/12 يسار، Gap ~64px */
  .story__inner {
    display: grid;
    grid-template-columns: 5.5fr 6.5fr;
    grid-template-areas: "top visual" "bottom visual";
    align-items: start;
    column-gap: 64px;
    row-gap: 28px;
  }
  .story__text-top { grid-area: top; align-self: end; }
  .story__text-bottom { grid-area: bottom; }
  .story__visual {
    grid-area: visual;
    align-self: stretch;
  }

  /* Offers: صف التجارب الثانوية الثلاث بمساحات خارجية متساوية */
  .offers__row {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas: 'fencing combat kitlab';
    gap: 24px;
  }
  .offer-card--fencing,
  .offer-card--combat,
  .offer-card--kitlab {
    min-height: 460px;
  }

  /* Partners: علامة رئيسية + حتى 5 أصغر */
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .partner-card--main {
    grid-column: span 3;
  }
  .trust-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===================== Large desktop (>= 1440px) ===================== */
@media (min-width: 1440px) {
  .hero__title {
    font-size: 3.6rem;
  }
}

/* ==========================================================================
 * CI3 integration overrides — NOT from the source stylesheets.
 *
 * The shared header.php is static and in normal flow; the original landing
 * header was position:fixed and overlaid the hero. Everything below retunes the
 * hero geometry for that difference. If the header's height changes, THIS is
 * the one value to update.
 * ========================================================================== */
:root {
  /* Real rendered height of the CI3 .sn-bar (margin + padding + 38px logo). */
  --header-height: 94px;
}
@media (max-width: 991.98px) {
  :root {
    /* Mobile also stacks the .search_product_mobile row under the bar. */
    --header-height: 132px;
  }
}

/* Header no longer overlays, so don't reserve space for it -- just keep the
   original breathing room. */
.ln-hero { padding-top: 2.5rem; }
.partners-hero { padding-top: 3.5rem; }

/* ...but the hero should still fill what's LEFT of the viewport under the
   header, not a whole viewport below it. */
.ln-hero { min-height: calc(100svh - var(--header-height)); }

/* Dead chrome from the standalone site: .site-header / .mobile-drawer /
   .drawer-overlay / .skip-link markup is gone (header.php owns all of it now).
   Neutralised rather than deleted from the concatenated body so a re-port stays
   a clean regeneration -- and so a stray position:fixed can never resurface and
   overlay the real header.  */
.site-header, .mobile-drawer, .drawer-overlay, .skip-link { display: none !important; }

/* Horizontal-overflow guard. The source base.css had `html, body { overflow-x:
   hidden }`; that was dropped when base.css was scoped to #sn-landing (body is
   shared with the marketplace and spornation.css already guards it site-wide).
   Re-add it scoped to the landing wrapper so a wide hero/section here can never
   shift the page -- a recurring bug in this codebase (Sessions 70 and 90).

   ⚠️ clip, NOT hidden. With overflow-y left visible, `clip` does not create a
   scroll container, so position:sticky descendants keep working. `hidden`
   forces overflow-y to compute to auto and silently breaks them. */
#sn-landing { overflow-x: clip; }
