﻿/* ============================================================
   AFAQ Académie — Professional UI Stylesheet v2
   ============================================================ */

/* 1. CSS Variables */
:root {
  /* 🔥 PRIMARY (Conversion-focused) */
  --color-primary: #F97316;
  /* Orange */
  --color-cta: #F97316;

  /* 🔵 BRAND (Support / identity) */
  --color-logo-blue: #00AEEF;
  --color-secondary-blue: #0B63CE;

  /* 🟤 TEXT (Modern warm browns) */
  --color-text: #3B2F2F;
  /* Main titles */
  --color-text-strong: #2A1F1F;
  /* Extra strong headings */
  --color-muted: #6B5E55;
  /* Paragraphs */
  --color-text-soft: #9A8F86;
  /* Secondary / hints */

  /* 🌿 BACKGROUNDS */
  --color-bg: #F7FAFC;
  --color-white: #FFFFFF;
  --color-light-blue: #EAF6FF;
  --color-light-warm: #FFF7ED;
  /* subtle orange tint */

  /* 🧱 UI */
  --color-border: #E7E5E4;
  /* slightly warmer than before */

  /* 🎯 ACCENTS */
  --color-success: #22C55E;
  --color-premium: #7C3AED;
  --color-alert: #EF4444;

  /* ✍️ TYPOGRAPHY */
  --font-main: 'Zain', sans-serif;
  --font-arabic: 'Zain', sans-serif;

  /* 📐 RADIUS */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* 🌫️ SHADOWS (adjusted to match new palette) */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 16px rgba(59, 47, 47, .10);
  /* brown-based */
  --shadow-lg: 0 8px 32px rgba(59, 47, 47, .14);

  --shadow-orange: 0 8px 32px rgba(249, 115, 22, .18);
  --shadow-cta: 0 8px 32px rgba(249, 115, 22, .30);

  /* ⚡ MOTION */
  --transition: .25s ease;
  --transition-smooth: .4s cubic-bezier(0.4, 0, 0.2, 1);

  /* 📦 LAYOUT */
  --container: 1200px;

  /* 🟠 ORANGE DARK shades */
  --color-orange-deep: #7c2d12;
  --color-orange-dark: #c2410c;
  --color-orange-mid: #e8620a;
  --color-orange-light: #FFF7ED;

  /* Fix: nested html{} inside :root becomes `:root html` which matches nothing.
     Adding properties directly to :root applies them to the html element itself. */
  overflow-x: hidden;
  font-size: 16px;
  scroll-behavior: smooth;

  /* 2. Reset & Base */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
    font-size: 16px;
  }

  body {
    font-family: var(--font-main);
    background: var(--color-white);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
  }

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

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

  ul {
    list-style: none;
  }

  button {
    font-family: inherit;
    cursor: pointer;
  }

  /* 3. Typography */
  h1,
  h2,
  h3,
  h4 {
    line-height: 1.2;
    font-weight: 700;
  }

  h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  }

  h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  }

  h4 {
    font-size: 1rem;
    font-weight: 600;
  }

  p {
    line-height: 1.75;
  }

  .darija {
    font-family: var(--font-arabic);
    direction: rtl;
    text-align: right;
    font-size: 1.05em;
    color: var(--color-muted);
    line-height: 1.8;
  }

  .darija-highlight {
    font-family: var(--font-arabic);
    direction: rtl;
    text-align: right;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--color-cta);
  }

  /* Gradient text utility */
  .highlight {
    background: linear-gradient(135deg, var(--color-cta) 0%, var(--color-orange-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* 4. Layout */
  .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
  }

  .section {
    padding: 5rem 0;
    overflow-x: hidden;
  }

  .section--dark {
    background: var(--color-primary);
    color: white;
  }

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

  .section--blue {
    background: var(--color-light-blue);
  }

  .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
  }

  .section-header .overline {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-cta);
    background: rgba(249, 115, 22, .1);
    padding: .35rem 1rem;
    border-radius: 99px;
    margin-bottom: 1rem;
    border: 1px solid rgba(249, 115, 22, .2);
  }

  /* Section blue overline — orange icon + pulsing glow */
  @keyframes overline-glow {

    0%,
    100% {
      box-shadow: 0 0 6px rgba(249, 115, 22, .18), 0 0 0px rgba(249, 115, 22, 0);
      border-color: rgba(249, 115, 22, .2);
      background: rgba(249, 115, 22, .09);
    }

    50% {
      box-shadow: 0 0 20px rgba(249, 115, 22, .42), 0 0 38px rgba(249, 115, 22, .14);
      border-color: rgba(249, 115, 22, .55);
      background: rgba(249, 115, 22, .15);
    }
  }

  .section--blue .section-header .overline {
    animation: overline-glow 2.8s ease-in-out infinite;
  }

  /* Star icon matches orange text */
  .section--blue .section-header .overline .icon {
    filter: brightness(0) saturate(100%) invert(55%) sepia(60%) saturate(1800%) hue-rotate(355deg) brightness(105%) contrast(100%);
  }

  .section-header h2 {
    color: var(--color-primary);
    margin-bottom: .75rem;
  }

  .section-header p {
    color: var(--color-muted);
    max-width: 640px;
    margin: 0 auto;
  }

  /* 5. Phosphor Icon Sizing */
  [class^="fa-"],
  [class*=" fa-"] {
    vertical-align: middle;
    line-height: 1;
  }

  .icon [class^="fa-"],
  .icon [class*=" fa-"] {
    font-size: 1.2rem;
  }

  /* 6. Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .875rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: all var(--transition-smooth);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    max-width: 100%;
  }

  .btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background .2s ease;
    border-radius: inherit;
    pointer-events: none;
  }

  .btn:hover::after {
    background: rgba(255, 255, 255, .08);
  }

  .btn--cta {
    background: linear-gradient(135deg, var(--color-cta) 0%, #e8620a 100%);
    color: white;
    box-shadow: var(--shadow-cta);
  }

  .btn--cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(249, 115, 22, .5);
  }

  .btn--primary {
    background: linear-gradient(135deg, var(--color-orange-dark) 0%, var(--color-orange-deep) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(194, 65, 12, .3);
  }

  .btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(194, 65, 12, .45);
  }

  .btn--premium {
    background: linear-gradient(135deg, var(--color-premium) 0%, #5b21b6 100%);
    color: white;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(124, 58, 237, .3);
  }

  .btn--premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(124, 58, 237, .45);
  }

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

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

  .btn--outline-white {
    background: rgba(255, 255, 255, .08);
    color: white;
    border-color: rgba(255, 255, 255, .3);
    backdrop-filter: blur(4px);
  }

  .btn--outline-white:hover {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .6);
    transform: translateY(-3px);
  }

  .btn--large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
  }

  .btn--small {
    padding: .5rem 1.25rem;
    font-size: .875rem;
  }

  /* Pulse animation */
  .pulse {
    animation: pulse-ring 2.5s ease infinite;
  }

  @keyframes pulse-ring {
    0% {
      box-shadow: 0 0 0 0 rgba(249, 115, 22, .5), var(--shadow-cta);
    }

    70% {
      box-shadow: 0 0 0 14px rgba(249, 115, 22, 0), var(--shadow-cta);
    }

    100% {
      box-shadow: 0 0 0 0 rgba(249, 115, 22, 0), var(--shadow-cta);
    }
  }

  /* Magnetic button — JS handles the transform */
  .btn--magnetic {
    transition: transform .15s ease, box-shadow var(--transition-smooth);
  }

  /* Button click ripple */
  .btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    transform: scale(0);
    animation: ripple-out .6s linear;
    pointer-events: none;
  }

  @keyframes ripple-out {
    to {
      transform: scale(4);
      opacity: 0;
    }
  }

  /* === Mini CTA button — icon left, text right, compact === */
  .btn--mini {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1.15rem;
    font-size: .9rem;
    font-weight: 600;
    border-radius: 99px;
    line-height: 1;
  }

  .btn--mini .icon {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
  }

  .btn--mini span {
    white-space: nowrap;
  }

  /* Subtle shimmer on hover */
  .btn--mini::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, .22) 50%,
      transparent 100%
    );
    transform: skewX(-18deg);
    pointer-events: none;
  }

  .btn--mini:hover::before {
    animation: btn-shimmer .55s ease forwards;
  }

  @keyframes btn-shimmer {
    from { left: -120%; }
    to   { left: 130%; }
  }

  .btn--cta.btn--mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(249, 115, 22, .45);
  }

  .btn--cta.btn--mini:hover .icon {
    transform: translateX(-2px);
    transition: transform .25s ease;
  }

  .btn--mini:active {
    transform: translateY(1px) scale(.97);
    transition: transform .08s ease;
  }

  /* 7. Badges */
  .badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .85rem;
    border-radius: 99px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
  }

  .badge--primary {
    background: rgba(249, 115, 22, .15);
    color: var(--color-orange-dark);
  }

  .badge--success {
    background: rgba(34, 197, 94, .15);
    color: #16a34a;
  }

  .badge--alert {
    background: rgba(239, 68, 68, .15);
    color: var(--color-alert);
  }

  .badge--alert .icon {
    filter: brightness(0) saturate(100%) invert(36%) sepia(75%) saturate(2000%) hue-rotate(332deg) brightness(103%) contrast(96%);
  }

  .badge--premium {
    background: rgba(124, 58, 237, .15);
    color: var(--color-premium);
  }

  .badge--cta {
    background: rgba(249, 115, 22, .15);
    color: #c2410c;
  }

  /* 8. Progress bar */
  #scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-orange-dark), var(--color-cta), var(--color-orange-dark));
    background-size: 200% 100%;
    width: 0%;
    z-index: 9999;
    transition: width .1s linear;
    animation: shimmer-progress 3s linear infinite;
  }

  @keyframes shimmer-progress {
    to {
      background-position: -200% 0;
    }
  }

  /* 9. Page Loader */
  .page-loader {
    position: fixed;
    inset: 0;
    background: var(--color-primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .5s ease, visibility .5s ease;
  }

  .page-loader.hidden {
    opacity: 0;
    visibility: hidden;
  }

  .loader-logo {
    animation: loader-pop .6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }


  @keyframes loader-pop {
    from {
      opacity: 0;
      transform: scale(0.5);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  /* 10. Header */
  .header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition), background var(--transition);
  }

  .header.scrolled {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 2px 24px rgba(0, 0, 0, .08);
  }

  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 1.5rem;
    max-width: var(--container);
    margin: 0 auto;
  }

  .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
  }

  .logo__svg {
    display: block;
    height: 36px;
    width: auto;
    object-fit: contain;
  }

  .footer__brand .logo .logo__svg {
    height: 32px;
    filter: brightness(0) invert(1);
  }

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

  .nav a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--color-muted);
    transition: color var(--transition);
    position: relative;
  }

  .nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-cta);
    transform: scaleX(0);
    transition: transform .25s ease;
    border-radius: 2px;
  }

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

  .nav a:hover::after {
    transform: scaleX(1);
  }

  .nav__cta {
    display: flex;
    align-items: center;
    gap: .75rem;
  }

  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: .5rem;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition);
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 1px solid var(--color-border);
    background: white;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    font-size: .95rem;
    font-weight: 500;
    color: var(--color-muted);
    padding: .5rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .mobile-menu a.btn {
    border-bottom: none;
    width: 100%;
    justify-content: center;
    margin-top: .25rem;
    padding: .75rem 1.5rem;
    font-size: 1rem;
    color: white;
  }

  /* 11. Hero */
  .hero {
    position: relative;
    height: 93vh;
    min-height: 600px;
    max-height: 1080px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
  }

  /* ── Full-bleed background image ── */
  .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .hero-bg__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
    display: block;
    animation: hero-zoom-in 1.6s cubic-bezier(0.4, 0, 0.2, 1) both;
    transform-origin: 68% center;
  }

  @keyframes hero-zoom-in {
    from {
      transform: scale(1.08);
      filter: brightness(.65) saturate(.8);
    }

    to {
      transform: scale(1);
      filter: brightness(.95) saturate(1);
    }
  }

  /* Left-to-right gradient: dark orange left → transparent right */
  .hero-bg__overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to right,
        rgba(80, 25, 5, .97) 0%,
        rgba(110, 38, 8, .92) 25%,
        rgba(140, 48, 10, .75) 45%,
        rgba(120, 45, 18, .35) 65%,
        rgba(0, 0, 0, .05) 85%,
        transparent 100%),
      linear-gradient(to bottom,
        rgba(0, 0, 0, .4) 0%,
        transparent 15%,
        transparent 75%,
        rgba(0, 0, 0, .5) 100%);
  }

  /* ── Decorative rings (anchored top-right) ── */
  .hero-rings {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
  }

  .hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .08);
  }

  .hero-ring--1 {
    width: 340px;
    height: 340px;
    top: -80px;
    right: -80px;
    animation: ring-breathe 9s ease-in-out infinite;
  }

  .hero-ring--2 {
    width: 520px;
    height: 520px;
    top: -170px;
    right: -170px;
    border-color: rgba(255, 255, 255, .04);
    animation: ring-breathe 13s ease-in-out infinite;
    animation-delay: -5s;
  }

  .hero-ring--3 {
    width: 160px;
    height: 160px;
    bottom: -60px;
    right: 80px;
    border-color: rgba(249, 115, 22, .18);
    animation: ring-breathe 7s ease-in-out infinite;
    animation-delay: -2s;
  }

  @keyframes ring-breathe {

    0%,
    100% {
      transform: scale(1);
      opacity: .9;
    }

    50% {
      transform: scale(1.07);
      opacity: .3;
    }
  }

  /* ── Floating particles ── */
  .hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
  }

  .h-particle {
    position: absolute;
    left: var(--px);
    top: var(--py);
    width: var(--ps);
    height: var(--ps);
    border-radius: 50%;
    background: rgba(253, 186, 116, .8);
    box-shadow: 0 0 8px rgba(249, 115, 22, .55);
    animation: p-float 4.5s ease-in-out infinite;
    animation-delay: var(--pd);
  }

  @keyframes p-float {

    0%,
    100% {
      transform: translateY(0) scale(1);
      opacity: .45;
    }

    50% {
      transform: translateY(-13px) scale(1.5);
      opacity: 1;
    }
  }

  /* ── Container override inside hero ── */
  .hero__container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
  }

  /* ── Left content block ── */
  .hero__content {
    max-width: 560px;
    padding: 2rem 0;
  }

  .hero__overline {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.5rem;
  }

  .hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem 1rem;
    border-radius: 99px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .hero__badge--orange {
    background: rgba(249, 115, 22, .22);
    color: #fdba74;
    border: 1px solid rgba(249, 115, 22, .4);
  }

  .hero__badge--green {
    background: rgba(34, 197, 94, .2);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, .35);
  }

  .hero__badge--red {
    background: rgba(239, 68, 68, .2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, .4);
  }

  .hero__title {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
  }

  .hero__title .hl {
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero__subtitle {
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 1.5rem;
    line-height: 1.8;
  }

  .hero__darija {
    font-family: var(--font-arabic);
    direction: rtl;
    text-align: right;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .7);
    font-style: italic;
    margin-bottom: 2rem;
    padding-right: .75rem;
    border-right: 3px solid rgba(255, 255, 255, .35);
  }

  .hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    margin-bottom: .5rem;
  }

  .hero__trust-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    color: rgba(255, 255, 255, .72);
  }

  /* ── Countdown bar ── */
  .hero-countdown-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-md);
    padding: .7rem 1.25rem;
    margin-top: 1rem;
    font-size: .82rem;
    color: rgba(255, 255, 255, .75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .hero-cd-label {
    white-space: nowrap;
  }

  /* ── Hero brand title variant ── */
  .hero__title--brand {
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.0;
    margin-bottom: 0.5rem;
  }

  /* ── Arabic subtitle ── */
  .hero__arabic-subtitle {
    font-family: var(--font-arabic);
    font-size: clamp(1.25rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.85rem;
    line-height: 1.5;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
  }

  /* ── 45-day box ── */
  .hero__45days {
    font-family: var(--font-arabic);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .78);
    background: rgba(249, 115, 22, .15);
    border: 1px solid rgba(249, 115, 22, .3);
    border-radius: 50px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1.1rem;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1;
  }

  .hero__45days-hl {
    color: #fcd34d;
    font-weight: 700;
  }

  /* ── Subjects row ── */
  .hero__subjects {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-bottom: 0.65rem;
  }

  .hero__subject-sep {
    color: rgba(255, 255, 255, .35);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1;
  }

  .hero__subject-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.28rem 0.7rem;
    border-radius: 50px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .hero__subject-tag img.icon {
    display: block;
    vertical-align: unset;
  }

  .hero__subject-tag--svt {
    background: rgba(34, 197, 94, .18);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, .25);
  }

  .hero__subject-tag--phy {
    background: rgba(59, 130, 246, .18);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, .25);
  }

  .hero__subject-tag--chi {
    background: rgba(168, 85, 247, .18);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, .25);
  }

  .hero__subject-tag--mat {
    background: rgba(249, 115, 22, .18);
    color: #fdba74;
    border: 1px solid rgba(249, 115, 22, .25);
  }

  /* Subject tag icon color filters */
  .icon--svt {
    filter: brightness(0) saturate(100%) invert(80%) sepia(32%) saturate(643%) hue-rotate(92deg) brightness(103%) contrast(92%);
  }

  .icon--phy {
    filter: brightness(0) saturate(100%) invert(75%) sepia(54%) saturate(500%) hue-rotate(195deg) brightness(107%) contrast(98%);
  }

  .icon--chi {
    filter: brightness(0) saturate(100%) invert(75%) sepia(30%) saturate(900%) hue-rotate(240deg) brightness(108%) contrast(98%);
  }

  .icon--mat {
    filter: brightness(0) saturate(100%) invert(85%) sepia(35%) saturate(900%) hue-rotate(340deg) brightness(103%) contrast(96%);
  }

  .icon--orange {
    filter: brightness(0) saturate(100%) invert(55%) sepia(60%) saturate(1800%) hue-rotate(355deg) brightness(105%) contrast(100%);
  }

  .icon--yellow {
    filter: brightness(0) saturate(100%) invert(85%) sepia(48%) saturate(800%) hue-rotate(5deg) brightness(106%) contrast(95%);
  }

  .icon--dark-orange {
    filter: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1300%) hue-rotate(12deg) brightness(90%) contrast(102%);
  }

  /* ── Resource chips ── */
  .hero__resources {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
  }

  .hero__res-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.76rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .65);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50px;
    padding: 0.22rem 0.65rem;
    letter-spacing: 0.02em;
  }

  /* ── Places note ── */
  .hero__places-note {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .55);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }

  .hero-cd-units {
    display: flex;
    align-items: center;
    gap: .35rem;
  }

  .hero-cd-units b {
    font-size: 1rem;
    font-weight: 800;
    color: white;
  }

  .hero-cd-units .cd-sep {
    color: rgba(255, 255, 255, .3);
  }

  /* ── Floating glass chips (bottom-right) ── */
  .hero-float-chips {
    position: absolute;
    right: 2.5rem;
    bottom: 6rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    pointer-events: none;
  }

  .hero-float-chip {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--radius-md);
    padding: .75rem 1.1rem;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    animation: chip-rise .7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  }

  .hero-float-chip:nth-child(1) {
    animation-delay: 1s;
  }

  .hero-float-chip:nth-child(2) {
    animation-delay: 1.3s;
  }

  @keyframes chip-rise {
    from {
      opacity: 0;
      transform: translateY(16px) scale(.95);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .hero-float-chip__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-orange-dark), var(--color-cta));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(249, 115, 22, .4);
  }

  .hero-float-chip__icon--green {
    background: linear-gradient(135deg, #16a34a, #22C55E);
    box-shadow: 0 4px 12px rgba(34, 197, 94, .35);
  }

  .hero-float-chip strong {
    display: block;
    color: white;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.3;
  }

  .hero-float-chip small {
    color: rgba(255, 255, 255, .65);
    font-size: .7rem;
    display: block;
  }

  /* ── Scroll indicator ── */
  .scroll-indicator {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: rgba(255, 255, 255, .4);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    z-index: 4;
    animation: indicator-fade 3s ease 2s forwards;
    opacity: 0;
  }

  @keyframes indicator-fade {
    to {
      opacity: 1;
    }
  }

  .scroll-indicator__mouse {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(255, 255, 255, .22);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
  }

  .scroll-indicator__wheel {
    width: 3px;
    height: 7px;
    background: rgba(255, 255, 255, .5);
    border-radius: 3px;
    animation: scroll-wheel 2s ease-in-out infinite;
  }

  @keyframes scroll-wheel {
    0% {
      opacity: 1;
      transform: translateY(0);
    }

    100% {
      opacity: 0;
      transform: translateY(12px);
    }
  }

  /* 11b. Local Icon System */
  .icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    object-fit: contain;
    flex-shrink: 0;
  }

  .icon--white {
    filter: brightness(0) invert(1);
  }

  .icon--sm {
    width: .85em;
    height: .85em;
  }

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

  .icon--xl {
    width: 2em;
    height: 2em;
  }

  .icon--arrow {
    width: .75em;
    height: .75em;
    margin-left: .3em;
    vertical-align: -0.1em;
  }

  /* 12. Animation System */
  [data-animation] {
    opacity: 0;
    transition:
      opacity .7s cubic-bezier(0.4, 0, 0.2, 1),
      transform .7s cubic-bezier(0.4, 0, 0.2, 1),
      filter .7s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--anim-delay, 0s);
  }

  [data-animation="up"] {
    transform: translateY(40px);
  }

  [data-animation="down"] {
    transform: translateY(-40px);
  }

  [data-animation="left"] {
    transform: translateX(-50px);
  }

  [data-animation="right"] {
    transform: translateX(50px);
  }

  [data-animation="zoom"] {
    transform: scale(0.88);
  }

  [data-animation="blur"] {
    filter: blur(8px);
    transform: translateY(20px);
  }

  [data-animation].is-visible {
    opacity: 1;
    transform: none;
    filter: none;
  }

  /* 13. Problem Section V2 */
  .prob2 {
    background: linear-gradient(155deg, #0c0e12 0%, #111318 50%, #0c0e12 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
  }

  .prob2__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }

  .prob2__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
  }

  .prob2__grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.055;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    mix-blend-mode: screen;
  }

  .prob2__grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 50px 50px;
  }

  .prob2 .container {
    position: relative;
    z-index: 1;
  }

  /* ── Header (now inside right column) ── */
  .prob2__header {
    text-align: right;
    margin-bottom: 2rem;
  }

  .prob2__overline {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 700;
    line-height: 3;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #F97316;
    background: rgba(249, 115, 22, .15);
    padding: .35rem 1rem;
    border-radius: 99px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(249, 115, 22, .3);
  }

  .prob2__title {
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    color: #FFFFFF;
    line-height: 1.35;
    margin-bottom: 1.25rem;
    font-weight: 900;
  }

  .prob2__subtitle {
    color: rgba(255, 255, 255, .65);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 0 1.25rem;
    line-height: 1.7;
  }

  .prob2__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
    align-items: center;
    margin-top: .75rem;
  }

  .prob2__tag {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: rgba(249, 115, 22, .12);
    border: 1px solid rgba(249, 115, 22, .35);
    color: #FBBF24;
    padding: .3rem .9rem;
    border-radius: 99px;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1;
    transition: background .25s ease, border-color .25s ease;
  }

  .prob2__tag img.icon {
    display: block;
    vertical-align: unset;
  }

  .prob2__tag:hover {
    background: rgba(249, 115, 22, .22);
    border-color: rgba(249, 115, 22, .6);
  }

  .prob2__tag-sep {
    color: rgba(255, 255, 255, .3);
    font-size: 1.2rem;
    font-weight: 300;
  }

  /* ── Body ── */
  .prob2__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    margin-bottom: 3.5rem;
  }

  /* Visual column */
  .prob2__visual {
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .prob2__img-card {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    flex: 1;
    min-height: 550px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .06);
  }

  .prob2__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.82) saturate(.85);
    transition: transform .7s ease, filter .5s ease;
  }

  .prob2__img-card:hover .prob2__img {
    transform: scale(1.05);
    filter: brightness(.9) saturate(1);
  }

  .prob2__img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1.75rem 1.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, transparent 100%);
  }

  .prob2__stat {
    text-align: center;
  }

  .prob2__stat-num {
    display: block;
    font-size: 2.1rem;
    font-weight: 900;
    background: linear-gradient(135deg, #F97316, #FBBF24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: .3rem;
    font-family: var(--font-arabic);
  }

  .prob2__stat-label {
    display: block;
    color: rgba(255, 255, 255, .75);
    font-size: .85rem;
    font-family: var(--font-arabic);
    direction: rtl;
  }

  .prob2__badge-float {
    position: absolute;
    top: 1.5rem;
    right: -.75rem;
    background: rgba(239, 68, 68, .18);
    border: 1px solid rgba(239, 68, 68, .45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 50px;
    padding: .5rem 1rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    color: #FCA5A5;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .35);
    z-index: 2;
  }

  .prob2__badge-float i {
    font-size: 1.1rem;
    color: #F87171;
  }

  /* Errors column */
  .prob2__errors-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: .5rem;
  }

  .prob2__errors-intro {
    color: rgba(255, 255, 255, .8);
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: .5rem;
    text-align: right;
  }

  .prob2__errors-intro i {
    color: #F97316;
    font-size: 1.2rem;
  }

  .prob2__errors {
    display: flex;
    flex-direction: column;
    gap: .65rem;
  }

  .prob2__error {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-right: 3px solid rgba(239, 68, 68, .6);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all .3s ease;
    cursor: default;
  }

  .prob2__error:hover {
    background: rgba(249, 115, 22, .08);
    border-right-color: #F97316;
    transform: translateX(-6px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
  }

  .prob2__error-num {
    font-size: .7rem;
    font-weight: 700;
    color: rgba(249, 115, 22, .55);
    letter-spacing: .05em;
    flex-shrink: 0;
    width: 20px;
  }

  .prob2__error-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(239, 68, 68, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #FCA5A5;
    flex-shrink: 0;
    transition: background .3s ease, color .3s ease, transform .3s ease;
  }

  .prob2__error:hover .prob2__error-icon {
    background: rgba(249, 115, 22, .18);
    color: #FBBF24;
    transform: scale(1.1) rotate(-5deg);
  }

  .prob2__error-text {
    color: rgba(255, 255, 255, .82);
    font-family: var(--font-arabic);
    font-size: 1.05rem;
    line-height: 1.6;
    flex: 1;
    text-align: right;
  }

  /* ── Resolution Banner ── */
  .prob2__resolution {
    background: linear-gradient(135deg, #F97316 0%, #c2410c 100%);
    border-radius: 28px;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    box-shadow: 0 24px 72px rgba(249, 115, 22, .4);
    position: relative;
    overflow: hidden;
  }

  .prob2__resolution::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, .12) 0%, transparent 65%);
    pointer-events: none;
  }

  .prob2__resolution::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 40%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, .07) 0%, transparent 65%);
    pointer-events: none;
  }

  .prob2__resolution-icon {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, .9);
    flex-shrink: 0;
    line-height: 1;
  }

  .prob2__resolution-text {
    flex: 1;
    position: relative;
    z-index: 1;
  }

  .prob2__resolution-text p:first-child {
    color: rgba(255, 255, 255, .8);
    font-size: 1rem;
    margin-bottom: .25rem;
  }

  .prob2__resolution-bold {
    color: white;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.3;
  }

  .prob2__resolution-bold span {
    background: linear-gradient(135deg, #fff 0%, #FBBF24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .prob2__resolution-btn {
    background: white !important;
    color: #c2410c !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .25) !important;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    font-weight: 700 !important;
    border: none !important;
  }

  .prob2__resolution-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 16px 44px rgba(0, 0, 0, .35) !important;
  }

  /* ── Responsive ── */
  @media (max-width: 900px) {
    .prob2__body {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .prob2__img-card {
      min-height: 320px;
      flex: none;
    }

    .prob2__badge-float {
      right: .5rem;
    }
  }

  @media (max-width: 640px) {
    .prob2__resolution {
      flex-direction: column;
      text-align: center;
      padding: 2rem 1.5rem;
      gap: 1.5rem;
    }

    .prob2__resolution-btn {
      width: 100%;
      justify-content: center;
    }

    .prob2__resolution-bold {
      font-size: 1.2rem;
    }
  }

  /* 14. Solution */
  .solution {
    background: white;
  }

  .sol-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
  }

  /* Left content column */
  .sol-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .sol-intro-text {
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    padding-bottom: .25rem;
  }

  /* 2×2 feature cards */
  .sol-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .875rem;
  }

  .sol-feat {
    display: flex;
    align-items: flex-start;
    gap: .875rem;
    padding: 1.1rem 1.25rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
  }

  .sol-feat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(249, 115, 22, .3);
    background: white;
  }

  .sol-feat__icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .sol-feat:hover .sol-feat__icon {
    transform: scale(1.12) rotate(-5deg);
  }

  .sol-feat__icon--blue {
    background: rgba(249, 115, 22, .1);
    color: var(--color-cta);
  }

  .sol-feat__icon--green {
    background: rgba(34, 197, 94, .1);
    color: #16a34a;
  }

  .sol-feat__icon--orange {
    background: rgba(249, 115, 22, .1);
    color: #ea580c;
  }

  .sol-feat__icon--purple {
    background: rgba(124, 58, 237, .1);
    color: var(--color-premium);
  }

  .sol-feat__text {
    display: flex;
    flex-direction: column;
    gap: .25rem;
  }

  .sol-feat__text strong {
    font-size: .9rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
  }

  .sol-feat__text span {
    font-size: .8rem;
    color: var(--color-muted);
    line-height: 1.4;
  }

  /* Secondary feature chips */
  .sol-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
  }

  .sol-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem 1rem;
    background: var(--color-light-warm);
    border: 1px solid rgba(249, 115, 22, .15);
    border-radius: 99px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-orange-dark);
    transition: all var(--transition-smooth);
  }

  .sol-chip:hover {
    background: rgba(249, 115, 22, .15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, .14);
  }

  /* Darija block */
  .sol-darija {
    font-family: var(--font-arabic);
    direction: rtl;
    text-align: right;
    font-size: 1rem;
    color: var(--color-primary);
    background: var(--color-light-warm);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    line-height: 2;
    border: 1px solid rgba(249, 115, 22, .15);
  }

  /* Right visual column */
  .sol-visual {
    display: flex;
    flex-direction: column;
  }

  .sol-img-card {
    flex: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
  }

  .sol-img {
    width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: cover;
    display: block;
    transition: transform .7s ease;
  }

  .sol-img-card:hover .sol-img {
    transform: scale(1.03);
  }

  /* Timeline overlay */
  .sol-timeline-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
        rgba(11, 31, 58, .97) 0%,
        rgba(11, 31, 58, .75) 55%,
        transparent 100%);
    padding: 2.5rem 1.75rem 1.75rem;
    color: white;
  }

  .sol-tl-label {
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fbbf24;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
  }

  .sol-tl-track {
    display: flex;
    flex-direction: column;
  }

  .sol-tl-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }

  .sol-tl-stem {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding-top: 3px;
  }

  .sol-tl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    flex-shrink: 0;
  }

  .sol-tl-dot--active {
    background: var(--color-cta);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, .3);
    animation: tl-active-pulse 2.2s ease infinite;
  }

  .sol-tl-dot--goal {
    background: var(--color-success);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .3);
  }

  @keyframes tl-active-pulse {

    0%,
    100% {
      box-shadow: 0 0 0 4px rgba(249, 115, 22, .3);
    }

    50% {
      box-shadow: 0 0 0 8px rgba(249, 115, 22, .1);
    }
  }

  .sol-tl-line {
    width: 2px;
    height: 28px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .25), rgba(255, 255, 255, .06));
    margin-top: 4px;
    margin-bottom: 4px;
    border-radius: 2px;
  }

  .sol-tl-info {
    padding-bottom: .25rem;
  }

  .sol-tl-info strong {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
  }

  .sol-tl-info small {
    font-size: .75rem;
    color: rgba(255, 255, 255, .55);
  }

  /* 14b. Solution v2 — Compact cards */
  .sol2 {
    background: var(--color-bg);
    padding: 5rem 0;
  }

  /* Top two-column layout */
  .sol2__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3.5rem;
  }

  .sol2__intro {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .sol2__intro h2 {
    margin: .25rem 0 .5rem;
  }

  .sol2__intro h2 .highlight {
    display: block;
    font-family: var(--font-arabic);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-top: .2rem;
  }

  .sol2__desc {
    color: var(--color-muted);
    font-size: .97rem;
    line-height: 1.75;
  }

  /* Objective inline block */
  .sol2__objective {
    display: flex;
    align-items: flex-start;
    gap: .875rem;
    background: var(--color-light-warm);
    border: 1px solid rgba(249, 115, 22, .2);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
  }

  .sol2__objective>i {
    color: var(--color-primary);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: .2rem;
  }

  .sol2__obj-label {
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-orange-dark);
    display: block;
    margin-bottom: .2rem;
  }

  .sol2__obj-text {
    font-family: var(--font-arabic);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-strong);
    margin: 0;
    line-height: 1.6;
  }

  /* Right visual panel — column: photo + stats bar */
  .sol2__hero-img {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
  }

  /* Photo card */
  .sol2__vpanel-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
  }

  .sol2__vpanel-photo>img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .6s ease;
  }

  .sol2__vpanel-photo:hover>img {
    transform: scale(1.03);
  }

  /* Overlay badge on photo */
  .sol2__hero-badge {
    position: absolute;
    bottom: 0.875rem;
    left: 0.875rem;
    background: rgba(22, 163, 74, .92);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: .45rem .85rem;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 1px solid rgba(34, 197, 94, .45);
    box-shadow: 0 2px 12px rgba(22, 163, 74, .35);
  }

  .sol2__hero-badge .icon {
    width: 0.9em;
    height: 0.9em;
    flex-shrink: 0;
  }

  /* Stats bar below the photo — modern card */
  .sol2__vpanel-stats {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    background: linear-gradient(135deg, rgba(249, 115, 22, .09) 0%, rgba(255, 247, 237, .75) 100%);
    border: 1.5px solid rgba(249, 115, 22, .22);
    border-radius: var(--radius-lg);
    padding: 1.35rem 0.5rem;
    box-shadow: 0 6px 24px rgba(249, 115, 22, .13), 0 1px 4px rgba(0, 0, 0, .05);
    position: relative;
    overflow: hidden;
  }

  /* Orange accent line along the top edge */
  .sol2__vpanel-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-orange-mid), transparent);
    border-radius: 0 0 4px 4px;
  }

  .sol2__vpanel-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-align: center;
    flex: 1;
    padding: 0 0.5rem;
  }

  .sol2__vpanel-stat strong {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.03em;
    background: linear-gradient(135deg, var(--color-orange-mid) 0%, var(--color-primary) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .sol2__vpanel-stat span {
    font-size: .68rem;
    color: var(--color-muted);
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  .sol2__vpanel-sep {
    width: 1px;
    align-self: center;
    height: 2.5rem;
    background: linear-gradient(to bottom, transparent, rgba(249, 115, 22, .28), transparent);
    flex-shrink: 0;
  }

  /* "Tu vas travailler avec" label */
  .sol2__with-label {
    text-align: center;
    color: var(--color-muted);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
  }

  /* 4-column card grid */
  .sol2__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .875rem;
  }

  /* compact card */
  .sol2__card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  }

  .sol2__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(249, 115, 22, .25);
  }

  /* thumbnail — clean photo, no overlay */
  .sol2__card-thumb {
    height: 110px;
    overflow: hidden;
  }

  .sol2__card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
  }

  .sol2__card:hover .sol2__card-thumb img {
    transform: scale(1.06);
  }

  /* icon badge — in-flow inside the info row, never overlaps the photo */
  .sol2__card-ico {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  }

  .sol2__card-ico img {
    width: 14px;
    height: 14px;
    display: block;
    flex-shrink: 0;
  }

  /* gradient colors aligned with the orange/blue brand theme */
  .sol2__card-ico--orange {
    background: linear-gradient(135deg, #F97316, #FB923C);
  }

  .sol2__card-ico--green {
    background: linear-gradient(135deg, #16A34A, #22C55E);
  }

  .sol2__card-ico--blue {
    background: linear-gradient(135deg, #0B63CE, #00AEEF);
  }

  .sol2__card-ico--red {
    background: linear-gradient(135deg, #EF4444, #F97316);
  }

  .sol2__card-ico--yellow {
    background: linear-gradient(135deg, #D97706, #F59E0B);
  }

  .sol2__card-ico--purple {
    background: linear-gradient(135deg, #7C3AED, #A855F7);
  }

  .sol2__card-ico--teal {
    background: linear-gradient(135deg, #0D9488, #06B6D4);
  }

  /* info row: icon + text side by side */
  .sol2__card-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.75rem 0.875rem 0.875rem;
  }

  .sol2__card-info>div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
  }

  .sol2__card-info strong {
    font-size: .85rem;
    font-weight: 700;
    color: var(--color-text-strong);
    line-height: 1.3;
  }

  .sol2__card-info span {
    font-size: .76rem;
    color: var(--color-muted);
    line-height: 1.4;
  }

  /* Sol2 CTA button area */
  .sol2__cta-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.25rem;
  }

  .sol2__cta-note {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--color-alert);
  }

  .sol2__cta-note .icon {
    width: 0.8em;
    height: 0.8em;
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(38%) sepia(80%) saturate(1200%) hue-rotate(328deg) brightness(103%) contrast(96%);
  }

  /* Notre Solution overline — green = positive trust signal */
  .sol2__intro .overline {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-success);
    background: rgba(34, 197, 94, .08);
    padding: .35rem 1rem;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(34, 197, 94, .35);
    align-self: flex-start;
  }

  /* Green icon inside the overline (check.png) */
  .sol2__intro .overline .icon {
    filter: brightness(0) saturate(100%) invert(59%) sepia(72%) saturate(600%) hue-rotate(90deg) brightness(95%) contrast(93%);
  }

  /* Objective icon matches the orange-dark label color */
  .sol2__objective .icon {
    filter: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1300%) hue-rotate(12deg) brightness(90%) contrast(102%);
    width: 1.6em;
    height: 1.6em;
    flex-shrink: 0;
    margin-top: .1rem;
  }

  /* Section label arrow — matches muted text color */
  .sol2__with-label .icon {
    filter: brightness(0) saturate(100%) invert(38%) sepia(15%) saturate(600%) hue-rotate(335deg) brightness(100%) contrast(90%);
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .sol2__grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  @media (max-width: 768px) {
    .sol2__top {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .sol2__vpanel-photo>img {
      height: 200px;
    }

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

  @media (max-width: 480px) {
    .sol2__grid {
      grid-template-columns: repeat(2, 1fr);
      gap: .625rem;
    }

    .sol2__card-thumb {
      height: 85px;
    }

    .offer-feats {
      grid-template-columns: 1fr;
    }
  }

  /* 15. Why AFAQ (6 cards) */
  .why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    counter-reset: why-counter;
  }

  .why-card {
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-top: 3px solid rgba(249, 115, 22, .3);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: transform .38s var(--transition-smooth), box-shadow .38s ease, border-color .3s ease;
    position: relative;
    overflow: hidden;
    counter-increment: why-counter;
  }

  /* Faint watermark number top-right */
  .why-card::after {
    content: counter(why-counter, decimal-leading-zero);
    position: absolute;
    top: .55rem;
    right: 1rem;
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.06em;
    color: rgba(249, 115, 22, .08);
    pointer-events: none;
    user-select: none;
  }

  /* Warm shimmer overlay on hover */
  .why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, .06) 0%, transparent 65%);
    opacity: 0;
    transition: opacity .35s ease;
  }

  .why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(249, 115, 22, .38);
    border-top-color: var(--color-primary);
    box-shadow: 0 18px 48px rgba(249, 115, 22, .15), 0 4px 12px rgba(0, 0, 0, .06);
  }

  .why-card:hover::before {
    opacity: 1;
  }

  .why-card__img {
    width: 88px;
    height: 88px;
    margin-bottom: 1.25rem;
    transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
  }

  .why-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .why-card:hover .why-card__img {
    transform: scale(1.1) rotate(-5deg);
  }

  .why-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid transparent;
    position: relative;
    z-index: 1;
  }

  .why-card:hover .why-card__icon {
    transform: scale(1.1) rotate(-5deg);
  }

  .why-card__icon--blue {
    background: rgba(249, 115, 22, .1);
    color: var(--color-cta);
    border-color: rgba(249, 115, 22, .2);
  }

  .why-card__icon--green {
    background: rgba(34, 197, 94, .1);
    color: #16a34a;
    border-color: rgba(34, 197, 94, .2);
  }

  .why-card__icon--orange {
    background: rgba(249, 115, 22, .1);
    color: #ea580c;
    border-color: rgba(249, 115, 22, .2);
  }

  .why-card__icon--red {
    background: rgba(239, 68, 68, .1);
    color: var(--color-alert);
    border-color: rgba(239, 68, 68, .2);
  }

  .why-card__icon--purple {
    background: rgba(124, 58, 237, .1);
    color: var(--color-premium);
    border-color: rgba(124, 58, 237, .2);
  }

  .why-card__icon--indigo {
    background: rgba(249, 115, 22, .1);
    color: var(--color-orange-dark);
    border-color: rgba(249, 115, 22, .2);
  }

  .why-card h3 {
    font-size: 1.05rem;
    color: var(--color-text-strong);
    margin-bottom: .5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
  }

  .why-card p {
    font-size: .9rem;
    color: var(--color-muted);
    margin-bottom: .5rem;
    position: relative;
    z-index: 1;
  }

  /* Arabic dialect pill — styled text block */
  .why-card .darija {
    font-size: .85rem;
    background: rgba(249, 115, 22, .06);
    border-right: 3px solid rgba(249, 115, 22, .32);
    border-radius: var(--radius-sm);
    padding: .35rem .65rem .35rem .5rem;
    margin-top: .1rem;
    position: relative;
    z-index: 1;
  }

  /* 16. Programme */
  .programme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .subject-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition-smooth);
    background: white;
  }

  .subject-card:hover {
    /* hover for non-prog cards */
  }

  .subject-card:not(.prog-card):hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
  }

  .subject-card__header {
    padding: 1.75rem 1.25rem;
    text-align: center;
    color: white;
    font-weight: 700;
    position: relative;
    overflow: hidden;
  }

  .subject-card__header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, .15), transparent 60%);
    pointer-events: none;
  }

  .subject-card__icon {
    font-size: 2.4rem;
    margin-bottom: .6rem;
    display: block;
    line-height: 1;
  }

  .subject-card__name {
    font-size: 1.1rem;
    font-weight: 800;
  }

  .subject-card__header--svt {
    background: linear-gradient(135deg, #16a34a, #22C55E);
  }

  .subject-card__header--physique {
    background: linear-gradient(135deg, #ea580c, #F97316);
  }

  .subject-card__header--chimie {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
  }

  .subject-card__header--maths {
    background: linear-gradient(135deg, #b91c1c, #ef4444);
  }

  .subject-card__body {
    padding: 1.25rem;
    background: white;
  }

  .subject-card__body ul li {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: .88rem;
    color: var(--color-muted);
  }

  .subject-card__body ul li:last-child {
    border-bottom: none;
  }

  .subject-card__body ul li::before {
    content: '›';
    color: var(--color-cta);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .subject-card__darija {
    font-family: var(--font-arabic);
    direction: rtl;
    text-align: right;
    font-size: .82rem;
    color: var(--color-muted);
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--color-border);
    line-height: 1.6;
  }

  /* ── Programme section upgrades ── */
  .prog-section {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
  }

  .prog-section::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(249, 115, 22, .06) 0%, transparent 70%);
    pointer-events: none;
  }

  .prog-header {
    position: relative;
    z-index: 1;
  }

  .prog-overline {}

  .prog-title {}

  .prog-subtitle {}

  /* Icon wrap — white circle inside colored header */
  .prog-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto .9rem;
    font-size: 1.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
    position: relative;
    z-index: 1;
    transition: transform .4s ease;
    animation: progFloat 3s ease-in-out infinite;
  }

  .prog-card:nth-child(2) .prog-icon-wrap {
    animation-delay: .4s;
  }

  .prog-card:nth-child(3) .prog-icon-wrap {
    animation-delay: .8s;
  }

  .prog-card:nth-child(4) .prog-icon-wrap {
    animation-delay: 1.2s;
  }

  @keyframes progFloat {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-5px);
    }
  }

  .prog-card:hover .prog-icon-wrap {
    animation-play-state: paused;
  }

  .prog-icon-wrap img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
  }

  .prog-icon-wrap--svt img {
    filter: invert(33%) sepia(98%) saturate(500%) hue-rotate(85deg) brightness(95%);
  }

  .prog-icon-wrap--physique img {
    filter: invert(39%) sepia(90%) saturate(700%) hue-rotate(10deg) brightness(95%);
  }

  .prog-icon-wrap--chimie img {
    filter: invert(24%) sepia(90%) saturate(700%) hue-rotate(205deg) brightness(95%);
  }

  .prog-icon-wrap--maths img {
    filter: invert(20%) sepia(80%) saturate(800%) hue-rotate(340deg) brightness(90%);
  }

  .prog-pi {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: #b91c1c;
    font-family: Georgia, serif;
  }

  /* prog-card entrance — handled by data-animation/data-stagger */
  .prog-card {
    cursor: default;
    transition: transform .35s ease, box-shadow .35s ease;
  }

  .prog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .15);
  }

  .prog-card[data-color="svt"]:hover {
    box-shadow: 0 16px 48px rgba(22, 163, 74, .25);
  }

  .prog-card[data-color="physique"]:hover {
    box-shadow: 0 16px 48px rgba(234, 88, 12, .25);
  }

  .prog-card[data-color="chimie"]:hover {
    box-shadow: 0 16px 48px rgba(37, 99, 235, .25);
  }

  .prog-card[data-color="maths"]:hover {
    box-shadow: 0 16px 48px rgba(185, 28, 28, .25);
  }

  .prog-card:hover .prog-icon-wrap {
    transform: scale(1.15) rotate(8deg);
  }

  .prog-card .subject-card__header {
    padding: 2rem 1.25rem 1.5rem;
  }

  /* Bottom note bar */
  .prog-note {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-top: .85rem;
    padding: .65rem .85rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-arabic);
    direction: rtl;
    font-size: .82rem;
    line-height: 1.5;
  }

  .prog-note--svt {
    background: rgba(22, 163, 74, .09);
    color: #14532d;
  }

  .prog-note--physique {
    background: rgba(234, 88, 12, .09);
    color: #7c2d12;
  }

  .prog-note--chimie {
    background: rgba(37, 99, 235, .09);
    color: #1e3a8a;
  }

  .prog-note--maths {
    background: rgba(185, 28, 28, .09);
    color: #7f1d1d;
  }

  .prog-note__ico {
    flex-shrink: 0;
    font-size: .9rem;
    opacity: .85;
  }

  .prog-note--svt .prog-note__ico img {
    filter: brightness(0) saturate(100%) invert(62%) sepia(41%) saturate(629%) hue-rotate(95deg) brightness(100%) contrast(90%);
  }

  .prog-note--physique .prog-note__ico img {
    filter: brightness(0) saturate(100%) invert(61%) sepia(62%) saturate(1000%) hue-rotate(345deg) brightness(100%) contrast(100%);
  }

  .prog-note--chimie .prog-note__ico img {
    filter: brightness(0) saturate(100%) invert(24%) sepia(93%) saturate(1122%) hue-rotate(218deg) brightness(96%) contrast(94%);
  }

  .prog-note--maths .prog-note__ico img {
    filter: brightness(0) saturate(100%) invert(38%) sepia(98%) saturate(1213%) hue-rotate(337deg) brightness(103%) contrast(96%);
  }

  .prog-note__text {
    flex: 1;
  }

  /* 17. Method (4 steps) */
  .method {
    background: linear-gradient(155deg, #0c0e12 0%, #111318 50%, #0c0e12 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
  }

  /* ── Dark animated background layers (same as Le problème) ── */
  .method__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }

  .method__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
  }

  .method__grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: .5;
    mix-blend-mode: screen;
  }

  .method__grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 50px 50px;
  }

  .method .container {
    position: relative;
    z-index: 1;
  }

  .method .section-header h2 {
    color: white;
  }

  .method .section-header h2 .highlight {
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .method .section-header p {
    color: rgba(255, 255, 255, .7);
  }

  .method .section-header .overline {
    background: rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .9);
    border-color: rgba(255, 255, 255, .25);
  }

  .method-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
  }

  .method-step {
    text-align: center;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.5rem;
    transition: all var(--transition-smooth);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .08);
  }

  .method-step:hover {
    background: rgba(255, 255, 255, .11);
    transform: translateY(-6px);
    border-color: rgba(249, 115, 22, .45);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .35), 0 0 0 1px rgba(249, 115, 22, .2), inset 0 1px 0 rgba(255, 255, 255, .12);
  }

  .method-step__num {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    position: relative;
    border: 2px solid transparent;
  }

  .method-step__num::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid;
    opacity: .3;
    animation: ring-pulse 2.5s ease infinite;
  }

  .method-step__num--1 {
    background: linear-gradient(135deg, #fde68a, #fbbf24);
  }

  .method-step__num--1::after {
    border-color: #fbbf24;
  }

  .method-step__num--2 {
    background: linear-gradient(135deg, var(--color-orange-dark), var(--color-cta));
  }

  .method-step__num--2::after {
    border-color: var(--color-orange-dark);
    animation-delay: .6s;
  }

  .method-step__num--3 {
    background: linear-gradient(135deg, var(--color-cta), #fb923c);
  }

  .method-step__num--3::after {
    border-color: var(--color-cta);
    animation-delay: 1.2s;
  }

  .method-step__num--4 {
    background: linear-gradient(135deg, var(--color-success), #4ade80);
  }

  .method-step__num--4::after {
    border-color: var(--color-success);
    animation-delay: 1.8s;
  }

  @keyframes ring-pulse {
    0% {
      transform: scale(1);
      opacity: .3;
    }

    50% {
      transform: scale(1.15);
      opacity: .1;
    }

    100% {
      transform: scale(1);
      opacity: .3;
    }
  }

  .method-step h3 {
    font-size: 1rem;
    margin-bottom: .5rem;
    color: white;
    font-weight: 700;
  }

  .method-step p {
    font-size: .875rem;
    color: rgba(255, 255, 255, .7);
    margin-bottom: .75rem;
  }

  .method-step .darija {
    font-size: .82rem;
    color: rgba(255, 255, 255, .5);
  }

  /* 18. Social Proof */
  .social-proof {
    background: var(--color-white);
  }

  .sp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }

  .sp-img-col {
    display: flex;
    flex-direction: column;
    height: 520px;
  }

  .sp-img-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    flex: 1;
  }

  .sp-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
  }

  .sp-img-wrap:hover img {
    transform: scale(1.04);
  }

  .sp-text-col .overline {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-cta);
    background: rgba(249, 115, 22, .1);
    padding: .35rem 1rem;
    border-radius: 99px;
    margin-bottom: 1rem;
    border: 1px solid rgba(249, 115, 22, .2);
  }

  .sp-text-col .overline .icon {
    filter: brightness(0) saturate(100%) invert(55%) sepia(60%) saturate(1800%) hue-rotate(355deg) brightness(105%) contrast(100%);
  }

  .btn--primary .icon {
    filter: brightness(0) invert(1);
  }

  .sp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }

  .sp-stat-item {
    background: var(--color-light-warm);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    border: 1px solid rgba(249, 115, 22, .12);
    transition: all var(--transition);
  }

  .sp-stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-orange);
  }

  .sp-stat-item strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: .25rem;
    background: linear-gradient(135deg, var(--color-orange-dark), var(--color-cta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .sp-stat-item span {
    font-size: .8rem;
    color: var(--color-muted);
  }

  /* 19. Offers Section — Single Pack, open layout */
  .offers-section {
    background: var(--color-bg);
  }

  /* ── Stats bar ── */
  .offer-stats {
    display: flex;
    flex-direction: column;
    margin: 0 auto 3.5rem;
    max-width: 760px;
    background: white;
    border-radius: 20px;
    border: 1.5px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }

  .offer-stats__row--nums {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1.5px solid var(--color-border);
  }

  .offer-stats__row--subjects {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .6rem;
    padding: .9rem 2rem;
  }

  .offer-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    padding: 1.5rem 2rem;
    flex: 1;
    min-width: 120px;
    text-align: center;
  }

  .offer-stat__num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-cta);
    line-height: 1;
    letter-spacing: -.03em;
  }

  .offer-stat__label {
    font-size: .72rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-top: .1rem;
  }

  .offer-stat__sep {
    width: 1px;
    height: 48px;
    background: var(--color-border);
    flex-shrink: 0;
  }

  .offer-subjects-inline {
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .offer-subjects-inline span {
    font-size: .78rem;
    font-weight: 700;
    color: var(--color-orange-dark);
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: var(--color-light-warm);
    padding: .2rem .6rem;
    border-radius: 99px;
    white-space: nowrap;
  }

  .offer-subjects-inline span i {
    color: var(--color-cta);
    font-size: .75rem;
  }

  .offer-subjects-inline .subj-svt { color: #16a34a; }
  .offer-subjects-inline .subj-svt .icon { filter: invert(33%) sepia(98%) saturate(500%) hue-rotate(85deg) brightness(95%); }

  .offer-subjects-inline .subj-phy { color: #0b63ce; }
  .offer-subjects-inline .subj-phy .icon { filter: brightness(0) saturate(100%) invert(28%) sepia(90%) saturate(1400%) hue-rotate(205deg) brightness(100%) contrast(103%); }

  .offer-subjects-inline .subj-chi { color: #7c3aed; }
  .offer-subjects-inline .subj-chi .icon { filter: brightness(0) saturate(100%) invert(28%) sepia(90%) saturate(2000%) hue-rotate(255deg) brightness(95%) contrast(108%); }

  .offer-subjects-inline .subj-mat { color: #dc2626; }
  .offer-subjects-inline .subj-mat .icon { filter: brightness(0) saturate(100%) invert(20%) sepia(85%) saturate(2000%) hue-rotate(351deg) brightness(95%) contrast(105%); }

  /* ── Features open grid ── */
  .offer-feats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 2rem;
    margin-bottom: 3.5rem;
  }

  .offer-feat {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }

  .offer-feat__icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .13);
    transition: transform .25s ease, box-shadow .25s ease;
  }

  .offer-feat:hover .offer-feat__icon {
    transform: translateY(-3px) rotate(-4deg);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
  }

  .offer-feat__text {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding-top: .1rem;
  }

  .offer-feat__text strong {
    font-size: .9rem;
    font-weight: 700;
    color: var(--color-text-strong);
    line-height: 1.3;
    transition: color .2s;
  }

  .offer-feat:hover .offer-feat__text strong {
    color: var(--color-cta);
  }

  .offer-feat__text span {
    font-family: var(--font-arabic);
    font-size: .78rem;
    color: var(--color-muted);
    direction: rtl;
    text-align: right;
    line-height: 1.5;
  }

  /* ── CTA banner — same DNA as prob2__resolution ── */
  .offer-cta-banner {
    position: relative;
    background: linear-gradient(135deg, #F97316 0%, #c2410c 100%);
    border-radius: 28px;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
  }

  .offer-cta-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, .07);
    border-radius: 50%;
    pointer-events: none;
  }

  .offer-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 40%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, .05);
    border-radius: 50%;
    pointer-events: none;
  }

  .offer-cta-banner__icon {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, .9);
    flex-shrink: 0;
    line-height: 1;
    position: relative;
    z-index: 1;
  }

  .offer-cta-banner__text {
    flex: 1;
    position: relative;
    z-index: 1;
  }

  .offer-cta-banner__text p:first-child {
    color: rgba(255, 255, 255, .82);
    font-size: 1rem;
    margin-bottom: .25rem;
  }

  .offer-cta-banner__bold {
    color: white;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.3;
  }

  .offer-cta-banner__bold span {
    background: linear-gradient(135deg, #fff 0%, #FBBF24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .offer-cta-banner__btn {
    background: white !important;
    color: #c2410c !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .25) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: .85rem 2rem !important;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }

  .offer-cta-banner__btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 16px 44px rgba(0, 0, 0, .35) !important;
  }

  /* 20. Waiting List Benefits */
  .waiting-section {
    background: linear-gradient(135deg, var(--color-orange-deep) 0%, var(--color-orange-dark) 50%, var(--color-primary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
  }

  .waiting-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='1.5' fill='%23FFFFFF' fill-opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
  }

  .waiting-section .section-header h2 {
    color: white;
  }

  .waiting-section .section-header h2 .highlight {
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .waiting-section .section-header p {
    color: rgba(255, 255, 255, .8);
  }

  .waiting-section .section-header .overline {
    background: rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .9);
    border-color: rgba(255, 255, 255, .25);
  }

  .waiting-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
  }

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

  .benefit-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all var(--transition-smooth);
    backdrop-filter: blur(8px);
  }

  .benefit-card:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, .35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
  }

  .benefit-icon {
    font-size: 2rem;
    margin-bottom: .65rem;
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .benefit-text {
    font-size: .88rem;
    color: rgba(255, 255, 255, .85);
    font-weight: 500;
    line-height: 1.4;
  }

  .waiting-darija {
    font-family: var(--font-arabic);
    direction: rtl;
    text-align: right;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .8);
    line-height: 2;
    background: rgba(255, 255, 255, .1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, .2);
    margin-bottom: 1.5rem;
  }

  /* 21. Form */
  .form-section {
    background: var(--color-bg);
  }

  .form-wrapper {
    max-width: 760px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(120, 45, 18, .12), 0 0 0 1px rgba(249, 115, 22, .08);
    overflow: hidden;
  }

  .form-header {
    background: linear-gradient(135deg, var(--color-orange-deep) 0%, var(--color-orange-dark) 50%, var(--color-primary) 100%);
    padding: 2.5rem 2.5rem 2rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .form-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 186, 100, .15), transparent 60%);
    pointer-events: none;
  }

  .form-header__icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
    backdrop-filter: blur(8px);
    position: relative;
  }

  .form-header h3 {
    font-size: 1.5rem;
    margin-bottom: .5rem;
    position: relative;
  }

  .form-header p {
    color: rgba(255, 255, 255, .8);
    font-size: .95rem;
    position: relative;
  }

  .form-header .darija {
    color: rgba(255, 255, 255, .7);
    margin-top: .75rem;
    font-size: 1rem;
    position: relative;
  }

  .form-body {
    padding: 2rem 2.5rem 2.5rem;
  }

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

  .form-row.full {
    grid-template-columns: 1fr;
  }

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

  .form-group label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--color-text);
    transition: opacity .15s ease;
  }

  .form-group label .required {
    color: var(--color-alert);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: .8rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: .95rem;
    color: var(--color-text);
    background: white;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    appearance: none;
    -webkit-appearance: none;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--color-cta);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, .1);
    background: #fffbf7;
  }

  .form-group input.error,
  .form-group select.error {
    border-color: var(--color-alert);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
  }

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

  .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    padding-right: 2.5rem;
  }

  .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
  }

  .radio-option {
    position: relative;
  }

  .radio-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }

  .radio-option label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1.1rem;
    border: 1.5px solid var(--color-border);
    border-radius: 99px;
    cursor: pointer;
    font-size: .875rem;
    font-weight: 500;
    color: var(--color-muted);
    transition: all var(--transition);
  }

  .radio-option label:hover {
    border-color: var(--color-cta);
    color: var(--color-orange-dark);
    background: rgba(249, 115, 22, .04);
  }

  .radio-option input:checked+label {
    border-color: var(--color-cta);
    background: var(--color-light-warm);
    color: var(--color-orange-dark);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(249, 115, 22, .15);
  }

  /* Radio icon — muted by default, orange on hover/checked */
  .radio-option label .icon {
    filter: brightness(0) saturate(100%) invert(38%) sepia(15%) saturate(600%) hue-rotate(335deg) brightness(100%) contrast(90%);
  }

  .radio-option label:hover .icon,
  .radio-option input:checked+label .icon {
    filter: brightness(0) saturate(100%) invert(55%) sepia(60%) saturate(1800%) hue-rotate(355deg) brightness(105%) contrast(100%);
  }

  /* Keep subject-color icons from being overridden on hover/checked */
  .radio-option label:hover .icon--svt,
  .radio-option input:checked+label .icon--svt {
    filter: brightness(0) saturate(100%) invert(80%) sepia(32%) saturate(643%) hue-rotate(92deg) brightness(103%) contrast(92%);
  }

  .radio-option label:hover .icon--phy,
  .radio-option input:checked+label .icon--phy {
    filter: brightness(0) saturate(100%) invert(75%) sepia(54%) saturate(500%) hue-rotate(195deg) brightness(107%) contrast(98%);
  }

  .radio-option label:hover .icon--chi,
  .radio-option input:checked+label .icon--chi {
    filter: brightness(0) saturate(100%) invert(75%) sepia(30%) saturate(900%) hue-rotate(240deg) brightness(108%) contrast(98%);
  }

  .radio-option label:hover .icon--mat,
  .radio-option input:checked+label .icon--mat {
    filter: brightness(0) saturate(100%) invert(85%) sepia(35%) saturate(900%) hue-rotate(340deg) brightness(103%) contrast(96%);
  }

  .form-notice {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .875rem 1rem;
    background: var(--color-light-warm);
    border-radius: var(--radius-sm);
    font-size: .82rem;
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(249, 115, 22, .15);
  }

  .form-notice-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: .05rem;
    color: var(--color-cta);
  }

  .form-notice-icon .icon {
    filter: brightness(0) saturate(100%) invert(55%) sepia(60%) saturate(1800%) hue-rotate(355deg) brightness(105%) contrast(100%);
  }

  .form-submit .btn {
    width: 100%;
    justify-content: center;
    font-size: 1.05rem;
    padding: 1.1rem 2rem;
  }

  .form-submit {
    display: flex;
    justify-content: center;
  }

  .form-submit .btn--mini {
    width: auto;
    font-size: .9rem;
    padding: .55rem 1.15rem;
    display: inline-flex;
  }

  .form-error-msg {
    display: none;
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    border-radius: var(--radius-sm);
    padding: .875rem 1rem;
    margin-bottom: 1rem;
    font-size: .88rem;
    color: #DC2626;
  }

  .form-error-msg.show {
    display: block;
  }

  .form-error-msg.is-warning {
    background: #FFFBEB;
    border-color: #FCD34D;
    color: #92400E;
  }

  .form-error-msg ul {
    padding-left: 1.25rem;
    margin-top: .5rem;
  }

  /* 22. Success Modal */
  .success-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(6px);
  }

  .success-overlay.show {
    display: flex;
  }

  .success-modal {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    max-width: 460px;
    width: 100%;
    text-align: center;
    animation: modal-slide-up .45s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .25);
  }

  @keyframes modal-slide-up {
    from {
      opacity: 0;
      transform: translateY(40px) scale(0.95);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .success-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .success-modal h3 {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin-bottom: .75rem;
  }

  .success-modal p {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    font-size: .95rem;
  }

  .success-modal .darija {
    font-size: .95rem;
    color: var(--color-primary);
    background: var(--color-light-warm);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(249, 115, 22, .15);
  }

  .success-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 1.75rem;
    background: linear-gradient(135deg, #25D366, #1db954);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    width: 100%;
    transition: all var(--transition);
    margin-bottom: .75rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .3);
  }

  .success-whatsapp:hover {
    background: linear-gradient(135deg, #1da851, #16a34a);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  }

  /* 23. Inscription Hero Split (full-screen) */
  .insc-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
  }

  /* Left visual panel */
  .insc-hero__visual {
    position: relative;
    overflow: hidden;
  }

  .insc-hero__visual-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: sepia(0.35) saturate(1.4) brightness(0.6);
  }

  .insc-hero__visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
        rgba(55, 22, 4, .62) 0%,
        rgba(88, 38, 6, .82) 45%,
        rgba(55, 18, 2, .92) 100%);
  }

  .insc-hero__visual-content {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 2.75rem 3rem;
    justify-content: space-between;
  }

  .insc-hero__visual-top {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
  }

  .insc-hero__visual-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    flex: 1;
    justify-content: center;
    gap: 1.1rem;
    padding: 2rem 0;
  }

  .insc-hero__visual-chips {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .insc-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .38rem 1rem;
    background: rgba(249, 115, 22, .28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(249, 115, 22, .5);
    border-radius: 99px;
    color: white;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .03em;
  }

  .insc-hero__visual-divider {
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #fbbf24);
    border-radius: 99px;
    margin: 0 auto;
  }

  .insc-hero__visual-title {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .7), 0 1px 4px rgba(0, 0, 0, .5);
    direction: rtl;
    text-align: center;
  }

  .insc-hero__visual-sub {
    color: rgba(255, 255, 255, .88);
    font-size: .92rem;
    line-height: 1.6;
    text-align: center;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
  }

  /* ── Static 2×2 benefit cards ── */
  .insc-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 480px;
  }

  .insc-card {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    padding: 1.4rem 1.5rem;
    background: rgba(255, 255, 255, .13);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .12);
    text-align: left;
    transition: transform .2s ease, background .2s ease;
  }

  .insc-card:hover {
    background: rgba(255, 255, 255, .18);
    transform: translateY(-2px);
  }

  .insc-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
  }

  .insc-card__title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
  }

  .insc-card__desc {
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
    line-height: 1.4;
  }

  /* Right form panel */
  .insc-hero__form-panel {
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    overflow-y: auto;
  }

  .insc-hero__form-wrap {
    width: 100%;
    max-width: 500px;
  }

  .insc-hero__form-head {
    margin-bottom: 1.75rem;
  }

  .insc-hero__form-head h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-text-strong);
    margin: .5rem 0 .5rem;
    line-height: 1.2;
  }

  .insc-hero__form-head p {
    color: var(--color-muted);
    font-size: .95rem;
  }

  /* Form overline icon — orange to match overline text */
  .insc-hero__form-head .overline .icon {
    filter: brightness(0) saturate(100%) invert(55%) sepia(60%) saturate(1800%) hue-rotate(355deg) brightness(105%) contrast(100%);
  }

  /* 23a. Profile Selector (Étudiant / Parent) */
  .profile-selector {
    margin-bottom: 0;
  }

  .profile-selector__header {
    text-align: center;
    margin-bottom: 1.25rem;
  }

  .profile-selector__eyebrow {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-primary);
    margin-bottom: .35rem;
  }

  .profile-selector__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text-strong);
    margin-bottom: .3rem;
  }

  .profile-selector__sub {
    font-size: .82rem;
    color: var(--color-muted);
  }

  .profile-selector__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .875rem;
  }

  .profile-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon label"
      "icon desc";
    align-items: center;
    column-gap: .65rem;
    row-gap: .1rem;
    padding: .6rem .85rem .6rem .6rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    background: white;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease,
                box-shadow .2s ease, opacity .2s ease, transform .2s ease;
    text-align: left;
    font-family: var(--font-main);
    outline: none;
  }

  .profile-card:hover {
    border-color: var(--color-primary);
    background: var(--color-light-warm);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(249, 115, 22, .13);
  }

  .profile-card:focus-visible {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, .2);
  }

  .profile-card.is-active {
    border-color: var(--color-primary);
    background: var(--color-light-warm);
    box-shadow: 0 4px 18px rgba(249, 115, 22, .22);
    transform: translateY(-1px);
  }

  .profile-card.is-inactive {
    opacity: .45;
    transform: none;
  }

  .profile-card.is-inactive:hover {
    opacity: .75;
    transform: translateY(-1px);
  }

  /* Check badge (top-right, appears when selected) */
  .profile-card__check {
    position: absolute;
    top: .45rem;
    right: .5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(.5);
    transition: opacity .2s ease, transform .25s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .profile-card__check svg {
    width: 10px;
    height: 10px;
  }

  .profile-card__check svg {
    stroke: white;
  }

  .profile-card.is-active .profile-card__check {
    opacity: 1;
    transform: scale(1);
  }

  /* Icon container */
  .profile-card__icon {
    grid-area: icon;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0ede9;
    border-radius: var(--radius-sm, 8px);
    transition: background .2s ease;
    flex-shrink: 0;
  }

  .profile-card__icon svg {
    width: 20px;
    height: 20px;
  }

  .profile-card__icon svg {
    stroke: var(--color-muted);
    transition: stroke .2s ease;
  }

  .profile-card:hover .profile-card__icon,
  .profile-card.is-active .profile-card__icon {
    background: rgba(249, 115, 22, .12);
  }

  .profile-card:hover .profile-card__icon svg,
  .profile-card.is-active .profile-card__icon svg {
    stroke: var(--color-primary);
  }

  .profile-card__label {
    grid-area: label;
    font-size: .9rem;
    font-weight: 700;
    color: var(--color-text-strong);
    transition: color .2s ease;
    align-self: end;
    line-height: 1.15;
  }

  .profile-card.is-active .profile-card__label {
    color: var(--color-orange-dark);
  }

  .profile-card__desc {
    grid-area: desc;
    font-size: .72rem;
    color: var(--color-muted);
    font-weight: 400;
    line-height: 1.2;
    align-self: start;
  }

  /* Form body reveal animation */
  .form-body-reveal {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s cubic-bezier(0.4, 0, 0.2, 1),
                opacity .4s ease;
    opacity: 0;
    pointer-events: none;
  }

  .form-body-reveal.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    pointer-events: auto;
  }

  .form-body-reveal__inner {
    overflow: hidden;
  }

  /* Divider + spacing that appears as the form body slides in */
  .form-body-reveal.is-open .form-body-reveal__inner {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
  }

  /* 23b. Form Type Switcher (legacy, kept for reference) */
  .form-type-switcher {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f0ede9;
    border-radius: var(--radius-md);
    padding: 5px;
    gap: 5px;
    margin-bottom: 1.5rem;
  }

  .form-type-switcher__pill {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(50% - 7.5px);
    height: calc(100% - 10px);
    background: var(--color-primary);
    border-radius: calc(var(--radius-md) - 4px);
    box-shadow: 0 3px 10px rgba(249, 115, 22, .35);
    transition: transform .28s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    will-change: transform;
  }

  .form-type-switcher__pill.at-1 {
    transform: translateX(calc(100% + 5px));
  }

  .form-type-switcher__btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .7rem 1rem;
    border: none;
    border-radius: calc(var(--radius-md) - 4px);
    background: transparent;
    font-family: var(--font-main);
    font-size: .9rem;
    font-weight: 600;
    color: var(--color-muted);
    cursor: pointer;
    transition: color .2s ease;
    white-space: nowrap;
    user-select: none;
  }

  .form-type-switcher__btn svg {
    flex-shrink: 0;
    transition: stroke .2s ease;
  }

  .form-type-switcher__btn.is-active {
    color: #fff;
  }

  .form-type-switcher__btn.is-active svg {
    stroke: #fff;
  }

  /* Student-only sections — shown by default, collapse in parent mode */
  .form-student-only {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows .35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity .28s ease;
    opacity: 1;
  }

  .form-student-only.is-hidden {
    grid-template-rows: 0fr;
    opacity: 0;
    pointer-events: none;
  }

  .form-student-only__inner {
    overflow: hidden;
  }

  /* Parent extra fields — smooth height reveal */
  .form-parent-fields {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity .28s ease;
    opacity: 0;
    pointer-events: none;
  }

  .form-parent-fields.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    pointer-events: auto;
  }

  .form-parent-fields__inner {
    overflow: hidden;
  }

  .form-parent-fields.is-open .form-parent-fields__inner {
    padding-bottom: 1.25rem;
  }

  /* 23c. Promo Code Inline Toggle */
  .promo-toggle-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    padding: .75rem 1rem;
    background: var(--color-light-warm);
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(249, 115, 22, .2);
    font-weight: 600;
    font-size: .9rem;
    color: var(--color-orange-dark);
    gap: 1rem;
    transition: border-color var(--transition), background var(--transition);
    user-select: none;
  }

  .promo-toggle-label:hover {
    border-color: var(--color-primary);
    background: #fff3e8;
  }

  .toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
  }

  .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
  }

  .toggle-slider {
    position: absolute;
    inset: 0;
    border-radius: 99px;
    background: #d1d5db;
    transition: background var(--transition);
    cursor: pointer;
  }

  .toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: white;
    transition: transform var(--transition);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  }

  .toggle-switch input:checked+.toggle-slider {
    background: var(--color-primary);
  }

  .toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(20px);
  }

  .promo-inline-field {
    margin-top: .75rem;
    display: none;
  }

  .promo-inline-field.is-open {
    display: block;
    animation: slideDown .2s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .promo-inline-field input {
    width: 100%;
    padding: .8rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: monospace;
    font-size: .95rem;
    letter-spacing: .08em;
    text-transform: lowercase;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: white;
    color: var(--color-text);
  }

  .promo-inline-field input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, .1);
  }

  .promo-inline-field input.is-invalid {
    border-color: var(--color-alert);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
  }

  .promo-inline-error {
    color: var(--color-alert);
    font-size: .82rem;
    margin-top: .35rem;
    min-height: 1rem;
  }

  @media (max-width: 900px) {
    .insc-hero {
      grid-template-columns: 1fr;
      min-height: auto;
    }

    .insc-hero__visual {
      min-height: 420px;
    }

    .insc-hero__visual-content {
      min-height: 420px;
      padding: 1.75rem 1.5rem 2rem;
    }

    .insc-hero__visual-title {
      font-size: 1.35rem;
    }

    .insc-cards-grid {
      grid-template-columns: 1fr 1fr;
      gap: .6rem;
    }

    .insc-hero__visual-center {
      gap: .85rem;
      padding: 1.25rem 0;
    }

    .insc-hero__form-panel {
      padding: 2rem 1.25rem;
    }

    .profile-selector__title {
      font-size: 1.1rem;
    }

    .profile-card {
      padding: .55rem .65rem .55rem .55rem;
      column-gap: .55rem;
    }

    .profile-card__icon {
      width: 34px;
      height: 34px;
    }

    .profile-card__icon svg {
      width: 18px;
      height: 18px;
    }

    .profile-card__label {
      font-size: .85rem;
    }

    .profile-card__desc {
      font-size: .7rem;
    }
  }

  @media (max-width: 480px) {
    .profile-selector__cards {
      grid-template-columns: 1fr 1fr;
      gap: .5rem;
    }

    .profile-card {
      padding: .5rem .5rem .5rem .45rem;
      column-gap: .45rem;
    }

    .profile-card__icon {
      width: 30px;
      height: 30px;
    }

    .profile-card__icon svg {
      width: 16px;
      height: 16px;
    }

    .profile-card__desc {
      display: none;
    }

    .profile-card__label {
      align-self: center;
    }
  }

  /* 24. FAQ */
  .faq-list {
    max-width: 800px;
    margin: 0 auto;
  }

  .faq-item {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: .75rem;
    overflow: hidden;
    transition: all var(--transition);
  }

  .faq-item:hover {
    border-color: rgba(249, 115, 22, .3);
  }

  .faq-item.open {
    box-shadow: var(--shadow-cta);
    border-color: rgba(249, 115, 22, .35);
  }

  .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text);
    gap: 1rem;
    transition: color var(--transition);
  }

  .faq-question:hover {
    color: var(--color-cta);
  }

  .faq-item.open .faq-question {
    color: var(--color-cta);
  }

  .faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-light-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: var(--color-cta);
    font-weight: 700;
    transition: all var(--transition-smooth);
    line-height: 1;
    user-select: none;
  }

  .faq-icon::before {
    content: '+';
  }

  .faq-item.open .faq-icon {
    background: var(--color-cta);
    color: white;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(249, 115, 22, .3);
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .faq-item.open .faq-answer {
    max-height: 300px;
  }

  .faq-answer__inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-muted);
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
  }

  .faq-answer__inner p {
    margin-bottom: .5rem;
  }

  .faq-answer__darija {
    font-family: var(--font-arabic);
    direction: rtl;
    text-align: right;
    font-size: .88rem;
    color: var(--color-primary);
    background: var(--color-light-warm);
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
    margin-top: .75rem;
    line-height: 1.8;
    border: 1px solid rgba(249, 115, 22, .12);
  }

  /* 24. Dream / Aspirational */
  .dream-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
  }

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

  .dream-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
  }

  .dream-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(120, 45, 18, .88) 0%, rgba(194, 65, 12, .65) 100%);
  }

  .dream-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 5rem 1.5rem;
  }

  .dream-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin: 1rem 0;
    color: white;
  }

  .dream-content p {
    color: rgba(255, 255, 255, .85);
    max-width: 620px;
    margin: 0 auto .75rem;
    font-size: 1.05rem;
  }

  .dream-content .darija {
    color: rgba(255, 255, 255, .7);
    max-width: 540px;
    margin: 0 auto;
    font-size: 1rem;
    background: rgba(255, 255, 255, .1);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, .2);
  }

  /* 25. Final CTA */
  .final-cta {
    background: linear-gradient(135deg, var(--color-orange-deep) 0%, var(--color-orange-dark) 45%, var(--color-primary) 100%);
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
  }

  .final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
  }

  .final-cta__inner {
    position: relative;
    z-index: 1;
  }

  .final-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
  }

  .final-cta p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .8);
    max-width: 580px;
    margin: 0 auto 1.5rem;
  }

  .final-cta .darija {
    color: rgba(255, 255, 255, .75);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
  }

  .final-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* 26. Footer */
  .footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, .7);
    padding: 3rem 0 2rem;
  }

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

  .footer__brand .logo {
    color: white;
    margin-bottom: 1rem;
  }

  .footer__brand p {
    font-size: .875rem;
    line-height: 1.7;
  }

  .footer__col h4 {
    font-size: .95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
  }

  .footer__col ul li {
    margin-bottom: .5rem;
  }

  .footer__col ul li a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .875rem;
    color: rgba(255, 255, 255, .6);
    transition: color var(--transition);
  }

  .footer__col ul li a:hover {
    color: rgba(255, 255, 255, .95);
  }

  .footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .82rem;
  }

  /* 27. Sticky WhatsApp */
  .whatsapp-sticky {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(135deg, #25D366, #1db954);
    color: white;
    padding: .875rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .9rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
    transition: all var(--transition-smooth);
    animation: pulse-wa 3s ease infinite;
  }

  .whatsapp-sticky:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 36px rgba(37, 211, 102, .55);
  }

  .whatsapp-sticky__text {
    display: block;
  }

  @keyframes pulse-wa {

    0%,
    100% {
      box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
    }

    50% {
      box-shadow: 0 4px 36px rgba(37, 211, 102, .7);
    }
  }

  /* Back to top */
  .back-to-top {
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    z-index: 200;
    width: 44px;
    height: 44px;
    background: rgba(120, 45, 18, .85);
    color: white;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(8px);
  }

  .back-to-top::before {
    content: '↑';
  }

  .back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .back-to-top:hover {
    background: var(--color-cta);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(249, 115, 22, .4);
  }

  /* 28. Responsive */
  @media (max-width: 1024px) {
    .hero__content {
      max-width: 500px;
    }

    .hero-float-chips {
      right: 1.5rem;
      bottom: 2rem;
    }

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

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

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

    .method-steps::before {
      display: none;
    }

    .sp-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .sp-img-col {
      height: 280px;
    }

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

    .footer__brand {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 768px) {
    .section {
      padding: 3.5rem 0;
    }

    .nav {
      display: none;
    }

    .nav__cta {
      display: none;
    }

    .hamburger {
      display: flex;
    }

    .hero {
      height: 100dvh;
      min-height: 580px;
    }

    .hero-bg__img {
      object-position: 60% center;
    }

    .hero__content {
      max-width: 420px;
    }

    .hero__title {
      font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .hero__title--brand {
      font-size: clamp(2.2rem, 8vw, 3rem);
      letter-spacing: 0.03em;
    }

    .hero__subjects {
      gap: 0.3rem 0.4rem;
    }

    .hero__resources {
      gap: 0.3rem;
    }

    .hero-rings {
      display: none;
    }

    .hero-float-chips {
      display: none;
    }

    .hero__cta {
      flex-direction: column;
    }

    .hero__cta .btn {
      width: 100%;
      justify-content: center;
    }

    .hero-countdown-bar {
      font-size: .78rem;
      flex-wrap: wrap;
      gap: .35rem;
    }

    .hero-cd-label {
      white-space: normal;
    }

    .hero__45days {
      white-space: normal;
      line-height: 1.5;
      border-radius: 12px;
      width: 100%;
    }

    .problem-layout {
      grid-template-columns: 1fr;
    }

    .problem-right {
      position: static;
    }

    .problem-hero-img {
      min-height: 420px;
    }

    .sol-layout {
      grid-template-columns: 1fr;
    }

    .sol-features {
      grid-template-columns: 1fr;
    }

    .sol-img {
      min-height: 340px;
    }

    .sol-visual {
      min-height: 400px;
    }

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

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

    .method-steps {
      grid-template-columns: 1fr;
    }

    .offer-feats {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.25rem 1.5rem;
    }

    .offer-stats {
      flex-wrap: wrap;
    }

    .offer-stat__sep {
      display: none;
    }

    .offer-stats__row--nums {
      flex-wrap: wrap;
    }

    .offer-stat {
      min-width: 45%;
      padding: 1.1rem 1rem;
      border-bottom: 1px solid var(--color-border);
    }

    .offer-cta-banner {
      flex-direction: column;
      text-align: center;
      padding: 2rem 1.5rem;
      gap: 1.25rem;
    }

    .offer-cta-banner__btn {
      width: 100%;
      justify-content: center;
    }

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

    .waiting-benefits {
      grid-template-columns: 1fr 1fr;
    }

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

    .sp-img-col {
      height: 240px;
    }

    .sp-stats {
      grid-template-columns: 1fr;
      gap: .75rem;
    }

    .dream-section {
      min-height: 400px;
    }

    .form-row {
      grid-template-columns: 1fr;
    }

    .form-body {
      padding: 1.5rem;
    }

    .form-header {
      padding: 2rem 1.5rem 1.5rem;
    }

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

    .final-cta__buttons {
      flex-direction: column;
      align-items: center;
    }

    .whatsapp-sticky {
      width: 54px;
      height: 54px;
      border-radius: 50%;
      justify-content: center;
      padding: 0;
    }

    .whatsapp-sticky__text {
      display: none;
    }

    .back-to-top {
      bottom: 5.5rem;
    }

    .scroll-indicator {
      display: none;
    }
  }

  @media (max-width: 480px) {
    .section {
      padding: 3rem 0;
    }

    .container {
      padding: 0 1rem;
    }

    h1 {
      font-size: 1.8rem;
    }

    h2 {
      font-size: 1.5rem;
    }

    .btn {
      white-space: normal;
      text-align: center;
    }

    .hero {
      height: auto;
      min-height: 100dvh;
      align-items: flex-end;
      padding-bottom: 2.5rem;
    }

    .hero-bg__overlay {
      background:
        linear-gradient(to top,
          rgba(60, 18, 4, .97) 0%,
          rgba(80, 25, 5, .92) 35%,
          rgba(80, 25, 5, .6) 65%,
          rgba(0, 0, 0, .2) 100%);
    }

    .hero__container {
      padding: 0 1rem;
    }

    .hero__content {
      max-width: 100%;
      padding: 0;
    }

    .hero__overline {
      margin-bottom: 1rem;
    }

    .hero__title {
      font-size: 2rem;
      margin-bottom: 0.75rem;
    }

    .hero__arabic-subtitle {
      font-size: 1.15rem;
      margin-bottom: 0.6rem;
    }

    .hero__45days {
      font-size: 0.78rem;
      margin-bottom: 0.75rem;
    }

    .hero__resources {
      margin-bottom: 1rem;
    }

    .hero__cta {
      margin-bottom: 1rem;
    }

    .hero-countdown-bar {
      padding: .55rem 1rem;
    }

    .sp-img-col {
      height: 180px;
    }

    .waiting-benefits {
      grid-template-columns: 1fr;
    }

    .hero__badges {
      flex-direction: column;
      align-items: flex-start;
    }
  }